:root {
    --primary: #ff0000;
    --primary-dark: #cc0000;
    --bg-dark: #000000;
    --bg-card: #0a0a0a;
    --text-main: #ffffff;
    --text-dim: #888888;
    --accent: #ff4d4d;
    --glass: rgba(255, 0, 0, 0.03);
    --glass-border: rgba(255, 0, 0, 0.2);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

body {
    background-color: var(--bg-dark);
    color: var(--text-main);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    overflow-x: hidden;
    line-height: 1.6;
}

.background-glow {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100vw;
    height: 100vh;
    background: radial-gradient(circle at 50% 50%, rgba(255, 0, 0, 0.08) 0%, transparent 70%);
    z-index: -1;
    pointer-events: none;
}

.container {
    width: 90%;
    max-width: 500px;
    padding: 2rem;
    background: var(--bg-card);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    box-shadow: 0 20px 60px rgba(255, 0, 0, 0.05);
    position: relative;
    backdrop-filter: blur(20px);
}

.progress-container {
    width: 100%;
    height: 6px;
    background: var(--glass);
    border-radius: 10px;
    margin-bottom: 2.5rem;
    overflow: hidden;
}

.progress-bar {
    height: 100%;
    width: 25%;
    background: linear-gradient(90deg, var(--primary), var(--accent));
    transition: width 0.5s ease;
}

.quiz-header {
    text-align: center;
    margin-bottom: 2rem;
}

.quiz-header h1 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    background: linear-gradient(to right, #fff, #ccc);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.step-indicator {
    font-size: 0.8rem;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
    margin-bottom: 1rem;
    display: block;
}

.question-container {
    display: none;
    animation: fadeIn 0.4s ease-out;
}

.question-container.active {
    display: block;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.question-text {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    text-align: center;
}

.options-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.option-btn {
    background: var(--glass);
    border: 1px solid var(--glass-border);
    padding: 1.2rem;
    border-radius: 16px;
    color: var(--text-main);
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
    text-align: left;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.option-btn:hover {
    background: rgba(255, 0, 0, 0.05);
    border-color: var(--primary);
    transform: translateX(8px);
    box-shadow: 0 0 15px rgba(255, 0, 0, 0.1);
}

.option-btn::after {
    content: '→';
    opacity: 0;
    transition: var(--transition);
}

.option-btn:hover::after {
    opacity: 1;
}

.quiz-video {
    width: 100%;
    border-radius: 16px;
    overflow: hidden;
    margin-bottom: 1.5rem;
    background: #000;
    aspect-ratio: 16/9;
    border: 1px solid var(--glass-border);
}

.quiz-video video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.footer-text {
    margin-top: 2rem;
    text-align: center;
    font-size: 0.75rem;
    color: var(--text-dim);
}

/* Loading State */
.analyzing-container {
    display: none;
    text-align: center;
    padding: 2rem 0;
}

.spinner {
    width: 40px;
    height: 40px;
    border: 3px solid var(--glass);
    border-top: 3px solid var(--primary);
    border-radius: 50%;
    margin: 0 auto 1.5rem;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Legal Footer */
.legal-footer {
    background-color: #000;
    color: #555;
    padding: 40px 20px;
    text-align: center;
    font-size: 0.7rem;
    line-height: 1.6;
    margin-top: 40px;
    border-top: 1px solid #111;
    width: 100%;
}

.legal-links {
    margin-bottom: 15px;
}

.legal-links a {
    color: #888;
    text-decoration: none;
    margin: 0 10px;
}

.legal-links a:hover { text-decoration: underline; }

.fb-disclaimer {
    max-width: 800px;
    margin: 15px auto 0;
    font-style: italic;
    font-size: 0.65rem;
}

/* Social Proof Notification */
.notification-toast {
    position: fixed;
    bottom: 20px;
    left: 20px;
    background: var(--bg-card);
    border: 1px solid var(--glass-border);
    padding: 12px 20px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    gap: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    z-index: 1000;
    transform: translateY(150%);
    transition: transform 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    max-width: 300px;
    backdrop-filter: blur(10px);
}

.notification-toast.show {
    transform: translateY(0);
}

.notification-icon {
    width: 45px;
    height: 45px;
    background: #eee;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    flex-shrink: 0;
    overflow: hidden;
    border: 1px solid var(--glass-border);
}

.notification-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.notification-content {
    font-size: 0.85rem;
}

.notification-name {
    font-weight: 700;
    color: var(--text-main);
    display: block;
}

.notification-action {
    color: var(--text-dim);
}

.notification-time {
    font-size: 0.7rem;
    color: var(--primary);
    display: block;
    margin-top: 2px;
}
