:root {
    --primary-color: #004AAD;
    --secondary-color: #FFD700;
    --text-dark: #333333;
    --text-light: #ffffff;
    --light-background: #f4f7fa;
    --dark-background: #0d2a52;
    --border-color: #e0e0e0;
}

/* General page styling */
.page-index {
    font-family: 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--light-background);
}

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

.page-index-section-padding {
    padding: 80px 0;
}

.page-index-bg-dark {
    background-color: var(--dark-background);
    color: var(--text-light);
}

.page-index-text-light {
    color: var(--text-light);
}

.page-index-section-title {
    font-size: 2.8em;
    color: var(--primary-color);
    text-align: center;
    margin-bottom: 20px;
    font-weight: 700;
    line-height: 1.2;
}

.page-index-bg-dark .page-index-section-title {
    color: var(--secondary-color);
}

.page-index-section-description {
    font-size: 1.2em;
    text-align: center;
    max-width: 800px;
    margin: 0 auto 60px auto;
    color: #666;
}

.page-index-bg-dark .page-index-section-description {
    color: #cccccc;
}

.page-index-highlight {
    color: var(--secondary-color);
}

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

.page-index-btn-primary {
    background-color: var(--secondary-color);
    color: var(--primary-color);
    box-shadow: 0 4px 15px rgba(255, 215, 0, 0.4);
}

.page-index-btn-primary:hover {
    background-color: #e6c200;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 215, 0, 0.6);
}

.page-index-btn-secondary {
    background-color: transparent;
    color: var(--secondary-color);
    border: 2px solid var(--secondary-color);
    margin-left: 20px;
}

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

.page-index-btn-primary-inverted {
    background-color: var(--light-background);
    color: var(--primary-color);
    box-shadow: 0 4px 15px rgba(0, 74, 173, 0.2);
}

.page-index-btn-primary-inverted:hover {
    background-color: #e0e0e0;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 74, 173, 0.3);
}

.page-index-btn-outline {
    background-color: transparent;
    color: var(--secondary-color);
    border: 2px solid var(--secondary-color);
}

.page-index-btn-outline:hover {
    background-color: var(--secondary-color);
    color: var(--primary-color);
}

.page-index-btn-link {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    padding: 0;
    background: none;
    border: none;
    font-size: 1em;
}

.page-index-btn-link:hover {
    text-decoration: underline;
    color: var(--secondary-color);
}

/* Hero Section */
.page-index-hero-section {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--dark-background) 100%);
    color: var(--text-light);
    padding: 100px 0;
    display: flex;
    align-items: center;
    min-height: 70vh;
    position: relative;
    overflow: hidden;
}

.page-index-hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('[GALLERY:bg:abstract_pattern,gaming,gradient_overlay]') no-repeat center center/cover;
    opacity: 0.1;
    z-index: 0;
}

.page-index-hero-section .page-index-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
    z-index: 1;
    flex-wrap: wrap;
}

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

.page-index-hero-title {
    font-size: 3.8em;
    margin-bottom: 20px;
    line-height: 1.1;
    font-weight: 800;
    color: var(--text-light);
}

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

.page-index-hero-buttons {
    display: flex;
    gap: 15px;
}

.page-index-hero-image-wrapper {
    flex: 1;
    min-width: 300px;
    text-align: right;
    margin-left: 40px;
}

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

/* About Section (Features) */
.page-index-about-section {
    background-color: var(--light-background);
}

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

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

.page-index-feature-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.page-index-feature-icon {
    width: 60px;
    height: 60px;
    margin-bottom: 20px;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.1));
}

.page-index-feature-title {
    font-size: 1.8em;
    color: var(--primary-color);
    margin-bottom: 15px;
    font-weight: 700;
}

.page-index-feature-text {
    font-size: 1em;
    color: #555;
}

/* Games Overview Section */
.page-index-games-overview .page-index-section-title {
    color: var(--secondary-color);
}

.page-index-games-overview .page-index-section-description {
    color: #c0c0c0;
}

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

