/* SuperDraw — UK Prize Competition Site */
:root {
    --gold: #D4AF37;
    --gold-light: #F5D76E;
    --gold-dark: #B8960C;
    --navy: #0A0E1A;
    --navy-light: #141B2D;
    --navy-mid: #1C2540;
    --white: #FFFFFF;
    --grey-100: #F8F9FA;
    --grey-300: #D1D5DB;
    --grey-500: #6B7280;
    --grey-700: #374151;
    --green: #10B981;
    --red: #EF4444;
    --radius: 12px;
    --radius-sm: 8px;
    --shadow: 0 4px 24px rgba(0,0,0,0.3);
    --transition: 0.2s ease;
    --font: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --header-h: 72px;
}

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

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
    font-family: var(--font);
    background: var(--navy);
    color: var(--white);
    line-height: 1.6;
    overflow-x: hidden;
}

img, video { max-width: 100%; display: block; }
a { color: var(--gold); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--gold-light); }

.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.text-center { text-align: center; }
.mt-4 { margin-top: 2rem; }
.gold { color: var(--gold); }
.hide-mobile { display: inline-flex; }

/* Buttons */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    padding: 12px 24px; border-radius: var(--radius-sm); font-weight: 600;
    font-size: 15px; cursor: pointer; border: 2px solid transparent;
    transition: all var(--transition); text-decoration: none; font-family: var(--font);
    white-space: nowrap;
}
.btn-gold { background: linear-gradient(135deg, var(--gold), var(--gold-dark)); color: var(--navy); border-color: var(--gold); }
.btn-gold:hover { background: linear-gradient(135deg, var(--gold-light), var(--gold)); color: var(--navy); transform: translateY(-1px); box-shadow: 0 4px 16px rgba(212,175,55,0.4); }
.btn-outline { background: transparent; color: var(--white); border-color: rgba(255,255,255,0.3); }
.btn-outline:hover { border-color: var(--gold); color: var(--gold); }
.btn-sm { padding: 8px 16px; font-size: 13px; }
.btn-lg { padding: 16px 32px; font-size: 17px; }
.btn-block { width: 100%; }

/* Header */
.site-header {
    position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
    background: rgba(10,14,26,0.95); backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(212,175,55,0.15);
    height: var(--header-h);
}
.header-inner {
    max-width: 1200px; margin: 0 auto; padding: 0 20px;
    display: flex; align-items: center; justify-content: space-between;
    height: 100%;
}
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.logo-icon { width: 36px; height: 36px; color: var(--gold); }
.logo-text { font-size: 22px; font-weight: 800; color: var(--white); letter-spacing: -0.5px; }
.main-nav { display: flex; gap: 28px; }
.main-nav a { color: var(--grey-300); font-size: 14px; font-weight: 500; text-decoration: none; }
.main-nav a:hover, .main-nav a.active { color: var(--gold); }
.header-cta { display: flex; align-items: center; gap: 12px; }

.menu-toggle {
    display: none; flex-direction: column; gap: 5px;
    background: none; border: none; cursor: pointer; padding: 8px;
}
.menu-toggle span { display: block; width: 24px; height: 2px; background: var(--white); transition: var(--transition); }

main { padding-top: var(--header-h); }

/* Hero */
.hero {
    position: relative; min-height: 85vh; display: flex; align-items: center;
    justify-content: center; overflow: hidden;
}
.hero-video, .draw-hero-video {
    position: absolute; inset: 0; width: 100%; height: 100%;
    object-fit: cover; z-index: 0;
}
.hero-overlay, .draw-hero-overlay {
    position: absolute; inset: 0; z-index: 1;
    background: linear-gradient(180deg, rgba(10,14,26,0.5) 0%, rgba(10,14,26,0.85) 60%, var(--navy) 100%);
}
.hero-content {
    position: relative; z-index: 2; text-align: center;
    padding: 40px 20px; max-width: 800px;
}
.hero-badge {
    display: inline-block; background: rgba(212,175,55,0.2);
    border: 1px solid var(--gold); color: var(--gold-light);
    padding: 6px 16px; border-radius: 50px; font-size: 13px;
    font-weight: 600; margin-bottom: 20px;
}
.hero-title { font-size: clamp(2rem, 6vw, 3.5rem); font-weight: 900; line-height: 1.1; margin-bottom: 12px; }
.hero-subtitle { font-size: clamp(1rem, 3vw, 1.4rem); color: var(--grey-300); margin-bottom: 16px; }
.hero-value { font-size: 18px; margin-bottom: 28px; }
.hero-value strong { color: var(--gold); font-size: 24px; }

