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

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

.page-index-section-title {
    font-size: 2.8em;
    color: #E94560; /* Accent color for titles */
    text-align: center;
    margin-bottom: 30px;
    position: relative;
    padding-bottom: 15px;
    font-weight: bold;
}

.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-description {
    font-size: 1.1em;
    line-height: 1.8;
    text-align: center;
    max-width: 900px;
    margin: 0 auto 60px auto;
    color: #cccccc;
}

.page-index-highlight {
    color: #E94560;
}

/* Buttons */
.page-index-btn {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1em;
    transition: all 0.3s ease;
    cursor: pointer;
    text-align: center;
}

.page-index-btn-primary {
    background-color: #E94560;
    color: #FFFFFF;
    border: 2px solid #E94560;
}

.page-index-btn-primary:hover {
    background-color: #b33649;
    border-color: #b33649;
    transform: translateY(-2px);
}

.page-index-btn-secondary {
    background-color: #33334d; /* Darker variant of primary background */
    color: #E94560;
    border: 2px solid #E94560;
}

.page-index-btn-secondary:hover {
    background-color: #444466;
    transform: translateY(-2px);
}

.page-index-btn-outline {
    background-color: transparent;
    color: #E94560;
    border: 2px solid #E94560;
}

.page-index-btn-outline:hover {
    background-color: #E94560;
    color: #FFFFFF;
    transform: translateY(-2px);
}

.page-index-btn-small {
    padding: 10px 20px;
    font-size: 0.95em;
}

.page-index-btn-large {
    padding: 18px 35px;
    font-size: 1.2em;
}

.page-index-center-cta {
    text-align: center;
    margin-top: 50px;
}

/* Hero Section */
.page-index-hero-section {
    background: linear-gradient(135deg, #1A1A2E 0%, #33334d 100%); /* Dark gradient */
    padding: 100px 0;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 40px;
    min-height: 600px;
    position: relative;
    overflow: hidden;
}

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

.page-index-hero-title {
    font-size: 4.2em;
    color: #FFFFFF;
    margin-bottom: 20px;
    line-height: 1.2;
    font-weight: bold;
}

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

.page-index-hero-actions {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.page-index-hero-image-wrapper {
    flex: 1;
    min-width: 400px;
    max-width: 600px;
    text-align: center;
    z-index: 1;
}

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

/* About Us Section */
.page-index-about-us-section {
    padding: 80px 0;
    background-color: #1A1A2E;
}

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

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

.page-index-image-text-item:hover {
    transform: translateY(-10px);
}

.page-index-grid-image {
    max-width: 100%;
    height: 180px; /* Consistent height for images */
    object-fit: contain; /* Ensure image content is fully visible */
    margin-bottom: 20px;
    border-radius: 8px;
}

.page-index-grid-title {
    font-size: 1.8em;
    color: #E94560;
    margin-bottom: 15px;
}

.page-index-grid-description {
    font-size: 1em;
    color: #cccccc;
    line-height: 1.6;
}

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

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

.page-index-game-card {
    background-color: #2a2a44;
    border-radius: 10px;
    padding: 25px;
    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;
    justify-content: space-between;
}

.page-index-game-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}

.page-index-game-image {
    max-width: 100%;
    height: 180px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 20px;
}

.page-index-game-title {
    font-size: 1.8em;
    color: #E94560;
    margin-bottom: 10px;
}

.page-index-game-description {
    font-size: 0.95em;
    color: #cccccc;
    line-height: 1.6;
    flex-grow: 1;
    margin-bottom: 20px;
}

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

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

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

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

.page-index-promotion-image {
    max-width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 25px;
}

.page-index-promotion-title {
    font-size: 2em;
    color: #E94560;
    margin-bottom: 15px;
}

.page-index-promotion-description {
    font-size: 1em;
    color: #cccccc;
    line-height: 1.6;
    margin-bottom: 25px;
}

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

.page-index-app-download-section .page-index-content-wrapper {
    display: flex;
    align-items: center;
    gap: 60px;
    flex-wrap: wrap-reverse;
}

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

.page-index-app-image-wrapper {
    flex: 1;
    min-width: 300px;
    max-width: 500px;
    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);
}

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

.page-index-app-badge {
    display: flex;
    align-items: center;
    padding: 12px 25px;
    border-radius: 8px;
    font-weight: bold;
    font-size: 1em;
    text-decoration: none;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.page-index-app-store {
    background-color: #000000;
    color: #FFFFFF;
    border: 1px solid #000000;
}

.page-index-app-store:hover {
    background-color: #333333;
    transform: translateY(-2px);
}

.page-index-google-play {
    background-color: #4CAF50;
    color: #FFFFFF;
    border: 1px solid #4CAF50;
}

.page-index-google-play:hover {
    background-color: #388E3C;
    transform: translateY(-2px);
}

.page-index-qr-code {
    max-width: 150px;
    height: auto;
    margin-top: 20px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.page-index-small-text {
    font-size: 0.9em;
    color: #999999;
    margin-top: 15px;
}

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

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

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

.page-index-trust-item:hover {
    transform: translateY(-10px);
}

.page-index-trust-icon {
    max-width: 80px;
    height: auto;
    margin-bottom: 20px;
}

.page-index-trust-title {
    font-size: 1.8em;
    color: #E94560;
    margin-bottom: 15px;
}

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

/* 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;
    margin-top: 60px;
}

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

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

.page-index-detail-title {
    font-size: 1.8em;
    margin-bottom: 15px;
    line-height: 1.3;
}

.page-index-detail-title a {
    color: #E94560;
    text-decoration: none;
    transition: color 0.3s ease;
}

.page-index-detail-title a:hover {
    color: #f07d90;
}

.page-index-detail-description {
    font-size: 1em;
    color: #cccccc;
    line-height: 1.6;
    margin-bottom: 20px;
}

/* CTA Bottom Section */
.page-index-cta-bottom-section {
    background: linear-gradient(135deg, #E94560 0%, #b33649 100%); /* Accent gradient */
    padding: 80px 0;
    text-align: center;
    color: #FFFFFF;
}

.page-index-cta-title {
    color: #FFFFFF;
}

.page-index-cta-title::after {
    background-color: #FFFFFF;
}

.page-index-cta-description {
    color: #f0f0f0;
}

.page-index-cta-actions {
    margin-top: 40px;
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

/* Responsive adjustments */
@media (max-width: 1024px) {
    .page-index-hero-section {
        flex-direction: column;
        text-align: center;
        padding: 80px 20px;
    }

    .page-index-hero-content,
    .page-index-hero-image-wrapper {
        max-width: 100%;
        text-align: center;
        padding-left: 0;
    }

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

    .page-index-app-download-section .page-index-content-wrapper {
        flex-direction: column;
    }
}

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

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

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

    .page-index-hero-actions {
        justify-content: center;
    }

    .page-index-btn {
        width: 100%;
        max-width: 280px;
    }

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

    .page-index-cta-actions {
        flex-direction: column;
        align-items: center;
    }
}

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

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

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

    .page-index-btn {
        font-size: 1em;
        padding: 12px 20px;
    }

    .page-index-image-text-grid,
    .page-index-game-grid,
    .page-index-promotion-grid,
    .page-index-trust-grid,
    .page-index-detail-grid {
        grid-template-columns: 1fr;
    }
}