/* style/index.css */

.page-index {
    font-family: 'Arial', sans-serif;
    color: #f0f0f0;
    background-color: #1a1a1a;
    line-height: 1.6;
}

.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, transform 0.2s 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;
    transform: translateY(-2px);
}

.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;
    transform: translateY(-2px);
}

.page-index__btn--small {
    padding: 8px 18px;
    font-size: 0.9em;
}

.page-index__btn--large {
    padding: 15px 35px;
    font-size: 1.1em;
}

.page-index__section-title {
    font-size: 2.5em;
    color: #f0f0f0;
    text-align: center;
    margin-bottom: 20px;
    padding-top: 40px;
}

.page-index__section-description {
    font-size: 1.1em;
    color: #ccc;
    text-align: center;
    max-width: 900px;
    margin: 0 auto 40px auto;
}

/* Hero Section */
.page-index__hero {
    background: linear-gradient(135deg, #1a1a1a 0%, #333333 100%);
    padding: 80px 0;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 70vh;
    position: relative;
    overflow: hidden;
}

.page-index__hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.1;
    z-index: 0;
}

.page-index__hero .page-index__container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    position: relative;
    z-index: 1;
    flex-wrap: wrap-reverse;
}

.page-index__hero-content {
    flex: 1;
    min-width: 300px;
}

.page-index__hero-title {
    font-size: 3.5em;
    color: #f0f0f0;
    margin-bottom: 20px;
    line-height: 1.2;
}

.page-index__hero-description {
    font-size: 1.2em;
    color: #ccc;
    margin-bottom: 30px;
}

.page-index__hero-actions {
    display: flex;
    gap: 15px;
}

.page-index__hero-image-wrapper {
    flex: 1;
    min-width: 300px;
    text-align: center;
}

.page-index__hero-image {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

/* About Section */
.page-index__about {
    padding: 60px 0;
    background-color: #222;
}

.page-index__about .page-index__section-description {
    text-align: left;
    max-width: 100%;
}

.page-index__about .page-index__section-description + .page-index__section-description {
    margin-top: 20px;
}

.page-index__detail-links {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-top: 50px;
    flex-wrap: wrap;
}

.page-index__detail-card {
    background-color: #333;
    border: 1px solid #444;
    border-radius: 10px;
    padding: 30px;
    text-align: center;
    flex: 1;
    min-width: 280px;
    max-width: 45%;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-index__detail-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.5);
}

.page-index__detail-card h3 {
    font-size: 1.8em;
    color: #FFD700;
    margin-bottom: 15px;
}

.page-index__detail-card h3 a {
    color: #FFD700;
    text-decoration: none;
    transition: color 0.3s ease;
}

.page-index__detail-card h3 a:hover {
    color: #e6c200;
}

.page-index__detail-card p {
    color: #ccc;
    margin-bottom: 25px;
    font-size: 1em;
}

/* Games Section */
.page-index__games {
    padding: 60px 0;
    background-color: #1a1a1a;
}

.page-index__game-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.page-index__game-card {
    background-color: #2c2c2c;
    border-radius: 10px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.page-index__game-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.5);
}

.page-index__game-icon {
    width: 80px;
    height: 80px;
    margin-bottom: 20px;
    border-radius: 50%;
    border: 3px solid #FFD700;
    object-fit: cover;
}

.page-index__game-card h3 {
    font-size: 1.8em;
    color: #FFD700;
    margin-bottom: 15px;
}

.page-index__game-card p {
    color: #ccc;
    font-size: 1em;
    flex-grow: 1;
    margin-bottom: 20px;
}

/* Promotions Section */
.page-index__promotions {
    padding: 60px 0;
    background-color: #222;
}

.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: #2c2c2c;
    border-radius: 10px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-index__promo-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.5);
}

.page-index__promo-image {
    max-width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 20px;
    border: 2px solid #8B0000;
}

.page-index__promo-card h3 {
    font-size: 1.8em;
    color: #FFD700;
    margin-bottom: 15px;
}

.page-index__promo-card p {
    color: #ccc;
    font-size: 1em;
    margin-bottom: 20px;
}

/* App Download Section */
.page-index__app-download {
    padding: 60px 0;
    background-color: #1a1a1a;
}

.page-index__app-flex {
    display: flex;
    align-items: center;
    gap: 40px;
    flex-wrap: wrap;
}

.page-index__app-content {
    flex: 1;
    min-width: 300px;
}

.page-index__app-download .page-index__section-title,
.page-index__app-download .page-index__section-description {
    text-align: left;
    margin-left: 0;
    margin-right: 0;
}

.page-index__download-buttons {
    display: flex;
    gap: 15px;
    margin-top: 30px;
}

.page-index__app-image-wrapper {
    flex: 1;
    min-width: 300px;
    text-align: center;
}

.page-index__app-image {
    max-width: 100%;
    height: auto;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

/* Why Choose Us Section */
.page-index__why-choose-us {
    padding: 60px 0;
    background-color: #222;
}

.page-index__features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.page-index__feature-item {
    background-color: #2c2c2c;
    border-radius: 10px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-index__feature-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.5);
}

.page-index__feature-icon {
    width: 60px;
    height: 60px;
    margin-bottom: 20px;
    filter: brightness(1.2) drop-shadow(0 0 5px rgba(255, 215, 0, 0.5));
}

.page-index__feature-item h3 {
    font-size: 1.5em;
    color: #FFD700;
    margin-bottom: 10px;
}

.page-index__feature-item p {
    color: #ccc;
    font-size: 0.95em;
}

/* Call to Action Section */
.page-index__cta {
    background-color: #8B0000;
    padding: 80px 0;
    text-align: center;
}

.page-index__cta-title {
    font-size: 3em;
    color: #f0f0f0;
    margin-bottom: 20px;
}

.page-index__cta-description {
    font-size: 1.2em;
    color: #eee;
    max-width: 800px;
    margin: 0 auto 40px auto;
}

/* Responsive Design */
@media (max-width: 992px) {
    .page-index__hero .page-index__container {
        flex-direction: column-reverse;
        text-align: center;
    }

    .page-index__hero-content,
    .page-index__hero-image-wrapper {
        flex: none;
        width: 100%;
    }

    .page-index__hero-title {
        font-size: 2.8em;
    }

    .page-index__hero-actions {
        justify-content: center;
    }

    .page-index__app-flex {
        flex-direction: column;
        text-align: center;
    }

    .page-index__app-download .page-index__section-title,
    .page-index__app-download .page-index__section-description {
        text-align: center;
    }

    .page-index__download-buttons {
        justify-content: center;
    }

    .page-index__detail-card {
        max-width: 80%;
    }
}

@media (max-width: 768px) {
    .page-index__section-title {
        font-size: 2em;
    }

    .page-index__hero-title {
        font-size: 2.2em;
    }

    .page-index__hero-description,
    .page-index__section-description,
    .page-index__cta-description {
        font-size: 1em;
    }

    .page-index__btn {
        padding: 10px 20px;
        font-size: 0.9em;
    }

    .page-index__btn--secondary {
        margin-left: 10px;
    }

    .page-index__cta-title {
        font-size: 2.5em;
    }

    .page-index__detail-card,
    .page-index__game-card,
    .page-index__promo-card,
    .page-index__feature-item {
        max-width: 100%;
    }
}

@media (max-width: 480px) {
    .page-index__hero-actions,
    .page-index__download-buttons {
        flex-direction: column;
        gap: 10px;
    }

    .page-index__btn--secondary {
        margin-left: 0;
    }
}