/* style/index.css */

/* General Page Styling */
.page-index {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: #333; /* Dark text on light background */
    line-height: 1.6;
    background-color: #f8f9fa; /* Light background for general content */
}

.page-index-section-title {
    font-size: 2.5em;
    color: #0A2463; /* Main color for titles */
    text-align: center;
    margin-bottom: 20px;
    font-weight: 700;
}

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

/* 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, border-color 0.3s ease;
    cursor: pointer;
    font-size: 1em;
}

.page-index-btn-primary {
    background-color: #FFD700; /* Auxiliary color for primary CTA */
    color: #0A2463; /* Main color for text on auxiliary background */
    border: 2px solid #FFD700;
}

.page-index-btn-primary:hover {
    background-color: #e6c200; /* Slightly darker gold on hover */
    color: #071a47; /* Slightly darker blue on hover */
    border-color: #e6c200;
}

.page-index-btn-secondary {
    background-color: transparent;
    color: #FFD700; /* Auxiliary color for secondary CTA text */
    border: 2px solid #FFD700;
}

.page-index-btn-secondary:hover {
    background-color: #FFD700;
    color: #0A2463;
}

.page-index-btn-outline {
    background-color: transparent;
    color: #0A2463; /* Main color for outline text */
    border: 2px solid #0A2463;
}

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

.page-index-btn-link {
    background-color: transparent;
    color: #0A2463;
    border: none;
    padding: 0;
    font-size: 0.9em;
    text-decoration: underline;
}

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

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

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

.page-index-img-fluid {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Hero Section */
.page-index-hero {
    background: linear-gradient(135deg, #0A2463 0%, #1a3e7a 100%); /* Dark blue gradient */
    padding: 80px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #fff;
    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;
    font-weight: 800;
    color: #FFD700; /* Auxiliary color for hero title */
}

.page-index-hero-description {
    font-size: 1.3em;
    margin-bottom: 40px;
    opacity: 0.9;
}

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

.page-index-hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.15; /* Subtle background image */
    z-index: 0;
}

.page-index-hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* About Section */
.page-index-about {
    padding: 60px 20px;
    background-color: #fff;
}

.page-index-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
    align-items: center;
}

.page-index-about-content p {
    margin-bottom: 15px;
    font-size: 1.1em;
}

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

/* Features Section */
.page-index-features {
    padding: 60px 20px;
    background-color: #f0f2f5; /* Slightly darker light background */
}

.page-index-feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.page-index-feature-item {
    background-color: #fff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    text-align: center;
    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: drop-shadow(0 2px 5px rgba(0, 0, 0, 0.1));
}

.page-index-feature-title {
    font-size: 1.5em;
    color: #0A2463;
    margin-bottom: 15px;
    font-weight: 600;
}

.page-index-feature-item p {
    color: #666;
}

/* Games Section */
.page-index-games {
    padding: 60px 20px;
    background-color: #fff;
}

.page-index-game-categories {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto 40px auto;
}

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

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

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

.page-index-game-card h3 {
    font-size: 1.3em;
    color: #0A2463;
    margin: 15px 10px 10px;
    font-weight: 600;
}

.page-index-game-card p {
    color: #666;
    padding: 0 15px 15px;
    font-size: 0.95em;
}

.page-index-game-card .page-index-btn {
    margin-bottom: 15px;
}

.page-index-more-games {
    text-align: center;
    margin-top: 30px;
}

/* Promotions Section */
.page-index-promotions {
    background-color: #f0f2f5;
    padding: 60px 20px;
}

.page-index-promo-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto 40px auto;
}

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

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

.page-index-promo-thumbnail {
    width: 100%;
    height: 180px;
    object-fit: cover;
}

.page-index-promo-title {
    font-size: 1.3em;
    color: #0A2463;
    margin: 15px 10px 10px;
    font-weight: 600;
}

.page-index-promo-card p {
    color: #666;
    padding: 0 15px 15px;
    font-size: 0.95em;
}

.page-index-promo-card .page-index-btn {
    margin-bottom: 15px;
}

