/* ========================================
   CSS Reset & Base Styles
   ======================================== */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background-color: #0a0a0a;
    color: #e4e4e7;
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
}

/* ========================================
   Design Tokens
   ======================================== */

:root {
    /* Colors */
    --color-pure-black: #000000;
    --color-near-black: #0a0a0a;
    --color-dark-surface: #141414;
    --color-hover-surface: #1e1e1e;
    
    --color-text-primary: #e4e4e7;
    --color-text-secondary: #a1a1aa;
    --color-text-tertiary: #71717a;
    
    --color-neon-green: #00ff41;
    --color-green-hover: #33ff66;
    --color-electric-blue: #3b82f6;
    
    --color-success: #22c55e;
    --color-warning: #f59e0b;
    --color-error: #ef4444;
    
    --color-border-subtle: rgba(255, 255, 255, 0.1);
    --color-border-moderate: rgba(255, 255, 255, 0.15);
    --color-border-strong: rgba(255, 255, 255, 0.2);
    
    /* Spacing */
    --space-xs: 4px;
    --space-sm: 8px;
    --space-md: 16px;
    --space-lg: 24px;
    --space-xl: 32px;
    --space-2xl: 48px;
    --space-3xl: 64px;
    --space-4xl: 96px;
    
    /* Border Radius */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-full: 9999px;
    
    /* Animation */
    --duration-fast: 150ms;
    --duration-standard: 250ms;
    --duration-slow: 400ms;
}

/* ========================================
   Navigation
   ======================================== */

.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 64px;
    background: rgba(10, 10, 10, 0.9);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--color-border-subtle);
    z-index: 1000;
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 var(--space-lg);
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo {
    display: flex;
    align-items: center;
}

.logo-text {
    font-size: 24px;
    font-weight: 700;
    color: var(--color-text-primary);
}

.logo-text .accent {
    color: var(--color-neon-green);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    background: none;
    border: none;
    cursor: pointer;
    padding: var(--space-sm);
}

.nav-toggle span {
    width: 24px;
    height: 2px;
    background: var(--color-text-primary);
    transition: all var(--duration-fast);
}

.nav-links {
    display: flex;
    gap: var(--space-xl);
    list-style: none;
}

.nav-links a {
    color: var(--color-text-secondary);
    font-size: 16px;
    font-weight: 400;
    transition: all var(--duration-fast);
    padding: var(--space-sm) 0;
    border-bottom: 2px solid transparent;
}

.nav-links a:hover {
    color: var(--color-text-primary);
    border-bottom-color: var(--color-neon-green);
}

/* ========================================
   Hero Section
   ======================================== */

.hero {
    min-height: 100vh;
    background: var(--color-pure-black);
    padding: var(--space-4xl) var(--space-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 64px;
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.hero-title {
    font-size: 56px;
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -0.02em;
    color: var(--color-text-primary);
    margin-bottom: var(--space-lg);
}

.hero-title .accent {
    color: var(--color-neon-green);
}

.hero-subtitle {
    font-size: 18px;
    color: var(--color-text-secondary);
    line-height: 1.6;
    max-width: 600px;
    margin: 0 auto var(--space-4xl);
}

/* Trust Badges */

.trust-badges {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-lg);
    margin-top: var(--space-4xl);
}

.trust-badge {
    background: var(--color-dark-surface);
    border: 1px solid var(--color-border-subtle);
    border-radius: var(--radius-md);
    padding: var(--space-lg);
    text-align: center;
    transition: all var(--duration-standard);
    box-shadow: 0 0 0 1px rgba(255,255,255,0.1), 0 4px 12px rgba(0,0,0,0.5);
}

.trust-badge:hover {
    background: var(--color-hover-surface);
    border-color: var(--color-border-moderate);
    transform: translateY(-4px);
}

.badge-icon {
    width: 40px;
    height: 40px;
    color: var(--color-electric-blue);
    margin: 0 auto var(--space-md);
}

.trust-badge h3 {
    font-size: 20px;
    font-weight: 600;
    color: var(--color-text-primary);
    margin-bottom: var(--space-sm);
}

.trust-badge p {
    font-size: 14px;
    color: var(--color-text-secondary);
}

/* ========================================
   Featured Operator Section
   ======================================== */

.featured-section {
    background: var(--color-near-black);
    padding: var(--space-4xl) var(--space-lg);
}

.featured-container {
    max-width: 800px;
    margin: 0 auto;
}

.section-title {
    font-size: 36px;
    font-weight: 600;
    line-height: 1.2;
    letter-spacing: -0.01em;
    color: var(--color-text-primary);
    text-align: center;
    margin-bottom: var(--space-3xl);
}

.operator-card {
    background: var(--color-dark-surface);
    border: 1px solid var(--color-border-subtle);
    border-radius: var(--radius-lg);
    padding: var(--space-2xl);
    text-align: center;
    position: relative;
    transition: all var(--duration-standard);
    box-shadow: 0 0 0 1px rgba(255,255,255,0.1), 0 4px 12px rgba(0,0,0,0.5);
}

.operator-card:hover {
    background: var(--color-hover-surface);
    border-color: var(--color-border-moderate);
    transform: translateY(-4px);
    box-shadow: 0 0 0 1px rgba(255,255,255,0.1), 0 4px 12px rgba(0,0,0,0.5), 0 0 12px rgba(255,255,255,0.1);
}

.card-badge-18 {
    position: absolute;
    top: var(--space-lg);
    right: var(--space-lg);
    background: var(--color-warning);
    color: var(--color-pure-black);
    font-size: 16px;
    font-weight: 700;
    padding: var(--space-sm) var(--space-md);
    border-radius: var(--radius-sm);
}

.operator-logo {
    margin-bottom: var(--space-xl);
}

.operator-logo img {
    max-height: 80px;
    margin: 0 auto;
    object-fit: contain;
}

.operator-rating {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-md);
    margin-bottom: var(--space-xl);
}

