/* style/index.css */
:root {
    --primary-color: #26A9E0;
    --secondary-color: #EA7C07;
    --text-color-dark: #333333;
    --text-color-light: #ffffff;
    --background-light: #f5f8fa;
    --background-dark: #1a2a3a;
    --border-color: #e0e0e0;
}

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

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

.page-index__section-title {
    font-size: 36px;
    font-weight: bold;
    color: var(--primary-color);
    text-align: center;
    margin-bottom: 20px;
    padding-top: 40px;
}

.page-index__section-title--light {
    color: var(--text-color-light);
}

.page-index__section-description {
    font-size: 18px;
    text-align: center;
    margin-bottom: 40px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.page-index__section-description--light {
    color: rgba(255, 255, 255, 0.9);
}

.page-index__cta-button {
    display: inline-block;
    padding: 15px 40px;
    text-decoration: none;
    border-radius: 5px;
    font-size: 18px;
    font-weight: bold;
    margin: 10px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.page-index__cta-button--primary {
    background: var(--primary-color);
    color: var(--text-color-light);
    border: 2px solid var(--primary-color);
}

.page-index__cta-button--primary:hover {
    background: darken(var(--primary-color), 10%);
    border-color: darken(var(--primary-color), 10%);
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
}

.page-index__cta-button--secondary {
    background: var(--text-color-light);
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.page-index__cta-button--secondary:hover {
    background: var(--primary-color);
    color: var(--text-color-light);
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
}

/* HERO Section */
.page-index__hero-section {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 60px 20px;
    padding-top: var(--header-offset, 120px);
    background: linear-gradient(135deg, #26A9E0, #FFFFFF);
    overflow: hidden;
}

.page-index__hero-container {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 1;
}

.page-index__hero-image {
    width: 100%;
    margin-bottom: 30px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.page-index__hero-image img {
    width: 100%;
    height: auto;
    max-width: 100%;
    display: block;
    object-fit: cover;
}

.page-index__hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    width: 100%;
}

.page-index__hero-title {
    font-size: 52px;
    color: var(--text-color-light);
    margin-bottom: 20px;
    line-height: 1.2;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.3);
}

.page-index__hero-description {
    font-size: 20px;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.2);
}

/* Introduction Section */
.page-index__introduction-section {
    padding: 80px 0;
    background-color: var(--background-light);
}

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

.page-index__intro-item {
    background: var(--text-color-light);
    border-radius: 12px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.page-index__intro-item img {
    width: 100%;
    max-width: 250px;
    height: auto;
    margin-bottom: 20px;
    border-radius: 8px;
    object-fit: cover;
}

.page-index__intro-heading {
    font-size: 24px;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.page-index__intro-text {
    font-size: 16px;
    color: var(--text-color-dark);
}

/* Quick Access Section */
.page-index__quick-access-section {
    padding: 80px 0;
    background-color: var(--primary-color);
    text-align: center;
}

.page-index__access-links-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    max-width: 1000px;
    margin: 0 auto;
}

.page-index__access-link {
    display: block;
    padding: 20px 25px;
    border-radius: 8px;
    text-decoration: none;
    font-size: 18px;
    font-weight: bold;
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
    color: var(--text-color-dark);
}

.page-index__access-link--primary {
    background: #FFD700; /* Gold-like for urgency */
    border: 2px solid #FFD700;
}
.page-index__access-link--primary:hover { background: #e6c200; transform: translateY(-3px); box-shadow: 0 6px 15px rgba(0,0,0,0.25); }

.page-index__access-link--secondary {
    background: #EA7C07; /* Login color */
    border: 2px solid #EA7C07;
    color: var(--text-color-light);
}
.page-index__access-link--secondary:hover { background: darken(#EA7C07, 10%); transform: translateY(-3px); box-shadow: 0 6px 15px rgba(0,0,0,0.25); }

.page-index__access-link--tertiary {
    background: #4CAF50; /* Green for download */
    border: 2px solid #4CAF50;
    color: var(--text-color-light);
}
.page-index__access-link--tertiary:hover { background: darken(#4CAF50, 10%); transform: translateY(-3px); box-shadow: 0 6px 15px rgba(0,0,0,0.25); }

.page-index__access-link--quaternary {
    background: #9C27B0; /* Purple for promos */
    border: 2px solid #9C27B0;
    color: var(--text-color-light);
}
.page-index__access-link--quaternary:hover { background: darken(#9C27B0, 10%); transform: translateY(-3px); box-shadow: 0 6px 15px rgba(0,0,0,0.25); }

.page-index__access-link--fifth {
    background: #2196F3; /* Blue for support */
    border: 2px solid #2196F3;
    color: var(--text-color-light);
}
.page-index__access-link--fifth:hover { background: darken(#2196F3, 10%); transform: translateY(-3px); box-shadow: 0 6px 15px rgba(0,0,0,0.25); }

.page-index__access-link--sixth {
    background: #FFEB3B; /* Yellow for FAQ */
    border: 2px solid #FFEB3B;
    color: var(--text-color-dark);
}
.page-index__access-link--sixth:hover { background: #e0d030; transform: translateY(-3px); box-shadow: 0 6px 15px rgba(0,0,0,0.25); }


/* Games Section */
.page-index__games-section {
    padding: 80px 0;
    background-color: var(--background-light);
}

.page-index__game-tabs {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 40px;
    gap: 10px;
}

.page-index__game-tab {
    background: var(--text-color-light);
    border: 1px solid var(--border-color);
    padding: 12px 25px;
    border-radius: 25px;
    cursor: pointer;
    font-size: 16px;
    font-weight: bold;
    color: var(--text-color-dark);
    transition: all 0.3s ease;
    white-space: nowrap;
}

.page-index__game-tab:hover {
    background: var(--primary-color);
    color: var(--text-color-light);
}

.page-index__game-tab--active {
    background: var(--primary-color);
    color: var(--text-color-light);
    border-color: var(--primary-color);
}

.page-index__game-content {
    margin-top: 30px;
}

.page-index__game-panel {
    display: none;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}

.page-index__game-panel--active {
    display: grid;
}

.page-index__game-card {
    background: var(--text-color-light);
    border-radius: 12px;
    padding: 25px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.page-index__game-card img {
    width: 100%;
    height: auto;
    max-width: 100%;
    border-radius: 8px;
    margin-bottom: 20px;
    object-fit: cover;
}

.page-index__game-card-title {
    font-size: 22px;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.page-index__game-card-text {
    font-size: 15px;
    color: var(--text-color-dark);
    margin-bottom: 20px;
}

.page-index__game-card-button {
    display: inline-block;
    padding: 10px 25px;
    background: var(--secondary-color);
    color: var(--text-color-light);
    text-decoration: none;
    border-radius: 5px;
    font-size: 16px;
    font-weight: bold;
    transition: background-color 0.3s ease;
}

.page-index__game-card-button:hover {
    background: darken(var(--secondary-color), 10%);
}

/* Promotions Section */
.page-index__promotions-section {
    padding: 80px 0;
    background-color: var(--primary-color);
    text-align: center;
}

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

.page-index__promo-card {
    background: var(--text-color-light);
    border-radius: 12px;
    padding: 25px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.page-index__promo-card img {
    width: 100%;
    height: auto;
    max-width: 100%;
    border-radius: 8px;
    margin-bottom: 20px;
    object-fit: cover;
}

.page-index__promo-title {
    font-size: 22px;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.page-index__promo-text {
    font-size: 15px;
    color: var(--text-color-dark);
    margin-bottom: 20px;
}

.page-index__promo-button {
    display: inline-block;
    padding: 10px 25px;
    background: var(--secondary-color);
    color: var(--text-color-light);
    text-decoration: none;
    border-radius: 5px;
    font-size: 16px;
    font-weight: bold;
    transition: background-color 0.3s ease;
}

.page-index__promo-button:hover {
    background: darken(var(--secondary-color), 10%);
}

.page-index__view-all-promos {
    margin-top: 40px;
}

/* Security & Support Section */
.page-index__security-support-section {
    padding: 80px 0;
    background-color: var(--background-light);
}

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

.page-index__security-item {
    background: var(--text-color-light);
    border-radius: 12px;
    padding: 25px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

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

.page-index__security-title {
    font-size: 22px;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.page-index__security-text {
    font-size: 15px;
    color: var(--text-color-dark);
    margin-bottom: 20px;
}

.page-index__security-button {
    display: inline-block;
    padding: 10px 25px;
    background: var(--primary-color);
    color: var(--text-color-light);
    text-decoration: none;
    border-radius: 5px;
    font-size: 16px;
    font-weight: bold;
    transition: background-color 0.3s ease;
}

.page-index__security-button:hover {
    background: darken(var(--primary-color), 10%);
}

/* FAQ Section */
.page-index__faq-section {
    padding: 80px 0;
    background-color: var(--primary-color);
}

.page-index__faq-list {
    max-width: 900px;
    margin: 0 auto;
}

.page-index__faq-item {
    margin-bottom: 15px;
    border-radius: 5px;
    overflow: hidden;
}

.page-index__faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), padding 0.4s ease;
    padding: 0 15px;
    opacity: 0;
}

.page-index__faq-item.active .page-index__faq-answer {
    max-height: 2000px !important;
    padding: 20px 15px !important;
    opacity: 1;
    background: #f9f9f9;
    border-radius: 0 0 5px 5px;
    color: var(--text-color-dark);
}

.page-index__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 20px;
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 5px;
    cursor: pointer;
    user-select: none;
    transition: background-color 0.3s ease, border-color 0.3s ease;
    position: relative;
}

.page-index__faq-question:hover {
    background: #f5f5f5;
    border-color: #d0d0d0;
}

.page-index__faq-question:active {
    background: #eeeeee;
}

.page-index__faq-question h3 {
    margin: 0;
    padding: 0;
    flex: 1;
    font-size: 16px;
    font-weight: 600;
    line-height: 1.5;
    pointer-events: none;
    color: var(--text-color-dark);
}

.page-index__faq-toggle {
    font-size: 24px;
    font-weight: bold;
    line-height: 1;
    color: #666;
    transition: transform 0.3s ease, color 0.3s ease;
    flex-shrink: 0;
    margin-left: 15px;
    pointer-events: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
}

.page-index__faq-item.active .page-index__faq-toggle {
    color: var(--primary-color);
    transform: rotate(45deg); /* Change from '-' to 'x' visually */
}

/* Blog Section */
.page-index__blog-section {
    padding: 80px 0;
    background-color: var(--background-light);
}

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

.page-index__blog-card {
    background: var(--text-color-light);
    border-radius: 12px;
    padding: 25px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.page-index__blog-card img {
    width: 100%;
    height: auto;
    max-width: 100%;
    border-radius: 8px;
    margin-bottom: 20px;
    object-fit: cover;
}

.page-index__blog-title {
    font-size: 22px;
    color: var(--primary-color);
    margin-bottom: 10px;
}

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

.page-index__blog-title a:hover {
    color: darken(var(--primary-color), 10%);
}

.page-index__blog-excerpt {
    font-size: 15px;
    color: var(--text-color-dark);
    margin-bottom: 15px;
}

.page-index__blog-date {
    font-size: 14px;
    color: #888;
}

.page-index__view-all-news {
    text-align: center;
    margin-top: 40px;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .page-index__hero-title {
        font-size: 44px;
    }

    .page-index__hero-description {
        font-size: 18px;
    }

    .page-index__section-title {
        font-size: 32px;
    }

    .page-index__section-description {
        font-size: 16px;
    }
}

@media (max-width: 768px) {
    .page-index__hero-section {
        padding-top: var(--header-offset, 120px) !important;
        padding-bottom: 40px;
        padding-left: 15px;
        padding-right: 15px;
    }

    .page-index__hero-title {
        font-size: 36px;
    }

    .page-index__hero-description {
        font-size: 16px;
    }

    .page-index__cta-button {
        padding: 12px 30px;
        font-size: 16px;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
    }

    .page-index__hero-content .page-index__cta-button {
        margin-left: 0;
        margin-right: 0;
    }

    .page-index__introduction-section,
    .page-index__quick-access-section,
    .page-index__games-section,
    .page-index__promotions-section,
    .page-index__security-support-section,
    .page-index__faq-section,
    .page-index__blog-section {
        padding: 50px 0;
    }

    .page-index__section-title {
        font-size: 28px;
        padding-top: 20px;
    }

    .page-index__intro-grid,
    .page-index__access-links-grid,
    .page-index__game-panel,
    .page-index__promotions-grid,
    .page-index__security-support-grid,
    .page-index__blog-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .page-index__game-tabs {
        flex-direction: column;
        align-items: center;
    }

    .page-index__game-tab {
        width: 100%;
        max-width: 250px;
    }

    .page-index__faq-question {
        padding: 15px;
        flex-wrap: wrap;
    }
    
    .page-index__faq-question h3 {
        font-size: 15px;
        margin-bottom: 0;
        width: calc(100% - 40px);
    }
    
    .page-index__faq-toggle {
        margin-left: 10px;
        width: 24px;
        height: 24px;
        font-size: 20px;
    }
    
    .page-index__faq-answer {
        padding: 0 15px;
    }
    
    .page-index__faq-item.active .page-index__faq-answer {
        padding: 15px !important;
    }

    /* Mobile image adaptation */
    .page-index img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
    }
    
    .page-index__section,
    .page-index__card,
    .page-index__container,
    .page-index__intro-item,
    .page-index__game-card,
    .page-index__promo-card,
    .page-index__security-item,
    .page-index__blog-card,
    .page-index__access-link {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
    }

    .page-index__access-links-grid {
        padding-left: 15px;
        padding-right: 15px;
    }

    .page-index__cta-buttons,
    .page-index__button-group,
    .page-index__btn-container {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
        flex-wrap: wrap !important;
        gap: 10px;
    }

    .page-index__hero-content {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .page-index__view-all-promos .page-index__cta-button,
    .page-index__view-all-news .page-index__cta-button {
        width: auto !important;
        max-width: 100% !important;
        padding: 12px 25px;
    }
}