/* Countdown */
.countdown {
    display: flex; align-items: center; justify-content: center; gap: 8px;
    margin-bottom: 32px;
}
.countdown-item { text-align: center; }
.countdown-num {
    display: block; font-size: clamp(1.8rem, 5vw, 2.8rem); font-weight: 800;
    color: var(--gold); line-height: 1; min-width: 50px;
    background: rgba(212,175,55,0.1); border: 1px solid rgba(212,175,55,0.3);
    border-radius: var(--radius-sm); padding: 8px 12px;
}
.countdown-label { font-size: 11px; color: var(--grey-500); text-transform: uppercase; letter-spacing: 1px; margin-top: 4px; display: block; }
.countdown-sep { font-size: 2rem; font-weight: 700; color: var(--gold); margin-bottom: 16px; }
.countdown-inline { margin: 24px 0; flex-wrap: wrap; }
.countdown-title { width: 100%; text-align: center; margin-bottom: 8px; color: var(--grey-300); font-size: 14px; }

.hero-actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; margin-bottom: 24px; }
.hero-trust { display: flex; gap: 20px; justify-content: center; flex-wrap: wrap; font-size: 13px; color: var(--grey-500); }

/* Sections */
.section { padding: 80px 0; }
.section-dark { background: var(--navy-light); }
.section-gold { background: linear-gradient(135deg, rgba(212,175,55,0.15), rgba(212,175,55,0.05)); }
.section-header { text-align: center; margin-bottom: 48px; }
.section-header h2 { font-size: clamp(1.8rem, 4vw, 2.5rem); font-weight: 800; margin-bottom: 12px; }
.section-header p { color: var(--grey-300); font-size: 17px; max-width: 600px; margin: 0 auto; }

/* Draw Cards */
.draws-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 28px; }
.draw-card {
    background: var(--navy-light); border-radius: var(--radius);
    overflow: hidden; border: 1px solid rgba(255,255,255,0.08);
    transition: transform var(--transition), box-shadow var(--transition);
}
.draw-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.draw-card-media { position: relative; aspect-ratio: 16/10; overflow: hidden; }
.draw-card-media video { width: 100%; height: 100%; object-fit: cover; }
.draw-card-badge {
    position: absolute; top: 12px; right: 12px;
    background: var(--gold); color: var(--navy); font-weight: 700;
    padding: 6px 12px; border-radius: 50px; font-size: 13px;
}
.draw-card-body { padding: 24px; }
.draw-card-body h3 { font-size: 20px; font-weight: 700; margin-bottom: 4px; }
.draw-card-sub { color: var(--grey-500); font-size: 14px; margin-bottom: 16px; }

.progress-bar { height: 6px; background: rgba(255,255,255,0.1); border-radius: 3px; overflow: hidden; }
.progress-bar-lg { height: 10px; border-radius: 5px; }
.progress-fill { height: 100%; background: linear-gradient(90deg, var(--gold-dark), var(--gold)); border-radius: inherit; transition: width 0.5s ease; }
.progress-meta { display: flex; justify-content: space-between; font-size: 12px; color: var(--grey-500); margin: 6px 0 16px; }
.progress-text { font-size: 14px; color: var(--grey-300); margin-bottom: 16px; }