.stars {
    display: flex;
    gap: var(--space-xs);
}

.star {
    width: 20px;
    height: 20px;
    color: var(--color-success);
}

.rating-number {
    font-size: 32px;
    font-weight: 700;
    color: var(--color-text-primary);
}

.operator-bonus {
    margin-bottom: var(--space-xl);
}

.bonus-title {
    font-size: 28px;
    font-weight: 600;
    color: var(--color-neon-green);
    margin-bottom: var(--space-sm);
    line-height: 1.2;
}

.bonus-game {
    font-size: 16px;
    color: var(--color-text-secondary);
}

/* Primary Button */

.btn-primary {
    display: inline-block;
    background: var(--color-neon-green);
    color: var(--color-pure-black);
    font-size: 16px;
    font-weight: 600;
    padding: 20px 32px;
    border-radius: var(--radius-md);
    border: none;
    cursor: pointer;
    transition: all var(--duration-fast);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: var(--space-xl);
}

.btn-primary:hover {
    background: var(--color-green-hover);
    transform: scale(1.02);
    box-shadow: 0 0 20px rgba(0, 255, 65, 0.5), 0 0 40px rgba(0, 255, 65, 0.3);
}

.btn-primary:active {
    transform: scale(0.98);
}

.operator-terms {
    font-size: 14px;
    color: var(--color-text-tertiary);
    line-height: 1.5;
}

.operator-terms p {
    margin-bottom: var(--space-sm);
}

.ukgc-licensed {
    color: var(--color-electric-blue);
    font-weight: 600;
}

/* ========================================
   Why Trust Us Section
   ======================================== */

.trust-section {
    background: var(--color-dark-surface);
    padding: var(--space-3xl) var(--space-lg);
    border-top: 1px solid var(--color-border-subtle);
}

.trust-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-3xl);
    align-items: center;
}

.trust-content {
    max-width: 600px;
}

.trust-content .section-title {
    text-align: left;
    margin-bottom: var(--space-xl);
}

.trust-content p {
    color: var(--color-text-secondary);
    line-height: 1.6;
    margin-bottom: var(--space-md);
}

.trust-credentials {
    display: flex;
    flex-direction: column;
    gap: var(--space-lg);
}

.credential-item {
    display: flex;
    gap: var(--space-md);
    align-items: flex-start;
}

.credential-icon {
    width: 32px;
    height: 32px;
    color: var(--color-electric-blue);
    flex-shrink: 0;
}

.credential-item h4 {
    font-size: 18px;
    font-weight: 600;
    color: var(--color-text-primary);
    margin-bottom: var(--space-xs);
}

.credential-item p {
    font-size: 14px;
    color: var(--color-text-secondary);
}

/* ========================================
   Responsible Gambling Section
   ======================================== */

.responsible-section {
    background: var(--color-near-black);
    padding: var(--space-3xl) var(--space-lg);
    border-top: 1px solid var(--color-border-subtle);
}

.responsible-container {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.responsible-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-md);
    margin-bottom: var(--space-xl);
}

.warning-icon {
    width: 40px;
    height: 40px;
    color: var(--color-warning);
}

.responsible-content {
    text-align: left;
    margin-bottom: var(--space-3xl);
}

