:root {
    --primary: #2c3e50;
    --accent: #e67e22;
    --accent-hover: #d35400;
    --success: #27ae60;
    --danger: #e74c3c;
    --warning: #f39c12;
    --bg: #bcbcbc;
    --card-bg: #ffffff;
    --text: #333;
    --text-muted: #666;
    --radius: 12px;
}

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

body {
    font-family: 'Segoe UI', system-ui, sans-serif;
    background: var(--bg);
    color: var(--text);
    min-height: 100vh;
}

/* Hero / Login Background */
.hero-bg {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    background: linear-gradient(135deg, #bcbcbc 0%, #d4d4d4 50%, #c8c8c8 100%);
    padding: 20px;
}

.container {
    max-width: 600px;
    margin: 0 auto;
    padding: 20px;
}

h1 {
    text-align: center;
    font-size: 2em;
    margin-bottom: 0.3em;
    color: var(--accent);
}

h2 {
    color: var(--accent);
    margin-bottom: 0.5em;
}

h3 { margin-bottom: 0.5em; }

.subtitle {
    text-align: center;
    color: var(--text-muted);
    margin-bottom: 1.5em;
}

.highlight {
    color: var(--accent);
    font-size: 1.3em;
}

/* Navigation */
.nav {
    display: flex;
    gap: 10px;
    padding: 10px 20px;
    background: var(--card-bg);
    border-radius: 0 0 var(--radius) var(--radius);
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.nav-link {
    color: var(--text-muted);
    text-decoration: none;
    padding: 5px 10px;
    border-radius: 6px;
    transition: all 0.2s;
}

.nav-link:hover {
    color: var(--accent);
    background: rgba(230, 126, 34, 0.1);
}

.nav-right { margin-left: auto; }

/* Forms */
.login-form, .form-card {
    background: var(--card-bg);
    padding: 30px;
    border-radius: var(--radius);
    box-shadow: 0 2px 12px rgba(0,0,0,0.15);
}

.field {
    margin-bottom: 16px;
}

.field label {
    display: block;
    margin-bottom: 4px;
    font-weight: 600;
    font-size: 0.9em;
    color: var(--text-muted);
}

.field input, .field textarea, .field select {
    width: 100%;
    padding: 10px 14px;
    background: #f5f5f5;
    border: 1px solid #ccc;
    border-radius: 8px;
    color: var(--text);
    font-size: 1em;
    transition: border-color 0.2s;
}

.field input:focus, .field textarea:focus {
    outline: none;
    border-color: var(--accent);
    background: #fff;
}

.field-row {
    display: flex;
    gap: 12px;
}

.field-row .field { flex: 1; }

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 24px;
    border: none;
    border-radius: 8px;
    font-size: 1em;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    text-decoration: none;
}

.btn-primary {
    background: var(--accent);
    color: white;
    width: 100%;
    margin-top: 10px;
}

.btn-primary:hover {
    background: var(--accent-hover);
    transform: translateY(-1px);
}

.btn-secondary {
    background: var(--primary);
    color: white;
}

.btn-secondary:hover { opacity: 0.9; }

.btn-success { background: var(--success); color: white; }

/* Flash messages */
.flash {
    padding: 10px 16px;
    border-radius: 8px;
    margin-bottom: 16px;
}

.flash-success { background: #e8f5e9; border: 1px solid var(--success); color: #1b5e20; }
.flash-error { background: #ffebee; border: 1px solid var(--danger); color: #b71c1c; }
.flash-warning { background: #fff8e1; border: 1px solid var(--warning); color: #e65100; }
.flash-info { background: #e3f2fd; border: 1px solid #3498db; color: #0d47a1; }

.hint {
    text-align: center;
    color: var(--text-muted);
    font-size: 0.85em;
    margin-top: 16px;
}

/* Countdown */
.countdown {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin: 20px 0;
}

.countdown-item {
    text-align: center;
    min-width: 60px;
}

.countdown-number {
    display: block;
    font-size: 2.2em;
    font-weight: 800;
    color: var(--accent);
    line-height: 1;
}

.countdown-label {
    font-size: 0.75em;
    color: var(--text-muted);
    text-transform: uppercase;
}

.countdown-sep {
    font-size: 2em;
    font-weight: 800;
    color: var(--accent);
    opacity: 0.5;
    margin-top: -12px;
}

/* RSVP */
.rsvp-buttons {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.rsvp-option {
    flex: 1;
    cursor: pointer;
    min-width: 100px;
}

.rsvp-option input { display: none; }

.rsvp-label {
    display: block;
    padding: 12px 8px;
    border: 2px solid rgba(255,255,255,0.1);
    border-radius: 8px;
    text-align: center;
    transition: all 0.2s;
    font-size: 0.9em;
    background: #f5f5f5;
}

.rsvp-option input:checked + .rsvp-label.rsvp-yes {
    border-color: var(--success);
    background: rgba(39, 174, 96, 0.2);
}

.rsvp-option input:checked + .rsvp-label.rsvp-no {
    border-color: var(--danger);
    background: rgba(231, 76, 60, 0.2);
}

.rsvp-option input:checked + .rsvp-label.rsvp-maybe {
    border-color: var(--warning);
    background: rgba(243, 156, 18, 0.2);
}

/* CTA Button */
.btn-cta {
    display: inline-block;
    padding: 20px 40px;
    background: var(--accent);
    color: white;
    border-radius: 16px;
    font-size: 1.3em;
    font-weight: 800;
    text-decoration: none;
    box-shadow: 0 4px 15px rgba(230,126,34,0.4);
    transition: all 0.2s;
    line-height: 1.3;
}

.btn-cta:hover {
    background: var(--accent-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(230,126,34,0.5);
}

/* Info cards */
.info-card {
    background: var(--card-bg);
    padding: 20px;
    border-radius: var(--radius);
    margin-bottom: 16px;
}

/* Session Bar */
.session-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--card-bg);
    padding: 8px 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    box-shadow: 0 -2px 8px rgba(0,0,0,0.1);
    font-size: 0.85em;
    z-index: 100;
}

.session-timer {
    color: var(--text-muted);
}

.session-timer.warning {
    color: var(--danger);
    font-weight: 600;
}

.btn-extend {
    padding: 6px 14px;
    background: var(--accent);
    color: white;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-size: 0.85em;
    font-weight: 600;
}

.btn-extend:hover {
    background: var(--accent-hover);
}

/* Consent */
.consent-text {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 20px;
    line-height: 1.8;
}

.consent-text strong { color: var(--text); }

.consent-checkbox {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 24px;
    text-align: left;
}

.consent-checkbox input[type="checkbox"] {
    width: 20px;
    height: 20px;
    margin-top: 2px;
    accent-color: var(--accent);
    flex-shrink: 0;
}

.consent-checkbox label {
    font-size: 0.9rem;
    color: var(--text);
    cursor: pointer;
}

/* Film */
.film-player {
    background: var(--card-bg);
    border-radius: var(--radius);
    overflow: hidden;
    margin-bottom: 20px;
}

.film-placeholder {
    padding: 60px 20px;
    text-align: center;
    font-size: 1.2em;
}

.film-placeholder .small {
    color: var(--text-muted);
    font-size: 0.9em;
    margin-top: 8px;
}

.rsvp-cta {
    text-align: center;
    margin: 30px 0 10px;
}

.cta-sub {
    margin-top: 10px;
    font-size: 1em;
    color: var(--primary);
    font-weight: 600;
    font-style: italic;
}

.timestamp {
    text-align: center;
    color: var(--text-muted);
    font-size: 0.8em;
    margin-top: 12px;
}

/* Mobile */
@media (max-width: 480px) {
    .container { padding: 10px; }
    .field-row { flex-direction: column; }
    .rsvp-buttons { flex-direction: column; }
    .login-form, .form-card { padding: 20px; }
}