/* style/index.css */

/* Base styles for the page content */
.page-index {
    font-family: 'Arial', sans-serif;
    color: #333;
    line-height: 1.6;
    background-color: #f8f8f8;
}

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

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

.page-index-section:nth-of-type(even) {
    background-color: #eaf2f8; /* Lighter shade of JJ88 Blue */
}

.page-index-section-title {
    font-size: 2.5em;
    color: #003366; /* JJ88 Blue */
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

.page-index-section-title::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background-color: #FFD700; /* Glory Gold */
    border-radius: 2px;
}

.page-index-section-description {
    font-size: 1.1em;
    color: #555;
    max-width: 800px;
    margin: 0 auto 40px auto;
}

/* Buttons */
.page-index-btn {
    display: inline-block;
    padding: 12px 25px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1em;
    transition: background-color 0.3s ease, color 0.3s ease, transform 0.3s ease;
    cursor: pointer;
    margin: 10px;
    white-space: nowrap;
}

.page-index-btn-primary {
    background-color: #003366; /* JJ88 Blue */
    color: #ffffff;
    border: 2px solid #003366;
}

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

.page-index-btn-secondary {
    background-color: transparent;
    color: #003366; /* JJ88 Blue */
    border: 2px solid #003366;
}

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

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

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

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

/* Hero Section */
.page-index-hero {
    background: linear-gradient(135deg, #003366, #0055aa);
    color: #ffffff;
    padding: 100px 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 40px;
    text-align: left;
    min-height: 600px;
}

.page-index-hero-content {
    max-width: 600px;
}

.page-index-hero-title {
    font-size: 3.5em;
    margin-bottom: 20px;
    line-height: 1.2;
    color: #FFD700; /* Glory Gold */
}

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

.page-index-hero-image-wrapper {
    flex-shrink: 0;
}

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

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

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

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

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

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

.page-index-feature-title {
    font-size: 1.5em;
    color: #003366; /* JJ88 Blue */
    margin-bottom: 15px;
}

.page-index-feature-text {
    color: #666;
    margin-bottom: 20px;
}

.page-index-link-more {
    color: #FFD700; /* Glory Gold */
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s ease;
}

.page-index-link-more:hover {
    color: #e6c200;
    text-decoration: underline;
}

/* Games Grid */
.page-index-games {
    background-color: #eaf2f8; /* Lighter shade of JJ88 Blue */
}

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

.page-index-game-item {
    background-color: #ffffff;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    overflow: hidden;
    text-align: left;
    transition: transform 0.3s ease;
}

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

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

.page-index-game-item h3, .page-index-game-item p, .page-index-game-item .page-index-btn {
    padding: 0 20px;
}

.page-index-game-title {
    font-size: 1.4em;
    color: #003366;
    margin: 20px 0 10px;
}

.page-index-game-text {
    color: #666;
    margin-bottom: 20px;
}

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

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

.page-index-promo-card {
    background-color: #fdfdfd;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    overflow: hidden;
    text-align: center;
    transition: transform 0.3s ease;
    padding-bottom: 20px;
}

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

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

.page-index-promo-title {
    font-size: 1.4em;
    color: #003366;
    margin-bottom: 10px;
    padding: 0 20px;
}

.page-index-promo-text {
    color: #666;
    margin-bottom: 20px;
    padding: 0 20px;
}

.page-index-cta-full-width {
    margin-top: 40px;
}

/* App Download Section */
.page-index-app-download {
    background-color: #003366;
    color: #ffffff;
}

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

.page-index-app-text {
    max-width: 600px;
}

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

.page-index-app-download .page-index-section-title::after {
    background-color: #ffffff;
}

.page-index-app-download .page-index-section-description {
    color: #f0f0f0;
}

.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="20" height="20" viewBox="0 0 24 24" fill="%23FFD700"><path d="M9 16.17L4.83 12l-1.42 1.41L9 19 21 7l-1.41-1.41z"/></svg>') no-repeat left center;
    background-size: 20px;
    padding-left: 30px;
    margin-bottom: 10px;
    color: #ffffff;
}

.page-index-app-image-wrapper {
    flex-shrink: 0;
}

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

/* Partners Section */
.page-index-partners {
    background-color: #eaf2f8;
}

.page-index-partners-image {
    max-width: 800px;
    width: 100%;
    height: auto;
    margin: 40px auto;
    display: block;
    filter: grayscale(80%) brightness(1.2);
    transition: filter 0.3s ease;
}

.page-index-partners-image:hover {
    filter: grayscale(0%) brightness(1);
}

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

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

.page-index-testimonial-item {
    background-color: #fdfdfd;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    text-align: center;
}

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

.page-index-testimonial-quote {
    font-style: italic;
    color: #444;
    margin-bottom: 15px;
}

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

/* Brand Story Section */
.page-index-brand-story {
    background-color: #eaf2f8;
}

/* Detail Pages List */
.page-index-detail-pages {
    background-color: #ffffff;
}

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

.page-index-detail-item {
    background-color: #fdfdfd;
    padding: 25px;
    border-radius: 8px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.03);
    border-left: 5px solid #FFD700;
}

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

.page-index-detail-title a {
    color: #003366;
    text-decoration: none;
    font-weight: bold;
}

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

.page-index-detail-description {
    color: #666;
    margin-bottom: 15px;
}

/* Final CTA Section */
.page-index-cta-final {
    background: linear-gradient(135deg, #003366, #0055aa);
    color: #ffffff;
    padding: 80px 20px;
}

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

.page-index-cta-final .page-index-section-title::after {
    background-color: #ffffff;
}

.page-index-cta-final .page-index-section-description {
    color: #f0f0f0;
    margin-bottom: 50px;
}

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

    .page-index-hero-content {
        max-width: 100%;
    }

    .page-index-hero-image {
        max-width: 100%;
        margin-top: 40px;
    }

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

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

    .page-index-app-content {
        flex-direction: column;
        text-align: center;
    }

    .page-index-app-image-wrapper {
        margin-top: 40px;
    }

    .page-index-app-text {
        max-width: 100%;
    }
}

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

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

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

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

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

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

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

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

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

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

    .page-index-btn {
        width: 100%;
        margin: 10px 0;
    }

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

    .page-index-app-features-list li {
        font-size: 0.9em;
    }
}