/* style/index.css */
.page-index {
    font-family: 'Arial', sans-serif;
    color: #e5e5d1; /* Light color for text on dark background */
    background-color: #1A1A2E;
    line-height: 1.6;
}

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

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

.page-index__section-subtitle {
    font-size: 1.2em;
    color: #e5e5d1;
    text-align: center;
    margin-bottom: 60px;
}

.page-index__text {
    color: #b0b0bb;
    margin-bottom: 15px;
}

.page-index__brand-highlight {
    color: #E94560;
    font-weight: bold;
}

/* Buttons */
.page-index__btn {
    display: inline-block;
    padding: 12px 25px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s ease;
    text-align: center;
    white-space: nowrap;
}

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

.page-index__btn--primary:hover {
    background-color: #ff6680;
    border-color: #ff6680;
    color: #1A1A2E;
    transform: translateY(-2px);
}

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

.page-index__btn--secondary:hover {
    background-color: #E94560;
    color: #1A1A2E;
    transform: translateY(-2px);
}

.page-index__btn--small {
    padding: 8px 15px;
    font-size: 0.9em;
    margin-top: 10px;
}

.page-index__btn--large {
    padding: 15px 35px;
    font-size: 1.2em;
}

.page-index__btn--text {
    color: #E94560;
    text-decoration: none;
    font-weight: bold;
    display: inline-block;
    margin-top: 15px;
}

.page-index__btn--text:hover {
    text-decoration: underline;
}

/* Hero Section */
.page-index__hero-section {
    background: linear-gradient(135deg, #1A1A2E 0%, #3a3a5e 100%);
    padding: 100px 0;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    min-height: 70vh;
}

.page-index__hero-content {
    flex: 1;
    min-width: 300px;
    max-width: 600px;
    text-align: left;
    padding: 20px;
}

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

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

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

.page-index__hero-image-wrapper {
    flex: 1;
    min-width: 300px;
    max-width: 600px;
    text-align: center;
    padding: 20px;
}

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

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

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

.page-index__about-image-wrapper {
    flex: 1;
    min-width: 300px;
    text-align: center;
}

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

.page-index__about-content {
    flex: 2;
    min-width: 300px;
}

/* Games Section */
.page-index__games-section {
    padding: 80px 0;
    background-color: #22223a;
}

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

.page-index__game-card {
    background-color: #1A1A2E;
    padding: 30px;
    border-radius: 10px;
    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-icon {
    width: 80px;
    height: 80px;
    object-fit: contain;
    margin-bottom: 20px;
}

.page-index__game-title {
    font-size: 1.5em;
    color: #E94560;
    margin-bottom: 10px;
}

.page-index__game-title a {
    color: #E94560;
    text-decoration: none;
}

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

.page-index__game-description {
    color: #b0b0bb;
    margin-bottom: 20px;
}

/* Promo Section */
.page-index__promo-section {
    padding: 80px 0;
    background-color: #1A1A2E;
}

.page-index__promo-content {
    display: flex;
    align-items: center;
    gap: 40px;
    flex-wrap: wrap-reverse;
}

.page-index__promo-text-wrapper {
    flex: 2;
    min-width: 300px;
}

.page-index__promo-list {
    list-style: none;
    padding: 0;
    margin-top: 20px;
    margin-bottom: 30px;
}

.page-index__promo-list li {
    color: #b0b0bb;
    margin-bottom: 10px;
    position: relative;
    padding-left: 25px;
}

.page-index__promo-list li::before {
    content: '✓';
    color: #E94560;
    position: absolute;
    left: 0;
    font-weight: bold;
}

.page-index__promo-image-wrapper {
    flex: 1;
    min-width: 300px;
    text-align: center;
}

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

/* Why Choose Section */
.page-index__why-choose-section {
    padding: 80px 0;
    background-color: #22223a;
}

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

.page-index__reason-card {
    background-color: #1A1A2E;
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.page-index__reason-icon {
    width: 60px;
    height: 60px;
    object-fit: contain;
    margin-bottom: 15px;
}

.page-index__reason-title {
    font-size: 1.3em;
    color: #E94560;
    margin-bottom: 10px;
}

.page-index__reason-description {
    color: #b0b0bb;
}

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

.page-index__download-content {
    display: flex;
    align-items: center;
    gap: 40px;
    flex-wrap: wrap;
}

.page-index__download-text-wrapper {
    flex: 1;
    min-width: 300px;
}

.page-index__download-buttons {
    display: flex;
    gap: 15px;
    margin-top: 30px;
    flex-wrap: wrap;
}

.page-index__download-image-wrapper {
    flex: 1;
    min-width: 300px;
    text-align: center;
}

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

/* CTA Section */
.page-index__cta-section {
    background-color: #E94560;
    padding: 80px 0;
    text-align: center;
    color: #1A1A2E;
}

.page-index__cta-title {
    font-size: 2.8em;
    margin-bottom: 20px;
    color: #1A1A2E;
}

.page-index__cta-description {
    font-size: 1.2em;
    margin-bottom: 40px;
    color: #333;
}

.page-index__cta-title .page-index__brand-highlight {
    color: #1A1A2E;
}

.page-index__cta-section .page-index__btn--primary {
    background-color: #1A1A2E;
    color: #E94560;
    border-color: #1A1A2E;
}

.page-index__cta-section .page-index__btn--primary:hover {
    background-color: #3a3a5e;
    border-color: #3a3a5e;
    color: #E94560;
}

/* Detail Pages Section */
.page-index__detail-pages-section {
    padding: 80px 0;
    background-color: #22223a;
}

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

.page-index__detail-card {
    background-color: #1A1A2E;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    display: flex;
    flex-direction: column;
}

.page-index__detail-title {
    font-size: 1.6em;
    color: #E94560;
    margin-bottom: 15px;
}

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

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

.page-index__detail-description {
    color: #b0b0bb;
    margin-bottom: 20px;
    flex-grow: 1;
}

@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: 2em;
    }
    .page-index__cta-title {
        font-size: 2.2em;
    }
}

@media (max-width: 768px) {
    .page-index__hero-section,
    .page-index__about-grid,
    .page-index__promo-content,
    .page-index__download-content {
        flex-direction: column;
        text-align: center;
    }
    .page-index__hero-content,
    .page-index__hero-image-wrapper,
    .page-index__about-image-wrapper,
    .page-index__about-content,
    .page-index__promo-text-wrapper,
    .page-index__promo-image-wrapper,
    .page-index__download-text-wrapper,
    .page-index__download-image-wrapper {
        max-width: 100%;
    }
    .page-index__hero-actions,
    .page-index__download-buttons {
        justify-content: center;
        flex-direction: column;
        gap: 10px;
    }
    .page-index__btn--secondary {
        margin-left: 0;
    }
    .page-index__hero-title {
        font-size: 2.5em;
    }
    .page-index__section-title {
        font-size: 1.8em;
    }
    .page-index__cta-title {
        font-size: 2em;
    }
    .page-index__promo-list li {
        text-align: left;
    }
}

@media (max-width: 480px) {
    .page-index__hero-title {
        font-size: 2em;
    }
    .page-index__hero-description {
        font-size: 1em;
    }
    .page-index__section-title {
        font-size: 1.5em;
    }
    .page-index__cta-title {
        font-size: 1.8em;
    }
    .page-index__btn--large {
        padding: 12px 25px;
        font-size: 1em;
    }
}