/* style/index.css */

/* General styles for the page content */
.page-index {
    font-family: 'Arial', sans-serif;
    color: #333333; /* Dark text for readability on light backgrounds */
    line-height: 1.6;
    background-color: #f8f8f8; /* Light background */
}

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

.page-index-section-title {
    font-size: 2.5em;
    color: #00BFFF; /* Deep Sky Blue for main titles */
    text-align: center;
    margin-bottom: 20px;
    font-weight: bold;
}

.page-index-section-subtitle {
    font-size: 1.2em;
    color: #555555;
    text-align: center;
    margin-bottom: 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;
    text-align: center;
    cursor: pointer;
    border: none;
    font-size: 1em;
}

.page-index-btn-primary {
    background-color: #FFD700; /* Gold */
    color: #333333; /* Dark text on gold */
}

.page-index-btn-primary:hover {
    background-color: #e6c200; /* Darker gold on hover */
    color: #000000;
}

.page-index-btn-secondary {
    background-color: #00BFFF; /* Deep Sky Blue */
    color: #333333; /* Dark text on blue */
}

.page-index-btn-secondary:hover {
    background-color: #00a0e6; /* Darker blue on hover */
    color: #000000;
}

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

.page-index-btn-outline:hover {
    background-color: #FFD700;
    color: #333333;
}

.page-index-btn-link {
    background: none;
    border: none;
    color: #00BFFF;
    padding: 5px 0;
    text-decoration: underline;
}

.page-index-btn-link:hover {
    color: #0086b3;
}

/* Hero Section */
.page-index-hero-section {
    background: linear-gradient(135deg, #FFD700 0%, #00BFFF 100%); /* Gradient from gold to blue */
    padding: 100px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    color: #333333; /* Dark text for contrast */
    position: relative;
    overflow: hidden;
}

.page-index-hero-content {
    max-width: 900px;
    z-index: 1;
}

.page-index-hero-title {
    font-size: 3.5em;
    margin-bottom: 20px;
    color: #333333; /* Dark text on gradient */
    font-weight: bold;
}

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

.page-index-hero-cta-group {
    display: flex;
    gap: 20px;
    justify-content: center;
}

.page-index-hero-image-wrapper {
    position: absolute;
    bottom: -50px; /* Adjust as needed */
    right: -50px; /* Adjust as needed */
    opacity: 0.2; /* Subtle background image */
    z-index: 0;
}

.page-index-hero-image {
    max-width: 600px;
    height: auto;
    transform: rotate(15deg); /* A slight rotation for dynamic feel */
}

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

.page-index-about-content {
    display: flex;
    align-items: center;
    gap: 40px;
    flex-wrap: wrap; /* Allow wrapping on smaller screens */
}

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

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

.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 8px 20px rgba(0, 0, 0, 0.1);
}

/* Features Section */
.page-index-features-section {
    padding: 80px 0;
    background-color: #f0f8ff; /* Light blue background for features */
}

.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: #ffffff;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease;
}

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

.page-index-feature-icon {
    width: 60px;
    height: 60px;
    margin-bottom: 20px;
}

.page-index-feature-title {
    font-size: 1.5em;
    color: #00BFFF;
    margin-bottom: 10px;
}

.page-index-feature-description {
    color: #666666;
}

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

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

.page-index-promotion-card {
    background-color: #fdfdfd;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    text-align: center;
    padding-bottom: 20px;
}

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

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

.page-index-promotion-description {
    color: #666666;
    margin-bottom: 20px;
    padding: 0 15px;
}

.page-index-view-all-promotions {
    text-align: center;
    margin-top: 50px;
}

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

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

.page-index-game-item {
    background-color: #ffffff;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    padding: 20px;
    transition: transform 0.3s ease;
}

.page-index-game-item:hover {
    transform: translateY(-5px);
}

.page-index-game-image {
    width: 100%;
    max-height: 150px;
    object-fit: contain;
    margin-bottom: 15px;
}

