/* style/betting-games.css */

/* General styles for the betting games page */
.page-betting-games {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f8f9fa; /* Light background for contrast */
}

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

/* Hero Section */
.page-betting-games-hero {
    background: linear-gradient(135deg, #007bff, #0056b3); /* Darker blue gradient */
    color: #fff;
    padding: 80px 0;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 40px;
    position: relative;
    overflow: hidden;
}

.page-betting-games-hero-content {
    max-width: 800px;
    z-index: 1;
}

.page-betting-games-hero h1 {
    font-size: 3.2em;
    margin-bottom: 20px;
    color: #ffc107; /* Highlight with secondary color */
    line-height: 1.2;
}

.page-betting-games-hero p {
    font-size: 1.2em;
    margin-bottom: 30px;
    opacity: 0.9;
}

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

.page-betting-games-hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(100%) blur(5px);
}


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

/* Buttons */
.page-betting-games-btn {
    display: inline-block;
    padding: 12px 25px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease, transform 0.2s ease;
    text-align: center;
    white-space: nowrap;
    cursor: pointer;
}

.page-betting-games-btn-primary {
    background-color: #ffc107; /* Secondary color for primary action */
    color: #000;
    border: 2px solid #ffc107;
}

.page-betting-games-btn-primary:hover {
    background-color: #e0a800;
    border-color: #e0a800;
    transform: translateY(-2px);
}

.page-betting-games-btn-secondary {
    background-color: transparent;
    color: #fff;
    border: 2px solid #fff;
}

.page-betting-games-btn-secondary:hover {
    background-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

.page-betting-games-btn-small {
    padding: 8px 15px;
    font-size: 0.9em;
    background-color: #007bff;
    color: #fff;
    border: 1px solid #007bff;
}

.page-betting-games-btn-small:hover {
    background-color: #0056b3;
    border-color: #0056b3;
}

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

.page-betting-games-link {
    color: #ffc107;
    text-decoration: underline;
    transition: color 0.3s ease;
}

.page-betting-games-link:hover {
    color: #fff;
}

/* Section Styling */
.page-betting-games-intro,
.page-betting-games-categories,
.page-betting-games-deep-content,
.page-betting-games-cta,
.page-betting-games-faq {
    padding: 60px 0;
    background-color: #fff; /* White background for content sections */
    margin-bottom: 20px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

.page-betting-games-intro {
    background-color: #f8f9fa;
}

.page-betting-games-categories {
    background-color: #fff;
}

.page-betting-games-deep-content {
    background-color: #f1f1f1; /* Slightly different background for deep content */
}

.page-betting-games-cta {
    text-align: center;
    background-color: #007bff; /* Primary color background for CTA */
    color: #fff;
    padding: 80px 0;
}

.page-betting-games-cta h2 {
    color: #ffc107; /* Highlight CTA heading */
    margin-bottom: 20px;
}

.page-betting-games-cta p {
    font-size: 1.1em;
    margin-bottom: 40px;
}

.page-betting-games-faq {
    background-color: #fff;
}

.page-betting-games h2 {
    font-size: 2.5em;
    color: #007bff; /* Primary color for main headings */
    text-align: center;
    margin-bottom: 40px;
    position: relative;
    padding-bottom: 15px;
}

.page-betting-games h2::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background-color: #ffc107; /* Secondary color underline */
    border-radius: 2px;
}

.page-betting-games h3 {
    font-size: 1.8em;
    color: #333;
    margin-top: 30px;
    margin-bottom: 15px;
    border-bottom: 1px solid #eee;
    padding-bottom: 10px;
}

.page-betting-games h3 a {
    color: inherit;
    text-decoration: none;
}

.page-betting-games h3 a:hover {
    color: #007bff;
}

.page-betting-games p {
    margin-bottom: 15px;
    font-size: 1.05em;
    color: #555;
}

.page-betting-games ul {
    list-style: disc;
    margin-left: 25px;
    margin-bottom: 15px;
    color: #555;
}

.page-betting-games ul li {
    margin-bottom: 8px;
}

/* Grid for Categories */
.page-betting-games-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

.page-betting-games-card {
    background-color: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}

.page-betting-games-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.page-betting-games-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.page-betting-games-card h3 {
    font-size: 1.5em;
    padding: 15px 20px 10px;
    margin-top: 0;
    margin-bottom: 0;
    border-bottom: none;
    color: #007bff;
}

.page-betting-games-card h3 a {
    color: #007bff;
    text-decoration: none;
}

.page-betting-games-card h3 a:hover {
    text-decoration: underline;
}

.page-betting-games-card p {
    padding: 0 20px 15px;
    flex-grow: 1;
    color: #666;
    font-size: 0.95em;
}

.page-betting-games-card .page-betting-games-btn-small {
    margin: 0 20px 20px;
    align-self: flex-start;
}

/* Deep Content Images */
.page-betting-games-deep-content img {
    width: 100%;
    max-width: 800px;
    height: auto;
    display: block;
    margin: 30px auto;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

/* FAQ Section */
.page-betting-games-faq-item {
    background-color: #fff;
    border: 1px solid #eee;
    border-radius: 8px;
    margin-bottom: 20px;
    padding: 25px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.page-betting-games-faq-item h3 {
    font-size: 1.4em;
    color: #007bff;
    margin-top: 0;
    margin-bottom: 10px;
    cursor: pointer;
    position: relative;
    padding-right: 30px;
    border-bottom: none;
}

.page-betting-games-faq-item h3::after {
    content: '+';
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.5em;
    color: #ffc107;
    transition: transform 0.3s ease;
}

.page-betting-games-faq-item.active h3::after {
    content: '-';
    transform: translateY(-50%) rotate(180deg);
}

.page-betting-games-faq-item p {
    display: none; /* Hidden by default, toggled by JS */
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid #eee;
    color: #444;
}

.page-betting-games-faq-item.active p {
    display: block;
}

/* Responsive adjustments */
@media (max-width: 992px) {
    .page-betting-games-hero h1 {
        font-size: 2.8em;
    }

    .page-betting-games h2 {
        font-size: 2em;
    }

    .page-betting-games-card h3 {
        font-size: 1.3em;
    }
}

@media (max-width: 768px) {
    .page-betting-games-hero {
        padding: 60px 0;
    }

    .page-betting-games-hero h1 {
        font-size: 2.2em;
    }

    .page-betting-games-hero p {
        font-size: 1em;
    }

    .page-betting-games-hero-actions {
        flex-direction: column;
        gap: 15px;
    }

    .page-betting-games-btn {
        width: 80%;
        max-width: 300px;
    }

    .page-betting-games-intro,
    .page-betting-games-categories,
    .page-betting-games-deep-content,
    .page-betting-games-cta,
    .page-betting-games-faq {
        padding: 40px 0;
    }

    .page-betting-games h2 {
        font-size: 1.8em;
        margin-bottom: 30px;
    }

    .page-betting-games h3 {
        font-size: 1.5em;
    }

    .page-betting-games-grid {
        grid-template-columns: 1fr;
    }
}