/* style/index.css */

/* General page-index styles */
.page-index {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: #f0f0f0; /* Light text on dark background for general content */
    background-color: #0d0d0d; /* Very dark background */
}

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

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

.page-index-bg-dark {
    background-color: #1a1a1a; /* Slightly lighter dark background for contrast sections */
}

.page-index-section-title {
    font-size: 2.8em;
    color: #FFD700; /* Gold for titles */
    margin-bottom: 20px;
    font-weight: bold;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-index-section-subtitle {
    font-size: 1.2em;
    color: #cccccc;
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.page-index-text-light {
    color: #f0f0f0;
}

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

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

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

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

.page-index-btn-primary {
    background-color: #FFD700; /* Gold */
    color: #8B0000; /* Dark Red */
    box-shadow: 0 4px 15px rgba(255, 215, 0, 0.4);
}

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

.page-index-btn-secondary {
    background-color: #8B0000; /* Dark Red */
    color: #FFD700; /* Gold */
    border: 1px solid #FFD700;
    box-shadow: 0 4px 15px rgba(139, 0, 0, 0.4);
}

.page-index-btn-secondary:hover {
    background-color: #6e0000; /* Slightly darker red */
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(139, 0, 0, 0.6);
}

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

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

/* Hero Section */
.page-index-hero {
    position: relative;
    background: linear-gradient(135deg, #1a1a1a 0%, #0d0d0d 100%);
    color: #f0f0f0;
    padding: 100px 0;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    min-height: 600px;
}

.page-index-hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    padding: 0 20px;
}

.page-index-hero-title {
    font-size: 3.8em;
    margin-bottom: 25px;
    line-height: 1.2;
    color: #FFD700;
    text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.7);
}

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

.page-index-hero-actions .page-index-btn {
    margin: 10px;
}

.page-index-hero-image-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    opacity: 0.2; /* Subtle background image */
    background-color: #0d0d0d;
}

.page-index-hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.6) grayscale(0.3);
}

/* About Section */
.page-index-about {
    background-color: #0d0d0d;
    color: #f0f0f0;
}

.page-index-about .page-index-section-title {
    color: #FFD700;
}

.page-index-grid-2-col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    text-align: left;
    align-items: center;
}

.page-index-about-text p {
    margin-bottom: 15px;
    font-size: 1.1em;
    color: #cccccc;
}

.page-index-about-image-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
}

.page-index-about-image {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
}

/* Popular Games Section */
.page-index-popular-games {
    background-color: #1a1a1a;
}

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

.page-index-game-card {
    background-color: #2a2a2a;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
    text-align: center;
    padding-bottom: 25px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-index-game-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 30px rgba(255, 215, 0, 0.3);
}

.page-index-game-card-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    margin-bottom: 15px;
}

.page-index-game-card-title {
    font-size: 1.6em;
    color: #FFD700;
    margin-bottom: 10px;
    padding: 0 15px;
}

.page-index-game-card-description {
    font-size: 0.95em;
    color: #b0b0b0;
    margin-bottom: 20px;
    padding: 0 15px;
    min-height: 70px; /* Ensure consistent card height */
}

/* Promotions Section */
.page-index-promotions {
    background-color: #0d0d0d;
    color: #f0f0f0;
}

.page-index-promotions .page-index-section-title {
    color: #FFD700;
}

.page-index-promotion-content {
    text-align: left;
}

.page-index-promotion-content p {
    margin-bottom: 15px;
    font-size: 1.1em;
    color: #cccccc;
}

.page-index-promotion-image-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
}

.page-index-promotion-image {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
}

.page-index-list-checked {
    list-style: none;
    padding: 0;
    margin-top: 20px;
}

.page-index-list-checked li {
    position: relative;
    padding-left: 30px;
    margin-bottom: 10px;
    font-size: 1.1em;
    color: #e0e0e0;
}

.page-index-list-checked li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #FFD700; /* Gold checkmark */
    font-weight: bold;
    font-size: 1.2em;
}

/* Advantages Section */
.page-index-advantages {
    background-color: #1a1a1a;
}

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