.responsible-content p {
    font-size: 16px;
    color: var(--color-text-secondary);
    line-height: 1.6;
    margin-bottom: var(--space-md);
}

.help-organizations {
    display: flex;
    justify-content: center;
    gap: var(--space-xl);
    margin-bottom: var(--space-xl);
}

.help-org {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-md);
    padding: var(--space-lg);
    background: var(--color-dark-surface);
    border: 1px solid var(--color-border-subtle);
    border-radius: var(--radius-md);
    transition: all var(--duration-standard);
}

.help-org:hover {
    border-color: var(--color-border-moderate);
    transform: translateY(-2px);
}

.help-org img {
    max-height: 48px;
    object-fit: contain;
}

.help-org span {
    font-size: 14px;
    color: var(--color-electric-blue);
    font-weight: 600;
}

.help-links {
    display: flex;
    justify-content: center;
    gap: var(--space-md);
    flex-wrap: wrap;
}

.help-links a {
    font-size: 14px;
    color: var(--color-electric-blue);
    text-decoration: underline;
    transition: color var(--duration-fast);
}

.help-links a:hover {
    color: var(--color-neon-green);
}

.separator {
    color: var(--color-text-tertiary);
}

/* ========================================
   Footer
   ======================================== */

.footer {
    background: var(--color-pure-black);
    padding: var(--space-2xl) var(--space-lg);
    border-top: 1px solid var(--color-border-subtle);
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-3xl);
    margin-bottom: var(--space-xl);
}

.footer-column h4 {
    font-size: 18px;
    font-weight: 600;
    color: var(--color-text-primary);
    margin-bottom: var(--space-md);
}

.footer-column ul {
    list-style: none;
}

.footer-column ul li {
    margin-bottom: var(--space-sm);
}

.footer-column ul li a {
    font-size: 14px;
    color: var(--color-text-secondary);
    transition: color var(--duration-fast);
}

.footer-column ul li a:hover {
    color: var(--color-electric-blue);
}

.compliance-logos {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
}

.compliance-logos img {
    max-height: 32px;
    width: auto;
    object-fit: contain;
}

.age-warning {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    margin-bottom: var(--space-md);
    padding: var(--space-md);
    background: var(--color-dark-surface);
    border: 1px solid var(--color-warning);
    border-radius: var(--radius-sm);
}

.age-badge {
    max-height: 40px;
    width: auto;
}

.warning-text {
    font-size: 16px;
    color: var(--color-warning);
    font-weight: 600;
}

.disclaimer {
    font-size: 14px;
    color: var(--color-text-tertiary);
    line-height: 1.5;
}

.footer-bottom {
    max-width: 1200px;
    margin: 0 auto;
    padding-top: var(--space-xl);
    border-top: 1px solid var(--color-border-subtle);
    text-align: center;
}

.footer-bottom p {
    font-size: 14px;
    color: var(--color-text-tertiary);
}

/* ========================================
   Responsive Design
   ======================================== */

@media (max-width: 1024px) {
    .trust-badges {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .trust-container {
        grid-template-columns: 1fr;
    }
    
    .trust-content .section-title {
        text-align: center;
    }
}

@media (max-width: 768px) {
    .nav-toggle {
        display: flex;
    }
    
    .nav-links {
        position: fixed;
        top: 64px;
        left: 0;
        right: 0;
        background: rgba(10, 10, 10, 0.98);
        flex-direction: column;
        padding: var(--space-lg);
        gap: var(--space-md);
        transform: translateY(-100%);
        transition: transform var(--duration-slow);
        opacity: 0;
        pointer-events: none;
    }
    
    .nav-links.active {
        transform: translateY(0);
        opacity: 1;
        pointer-events: all;
    }
    
    .hero-title {
        font-size: 36px;
    }
    
    .hero {
        padding: var(--space-3xl) var(--space-lg);
    }
    
    .trust-badges {
        grid-template-columns: 1fr;
    }
    
    .footer-container {
        grid-template-columns: 1fr;
    }
    
    .help-organizations {
        flex-direction: column;
    }
    
    .operator-card {
        padding: var(--space-xl);
    }
    
    .section-title {
        font-size: 28px;
    }
}

@media (max-width: 640px) {
    .hero-title {
        font-size: 32px;
    }
    
    .bonus-title {
        font-size: 24px;
    }
    
    .btn-primary {
        width: 100%;
    }
}

/* ========================================
   Accessibility - Reduced Motion
   ======================================== */

@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        transition-duration: 0.01ms !important;
    }
}
