/* style/index.css */
/* Variables for colors */
:root {
    --page-index-primary-color: #FFD700; /* Gold */
    --page-index-secondary-color: #000080; /* Dark Blue */
    --page-index-text-light: #FFFFFF;
    --page-index-text-dark: #333333; /* Dark gray for general text on light backgrounds */
    --page-index-background-light: #F8F8F8; /* Light gray for sections */
    --page-index-background-dark: #000040; /* Slightly lighter dark blue for dark sections */
}

/* General page-index container styles */
.page-index {
    font-family: 'Arial', sans-serif;
    color: var(--page-index-text-dark);
    line-height: 1.6;
    background-color: var(--page-index-background-light);
}

.page-index-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Hero Section */
.page-index-hero {
    background: linear-gradient(135deg, var(--page-index-secondary-color), #000040); /* Dark blue gradient */
    color: var(--page-index-text-light);
    padding: 80px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 40px;
}

.page-index-hero-content {
    max-width: 800px;
}

.page-index-hero-title {
    font-size: 3.5em;
    margin-bottom: 20px;
    color: var(--page-index-primary-color); /* Gold title for contrast */
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    line-height: 1.2;
}

.page-index-hero-subtitle {
    font-size: 1.4em;
    margin-bottom: 40px;
    color: #E0E0E0; /* Lighter text for subtitle */
}

.page-index-hero-actions {
    display: flex;
    gap: 20px;
    justify-content: center;
}

.page-index-btn {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease, transform 0.3s ease;
    font-size: 1.1em;
    cursor: pointer;
    text-align: center;
}

.page-index-btn-primary {
    background-color: var(--page-index-primary-color); /* Gold background */
    color: var(--page-index-secondary-color); /* Dark blue text on gold */
    border: 2px solid var(--page-index-primary-color);
}

.page-index-btn-primary:hover {
    background-color: #e6c200; /* Slightly darker gold */
    transform: translateY(-3px);
}

.page-index-btn-secondary {
    background-color: transparent;
    color: var(--page-index-primary-color); /* Gold text */
    border: 2px solid var(--page-index-primary-color);
}

.page-index-btn-secondary:hover {
    background-color: var(--page-index-primary-color);
    color: var(--page-index-secondary-color);
    transform: translateY(-3px);
}

.page-index-btn-small {
    padding: 10px 20px;
    font-size: 0.9em;
    border-radius: 5px;
}

.page-index-btn-large {
    padding: 18px 35px;
    font-size: 1.2em;
    border-radius: 10px;
}

.page-index-hero-image {
    margin-top: 40px;
    max-width: 600px;
}

.page-index-hero-img {
    max-width: 100%;
    height: auto;
    border-radius: 15px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
}

/* Section General Styles */
.page-index-section-title {
    font-size: 2.8em;
    color: var(--page-index-secondary-color);
    text-align: center;
    margin-bottom: 20px;
    padding-top: 60px;
    position: relative;
}

.page-index-section-title::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background-color: var(--page-index-primary-color);
    margin: 10px auto 0;
    border-radius: 2px;
}

.page-index-section-description {
    font-size: 1.1em;
    color: #555555;
    text-align: center;
    max-width: 900px;
    margin: 0 auto 50px auto;
}

/* About Section */
.page-index-about {
    background-color: var(--page-index-background-light);
    padding: 60px 0;
}

.page-index-features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.page-index-feature-item {
    background-color: #FFFFFF;
    border-radius: 12px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-index-feature-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.15);
}

.page-index-feature-icon {
    width: 80px;
    height: 80px;
    margin-bottom: 20px;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.15));
}

.page-index-feature-title {
    font-size: 1.6em;
    color: var(--page-index-secondary-color);
    margin-bottom: 15px;
}

.page-index-feature-text {
    font-size: 1em;
    color: #666666;
}

/* Promotions Section */
.page-index-promotions {
    background-color: var(--page-index-background-dark); /* Dark blue background */
    padding: 60px 0;
    color: var(--page-index-text-light);
}

.page-index-promotions .page-index-section-title {
    color: var(--page-index-primary-color); /* Gold title on dark blue */
}

.page-index-promotions .page-index-section-description {
    color: #CCCCCC;
}

.page-index-promo-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.page-index-promo-item {
    background-color: #000050; /* Slightly lighter dark blue for items */
    border-radius: 12px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-index-promo-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.3);
}

.page-index-promo-img {
    width: 100%;
    max-height: 200px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 20px;
}

.page-index-promo-title {
    font-size: 1.5em;
    color: var(--page-index-primary-color);
    margin-bottom: 15px;
}

.page-index-promo-text {
    font-size: 1em;
    color: #B0B0B0;
    margin-bottom: 25px;
}

/* Games Section */
.page-index-games {
    background-color: var(--page-index-background-light);
    padding: 60px 0;
}

.page-index-game-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.page-index-game-item {
    background-color: #FFFFFF;
    border-radius: 12px;
    padding: 25px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-index-game-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.15);
}

.page-index-game-img {
    width: 100%;
    max-height: 180px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 20px;
}

.page-index-game-title {
    font-size: 1.5em;
    color: var(--page-index-secondary-color);
    margin-bottom: 10px;
}

