/* style/index.css */

/* Base styles for the page content */
.page-index {
    font-family: 'Arial', sans-serif;
    color: #F0F0F0; /* Light gray for general text on dark backgrounds */
    background-color: #0A192F; /* Main dark blue background */
    line-height: 1.6;
}

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

/* Section spacing */
.page-index__section {
    padding: 60px 0;
}

.page-index__section:nth-of-type(even) {
    background-color: #1a2b42; /* Slightly lighter dark blue for alternating sections */
}

.page-index__section-title {
    font-size: 2.8em;
    color: #FFD700; /* Gold for main titles */
    text-align: center;
    margin-bottom: 20px;
    font-weight: bold;
    line-height: 1.2;
}

.page-index__section-description {
    font-size: 1.1em;
    color: #C0C0C0; /* Lighter gray for descriptions */
    text-align: center;
    max-width: 800px;
    margin: 0 auto 40px auto;
}

/* Buttons */
.page-index__btn {
    display: inline-block;
    padding: 12px 25px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s ease;
    text-align: center;
    cursor: pointer;
    border: none;
    font-size: 1em;
}

.page-index__btn--primary {
    background-color: #FFD700; /* Gold background */
    color: #0A192F; /* Dark blue text */
}

.page-index__btn--primary:hover {
    background-color: #e6c200; /* Darker gold on hover */
    transform: translateY(-2px);
}

.page-index__btn--secondary {
    background-color: transparent;
    color: #FFD700; /* Gold text */
    border: 2px solid #FFD700;
}

.page-index__btn--secondary:hover {
    background-color: #FFD700;
    color: #0A192F;
    transform: translateY(-2px);
}

.page-index__btn--small {
    padding: 8px 18px;
    font-size: 0.9em;
    border-radius: 5px;
}

.page-index__btn--link {
    background-color: transparent;
    color: #FFD700;
    padding: 0;
    border: none;
    text-decoration: underline;
}

.page-index__btn--link:hover {
    color: #e6c200;
    text-decoration: none;
}