.page-index-advantage-item {
    background-color: #2a2a2a;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease, background-color 0.3s ease;
}

.page-index-advantage-item:hover {
    transform: translateY(-8px);
    background-color: #3a3a3a;
}

.page-index-advantage-icon {
    width: 60px;
    height: 60px;
    margin-bottom: 20px;
    filter: drop-shadow(0 0 5px #FFD700); /* Gold glow for icons */
}

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

.page-index-advantage-description {
    font-size: 1em;
    color: #b0b0b0;
}

/* Testimonials Section */
.page-index-testimonials {
    background-color: #0d0d0d;
    color: #f0f0f0;
}

.page-index-testimonials .page-index-section-title {
    color: #FFD700;
}

.page-index-testimonial-carousel {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap; /* Allow wrapping on smaller screens */
    margin-top: 50px;
}

.page-index-testimonial-card {
    background-color: #2a2a2a;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
    max-width: 350px;
    text-align: center;
}

.page-index-testimonial-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 15px;
    border: 3px solid #FFD700;
}

.page-index-testimonial-quote {
    font-style: italic;
    font-size: 1.1em;
    color: #e0e0e0;
    margin-bottom: 15px;
}

.page-index-testimonial-author {
    font-weight: bold;
    color: #FFD700;
}

/* Responsible Gaming Section */
.page-index-responsible-gaming {
    background-color: #1a1a1a;
    padding-bottom: 80px; /* Ensure spacing below button */
}

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

/* Final CTA Section */
.page-index-cta {
    background: linear-gradient(90deg, #8B0000, #FFD700); /* Red to Gold gradient */
    color: #f0f0f0;
    padding: 100px 0;
}

.page-index-cta .page-index-section-title {
    color: #f0f0f0; /* White text on gradient background */
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-index-cta .page-index-section-subtitle {
    color: #f0f0f0;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

.page-index-cta-actions .page-index-btn {
    margin: 15px;
}

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

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

.page-index-detail-card {
    background-color: #1a1a1a;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
    text-align: left;
    transition: transform 0.3s ease, background-color 0.3s ease;
}

.page-index-detail-card:hover {
    transform: translateY(-8px);
    background-color: #2a2a2a;
}

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

.page-index-detail-card-title a {
    color: #FFD700;
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s ease;
}

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

.page-index-detail-card-description {
    font-size: 1em;
    color: #b0b0b0;
    margin-bottom: 20px;
}


/* Responsive adjustments */
@media (max-width: 992px) {
    .page-index-hero-title {
        font-size: 3em;
    }
    .page-index-section-title {
        font-size: 2.2em;
    }
    .page-index-grid-2-col {
        grid-template-columns: 1fr;
    }
    .page-index-about-image-wrapper,
    .page-index-promotion-image-wrapper {
        margin-top: 40px;
    }
    .page-index-promotion-content {
        text-align: center;
    }
}

@media (max-width: 768px) {
    .page-index-hero {
        padding: 80px 0;
        min-height: 500px;
    }
    .page-index-hero-title {
        font-size: 2.5em;
    }
    .page-index-hero-description {
        font-size: 1.1em;
    }
    .page-index-section {
        padding: 60px 0;
    }
    .page-index-section-title {
        font-size: 2em;
    }
    .page-index-game-grid,
    .page-index-advantage-grid,
    .page-index-detail-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }
    .page-index-testimonial-carousel {
        flex-direction: column;
        align-items: center;
    }
    .page-index-testimonial-card {
        max-width: 90%;
    }
}

@media (max-width: 480px) {
    .page-index-hero-title {
        font-size: 2em;
    }
    .page-index-hero-actions .page-index-btn {
        display: block;
        margin: 15px auto;
    }
    .page-index-section-title {
        font-size: 1.8em;
    }
    .page-index-section-subtitle {
        font-size: 1em;
    }
    .page-index-game-card-title {
        font-size: 1.4em;
    }
    .page-index-advantage-title {
        font-size: 1.5em;
    }
    .page-index-btn-large {
        padding: 12px 25px;
        font-size: 1em;
    }
}