/* style/index.css */
.page-index {
    font-family: 'Arial', sans-serif;
    color: #E0E0E0; /* Light gray for general text on dark background */
    background-color: #1A1A2E; /* Dark blue/black auxiliary color */
}

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

.page-index-section-title {
    font-size: 2.5em;
    color: #FFD700; /* Gold for titles */
    text-align: center;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

.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-section-description {
    font-size: 1.1em;
    text-align: center;
    max-width: 800px;
    margin: 0 auto 50px auto;
    line-height: 1.6;
    color: #CCCCCC; /* Slightly lighter gray for descriptions */
}

.page-index-btn {
    display: inline-block;
    padding: 12px 25px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s ease;
    font-size: 1.05em;
    cursor: pointer;
    border: none;
}

.page-index-btn-primary {
    background-color: #FFD700; /* Gold background */
    color: #1A1A2E; /* Dark blue text */
}

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

.page-index-btn-secondary {
    background-color: #1A1A2E; /* Dark blue background */
    color: #FFD700; /* Gold text */
    border: 2px solid #FFD700;
}

.page-index-btn-secondary:hover {
    background-color: #2e2e4a; /* Slightly lighter dark blue on hover */
    color: #e6c200;
    transform: translateY(-2px);
}

.page-index-btn-link {
    background: none;
    color: #FFD700;
    padding: 8px 15px;
    border: 1px solid #FFD700;
    font-size: 0.95em;
}

.page-index-btn-link:hover {
    background-color: #FFD700;
    color: #1A1A2E;
}

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

.page-index-center-btn {
    display: block;
    margin: 40px auto 0 auto;
    width: fit-content;
}

/* Hero Section */
.page-index-hero {
    background: linear-gradient(135deg, #1A1A2E 0%, #3a3a5e 100%); /* Gradient dark blue */
    padding: 100px 0;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 40px;
    text-align: center;
    min-height: 600px;
}

.page-index-hero-content {
    max-width: 600px;
    flex: 1;
    min-width: 300px;
}

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

.page-index-hero-subtitle {
    font-size: 1.3em;
    color: #E0E0E0;
    margin-bottom: 40px;
    line-height: 1.5;
}

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

.page-index-hero-image-wrapper {
    flex: 1;
    min-width: 300px;
    max-width: 500px;
}

.page-index-hero-image {
    width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

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

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

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

.page-index-feature-item:hover {
    transform: translateY(-5px);
}

.page-index-feature-icon {
    width: 60px;
    height: 60px;
    margin-bottom: 20px;
    filter: drop-shadow(0 0 5px #FFD700);
}

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

.page-index-feature-text {
    font-size: 1em;
    color: #CCCCCC;
    line-height: 1.6;
}

/* Game Showcase Section */
.page-index-game-showcase {
    padding: 80px 0;
    background-color: #1A1A2E;
}

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

.page-index-game-card {
    background-color: #2e2e4a;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    text-align: center;
    transition: transform 0.3s ease;
}

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

.page-index-game-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-bottom: 3px solid #FFD700;
}

.page-index-game-title {
    font-size: 1.4em;
    color: #FFD700;
    margin: 20px 15px 10px 15px;
}

.page-index-game-text {
    font-size: 0.95em;
    color: #CCCCCC;
    padding: 0 15px 20px 15px;
    line-height: 1.6;
}

/* Promotions Section */
.page-index-promotions {
    padding: 80px 0;
    background-color: #22223b;
}

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

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

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

.page-index-promo-image {
    width: 100%;
    max-height: 180px;
    object-fit: contain;
    margin-bottom: 20px;
}

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

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

/* App Download Section */
.page-index-app-download {
    padding: 80px 0;
    background-color: #1A1A2E;
}

.page-index-app-flex {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 40px;
}

.page-index-app-content {
    flex: 1;
    min-width: 300px;
    max-width: 550px;
}

.page-index-app-image-wrapper {
    flex: 1;
    min-width: 300px;
    max-width: 450px;
    text-align: center;
}

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

.page-index-app-features {
    list-style: none;
    padding: 0;
    margin: 30px 0;
}

.page-index-app-features li {
    font-size: 1.1em;
    color: #E0E0E0;
    margin-bottom: 10px;
    position: relative;
    padding-left: 30px;
}

.page-index-app-features li::before {
    content: '✓';
    color: #FFD700;
    position: absolute;
    left: 0;
    font-weight: bold;
    font-size: 1.2em;
}

.page-index-app-buttons {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    margin-top: 30px;
}

.page-index-btn-icon {
    width: 20px;
    height: 20px;
    vertical-align: middle;
    margin-right: 8px;
    filter: invert(1) saturate(5) hue-rotate(100deg); /* Adjust icon color for visibility */
}

/* How-To Section (Registration/Login) */
.page-index-how-to {
    padding: 80px 0;
    background-color: #22223b;
}

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

.page-index-step-item {
    background-color: #1A1A2E;
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    position: relative;
}

.page-index-step-number {
    position: absolute;
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
    background-color: #FFD700;
    color: #1A1A2E;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5em;
    font-weight: bold;
    border: 3px solid #1A1A2E;
}

.page-index-step-title {
    font-size: 1.4em;
    color: #FFD700;
    margin-top: 20px;
    margin-bottom: 15px;
}

.page-index-step-text {
    font-size: 1em;
    color: #CCCCCC;
    line-height: 1.6;
}

/* Testimonials Section */
.page-index-testimonials {
    padding: 80px 0;
    background-color: #1A1A2E;
}

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

.page-index-testimonial-card {
    background-color: #2e2e4a;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    font-style: italic;
    position: relative;
}

.page-index-testimonial-card::before {
    content: '“';
    font-size: 4em;
    color: #FFD700;
    position: absolute;
    top: 10px;
    left: 15px;
    opacity: 0.3;
}

.page-index-testimonial-text {
    font-size: 1.1em;
    color: #E0E0E0;
    line-height: 1.7;
    margin-bottom: 20px;
    padding-top: 20px;
}

.page-index-testimonial-author {
    font-weight: bold;
    color: #FFD700;
    text-align: right;
    font-style: normal;
    font-size: 1em;
}

/* FAQ Section */
.page-index-faq {
    padding: 80px 0;
    background-color: #22223b;
}

.page-index-faq-item {
    background-color: #1A1A2E;
    margin-bottom: 20px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
}

.page-index-faq-question {
    font-size: 1.3em;
    color: #FFD700;
    padding: 20px 25px;
    cursor: pointer;
    margin: 0;
    position: relative;
    transition: background-color 0.3s ease;
}

.page-index-faq-question:hover {
    background-color: #2e2e4a;
}

.page-index-faq-question::after {
    content: '+';
    position: absolute;
    right: 25px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.5em;
    transition: transform 0.3s ease;
}

.page-index-faq-question.active::after {
    content: '-';
    transform: translateY(-50%) rotate(180deg);
}

.page-index-faq-answer {
    font-size: 1em;
    color: #CCCCCC;
    padding: 0 25px 20px 25px;
    line-height: 1.6;
    display: none; /* Hidden by default */
}

.page-index-faq-answer.active {
    display: block;
}

/* Detail Pages Section */
.page-index-detail-pages {
    padding: 80px 0;
    background-color: #1A1A2E;
}

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

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

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

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

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

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

.page-index-detail-description {
    font-size: 0.95em;
    color: #CCCCCC;
    line-height: 1.6;
    margin-bottom: 25px;
}

/* Responsive Adjustments */
@media (max-width: 992px) {
    .page-index-hero {
        padding: 80px 20px;
        flex-direction: column;
    }

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

    .page-index-hero-subtitle {
        font-size: 1.1em;
    }

    .page-index-app-flex {
        flex-direction: column;
        text-align: center;
    }

    .page-index-app-content,
    .page-index-app-image-wrapper {
        max-width: 100%;
    }

    .page-index-app-buttons {
        justify-content: center;
    }
}

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

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

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

    .page-index-hero-subtitle {
        font-size: 1em;
    }

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

    .page-index-btn {
        width: 100%;
        box-sizing: border-box;
    }

    .page-index-features-grid,
    .page-index-games-grid,
    .page-index-promo-grid,
    .page-index-steps-grid,
    .page-index-testimonial-grid,
    .page-index-detail-list {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .page-index-hero {
        padding: 60px 15px;
    }

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

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

    .page-index-btn-icon {
        width: 18px;
        height: 18px;
        margin-right: 5px;
    }
}