.page-index-more-promotions {
    text-align: center;
    margin-top: 30px;
}

/* How-To Section */
.page-index-how-to {
    padding: 60px 20px;
    background-color: #fff;
}

.page-index-steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    max-width: 1000px;
    margin: 0 auto;
}

.page-index-step-item {
    background-color: #f0f2f5;
    padding: 30px;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.page-index-step-icon {
    width: 50px;
    height: 50px;
    line-height: 50px;
    background-color: #0A2463;
    color: #FFD700;
    border-radius: 50%;
    font-size: 1.8em;
    font-weight: bold;
    margin: 0 auto 20px;
}

.page-index-step-title {
    font-size: 1.4em;
    color: #0A2463;
    margin-bottom: 15px;
    font-weight: 600;
}

.page-index-step-item p {
    color: #666;
    margin-bottom: 20px;
}

/* Responsible Gambling Section */
.page-index-responsible-gambling {
    background-color: #0A2463; /* Main color as background */
    color: #f0f2f5; /* Light text for contrast */
    padding: 60px 20px;
    text-align: center;
}

.page-index-responsible-gambling .page-index-section-title {
    color: #FFD700; /* Auxiliary color for title on dark background */
}

.page-index-responsible-gambling .page-index-section-subtitle {
    color: #e0e2e6;
}

.page-index-responsible-content {
    max-width: 900px;
    margin: 0 auto;
    font-size: 1.1em;
}

.page-index-responsible-content p {
    margin-bottom: 20px;
}

.page-index-responsible-gambling .page-index-btn-outline {
    color: #FFD700;
    border-color: #FFD700;
}

.page-index-responsible-gambling .page-index-btn-outline:hover {
    background-color: #FFD700;
    color: #0A2463;
}

/* Detail Pages Section */
.page-index-detail-pages {
    padding: 60px 20px;
    background-color: #fff;
}

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

.page-index-detail-card {
    background-color: #f0f2f5;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    text-align: center;
}

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

.page-index-detail-card h3 a {
    color: #0A2463;
    text-decoration: none;
    font-weight: 600;
}

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

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

/* Call to Action Section */
.page-index-cta {
    background: linear-gradient(45deg, #0A2463, #1a3e7a);
    padding: 80px 20px;
    text-align: center;
    color: #fff;
}

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

.page-index-cta-description {
    font-size: 1.2em;
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.page-index-cta .page-index-btn {
    margin: 0 10px;
}


/* Responsive Design */
@media (max-width: 992px) {
    .page-index-hero-title {
        font-size: 2.8em;
    }
    .page-index-hero-description {
        font-size: 1.1em;
    }
    .page-index-section-title {
        font-size: 2em;
    }
    .page-index-grid {
        grid-template-columns: 1fr;
    }
    .page-index-about-image {
        order: -1; /* Image above text on smaller screens */
    }
    .page-index-cta-title {
        font-size: 2.5em;
    }
}

@media (max-width: 768px) {
    .page-index-hero {
        padding: 60px 15px;
    }
    .page-index-hero-title {
        font-size: 2.2em;
    }
    .page-index-hero-description {
        font-size: 1em;
    }
    .page-index-hero-actions {
        flex-direction: column;
        gap: 15px;
    }
    .page-index-section-title {
        font-size: 1.8em;
    }
    .page-index-feature-grid,
    .page-index-game-categories,
    .page-index-promo-grid,
    .page-index-steps-grid,
    .page-index-detail-grid {
        grid-template-columns: 1fr;
    }
    .page-index-cta-title {
        font-size: 2em;
    }
    .page-index-cta-description {
        font-size: 1em;
    }
    .page-index-cta .page-index-btn {
        margin: 10px 0;
    }
}

@media (max-width: 480px) {
    .page-index-hero-title {
        font-size: 1.8em;
    }
    .page-index-section-title {
        font-size: 1.6em;
    }
    .page-index-cta-title {
        font-size: 1.8em;
    }
    .page-index-btn {
        width: 100%;
        box-sizing: border-box;
    }
}