.draw-card-footer { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.draw-price .price-from { font-size: 12px; color: var(--grey-500); display: block; }
.draw-price .price-amount { font-size: 22px; font-weight: 800; color: var(--gold); }
.draw-countdown-mini { font-size: 13px; color: var(--grey-500); flex: 1; }
.draw-card-footer .btn { margin-left: auto; }

/* Steps */
.steps-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 24px; }
.step-card { text-align: center; padding: 32px 20px; background: var(--navy-mid); border-radius: var(--radius); border: 1px solid rgba(255,255,255,0.06); }
.step-num { width: 48px; height: 48px; border-radius: 50%; background: var(--gold); color: var(--navy); font-weight: 800; font-size: 20px; display: flex; align-items: center; justify-content: center; margin: 0 auto 16px; }
.step-card h3 { font-size: 17px; margin-bottom: 8px; }
.step-card p { color: var(--grey-500); font-size: 14px; }

/* Winners */
.winners-scroll { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 20px; }
.winner-card {
    display: flex; align-items: center; gap: 16px; padding: 20px;
    background: var(--navy-light); border-radius: var(--radius);
    border: 1px solid rgba(255,255,255,0.06);
}
.winner-avatar {
    width: 56px; height: 56px; border-radius: 50%; background: var(--gold);
    color: var(--navy); font-weight: 800; font-size: 22px;
    display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.winner-info { display: flex; flex-direction: column; gap: 2px; }
.winner-info strong { font-size: 16px; }
.winner-info span { font-size: 13px; color: var(--grey-500); }
.winner-prize { color: var(--gold) !important; font-weight: 600; }

/* Draw Page */
.draw-hero { position: relative; height: 50vh; min-height: 300px; display: flex; align-items: flex-end; overflow: hidden; }
.draw-hero-content { position: relative; z-index: 2; padding-bottom: 40px; }
.draw-hero-content h1 { font-size: clamp(1.8rem, 5vw, 3rem); font-weight: 900; }

.draw-layout { display: grid; grid-template-columns: 1fr 420px; gap: 40px; align-items: start; }
.draw-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-bottom: 24px; }
.stat { background: var(--navy-light); padding: 16px; border-radius: var(--radius-sm); text-align: center; }
.stat-label { display: block; font-size: 12px; color: var(--grey-500); margin-bottom: 4px; }
.stat-value { font-size: 18px; font-weight: 700; color: var(--gold); }

.feature-list { list-style: none; margin-top: 16px; }
.feature-list li { padding: 8px 0; padding-left: 24px; position: relative; color: var(--grey-300); }
.feature-list li::before { content: '✓'; position: absolute; left: 0; color: var(--gold); font-weight: 700; }

.charity-box { background: rgba(212,175,55,0.1); border: 1px solid rgba(212,175,55,0.2); border-radius: var(--radius); padding: 20px; margin-top: 24px; }
.charity-box h3 { margin-bottom: 8px; }

/* Entry Panel */
.entry-panel { position: sticky; top: calc(var(--header-h) + 20px); }
.entry-panel-inner {
    background: var(--navy-light); border: 1px solid rgba(212,175,55,0.2);
    border-radius: var(--radius); padding: 28px;
}
.entry-panel-inner h2 { font-size: 22px; margin-bottom: 4px; }
.entry-price-display { color: var(--grey-300); margin-bottom: 20px; }
.entry-price-display strong { color: var(--gold); font-size: 20px; }

.bundle-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-bottom: 24px; }
.bundle-btn {
    position: relative; background: var(--navy-mid); border: 2px solid rgba(255,255,255,0.1);
    border-radius: var(--radius-sm); padding: 12px 8px; cursor: pointer;
    text-align: center; transition: all var(--transition); color: var(--white); font-family: var(--font);
}
.bundle-btn:hover, .bundle-btn.selected { border-color: var(--gold); background: rgba(212,175,55,0.1); }
.bundle-badge { position: absolute; top: -8px; right: -4px; background: var(--gold); color: var(--navy); font-size: 9px; font-weight: 700; padding: 2px 6px; border-radius: 50px; }
.bundle-qty { display: block; font-size: 24px; font-weight: 800; color: var(--gold); }
.bundle-label { display: block; font-size: 11px; color: var(--grey-500); }
.bundle-price { display: block; font-size: 13px; font-weight: 600; margin-top: 4px; }