.page-index-game-title {
    font-size: 1.3em;
    color: #00BFFF;
    margin-bottom: 10px;
}

.page-index-game-description {
    color: #666666;
    font-size: 0.95em;
}

.page-index-view-all-games {
    text-align: center;
    margin-top: 50px;
}

/* App Download Section */
.page-index-app-download-section {
    padding: 80px 0;
    background: linear-gradient(90deg, #00BFFF 0%, #0086b3 100%); /* Darker blue gradient */
    color: #ffffff; /* White text on dark blue */
}

.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-text .page-index-section-title {
    color: #FFD700; /* Gold title on blue background */
    text-align: left;
}

.page-index-app-text .page-index-section-subtitle {
    color: #e0e0e0;
    text-align: left;
}

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

.page-index-app-features-list li {
    background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="%23FFD700" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><polyline points="20 6 9 17 4 12"></polyline></svg>') no-repeat left center;
    background-size: 20px;
    padding-left: 30px;
    margin-bottom: 10px;
    color: #ffffff;
}

.page-index-app-cta-group {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

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

.page-index-app-image {
    max-width: 100%;
    height: auto;
}

/* Testimonials Section */
.page-index-testimonials-section {
    padding: 80px 0;
    background-color: #ffffff;
}

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

.page-index-testimonial-card {
    background-color: #fdfdfd;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    position: relative;
}

.page-index-testimonial-card::before {
    content: "“";
    font-size: 4em;
    color: #FFD700;
    position: absolute;
    top: 10px;
    left: 20px;
    opacity: 0.3;
}

.page-index-testimonial-text {
    font-style: italic;
    color: #555555;
    margin-bottom: 15px;
    padding-top: 20px; /* To make space for the quote */
}

.page-index-testimonial-author {
    font-weight: bold;
    color: #333333;
    text-align: right;
}

.page-index-view-all-testimonials {
    text-align: center;
    margin-top: 50px;
}

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

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

.page-index-detail-page-card {
    background-color: #ffffff;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    display: flex;
    flex-direction: column;
}

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

.page-index-detail-page-title a {
    color: #00BFFF;
    text-decoration: none;
}

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

.page-index-detail-page-description {
    color: #666666;
    margin-bottom: 20px;
    flex-grow: 1; /* Make description take available space */
}

/* CTA Bottom Section */
.page-index-cta-bottom-section {
    padding: 80px 0;
    background-color: #FFD700; /* Gold background */
    text-align: center;
    color: #333333; /* Dark text on gold */
}

.page-index-cta-bottom-section .page-index-section-title {
    color: #333333; /* Dark title on gold background */
}

.page-index-cta-bottom-section .page-index-section-subtitle {
    color: #555555;
}

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

/* Responsive adjustments */
@media (max-width: 768px) {
    .page-index-hero-title {
        font-size: 2.5em;
    }
    .page-index-hero-description {
        font-size: 1.1em;
    }
    .page-index-section-title {
        font-size: 2em;
    }
    .page-index-about-content,
    .page-index-app-content {
        flex-direction: column;
        text-align: center;
    }
    .page-index-app-text .page-index-section-title,
    .page-index-app-text .page-index-section-subtitle {
        text-align: center;
    }
    .page-index-app-features-list li {
        background-position: center left;
        padding-left: 25px;
        text-align: left;
    }
    .page-index-hero-image-wrapper {
        position: static;
        margin-top: 40px;
        opacity: 1;
        transform: none;
    }
    .page-index-hero-image {
        max-width: 80%;
    }
}

@media (max-width: 480px) {
    .page-index-hero-title {
        font-size: 1.8em;
    }
    .page-index-hero-description {
        font-size: 1em;
    }
    .page-index-section-title {
        font-size: 1.8em;
    }
    .page-index-btn {
        padding: 10px 20px;
        font-size: 0.9em;
    }
    .page-index-hero-cta-group,
    .page-index-app-cta-group,
    .page-index-cta-bottom-group {
        flex-direction: column;
        gap: 15px;
    }
}