.page-index {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: #f0f0f0; /* Light gray for general text on dark background */
    background-color: #1a1a1a; /* Dark background */
}

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

.page-index-highlight {
    color: #FFD700; /* Gold for highlights */
}

.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;
    cursor: pointer;
    border: none;
    font-size: 16px;
}

.page-index-btn-primary {
    background-color: #CC0000; /* Red */
    color: #FFFFFF; /* White text */
}

.page-index-btn-primary:hover {
    background-color: #e06666; /* Lighter red */
    transform: translateY(-2px);
}

.page-index-btn-secondary {
    background-color: #FFD700; /* Gold */
    color: #1a1a1a; /* Dark text */
    margin-left: 15px;
}

.page-index-btn-secondary:hover {
    background-color: #e6c200; /* Darker gold */
    transform: translateY(-2px);
}

.page-index-btn-tertiary {
    background-color: transparent;
    color: #FFD700;
    border: 2px solid #FFD700;
    margin-left: 15px;
}

.page-index-btn-tertiary:hover {
    background-color: #FFD700;
    color: #1a1a1a;
    transform: translateY(-2px);
}

.page-index-btn-small {
    padding: 8px 18px;
    font-size: 14px;
}

.page-index-btn-text {
    background-color: transparent;
    color: #FFD700;
    padding: 0;
    margin: 0;
    font-size: 16px;
    text-decoration: underline;
}

.page-index-btn-text:hover {
    color: #CC0000;
    background-color: transparent;
    transform: none;
}

.page-index-section-title {
    font-size: 3.2em;
    color: #FFFFFF; /* White for main titles */
    text-align: center;
    margin-bottom: 20px;
    font-weight: bold;
    letter-spacing: 1px;
}

.page-index-section-subtitle {
    font-size: 1.3em;
    color: #cccccc; /* Lighter gray for subtitles */
    text-align: center;
    margin-bottom: 50px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

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

.page-index-mt-20 {
    margin-top: 20px;
}

.page-index-mt-40 {
    margin-top: 40px;
}

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

/* Hero Section */
.page-index-hero-section {
    background: linear-gradient(135deg, #2a0000 0%, #3a0000 50%, #1a1a1a 100%);
    padding: 100px 0;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    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,geometric,luxury,dark]') no-repeat center center/cover;
    opacity: 0.1;
    z-index: 0;
}

.page-index-hero-content {
    position: relative;
    z-index: 1;
    max-width: 600px;
    text-align: left;
    margin-right: 50px;
    padding: 20px;
}

.page-index-hero-title {
    font-size: 4.5em;
    color: #FFFFFF;
    margin-bottom: 20px;
    line-height: 1.1;
    font-weight: 700;
}

.page-index-hero-description {
    font-size: 1.4em;
    color: #e0e0e0;
    margin-bottom: 40px;
    line-height: 1.5;
}

.page-index-hero-image-wrapper {
    position: relative;
    z-index: 1;
    max-width: 500px;
    margin-left: 50px;
}

.page-index-hero-image {
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    animation: floatImage 3s ease-in-out infinite;
}

@keyframes floatImage {
    0% { transform: translateY(0); }
    50% { transform: translateY(-15px); }
    100% { transform: translateY(0); }
}

.page-index-hero-cta-group .page-index-btn {
    margin-right: 15px;
    margin-left: 0;
}

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

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

.page-index-about-text {
    flex: 1;
    font-size: 1.1em;
    color: #cccccc;
}

.page-index-about-text p {
    margin-bottom: 15px;
}

.page-index-about-image {
    flex: 1;
    min-width: 400px;
    text-align: center;
}

/* Games Section */
.page-index-games-section {
    background-color: #1a1a1a;
    padding: 80px 0;
}

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

.page-index-game-category-card {
    background-color: #2c2c2c;
    border-radius: 10px;
    overflow: hidden;
    text-align: center;
    padding: 30px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

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

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

.page-index-card-description {
    font-size: 1em;
    color: #cccccc;
    margin-bottom: 20px;
    min-height: 70px;
}

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

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

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

.page-index-promotion-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.6);
}

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

/* Features Section */
.page-index-features-section {
    background-color: #1a1a1a;
    padding: 80px 0;
}

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

.page-index-feature-item {
    background-color: #2c2c2c;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
    transition: transform 0.3s ease;
}

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

.page-index-feature-icon {
    width: 60px;
    height: 60px;
    margin-bottom: 20px;
    filter: brightness(1.2);
}

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

.page-index-feature-description {
    font-size: 1em;
    color: #cccccc;
}

