/* style/index.css */
.page-index {
    font-family: 'Arial', sans-serif;
    color: #333;
    line-height: 1.6;
}

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

.page-index-section-title {
    font-size: 2.5em;
    color: #003366;
    text-align: center;
    margin-bottom: 40px;
    position: relative;
    padding-bottom: 15px;
}

.page-index-section-title::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background-color: #FFCC00;
    border-radius: 2px;
}

.page-index-section-description {
    text-align: center;
    font-size: 1.1em;
    color: #555;
    margin-bottom: 50px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.page-index-btn {
    display: inline-block;
    padding: 12px 25px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease, color 0.3s ease;
    text-align: center;
}

.page-index-btn-primary {
    background-color: #FFCC00;
    color: #003366;
    border: 2px solid #FFCC00;
}

.page-index-btn-primary:hover {
    background-color: #e6b800;
    border-color: #e6b800;
}

.page-index-btn-secondary {
    background-color: transparent;
    color: #FFCC00;
    border: 2px solid #FFCC00;
}

.page-index-btn-secondary:hover {
    background-color: #FFCC00;
    color: #003366;
}

.page-index-btn-text {
    background: none;
    border: none;
    color: #003366;
    padding: 0;
    font-weight: bold;
    text-decoration: underline;
}

.page-index-btn-text:hover {
    color: #FFCC00;
}

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

.page-index-responsive-image {
    max-width: 100%;
    height: auto;
    display: block;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.page-index-mt-lg {
    margin-top: 40px;
}

/* Hero Section */
.page-index-hero-section {
    position: relative;
    background: url('[IMAGE:hero_main_banner]') no-repeat center center/cover;
    color: #fff;
    text-align: center;
    padding: 120px 0;
    min-height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.page-index-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 51, 102, 0.8) 0%, rgba(255, 204, 0, 0.4) 100%);
    z-index: 1;
}

.page-index-hero-section .page-index-container {
    position: relative;
    z-index: 2;
}

.page-index-hero-title {
    font-size: 3.5em;
    margin-bottom: 20px;
    font-weight: bold;
    line-height: 1.2;
    color: #fff;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-index-hero-subtitle {
    font-size: 1.4em;
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    color: #f0f0f0;
}

.page-index-hero-cta-group .page-index-btn {
    margin: 0 10px;
}

.page-index-hero-image {
    display: none; /* Hide actual image as background handles it, or show a subtle one */
}

/* About Section */
.page-index-about-section {
    padding: 80px 0;
    background-color: #f9f9f9;
}

.page-index-grid-2-cols {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.page-index-about-content p {
    margin-bottom: 15px;
    color: #444;
}

.page-index-about-image-wrapper {
    text-align: center;
}

/* Games Section */
.page-index-games-section {
    padding: 80px 0;
    background-color: #fff;
}

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

.page-index-game-card {
    background-color: #003366;
    color: #fff;
    padding: 30px;
    border-radius: 10px;
    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-game-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
}

.page-index-game-icon {
    width: 80px;
    height: 80px;
    margin-bottom: 20px;
    filter: invert(100%) sepia(100%) saturate(0%) hue-rotate(287deg) brightness(108%) contrast(100%); /* Makes icon white */
}

.page-index-game-title {
    font-size: 1.8em;
    margin-bottom: 15px;
    color: #FFCC00;
}

.page-index-game-description {
    font-size: 0.95em;
    color: #e0e0e0;
}

/* Promotion Section */
.page-index-promo-section {
    padding: 80px 0;
    background-color: #f0f5f9;
}

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

.page-index-promo-card {
    background-color: #fff;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: transform 0.3s ease;
    border-top: 5px solid #FFCC00;
}

.page-index-promo-card:hover {
    transform: translateY(-5px);
}

.page-index-promo-title {
    font-size: 1.6em;
    color: #003366;
    margin-bottom: 15px;
}

.page-index-promo-description {
    color: #555;
    margin-bottom: 20px;
}

.page-index-promo-image {
    max-width: 100%;
    height: 180px;
    object-fit: cover;
    border-radius: 8px;
    margin-top: 20px;
}

.page-index-promo-codes {
    background-color: #003366;
    color: #fff;
    padding: 30px;
    border-radius: 10px;
    margin-top: 40px;
    text-align: center;
}

.page-index-promo-codes-title {
    font-size: 1.8em;
    color: #FFCC00;
    margin-bottom: 20px;
}

.page-index-promo-code-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
}

