/* Layout: Header, Hero, Content, Footer */

/* HEADER - BINGO THEME */
.site-header {
    background: linear-gradient(135deg, #7c2d12 0%, #991b1b 100%);
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 3px solid var(--bingo-yellow);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.site-logo img {
    height: 60px;
    /* Increased from 40px */
    width: auto;
}

.main-navigation ul {
    display: flex;
    list-style: none;
    gap: 24px;
    margin: 0;
    padding: 0;
}

.main-navigation a {
    color: rgba(255, 255, 255, 0.9);
    font-weight: 500;
    font-size: 15px;
}

.main-navigation a:hover {
    color: #fff;
}

@media (max-width: 900px) {
    .header-inner {
        flex-direction: column;
        gap: 15px;
    }

    .main-navigation {
        width: 100%;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        padding-bottom: 5px;
        /* Space for scrollbar if visible */
    }

    .main-navigation ul {
        width: max-content;
        padding: 0 20px;
        gap: 15px;
    }

    .main-navigation a {
        font-size: 14px;
        white-space: nowrap;
        padding: 8px 12px;
        background: rgba(255, 255, 255, 0.05);
        border-radius: 20px;
    }
}

/* HIDE NAV ON MOBILE */
@media (max-width: 768px) {
    .main-navigation {
        display: none;
    }

    .header-inner {
        flex-direction: row;
        justify-content: center;
    }

    .site-logo img {
        height: 45px;
    }
}

/* HERO SECTION - BINGO THEME */
.hero {
    background: linear-gradient(135deg, var(--color-hero-start) 0%, var(--color-hero-end) 100%);
    padding: 70px 0 60px;
    color: #fff;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image:
        radial-gradient(circle at 20% 30%, rgba(251, 191, 36, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(59, 130, 246, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 50% 50%, rgba(34, 197, 94, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.hero h1 {
    font-size: 3rem;
    font-weight: 900;
    margin: 0 0 20px;
    line-height: 1.1;
    letter-spacing: -0.02em;
    text-shadow: 2px 4px 8px rgba(0, 0, 0, 0.3);
    position: relative;
    z-index: 1;
}

.hero p {
    max-width: 700px;
    margin: 0 auto 35px;
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.95);
    line-height: 1.6;
    position: relative;
    z-index: 1;
    text-shadow: 1px 2px 4px rgba(0, 0, 0, 0.2);
}

@media (max-width: 900px) {
    .hero {
        padding: 40px 0 30px;
    }

    .hero h1 {
        font-size: 2rem;
    }
}

/* CONTENT AREAS - BINGO THEME */
.site-content {
    padding: 60px 0;
    background: linear-gradient(to bottom, var(--color-body-bg) 0%, #fff3e0 100%);
    position: relative;
}

.site-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image:
        radial-gradient(circle at 10% 20%, rgba(239, 68, 68, 0.05) 0%, transparent 30%),
        radial-gradient(circle at 90% 80%, rgba(59, 130, 246, 0.05) 0%, transparent 30%),
        radial-gradient(circle at 50% 50%, rgba(34, 197, 94, 0.03) 0%, transparent 40%);
    pointer-events: none;
}

.content-area {
    max-width: 900px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.section {
    margin-bottom: 60px;
}

/* Dark Section (Methodology) - BINGO STYLE */
.section-gray {
    background: linear-gradient(135deg, var(--bingo-red) 0%, #991b1b 100%);
    color: #fff;
    padding: 60px;
    border-radius: 30px;
    margin: 60px 0;
    border: 5px solid var(--bingo-yellow);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    position: relative;
    overflow: hidden;
}

.section-gray::before {
    content: '🎱';
    position: absolute;
    font-size: 15rem;
    opacity: 0.1;
    right: -50px;
    bottom: -50px;
    pointer-events: none;
}

.section-gray h2,
.section-gray p {
    color: #fff;
    position: relative;
    z-index: 1;
}

/* FOOTER - BINGO THEME */
.site-footer {
    background: linear-gradient(135deg, #7c2d12 0%, #991b1b 100%);
    color: #fef3c7;
    padding: 60px 0 30px;
    font-size: 0.95rem;
    border-top: 5px solid var(--bingo-yellow);
    position: relative;
}

.site-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image:
        radial-gradient(circle at 15% 25%, rgba(251, 191, 36, 0.1) 0%, transparent 40%),
        radial-gradient(circle at 85% 75%, rgba(59, 130, 246, 0.1) 0%, transparent 40%);
    pointer-events: none;
}

.footer-widgets {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-widget h3 {
    color: var(--bingo-yellow);
    font-size: 1.2rem;
    margin-bottom: 20px;
    font-weight: 700;
    text-shadow: 1px 2px 4px rgba(0, 0, 0, 0.3);
}

.footer-widget p {
    color: #fed7aa;
    line-height: 1.7;
}

.footer-links a {
    display: block;
    margin-bottom: 10px;
    color: #fed7aa;
    transition: all 0.2s ease;
}

.footer-links a:hover {
    color: var(--bingo-yellow);
    transform: translateX(5px);
}

.full-width-widget {
    flex: 1 1 100%;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

/* TRUST BADGES */
.trust-badges-section {
    margin-bottom: 40px;
    padding-bottom: 30px;
    border-bottom: 1px solid #1e3a5f;
}

.trust-badges {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
}

.trust-badge {
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(30, 58, 95, 0.6);
    border: 1px solid #334155;
    padding: 10px 16px;
    border-radius: 8px;
    transition: all 0.2s ease;
}

.trust-badge:hover {
    background: rgba(30, 58, 95, 0.9);
    border-color: #00d4ff;
    transform: translateY(-2px);
}

.badge-icon {
    font-size: 1.2rem;
}

.badge-text {
    font-size: 0.85rem;
    font-weight: 600;
    color: #f1f5f9;
    white-space: nowrap;
}

/* RESPONSIBLE GAMBLING SECTION */
.responsible-gambling {
    text-align: center;
    margin-bottom: 40px;
    padding: 25px;
    background: rgba(239, 68, 68, 0.08);
    border: 1px solid rgba(239, 68, 68, 0.2);
    border-radius: 12px;
}

.responsible-gambling h4 {
    color: #fca5a5;
    font-size: 1rem;
    margin: 0 0 15px;
    font-weight: 600;
}

.rg-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
}

.rg-links a {
    color: #f1f5f9;
    background: rgba(239, 68, 68, 0.15);
    padding: 8px 16px;
    border-radius: 6px;
    font-size: 0.85rem;
    font-weight: 500;
    transition: all 0.2s ease;
    border: 1px solid rgba(239, 68, 68, 0.3);
}

.rg-links a:hover {
    background: rgba(239, 68, 68, 0.3);
    color: #fff;
    text-decoration: none;
}

/* Compliance Section - IMPROVED LEGIBILITY */
.footer-compliance {
    border-top: 1px solid #1e3a5f;
    padding-top: 30px;
    margin-top: 30px;
    text-align: center;
    font-size: 0.85rem;
    color: #94a3b8;
    line-height: 1.7;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.footer-compliance p {
    color: #94a3b8;
}

/* Copyright & Links */
.copyright-bar {
    text-align: center;
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid #1e3a5f;
    font-size: 0.85rem;
}

.copyright-bar p {
    color: #64748b;
}

.compliance-links {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 15px;
}

.compliance-links a {
    color: #cbd5e1;
    text-decoration: none;
    transition: color 0.2s;
}

.compliance-links a:hover {
    color: #00d4ff;
    text-decoration: underline;
}

@media (max-width: 768px) {
    .trust-badges {
        gap: 10px;
    }

    .trust-badge {
        padding: 8px 12px;
    }

    .badge-text {
        font-size: 0.75rem;
    }

    .rg-links {
        gap: 8px;
    }

    .rg-links a {
        padding: 6px 12px;
        font-size: 0.75rem;
    }

    .footer-widgets {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .compliance-links {
        flex-direction: column;
        gap: 10px;
    }
}