/* style/index.css */

/* General Page Styling */
.page-index {
    font-family: 'Arial', sans-serif;
    color: #333;
    line-height: 1.6;
}

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

.page-index-section-title {
    font-size: 2.5em;
    color: #007bff;
    text-align: center;
    margin-bottom: 20px;
    font-weight: bold;
    position: relative;
}

.page-index-section-title::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background-color: #ffc107;
    margin: 10px auto 0;
    border-radius: 2px;
}

.page-index-sub-title {
    font-size: 1.8em;
    color: #0056b3;
    margin-top: 30px;
    margin-bottom: 15px;
    font-weight: 600;
}

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

.page-index-text-link {
    color: #007bff;
    text-decoration: none;
    font-weight: bold;
}

.page-index-text-link:hover {
    text-decoration: underline;
    color: #0056b3;
}

.page-index-list {
    list-style: disc;
    padding-left: 25px;
    margin-bottom: 20px;
}

.page-index-list li {
    margin-bottom: 10px;
}

/* Buttons */
.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;
    cursor: pointer;
    border: none;
    text-align: center;
}

.page-index-btn-primary {
    background-color: #007bff;
    color: #ffffff;
}

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

.page-index-btn-secondary {
    background-color: #ffc107;
    color: #333;
}

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

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

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

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

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

/* Hero Section */
.page-index-hero {
    background: linear-gradient(135deg, #007bff 0%, #0056b3 100%);
    color: #ffffff;
    padding: 80px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    flex-wrap: wrap-reverse;
    min-height: 500px;
}

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

.page-index-hero-title {
    font-size: 3.5em;
    margin-bottom: 15px;
    line-height: 1.2;
    color: #ffffff;
}

.page-index-hero-subtitle {
    font-size: 1.4em;
    margin-bottom: 30px;
    max-width: 600px;
    color: rgba(255, 255, 255, 0.9);
}

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

.page-index-hero-image-wrapper {
    flex: 1;
    min-width: 300px;
    display: flex;
    justify-content: center;
    align-items: center;
}

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

/* About Zbet88 Section */
.page-index-about-zbet88 {
    padding: 60px 0;
    background-color: #f8f9fa;
}

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

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

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

/* Featured Games Section */
.page-index-featured-games {
    padding: 60px 0;
    background-color: #ffffff;
}

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

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

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

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

.page-index-game-title {
    font-size: 1.5em;
    color: #007bff;
    margin-bottom: 10px;
    padding: 0 15px;
}

.page-index-game-desc {
    font-size: 0.95em;
    color: #666;
    margin-bottom: 20px;
    padding: 0 15px;
}

/* Latest Promotions Section */
.page-index-latest-promotions {
    padding: 60px 0;
    background-color: #f0f8ff;
}

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

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

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

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

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

.page-index-promo-desc {
    font-size: 1em;
    color: #666;
    margin-bottom: 25px;
    padding: 0 20px;
}

/* Why Choose Section */
.page-index-why-choose {
    padding: 60px 0;
    background-color: #ffffff;
}

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

.page-index-feature-item {
    text-align: center;
    padding: 25px;
    border-radius: 10px;
    background-color: #fff;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
    transition: box-shadow 0.3s ease;
}

.page-index-feature-item:hover {
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
}

.page-index-feature-icon {
    width: 70px;
    height: 70px;
    margin-bottom: 20px;
    color: #007bff;
}

.page-index-feature-title {
    font-size: 1.4em;
    color: #007bff;
    margin-bottom: 10px;
}

.page-index-feature-desc {
    font-size: 0.95em;
    color: #555;
}

/* Testimonials Section */
.page-index-testimonials {
    padding: 60px 0;
    background-color: #f8f9fa;
}

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

.page-index-testimonial-card {
    background-color: #ffffff;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    padding: 30px;
    text-align: center;
}

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

.page-index-testimonial-text {
    font-style: italic;
    color: #444;
    margin-bottom: 15px;
    font-size: 1.05em;
}

.page-index-testimonial-author {
    font-weight: bold;
    color: #007bff;
    font-size: 0.95em;
}

/* Deep Content Section */
.page-index-deep-content {
    padding: 60px 0;
    background-color: #ffffff;
}

.page-index-deep-content h3 {
    color: #007bff;
}

.page-index-deep-content p {
    margin-bottom: 15px;
    color: #444;
}

.page-index-deep-content strong {
    color: #007bff;
}

/* Details List Section (for internal detail pages) */
.page-index-details-list {
    padding: 60px 0;
    background-color: #f0f8ff;
}

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

.page-index-detail-card {
    background-color: #ffffff;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    padding: 25px;
    text-align: center;
    transition: transform 0.3s ease;
}

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

.page-index-detail-title {
    font-size: 1.4em;
    margin-bottom: 15px;
    min-height: 60px; /* Ensure consistent height for titles */
}

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

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

.page-index-detail-desc {
    font-size: 0.95em;
    color: #666;
    margin-bottom: 20px;
    min-height: 70px; /* Ensure consistent height for descriptions */
}

/* Call to Action Section */
.page-index-cta {
    background: linear-gradient(90deg, #007bff, #0056b3);
    padding: 80px 20px;
    text-align: center;
    color: #ffffff;
}

.page-index-cta-content {
    max-width: 800px;
}

.page-index-cta-title {
    font-size: 3em;
    margin-bottom: 20px;
    color: #ffffff;
}

.page-index-cta-description {
    font-size: 1.2em;
    margin-bottom: 40px;
    color: rgba(255, 255, 255, 0.9);
}

/* Floating CTA */
.page-index-floating-cta {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: #ffc107;
    color: #333;
    padding: 10px 15px;
    border-radius: 50px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    display: flex;
    align-items: center;
    text-decoration: none;
    font-weight: bold;
    z-index: 1000;
    transition: transform 0.3s ease, background-color 0.3s ease;
}

.page-index-floating-cta:hover {
    transform: scale(1.05);
    background-color: #e0a800;
}

.page-index-floating-cta-icon {
    width: 24px;
    height: 24px;
    margin-right: 8px;
}

.page-index-floating-cta-text {
    font-size: 1.1em;
}

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

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

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

    .page-index-grid-2-cols {
        grid-template-columns: 1fr;
    }

    .page-index-about-image {
        order: -1; /* Image above text on mobile */
    }

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

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

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

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

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

    .page-index-hero-subtitle {
        font-size: 1.2em;
    }

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

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

    .page-index-game-grid, .page-index-promo-grid, .page-index-feature-grid, .page-index-testimonial-grid, .page-index-details-grid {
        grid-template-columns: 1fr;
    }

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

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

    .page-index-floating-cta {
        padding: 8px 12px;
        bottom: 15px;
        right: 15px;
    }

    .page-index-floating-cta-text {
        font-size: 0.9em;
    }
}

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

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

    .page-index-hero-actions .page-index-btn {
        width: 100%;
        margin-right: 0;
    }

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

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