/* style/index.css */
.page-index {
    font-family: Arial, sans-serif;
    color: #FFFFFF; /* Default text color for dark backgrounds */
    background-color: #1A2A3A; /* Secondary color for main background */
}

.page-index .highlight {
    color: #FFD700; /* Primary color for highlights */
}

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

.page-index__section-title {
    font-size: 2.5em;
    color: #FFD700;
    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: #FFD700;
    border-radius: 2px;
}

.page-index__text {
    font-size: 1.1em;
    line-height: 1.6;
    color: #E0E0E0;
    margin-bottom: 20px;
}

.page-index__text--center {
    text-align: center;
    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;
    white-space: nowrap;
}

.page-index__btn--primary {
    background-color: #FFD700;
    color: #1A2A3A;
    border: 2px solid #FFD700;
}

.page-index__btn--primary:hover {
    background-color: #E0B800;
    border-color: #E0B800;
}

.page-index__btn--secondary {
    background-color: transparent;
    color: #FFD700;
    border: 2px solid #FFD700;
    margin-left: 15px;
}

.page-index__btn--secondary:hover {
    background-color: #FFD700;
    color: #1A2A3A;
}

.page-index__btn--text {
    color: #FFD700;
    text-decoration: none;
    font-weight: bold;
    display: inline-flex;
    align-items: center;
    padding: 0;
    border: none;
}

.page-index__btn--text .arrow {
    margin-left: 8px;
    font-size: 1.2em;
    transition: transform 0.3s ease;
}

.page-index__btn--text:hover .arrow {
    transform: translateX(5px);
}

.page-index__btn--small {
    padding: 8px 15px;
    font-size: 0.9em;
    background-color: #FFD700;
    color: #1A2A3A;
    border: none;
}

.page-index__btn--small:hover {
    background-color: #E0B800;
}

