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

/* HEADER */
.site-header {
    background: rgba(15, 23, 42, 0.95);
    /* Slightly transparent dark bg */
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.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 - COMPACT & HIGH PERFORMANCE */
.hero {
    background: linear-gradient(135deg, var(--color-hero-start) 0%, var(--color-hero-end) 100%);
    padding: 60px 0 50px;
    /* Reduced from 120px/80px */
    color: #fff;
    text-align: center;
}

.hero h1 {
    font-size: 2.75rem;
    /* Reduced from 3.5rem */
    font-weight: 800;
    margin: 0 0 15px;
    line-height: 1.1;
    letter-spacing: -0.02em;
}

.hero p {
    max-width: 650px;
    /* Tighter width */
    margin: 0 auto 30px;
    /* Reduced margin */
    font-size: 1.05rem;
    /* Slightly smaller */
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.5;
}

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

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

/* CONTENT AREAS */
.site-content {
    padding: 60px 0;
    background: var(--color-body-bg);
}

.content-area {
    max-width: 900px;
    margin: 0 auto;
}

.section {
    margin-bottom: 60px;
}

/* Dark Section (Methodology) */
.section-gray {
    background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
    color: #fff;
    padding: 60px;
    border-radius: var(--radius-lg);
    margin: 60px 0;
}

.section-gray h2,
.section-gray p {
    color: #fff;
}

/* FOOTER - IMPROVED LEGIBILITY */
.site-footer {
    background: #0f172a;
    color: #e2e8f0;
    padding: 60px 0 30px;
    font-size: 0.95rem;
}

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

.footer-widget h3 {
    color: #fff;
    font-size: 1.1rem;
    margin-bottom: 20px;
    font-weight: 600;
}

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

.footer-links a {
    display: block;
    margin-bottom: 10px;
    color: #cbd5e1;
}

.footer-links a:hover {
    color: #fff;
}

.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;
    }
}