.skill-question { margin-bottom: 20px; }
.skill-label { font-size: 13px; font-weight: 600; color: var(--gold); display: block; margin-bottom: 4px; }
.skill-text { display: block; font-size: 14px; margin-bottom: 8px; color: var(--grey-300); }
.skill-question input { width: 100%; padding: 12px; background: var(--navy); border: 1px solid rgba(255,255,255,0.15); border-radius: var(--radius-sm); color: var(--white); font-size: 15px; font-family: var(--font); }
.skill-question input:focus { outline: none; border-color: var(--gold); }
.skill-hint { font-size: 12px; color: var(--grey-500); margin-top: 6px; }
.required { color: var(--red); }

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.form-group { margin-bottom: 12px; }
.form-group label { display: block; font-size: 13px; font-weight: 500; margin-bottom: 4px; }
.form-group input {
    width: 100%; padding: 12px; background: var(--navy); border: 1px solid rgba(255,255,255,0.15);
    border-radius: var(--radius-sm); color: var(--white); font-size: 15px; font-family: var(--font);
}
.form-group input:focus { outline: none; border-color: var(--gold); }

.order-summary { background: var(--navy); border-radius: var(--radius-sm); padding: 16px; margin: 20px 0; }
.summary-row { display: flex; justify-content: space-between; padding: 4px 0; font-size: 14px; color: var(--grey-300); }
.summary-total { border-top: 1px solid rgba(255,255,255,0.1); margin-top: 8px; padding-top: 8px; font-weight: 700; font-size: 18px; color: var(--white); }
.summary-total span:last-child { color: var(--gold); }

.entry-trust { display: flex; justify-content: center; gap: 16px; margin-top: 12px; font-size: 11px; color: var(--grey-500); }
.free-entry-notice { background: rgba(16,185,129,0.1); border: 1px solid rgba(16,185,129,0.3); border-radius: var(--radius-sm); padding: 12px; margin-top: 16px; font-size: 13px; }
.entry-terms { font-size: 11px; color: var(--grey-500); margin-top: 12px; text-align: center; }

/* Content Pages */
.content-page { padding: 60px 0; }
.content-page .container { max-width: 800px; }
.content-page h1 { font-size: 2.2rem; font-weight: 800; margin-bottom: 8px; }
.content-page .lead { color: var(--grey-300); font-size: 17px; margin-bottom: 40px; }
.content-page h2 { font-size: 1.4rem; font-weight: 700; margin: 32px 0 12px; color: var(--gold); }
.content-page h3 { font-size: 1.1rem; font-weight: 600; margin: 24px 0 8px; }
.content-page p, .content-page li { color: var(--grey-300); margin-bottom: 12px; }
.content-page ul, .content-page ol { padding-left: 24px; margin-bottom: 16px; }
.content-page li { margin-bottom: 6px; }

/* FAQ */
.faq-list { max-width: 800px; margin: 0 auto; }
.faq-item { border-bottom: 1px solid rgba(255,255,255,0.08); }
.faq-question {
    width: 100%; background: none; border: none; color: var(--white);
    font-size: 16px; font-weight: 600; text-align: left; padding: 20px 0;
    cursor: pointer; display: flex; justify-content: space-between; align-items: center;
    font-family: var(--font);
}
.faq-question::after { content: '+'; font-size: 20px; color: var(--gold); transition: transform var(--transition); }
.faq-item.open .faq-question::after { transform: rotate(45deg); }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.3s ease; }
.faq-item.open .faq-answer { max-height: 500px; }
.faq-answer p { padding-bottom: 20px; }

/* CTA */
.cta-section { background: linear-gradient(180deg, var(--navy) 0%, var(--navy-light) 100%); }
.cta-section h2 { font-size: 2rem; margin-bottom: 12px; }
.cta-section p { color: var(--grey-300); margin-bottom: 24px; }
.cta-free-entry { margin-top: 16px; font-size: 14px; color: var(--grey-500); }