.page-index__btn--cta {
    background: linear-gradient(90deg, #FFD700, #E0B800);
    color: #1A2A3A;
    font-size: 1.5em;
    padding: 15px 35px;
    border-radius: 50px;
    box-shadow: 0 5px 15px rgba(255, 215, 0, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 40px auto 0;
    max-width: 400px;
    border: none;
}

.page-index__btn--cta:hover {
    background: linear-gradient(90deg, #E0B800, #FFD700);
    box-shadow: 0 8px 20px rgba(255, 215, 0, 0.6);
    transform: translateY(-2px);
}

.page-index__cta-icon {
    width: 30px;
    height: 30px;
    margin-right: 10px;
    filter: brightness(0.1);
}

/* Hero Section */
.page-index__hero-section {
    background: linear-gradient(135deg, #1A2A3A 0%, #0A1A2A 100%);
    padding: 80px 0;
    display: flex;
    align-items: center;
    min-height: 70vh;
    position: relative;
    overflow: hidden;
}

.page-index__hero-section::before {
    content: '';
    position: absolute;
    top: -50px;
    left: -50px;
    width: 200px;
    height: 200px;
    background-color: rgba(255, 215, 0, 0.1);
    border-radius: 50%;
    filter: blur(80px);
    z-index: 0;
}

.page-index__hero-section::after {
    content: '';
    position: absolute;
    bottom: -50px;
    right: -50px;
    width: 250px;
    height: 250px;
    background-color: rgba(255, 215, 0, 0.08);
    border-radius: 50%;
    filter: blur(100px);
    z-index: 0;
}

.page-index__hero-content {
    position: relative;
    z-index: 1;
    flex: 1;
    padding-right: 40px;
}

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

.page-index__hero-description {
    font-size: 1.3em;
    margin-bottom: 30px;
    color: #E0E0E0;
}

.page-index__hero-buttons {
    display: flex;
    gap: 15px;
}

.page-index__hero-image-wrapper {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    z-index: 1;
}

.page-index__hero-image {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    transform: rotate(3deg);
    transition: transform 0.5s ease;
}

.page-index__hero-image:hover {
    transform: rotate(0deg) scale(1.03);
}

/* About Section */
.page-index__about-section {
    padding: 80px 0;
    background-color: #2A3A4A;
    display: flex;
    align-items: center;
}

.page-index__about-content {
    flex: 1;
    padding-right: 40px;
}

.page-index__about-image-wrapper {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.page-index__about-image {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
}

/* Featured Games Section */
.page-index__featured-games-section {
    padding: 80px 0;
    background-color: #1A2A3A;
}

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

.page-index__game-card {
    background-color: #2A3A4A;
    border-radius: 10px;
    padding: 25px;
    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-card-image {
    max-width: 100%;
    height: 180px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 20px;
}

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

.page-index__game-card-description {
    color: #E0E0E0;
    font-size: 1em;
    line-height: 1.5;
    margin-bottom: 20px;
}

.page-index__center-btn {
    text-align: center;
    margin-top: 50px;
}

/* Promotions Section */
.page-index__promotions-section {
    padding: 80px 0;
    background-color: #2A3A4A;
}

.page-index__promotion-card {
    background-color: #1A2A3A;
    border-radius: 10px;
    display: flex;
    align-items: center;
    margin-bottom: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    overflow: hidden;
}

.page-index__promotion-image {
    width: 250px;
    height: 180px;
    object-fit: cover;
    border-radius: 10px 0 0 10px;
}

.page-index__promotion-content {
    padding: 25px;
    flex-grow: 1;
}

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

.page-index__promotion-description {
    color: #E0E0E0;
    font-size: 1em;
    line-height: 1.5;
    margin-bottom: 20px;
}

/* Why Choose Us Section */
.page-index__why-choose-us-section {
    padding: 80px 0;
    background-color: #1A2A3A;
}

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

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

.page-index__feature-item:hover {
    transform: translateY(-10px);
    background-color: #3A4A5A;
}

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

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

.page-index__feature-description {
    color: #E0E0E0;
    font-size: 0.95em;
    line-height: 1.5;
}

/* Withdrawal Guide Section */
.page-index__withdrawal-guide-section {
    padding: 80px 0;
    background-color: #2A3A4A;
    display: flex;
    align-items: center;
}

.page-index__withdrawal-content {
    flex: 1;
    padding-right: 40px;
}

.page-index__withdrawal-image-wrapper {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.page-index__withdrawal-image {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
}

/* Testimonials Section */
.page-index__testimonials-section {
    padding: 80px 0;
    background-color: #1A2A3A;
}

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

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

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

.page-index__testimonial-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 20px;
    border: 3px solid #FFD700;
}

.page-index__testimonial-text {
    font-style: italic;
    color: #E0E0E0;
    margin-bottom: 15px;
    line-height: 1.6;
}

.page-index__testimonial-author {
    font-weight: bold;
    color: #FFD700;
    font-size: 1.1em;
}

/* CTA Section */
.page-index__cta-section {
    background: linear-gradient(45deg, #1A2A3A, #0A1A2A);
    padding: 80px 0;
    text-align: center;
}

.page-index__cta-title {
    font-size: 3em;
    color: #FFFFFF;
    margin-bottom: 20px;
}

.page-index__cta-description {
    font-size: 1.2em;
    color: #E0E0E0;
    max-width: 800px;
    margin: 0 auto 40px;
}

/* Detail Pages List Section */
.page-index__detail-pages-list-section {
    padding: 80px 0;
    background-color: #2A3A4A;
}

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

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

.page-index__detail-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
}

.page-index__detail-title {
    font-size: 1.5em;
    margin-bottom: 15px;
    flex-grow: 1;
}

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

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

.page-index__detail-description {
    color: #E0E0E0;
    font-size: 0.95em;
    line-height: 1.5;
    margin-bottom: 20px;
}

/* Responsive Design */
@media (max-width: 992px) {
    .page-index__hero-section .page-index__container,
    .page-index__about-section .page-index__container,
    .page-index__withdrawal-guide-section .page-index__container {
        flex-direction: column;
        text-align: center;
    }

    .page-index__hero-content,
    .page-index__about-content,
    .page-index__withdrawal-content {
        padding-right: 0;
        margin-bottom: 40px;
    }

    .page-index__hero-buttons {
        justify-content: center;
    }

    .page-index__hero-image,
    .page-index__about-image,
    .page-index__withdrawal-image {
        max-width: 80%;
    }

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

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

    .page-index__promotion-card {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .page-index__promotion-image {
        width: 100%;
        height: 200px;
        border-radius: 10px 10px 0 0;
    }
}

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

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

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

    .page-index__btn--primary,
    .page-index__btn--secondary {
        padding: 10px 20px;
        font-size: 0.9em;
    }

    .page-index__btn--secondary {
        margin-left: 10px;
    }

    .page-index__btn--cta {
        font-size: 1.2em;
        padding: 12px 25px;
        max-width: 300px;
    }

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

@media (max-width: 480px) {
    .page-index__hero-buttons {
        flex-direction: column;
        gap: 10px;
    }

    .page-index__btn--secondary {
        margin-left: 0;
    }

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

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

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

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