.page-index-game-category-item {
    background-color: #1a3c6c;
    padding: 30px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, background-color 0.3s ease;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.page-index-game-category-item:hover {
    transform: translateY(-8px);
    background-color: #244b7d;
}

.page-index-game-category-image {
    max-width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 20px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.page-index-game-category-title {
    font-size: 2em;
    color: var(--secondary-color);
    margin-bottom: 15px;
    font-weight: 700;
}

.page-index-game-category-text {
    color: #e0e0e0;
    margin-bottom: 25px;
    flex-grow: 1;
}

/* Promotions Section */
.page-index-promotions-section {
    background-color: var(--light-background);
}

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

.page-index-promo-item {
    background-color: #ffffff;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-index-promo-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.page-index-promo-image {
    max-width: 100%;
    height: 180px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 20px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.page-index-promo-title {
    font-size: 1.8em;
    color: var(--primary-color);
    margin-bottom: 15px;
    font-weight: 700;
}

.page-index-promo-text {
    color: #555;
    margin-bottom: 25px;
}

/* CTA Download Section */
.page-index-cta-download {
    background: linear-gradient(45deg, var(--primary-color), var(--dark-background));
    color: var(--text-light);
    padding: 80px 0;
}

.page-index-cta-download .page-index-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 50px;
    flex-wrap: wrap;
}

.page-index-cta-content {
    max-width: 500px;
    text-align: left;
}

.page-index-cta-title {
    font-size: 2.8em;
    margin-bottom: 20px;
    line-height: 1.2;
    font-weight: 700;
    color: var(--text-light);
}

.page-index-cta-description {
    font-size: 1.2em;
    margin-bottom: 40px;
    color: #c0c0c0;
}

.page-index-cta-image {
    text-align: center;
}

.page-index-mobile-app-image {
    max-width: 350px;
    height: auto;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

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

.page-index-detail-item {
    background-color: #ffffff;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.page-index-detail-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.page-index-detail-title {
    font-size: 1.6em;
    color: var(--primary-color);
    margin-bottom: 15px;
    font-weight: 700;
}

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

.page-index-detail-title a:hover {
    color: var(--secondary-color);
    text-decoration: underline;
}

.page-index-detail-description {
    color: #555;
    margin-bottom: 20px;
    flex-grow: 1;
}

/* Commitment Section */
.page-index-commitment-section .page-index-section-title {
    color: var(--secondary-color);
}

.page-index-commitment-section .page-index-section-description {
    color: #c0c0c0;
}

/* Contact Section */
.page-index-contact-section {
    background-color: var(--light-background);
}

.page-index-contact-section .page-index-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 50px;
    flex-wrap: wrap;
}

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

.page-index-contact-title {
    font-size: 2.5em;
    color: var(--primary-color);
    margin-bottom: 20px;
    font-weight: 700;
}

.page-index-contact-description {
    font-size: 1.1em;
    color: #555;
    margin-bottom: 30px;
}

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

.page-index-contact-list li {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
    font-size: 1.1em;
    color: #444;
}

.page-index-contact-icon {
    width: 28px;
    height: 28px;
    margin-right: 15px;
    filter: brightness(0.8) sepia(1) saturate(5) hue-rotate(180deg);
}

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

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

/* Floating Promo Button */
.page-index-floating-promo {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 1000;
}

.page-index-floating-btn {
    display: flex;
    align-items: center;
    background-color: var(--secondary-color);
    color: var(--primary-color);
    padding: 12px 25px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.1em;
    box-shadow: 0 5px 20px rgba(255, 215, 0, 0.4);
    transition: all 0.3s ease;
}

.page-index-floating-btn:hover {
    background-color: #e6c200;
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 8px 25px rgba(255, 215, 0, 0.6);
}

.page-index-floating-icon {
    width: 30px;
    height: 30px;
    margin-right: 10px;
}

/* Responsive Design */
@media (max-width: 992px) {
    .page-index-hero-section .page-index-container,
    .page-index-cta-download .page-index-container,
    .page-index-contact-section .page-index-container {
        flex-direction: column;
        text-align: center;
    }

    .page-index-hero-content,
    .page-index-cta-content,
    .page-index-contact-content {
        max-width: 100%;
        text-align: center;
    }

    .page-index-hero-image-wrapper,
    .page-index-cta-image,
    .page-index-contact-image-wrapper {
        margin-left: 0;
        margin-top: 40px;
    }

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

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

    .page-index-cta-title {
        font-size: 2.5em;
    }

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

@media (max-width: 768px) {
    .page-index-section-padding {
        padding: 60px 0;
    }

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

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

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

    .page-index-btn-secondary {
        margin-left: 10px;
    }

    .page-index-features-grid,
    .page-index-game-categories,
    .page-index-promo-grid,
    .page-index-detail-list {
        grid-template-columns: 1fr;
    }

    .page-index-feature-title,
    .page-index-game-category-title,
    .page-index-promo-title,
    .page-index-detail-title {
        font-size: 1.5em;
    }

    .page-index-section-description {
        font-size: 1em;
        margin-bottom: 40px;
    }

    .page-index-contact-title {
        font-size: 2em;
    }

    .page-index-floating-promo {
        bottom: 20px;
        right: 20px;
    }

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

    .page-index-floating-icon {
        width: 25px;
        height: 25px;
    }
}

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

    .page-index-hero-buttons {
        flex-direction: column;
        gap: 10px;
    }

    .page-index-btn-secondary {
        margin-left: 0;
    }

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

    .page-index-cta-title {
        font-size: 2em;
    }
}