/* Hero Section */
.page-index__hero {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    padding: 80px 20px;
    background: linear-gradient(135deg, #0A192F 0%, #1a2b42 100%); /* Gradient background */
    min-height: 600px;
    text-align: center;
}

.page-index__hero-content {
    flex: 1;
    min-width: 300px;
    max-width: 700px;
    margin: 20px;
}

.page-index__hero-title {
    font-size: 3.5em;
    color: #FFD700;
    margin-bottom: 25px;
    line-height: 1.2;
}

.page-index__hero-description {
    font-size: 1.3em;
    color: #E0E0E0;
    margin-bottom: 40px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

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

.page-index__hero-image-wrapper {
    flex: 1;
    min-width: 300px;
    max-width: 500px;
    margin: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.page-index__hero-image {
    max-width: 100%;
    height: auto;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

/* Why Choose Section */
.page-index__why-choose {
    background-color: #0A192F;
}

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

.page-index__feature-item {
    background-color: #1a2b42;
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease;
}

.page-index__feature-item:hover {
    transform: translateY(-10px);
}

.page-index__feature-icon {
    width: 80px;
    height: 80px;
    margin-bottom: 20px;
    filter: invert(80%) sepia(100%) saturate(2000%) hue-rotate(350deg) brightness(100%) contrast(100%); /* Gold tint */
}

.page-index__feature-title {
    font-size: 1.5em;
    color: #FFD700;
    margin-bottom: 15px;
}

.page-index__feature-text {
    font-size: 1em;
    color: #C0C0C0;
}

/* Featured Platforms Section */
.page-index__featured-platforms {
    background-color: #1a2b42;
}

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

.page-index__platform-card {
    background-color: #0A192F;
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.page-index__platform-card:hover {
    transform: translateY(-10px);
}

.page-index__platform-logo {
    width: 120px;
    height: auto;
    margin-bottom: 20px;
    filter: brightness(1.2);
}

.page-index__platform-name {
    font-size: 1.8em;
    color: #FFD700;
    margin-bottom: 10px;
}

.page-index__platform-description {
    font-size: 1em;
    color: #C0C0C0;
    margin-bottom: 25px;
    flex-grow: 1;
}

/* Game Types Section */
.page-index__game-types {
    background-color: #0A192F;
}

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

.page-index__game-card {
    background-color: #1a2b42;
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease;
}

.page-index__game-card:hover {
    transform: translateY(-10px);
}

.page-index__game-icon {
    width: 70px;
    height: 70px;
    margin-bottom: 20px;
    filter: invert(80%) sepia(100%) saturate(2000%) hue-rotate(350deg) brightness(100%) contrast(100%); /* Gold tint */
}

.page-index__game-title {
    font-size: 1.6em;
    color: #FFD700;
    margin-bottom: 10px;
}

.page-index__game-text {
    font-size: 0.95em;
    color: #C0C0C0;
    margin-bottom: 20px;
}

/* Guides Section */
.page-index__guides {
    background-color: #1a2b42;
}

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

.page-index__guide-card {
    background-color: #0A192F;
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.page-index__guide-card:hover {
    transform: translateY(-10px);
}

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

.page-index__guide-title {
    font-size: 1.6em;
    color: #FFD700;
    margin-bottom: 10px;
}

.page-index__guide-text {
    font-size: 0.95em;
    color: #C0C0C0;
    margin-bottom: 20px;
    flex-grow: 1;
}

/* Latest News Section */
.page-index__latest-news {
    background-color: #0A192F;
}

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

.page-index__news-card {
    background-color: #1a2b42;
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease;
    display: flex;
    flex-direction: column;
}

.page-index__news-card:hover {
    transform: translateY(-10px);
}

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

.page-index__news-title {
    font-size: 1.4em;
    margin-bottom: 10px;
    flex-grow: 1;
}

.page-index__news-title a {
    color: #FFD700;
    text-decoration: none;
}

.page-index__news-title a:hover {
    color: #e6c200;
    text-decoration: underline;
}

.page-index__news-excerpt {
    font-size: 0.95em;
    color: #C0C0C0;
    margin-bottom: 20px;
}

/* Responsible Gambling Section */
.page-index__responsible-gambling {
    background-color: #1a2b42;
}

.page-index__safety-content {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 40px;
    margin-top: 50px;
}

.page-index__safety-image {
    flex: 1;
    min-width: 300px;
    max-width: 500px;
    height: auto;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.page-index__safety-text-content {
    flex: 2;
    min-width: 300px;
}

.page-index__safety-subtitle {
    font-size: 1.8em;
    color: #FFD700;
    margin-bottom: 15px;
}

.page-index__responsible-gambling p {
    color: #C0C0C0;
    margin-bottom: 15px;
}

/* CTA Section */
.page-index__cta {
    background: linear-gradient(45deg, #0A192F, #334d6b); /* Darker gradient for CTA */
    text-align: center;
    padding: 80px 20px;
}

.page-index__cta-content {
    max-width: 900px;
}

.page-index__cta-actions {
    display: flex;
    justify-content: center;
    gap: 25px;
    margin-top: 40px;
}

/* Detail Pages Section */
.page-index__detail-pages {
    background-color: #0A192F;
}

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

.page-index__detail-card {
    background-color: #1a2b42;
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.page-index__detail-card:hover {
    transform: translateY(-8px);
}

.page-index__detail-title {
    font-size: 1.4em;
    margin-bottom: 10px;
}

.page-index__detail-title a {
    color: #FFD700;
    text-decoration: none;
}

.page-index__detail-title a:hover {
    color: #e6c200;
    text-decoration: underline;
}

.page-index__detail-description {
    font-size: 0.95em;
    color: #C0C0C0;
    margin-bottom: 20px;
    flex-grow: 1;
}

/* Fixed Promotion Banner */
.page-index__fixed-promotion-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: #FFD700; /* Gold background */
    color: #0A192F; /* Dark blue text */
    padding: 15px 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.2);
    z-index: 1000;
    flex-wrap: wrap;
}

.page-index__fixed-promotion-banner p {
    margin: 0;
    font-size: 1.1em;
    font-weight: bold;
    text-align: center;
}

.page-index__btn--banner {
    background-color: #0A192F;
    color: #FFD700;
    padding: 10px 20px;
    border-radius: 5px;
    font-weight: bold;
    text-decoration: none;
    transition: background-color 0.3s ease;
}

.page-index__btn--banner:hover {
    background-color: #2b4d7c;
    color: #FFD700;
}

/* Responsive adjustments */
@media (max-width: 992px) {
    .page-index__hero {
        flex-direction: column;
        text-align: center;
    }

    .page-index__hero-content, .page-index__hero-image-wrapper {
        margin: 20px 0;
    }

    .page-index__hero-title {
        font-size: 2.8em;
    }

    .page-index__hero-description {
        font-size: 1.1em;
    }

    .page-index__section-title {
        font-size: 2.2em;
    }

    .page-index__cta-actions {
        flex-direction: column;
        gap: 15px;
    }

    .page-index__btn {
        width: fit-content;
        margin: 0 auto;
    }

    .page-index__fixed-promotion-banner {
        flex-direction: column;
        padding: 10px;
        gap: 10px;
    }

    .page-index__fixed-promotion-banner p {
        font-size: 1em;
    }

    .page-index__btn--banner {
        width: 80%;
        max-width: 250px;
    }
}

@media (max-width: 768px) {
    .page-index__hero-title {
        font-size: 2.2em;
    }

    .page-index__hero-description {
        font-size: 1em;
    }

    .page-index__section-title {
        font-size: 1.8em;
    }

    .page-index__features-grid, .page-index__platforms-grid, .page-index__game-grid, .page-index__guides-grid, .page-index__news-grid, .page-index__detail-grid {
        grid-template-columns: 1fr;
    }

    .page-index__safety-content {
        flex-direction: column;
    }

    .page-index__safety-image {
        max-width: 100%;
    }

    .page-index__hero-actions {
        flex-direction: column;
        gap: 15px;
    }

    .page-index__btn {
        width: 100%;
        max-width: 300px;
    }

    .page-index__btn--small {
        width: auto;
        max-width: none;
    }
}