.page-index-promo-code-list li {
    background-color: rgba(255, 255, 255, 0.1);
    padding: 10px 15px;
    border-radius: 5px;
    font-size: 1.1em;
    font-weight: bold;
    color: #fff;
    border: 1px solid rgba(255, 204, 0, 0.5);
}

.page-index-code-label {
    color: #FFCC00;
    margin-right: 5px;
}

/* Guides Section */
.page-index-guides-section {
    padding: 80px 0;
    background-color: #fff;
}

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

.page-index-guide-card {
    background-color: #f9f9f9;
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    border-left: 5px solid #003366;
    transition: box-shadow 0.3s ease;
}

.page-index-guide-card:hover {
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15);
}

.page-index-guide-title {
    font-size: 1.5em;
    color: #003366;
    margin-bottom: 10px;
}

.page-index-guide-description {
    color: #666;
    margin-bottom: 20px;
}

/* Latest Articles Section */
.page-index-latest-articles-section {
    padding: 80px 0;
    background-color: #e6f0f5;
}

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

.page-index-article-card {
    background-color: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-index-article-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.page-index-article-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.page-index-article-card h3, .page-index-article-card p {
    padding: 0 20px;
}

.page-index-article-title {
    font-size: 1.4em;
    color: #003366;
    margin-top: 20px;
    margin-bottom: 10px;
}

.page-index-article-meta {
    font-size: 0.9em;
    color: #888;
    margin-bottom: 10px;
}

.page-index-article-excerpt {
    font-size: 0.95em;
    color: #555;
    margin-bottom: 20px;
}

.page-index-article-card .page-index-btn-text {
    display: block;
    text-align: left;
    margin: 0 20px 20px;
}

/* Contact Section */
.page-index-contact-section {
    padding: 80px 0;
    background-color: #003366;
    color: #fff;
    text-align: center;
}

.page-index-contact-section .page-index-section-title {
    color: #FFCC00;
}

.page-index-contact-section .page-index-section-description {
    color: #f0f0f0;
}

.page-index-contact-info p {
    font-size: 1.1em;
    margin-bottom: 10px;
    color: #fff;
}

.page-index-contact-link {
    color: #FFCC00;
    text-decoration: none;
    transition: color 0.3s ease;
}

.page-index-contact-link:hover {
    color: #e6b800;
    text-decoration: underline;
}

/* Responsive Design */
@media (max-width: 992px) {
    .page-index-hero-title {
        font-size: 2.8em;
    }
    .page-index-hero-subtitle {
        font-size: 1.2em;
    }
    .page-index-section-title {
        font-size: 2em;
    }
    .page-index-grid-2-cols {
        grid-template-columns: 1fr;
    }
    .page-index-about-image-wrapper {
        order: -1; /* Image appears first on smaller screens */
        margin-bottom: 30px;
    }
    .page-index-games-grid, .page-index-promo-grid, .page-index-guides-grid, .page-index-articles-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }
}

@media (max-width: 768px) {
    .page-index-hero-section {
        padding: 80px 0;
        min-height: 400px;
    }
    .page-index-hero-title {
        font-size: 2.2em;
    }
    .page-index-hero-subtitle {
        font-size: 1em;
    }
    .page-index-hero-cta-group .page-index-btn {
        display: block;
        margin: 15px auto;
        width: 80%;
    }
    .page-index-section-title {
        font-size: 1.8em;
    }
    .page-index-section-description {
        font-size: 0.95em;
    }
    .page-index-promo-code-list {
        flex-direction: column;
        align-items: center;
    }
    .page-index-promo-code-list li {
        width: 80%;
    }
}

@media (max-width: 480px) {
    .page-index-hero-title {
        font-size: 1.8em;
    }
    .page-index-hero-subtitle {
        font-size: 0.9em;
    }
    .page-index-section-title {
        font-size: 1.5em;
    }
    .page-index-btn {
        padding: 10px 20px;
        font-size: 0.9em;
    }
    .page-index-games-grid, .page-index-promo-grid, .page-index-guides-grid, .page-index-articles-grid {
        grid-template-columns: 1fr;
    }
    .page-index-game-title, .page-index-promo-title, .page-index-guide-title, .page-index-article-title {
        font-size: 1.3em;
    }
}