/* App Section */
.page-index-app-section {
    background: linear-gradient(90deg, #CC0000 0%, #FFD700 100%);
    padding: 80px 0;
    color: #1a1a1a; /* Dark text on bright background */
}

.page-index-app-section .page-index-section-title,
.page-index-app-section .page-index-section-subtitle {
    color: #1a1a1a;
}

.page-index-app-section .page-index-highlight {
    color: #000000;
}

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

.page-index-app-text {
    flex: 1;
    min-width: 300px;
}

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

.page-index-app-image .page-index-responsive-image {
    max-height: 400px;
    object-fit: contain;
    box-shadow: none;
}

.page-index-app-cta-group .page-index-btn-primary {
    background-color: #1a1a1a;
    color: #FFD700;
}

.page-index-app-cta-group .page-index-btn-primary:hover {
    background-color: #000000;
    color: #FFFFFF;
}

.page-index-app-cta-group .page-index-btn-secondary {
    background-color: #FFFFFF;
    color: #CC0000;
}

.page-index-app-cta-group .page-index-btn-secondary:hover {
    background-color: #f0f0f0;
    color: #990000;
}

/* Registration Section */
.page-index-registration-section {
    background-color: #222222;
    padding: 80px 0;
}

.page-index-registration-steps {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
    text-align: center;
}

.page-index-step-item {
    background-color: #2c2c2c;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
    flex: 1;
    min-width: 280px;
    max-width: 350px;
}

.page-index-step-number {
    display: inline-block;
    width: 50px;
    height: 50px;
    line-height: 50px;
    border-radius: 50%;
    background-color: #CC0000;
    color: #FFFFFF;
    font-size: 2em;
    font-weight: bold;
    margin-bottom: 20px;
}

.page-index-step-item h3 {
    font-size: 1.8em;
    color: #FFD700;
    margin-bottom: 10px;
}

.page-index-step-item p {
    color: #cccccc;
}

/* Detail Pages Section */
.page-index-detail-pages-section {
    background-color: #1a1a1a;
    padding: 80px 0;
}

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

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

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

.page-index-detail-card h3 {
    font-size: 1.6em;
    margin-bottom: 10px;
}

.page-index-detail-card h3 a {
    color: #FFD700;
    text-decoration: none;
}

.page-index-detail-card h3 a:hover {
    color: #CC0000;
    text-decoration: underline;
}

.page-index-detail-card p {
    color: #cccccc;
    margin-bottom: 20px;
    min-height: 60px;
}

/* Responsible Gaming Section */
.page-index-responsible-gaming-section {
    background-color: #222222;
    padding: 80px 0;
    text-align: center;
}

.page-index-responsible-gaming-section p {
    color: #cccccc;
    font-size: 1.1em;
    max-width: 900px;
    margin: 0 auto 30px auto;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .page-index-hero-title {
        font-size: 3.5em;
    }
    .page-index-hero-description {
        font-size: 1.2em;
    }
    .page-index-about-grid,
    .page-index-app-content {
        flex-direction: column;
        text-align: center;
    }
    .page-index-hero-content,
    .page-index-hero-image-wrapper,
    .page-index-about-text,
    .page-index-about-image,
    .page-index-app-text,
    .page-index-app-image {
        margin-right: 0;
        margin-left: 0;
        min-width: unset;
    }
    .page-index-hero-image-wrapper {
        margin-top: 40px;
    }
    .page-index-about-image img {
        margin-top: 30px;
    }
}

@media (max-width: 768px) {
    .page-index-hero-section {
        padding: 80px 20px;
    }
    .page-index-hero-title {
        font-size: 2.8em;
    }
    .page-index-hero-description {
        font-size: 1.1em;
    }
    .page-index-section-title {
        font-size: 2.5em;
    }
    .page-index-section-subtitle {
        font-size: 1.1em;
        margin-bottom: 30px;
    }
    .page-index-hero-cta-group .page-index-btn {
        margin-bottom: 15px;
        margin-left: 0;
        width: 100%;
    }
    .page-index-btn-secondary,
    .page-index-btn-tertiary {
        margin-left: 0;
    }
    .page-index-game-category-card,
    .page-index-promotion-card,
    .page-index-feature-item,
    .page-index-step-item,
    .page-index-detail-card {
        padding: 20px;
    }
    .page-index-card-description,
    .page-index-feature-description,
    .page-index-step-item p,
    .page-index-detail-card p {
        min-height: unset;
    }
}

@media (max-width: 480px) {
    .page-index-hero-title {
        font-size: 2.2em;
    }
    .page-index-section-title {
        font-size: 2em;
    }
    .page-index-btn {
        padding: 10px 20px;
        font-size: 14px;
    }
    .page-index-game-categories-grid,
    .page-index-promotion-grid,
    .page-index-features-grid,
    .page-index-registration-steps,
    .page-index-detail-pages-grid {
        grid-template-columns: 1fr;
    }
    .page-index-hero-cta-group {
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    .page-index-hero-cta-group .page-index-btn {
        width: 80%;
        margin-bottom: 10px;
    }
}