.page-index-game-text {
    font-size: 0.95em;
    color: #666666;
    margin-bottom: 20px;
}

/* Deep Content Section */
.page-index-deep-content {
    background-color: #FFFFFF;
    padding: 60px 0;
}

.page-index-deep-content h2,
.page-index-deep-content h3,
.page-index-deep-content h4 {
    color: var(--page-index-secondary-color);
    margin-top: 40px;
    margin-bottom: 15px;
}

.page-index-deep-content h2 {
    font-size: 2.5em;
    text-align: center;
    margin-bottom: 30px;
}

.page-index-deep-content h3 {
    font-size: 1.8em;
    color: var(--page-index-primary-color);
    border-left: 5px solid var(--page-index-primary-color);
    padding-left: 15px;
}

.page-index-deep-content h4 {
    font-size: 1.4em;
    color: #000060;
    margin-left: 20px;
}

.page-index-deep-content p {
    margin-bottom: 15px;
    font-size: 1.05em;
    color: var(--page-index-text-dark);
}

.page-index-deep-content ul {
    list-style-type: disc;
    margin-left: 40px;
    margin-bottom: 20px;
    color: var(--page-index-text-dark);
}

.page-index-deep-content ul li {
    margin-bottom: 8px;
    font-size: 1em;
}

.page-index-content-img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    margin: 30px 0;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
}

.page-index-cta-final {
    text-align: center;
    margin-top: 50px;
    margin-bottom: 30px;
}

/* Detail Pages Section */
.page-index-detail-pages {
    background-color: var(--page-index-background-light);
    padding: 60px 0;
}

.page-index-detail-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.page-index-detail-item {
    background-color: #FFFFFF;
    border: 1px solid #E0E0E0;
    border-radius: 12px;
    padding: 25px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-index-detail-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.page-index-detail-title {
    font-size: 1.4em;
    margin-bottom: 15px;
}

.page-index-detail-title a {
    color: var(--page-index-secondary-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

.page-index-detail-title a:hover {
    color: var(--page-index-primary-color);
}

.page-index-detail-description {
    font-size: 0.95em;
    color: #777777;
    margin-bottom: 20px;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .page-index-hero-title {
        font-size: 3em;
    }
    .page-index-section-title {
        font-size: 2.2em;
    }
    .page-index-deep-content h2 {
        font-size: 2em;
    }
}

@media (max-width: 768px) {
    .page-index-hero {
        padding: 60px 15px;
    }
    .page-index-hero-title {
        font-size: 2.5em;
    }
    .page-index-hero-subtitle {
        font-size: 1.2em;
    }
    .page-index-hero-actions {
        flex-direction: column;
        gap: 15px;
    }
    .page-index-btn {
        width: 80%;
        max-width: 300px;
    }
    .page-index-section-title {
        font-size: 1.8em;
        padding-top: 40px;
    }
    .page-index-section-description {
        font-size: 1em;
        margin-bottom: 30px;
    }
    .page-index-features-grid,
    .page-index-promo-grid,
    .page-index-game-grid,
    .page-index-detail-grid {
        grid-template-columns: 1fr;
    }
    .page-index-deep-content h2 {
        font-size: 1.8em;
    }
    .page-index-deep-content h3 {
        font-size: 1.5em;
    }
    .page-index-deep-content h4 {
        font-size: 1.2em;
    }
    .page-index-deep-content ul {
        margin-left: 20px;
    }
}

@media (max-width: 480px) {
    .page-index-hero-title {
        font-size: 2em;
    }
    .page-index-hero-subtitle {
        font-size: 1em;
    }
    .page-index-btn {
        padding: 12px 25px;
        font-size: 1em;
    }
    .page-index-section-title {
        font-size: 1.5em;
    }
    .page-index-feature-title,
    .page-index-promo-title,
    .page-index-game-title,
    .page-index-detail-title {
        font-size: 1.3em;
    }
}

/* Ensure text contrast */
.page-index-hero-title, .page-index-hero-subtitle {
    color: #FFD700; /* Gold on dark blue background */
}
.page-index-btn-primary {
    background-color: #FFD700; /* Gold background */
    color: #000080; /* Dark blue text */
}
.page-index-btn-secondary {
    color: #FFD700; /* Gold text */
    border-color: #FFD700; /* Gold border */
}
.page-index-btn-secondary:hover {
    background-color: #FFD700;
    color: #000080;
}
.page-index-section-title {
    color: #000080; /* Dark blue title on light background */
}
.page-index-promotions .page-index-section-title {
    color: #FFD700; /* Gold title on dark background */
}
.page-index-feature-title, .page-index-game-title, .page-index-detail-title a {
    color: #000080; /* Dark blue on light background */
}
.page-index-promo-title {
    color: #FFD700; /* Gold on dark background */
}
.page-index-deep-content h3 {
    color: #FFD700; /* Gold on light background */
}
.page-index-deep-content h4 {
    color: #000080; /* Dark blue on light background */
}
.page-index-deep-content p, .page-index-deep-content ul li {
    color: #333333; /* Dark gray on light background */
}
.page-index-promotions .page-index-promo-text {
    color: #B0B0B0; /* Light gray on dark background */
}