/* style/index.css */

.page-index {
    font-family: 'Arial', sans-serif;
    color: #E5E5E5; /* Light text for dark background */
    background-color: #1A1A1A; /* Main background color */
}

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

.page-index__highlight {
    color: #FFD700;
}

.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: #1A1A1A;
    border: 2px solid #FFD700;
}

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

.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: #1A1A1A;
}

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

.page-index__btn--large {
    padding: 15px 30px;
    font-size: 1.1em;
}

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

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

/* Hero Section */
.page-index__hero {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 80px 20px;
    background: linear-gradient(135deg, #1A1A1A, #333333);
    min-height: 60vh;
    position: relative;
    overflow: hidden;
}

.page-index__hero-content {
    z-index: 1;
    max-width: 900px;
}

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

.page-index__hero-description {
    font-size: 1.3em;
    margin-bottom: 40px;
    line-height: 1.6;
    color: #B0B0B0;
}

.page-index__hero-actions a {
    margin: 10px;
}

.page-index__hero-image-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.15;
    overflow: hidden;
}

.page-index__hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

/* Section Titles & Descriptions */
.page-index__section-title {
    font-size: 2.8em;
    text-align: center;
    margin-bottom: 20px;
    color: #E5E5E5;
}

.page-index__section-description {
    font-size: 1.1em;
    text-align: center;
    max-width: 800px;
    margin: 0 auto 50px auto;
    color: #B0B0B0;
}

/* About Section */
.page-index__about {
    padding: 80px 0;
    background-color: #222222;
}

.page-index__about-grid {
    display: flex;
    align-items: center;
    gap: 40px;
}

.page-index__about-text {
    flex: 1;
}

.page-index__about-text p {
    font-size: 1.1em;
    line-height: 1.7;
    margin-bottom: 20px;
    color: #B0B0B0;
}

.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 10px 30px rgba(0, 0, 0, 0.3);
}

/* Games Section */
.page-index__games {
    padding: 80px 0;
    background-color: #1A1A1A;
}

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

.page-index__game-card {
    background-color: #2A2A2A;
    border-radius: 10px;
    padding: 25px;
    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-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: 15px;
}

.page-index__game-card-text {
    font-size: 1em;
    line-height: 1.6;
    color: #B0B0B0;
    margin-bottom: 20px;
}

.page-index__more-games-text {
    text-align: center;
    margin-top: 50px;
    font-size: 1.1em;
    color: #B0B0B0;
}

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

.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: #2A2A2A;
    border-radius: 10px;
    padding: 25px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease;
}

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

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

.page-index__promo-card-title {
    font-size: 1.6em;
    color: #FFD700;
    margin-bottom: 15px;
}

.page-index__promo-card-text {
    font-size: 1em;
    line-height: 1.6;
    color: #B0B0B0;
    margin-bottom: 20px;
}

.page-index__promo-cta-text {
    text-align: center;
    margin-top: 50px;
    font-size: 1.1em;
    color: #B0B0B0;
}

/* Mobile Section */
.page-index__mobile {
    padding: 80px 0;
    background-color: #1A1A1A;
}

.page-index__mobile-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 40px;
    margin-top: 50px;
}

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

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

.page-index__mobile-text {
    flex: 1;
    text-align: center;
}

.page-index__mobile-text p {
    font-size: 1.1em;
    line-height: 1.7;
    margin-bottom: 20px;
    color: #B0B0B0;
}

/* Security Section */
.page-index__security {
    padding: 80px 0;
    background-color: #222222;
}

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

.page-index__security-item {
    background-color: #2A2A2A;
    border-radius: 10px;
    padding: 25px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.page-index__security-icon {
    width: 60px;
    height: 60px;
    margin-bottom: 20px;
}

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

.page-index__security-item-text {
    font-size: 1em;
    line-height: 1.6;
    color: #B0B0B0;
}

.page-index__security-footer-text {
    text-align: center;
    margin-top: 50px;
    font-size: 1.1em;
    color: #B0B0B0;
}

/* Call to Action Section */
.page-index__cta {
    padding: 80px 0;
    background-color: #1A1A1A;
    text-align: center;
}

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

.page-index__cta-actions a {
    margin: 10px;
}

/* FAQ Section */
.page-index__faq {
    padding: 80px 0;
    background-color: #222222;
}

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

.page-index__faq-item {
    background-color: #2A2A2A;
    border-radius: 8px;
    margin-bottom: 15px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.page-index__faq-question {
    font-size: 1.2em;
    font-weight: bold;
    padding: 20px 25px;
    cursor: pointer;
    color: #FFD700;
    position: relative;
    list-style: none;
}

.page-index__faq-question::marker, .page-index__faq-question::-webkit-details-marker {
    display: none;
}

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

.page-index__faq-item[open] .page-index__faq-question::after {
    content: '-';
    transform: translateY(-50%) rotate(180deg);
}

.page-index__faq-answer {
    padding: 0 25px 20px 25px;
    font-size: 1em;
    line-height: 1.6;
    color: #B0B0B0;
}

/* Responsive Design */
@media (max-width: 992px) {
    .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__about-grid {
        flex-direction: column;
    }
    .page-index__mobile-content {
        flex-direction: column;
    }
    .page-index__mobile-text {
        order: 2;
    }
    .page-index__mobile-image-wrapper {
        order: 1;
    }
}

@media (max-width: 768px) {
    .page-index__hero {
        padding: 60px 15px;
    }
    .page-index__hero-title {
        font-size: 2.2em;
    }
    .page-index__hero-description {
        font-size: 1em;
    }
    .page-index__hero-actions {
        display: flex;
        flex-direction: column;
        gap: 10px;
    }
    .page-index__btn--secondary {
        margin-left: 0;
    }
    .page-index__section-title {
        font-size: 1.8em;
    }
    .page-index__section-description {
        font-size: 0.95em;
    }
    .page-index__about, .page-index__games, .page-index__promotions, .page-index__mobile, .page-index__security, .page-index__cta, .page-index__faq {
        padding: 60px 0;
    }
    .page-index__game-card-image, .page-index__promo-card-image {
        height: 150px;
    }
    .page-index__game-card-title, .page-index__promo-card-title {
        font-size: 1.4em;
    }
    .page-index__security-icon {
        width: 50px;
        height: 50px;
    }
    .page-index__security-item-title {
        font-size: 1.4em;
    }
    .page-index__cta-description {
        font-size: 1.1em;
    }
}

@media (max-width: 480px) {
    .page-index__hero-title {
        font-size: 1.8em;
    }
    .page-index__section-title {
        font-size: 1.6em;
    }
    .page-index__game-categories, .page-index__promo-grid, .page-index__security-grid {
        grid-template-columns: 1fr;
    }
}