.charity-text { font-size: 18px; max-width: 700px; margin: 0 auto; color: var(--grey-300); }

/* Footer */
.site-footer { background: var(--navy-light); border-top: 1px solid rgba(255,255,255,0.06); padding: 60px 0 30px; }
.footer-grid { max-width: 1200px; margin: 0 auto; padding: 0 20px; display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 40px; }
.footer-tagline { color: var(--grey-500); font-size: 14px; margin: 12px 0 20px; }
.trust-badges { display: flex; gap: 12px; flex-wrap: wrap; }
.trust-badge { font-size: 12px; color: var(--grey-500); background: var(--navy-mid); padding: 6px 12px; border-radius: 50px; }
.footer-links h4 { font-size: 14px; font-weight: 700; margin-bottom: 16px; color: var(--gold); }
.footer-links a { display: block; color: var(--grey-500); font-size: 14px; margin-bottom: 8px; }
.footer-links a:hover { color: var(--gold); }
.footer-legal { max-width: 1200px; margin: 0 auto; padding: 20px; border-top: 1px solid rgba(255,255,255,0.06); text-align: center; }
.footer-legal p { font-size: 13px; color: var(--grey-500); margin-bottom: 8px; }
.legal-notice { font-size: 11px !important; max-width: 800px; margin: 0 auto !important; line-height: 1.5; }

/* Cookie Banner */
.cookie-banner { position: fixed; bottom: 0; left: 0; right: 0; z-index: 9999; background: var(--navy-light); border-top: 1px solid rgba(212,175,55,0.2); padding: 16px; transform: translateY(100%); transition: transform 0.3s ease; }
.cookie-banner.visible { transform: translateY(0); }
.cookie-inner { max-width: 1200px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.cookie-inner p { font-size: 14px; color: var(--grey-300); flex: 1; }
.cookie-actions { display: flex; gap: 8px; }

/* Contact Form */
.contact-form { max-width: 600px; margin: 0 auto; }
.contact-form textarea { width: 100%; padding: 12px; background: var(--navy); border: 1px solid rgba(255,255,255,0.15); border-radius: var(--radius-sm); color: var(--white); font-size: 15px; font-family: var(--font); min-height: 120px; resize: vertical; }
.contact-form textarea:focus { outline: none; border-color: var(--gold); }

/* Free Entry Box */
.free-entry-box { background: var(--navy-light); border: 2px solid var(--green); border-radius: var(--radius); padding: 32px; margin: 32px 0; }
.free-entry-box h3 { color: var(--green); margin-bottom: 12px; }

/* Success/Error */
.alert { padding: 16px; border-radius: var(--radius-sm); margin-bottom: 20px; font-size: 14px; }
.alert-error { background: rgba(239,68,68,0.15); border: 1px solid var(--red); color: #FCA5A5; }
.alert-success { background: rgba(16,185,129,0.15); border: 1px solid var(--green); color: #6EE7B7; }

/* Responsive */
@media (max-width: 900px) {
    .draw-layout { grid-template-columns: 1fr; }
    .entry-panel { position: static; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .draw-stats { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
    .hide-mobile { display: none; }
    .menu-toggle { display: flex; }
    .main-nav {
        position: fixed; top: var(--header-h); left: 0; right: 0;
        background: var(--navy-light); flex-direction: column; padding: 20px;
        gap: 0; transform: translateY(-120%); transition: transform 0.3s ease;
        border-bottom: 1px solid rgba(212,175,55,0.15);
    }
    .main-nav.open { transform: translateY(0); }
    .main-nav a { padding: 14px 0; border-bottom: 1px solid rgba(255,255,255,0.06); font-size: 16px; }
    .hero { min-height: 75vh; }
    .section { padding: 50px 0; }
    .bundle-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: 1fr; }
    .form-row { grid-template-columns: 1fr; }
    .cookie-inner { flex-direction: column; text-align: center; }
}

@media (max-width: 480px) {
    .bundle-grid { grid-template-columns: repeat(2, 1fr); }
    .hero-actions { flex-direction: column; }
    .hero-actions .btn { width: 100%; }
}
