/* ==========================================
   HOTWIFE CONFESSIONS - DARK & SEDUCTIVE
   ========================================== */

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

:root {
    --bg-dark: #0a0a0b;
    --bg-card: #141416;
    --bg-hover: #1a1a1d;
    --accent: #c9a87c;
    --accent-light: #d4bc9a;
    --accent-dark: #a88a5c;
    --text-primary: #f5f5f5;
    --text-secondary: #a0a0a0;
    --text-muted: #666;
    --border: #2a2a2d;
    --danger: #e74c3c;
    --success: #27ae60;
}

body {
    font-family: 'Montserrat', sans-serif;
    background: var(--bg-dark);
    min-height: 100vh;
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

/* ==========================================
   SCREENS
   ========================================== */

.screen {
    min-height: 100vh;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 24px 20px;
    position: relative;
}

.screen.active {
    display: flex;
}

/* ==========================================
   AGE GATE
   ========================================== */

#age-gate {
    background: linear-gradient(180deg, #0a0a0b 0%, #12121a 100%);
}

.gate-content {
    text-align: center;
    max-width: 400px;
}

.gate-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 24px;
    color: var(--accent);
    opacity: 0.8;
}

.gate-icon svg {
    width: 100%;
    height: 100%;
}

#age-gate h1 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 2.5rem;
    font-weight: 600;
    letter-spacing: 2px;
    margin-bottom: 8px;
    background: linear-gradient(135deg, var(--accent-light), var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.tagline {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 4px;
    color: var(--text-muted);
    margin-bottom: 32px;
}

.gate-divider {
    width: 60px;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--accent), transparent);
    margin: 0 auto 32px;
}

.age-text {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-bottom: 32px;
    line-height: 1.8;
}

.gate-buttons {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.btn-enter {
    padding: 16px 48px;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    background: linear-gradient(135deg, var(--accent), var(--accent-dark));
    color: var(--bg-dark);
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Montserrat', sans-serif;
}

.btn-enter:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(201, 168, 124, 0.3);
}

.btn-leave {
    padding: 14px 48px;
    font-size: 0.8rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 2px;
    background: transparent;
    color: var(--text-muted);
    border: 1px solid var(--border);
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Montserrat', sans-serif;
}

.btn-leave:hover {
    border-color: var(--text-muted);
    color: var(--text-secondary);
}

/* ==========================================
   WELCOME
   ========================================== */

#welcome {
    background: linear-gradient(180deg, #0a0a0b 0%, #0d0d12 100%);
}

.welcome-content {
    text-align: center;
    max-width: 500px;
}

#welcome h1 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 3rem;
    font-weight: 500;
    margin-bottom: 40px;
    color: var(--text-primary);
}

.intro-text {
    font-size: 1.05rem;
    color: var(--text-secondary);
    margin-bottom: 20px;
    line-height: 1.8;
}

.intro-text.highlight {
    color: var(--accent);
    font-weight: 500;
    margin-top: 32px;
    margin-bottom: 48px;
}

.btn-start {
    padding: 18px 64px;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 3px;
    background: transparent;
    color: var(--accent);
    border: 1px solid var(--accent);
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Montserrat', sans-serif;
}

.btn-start:hover {
    background: var(--accent);
    color: var(--bg-dark);
}

/* ==========================================
   QUIZ
   ========================================== */

#quiz {
    background: var(--bg-dark);
}

.quiz-container {
    width: 100%;
    max-width: 600px;
    position: relative;
    padding-bottom: 70px;
}

.quiz-progress {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 48px;
}

.progress-track {
    flex: 1;
    height: 2px;
    background: var(--border);
    border-radius: 1px;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background: var(--accent);
    width: 0%;
    transition: width 0.4s ease;
}

.progress-count {
    font-size: 0.8rem;
    color: var(--text-muted);
    min-width: 24px;
    text-align: right;
}

.category-badge {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: var(--accent);
    background: rgba(201, 168, 124, 0.1);
    padding: 10px 20px;
    border-radius: 2px;
    margin-bottom: 32px;
    border-left: 2px solid var(--accent);
}

.category-badge.hidden {
    display: none;
}

.question-area {
    margin-bottom: 40px;
}

.question-text {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.75rem;
    font-weight: 500;
    color: var(--text-primary);
    line-height: 1.5;
    margin-bottom: 12px;
}

.question-subtext {
    font-size: 0.9rem;
    color: var(--text-muted);
    font-style: italic;
}

.question-subtext:empty {
    display: none;
}

/* ==========================================
   OPTIONS
   ========================================== */

.options-area {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 32px;
}

.option-btn {
    padding: 20px 24px;
    font-size: 0.95rem;
    font-weight: 400;
    text-align: left;
    background: var(--bg-card);
    color: var(--text-primary);
    border: 1px solid var(--border);
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.2s ease;
    font-family: 'Montserrat', sans-serif;
    line-height: 1.5;
}

.option-btn:hover {
    background: var(--bg-hover);
    border-color: var(--accent);
    transform: translateX(4px);
}

.option-btn:active {
    background: rgba(201, 168, 124, 0.1);
}

.option-btn.intensity-low {
    border-left: 3px solid var(--success);
}

.option-btn.intensity-mid {
    border-left: 3px solid var(--accent);
}

.option-btn.intensity-high {
    border-left: 3px solid var(--danger);
}

/* ==========================================
   SLIDER
   ========================================== */

.slider-container {
    padding: 24px;
    background: var(--bg-card);
    border-radius: 8px;
    margin-bottom: 32px;
}

.slider-container.hidden {
    display: none;
}

.slider-labels {
    display: flex;
    justify-content: space-between;
    margin-bottom: 16px;
    font-size: 0.8rem;
    color: var(--text-muted);
}

.slider {
    width: 100%;
    height: 4px;
    background: var(--border);
    border-radius: 2px;
    outline: none;
    -webkit-appearance: none;
    appearance: none;
    cursor: pointer;
}

.slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 24px;
    height: 24px;
    background: var(--accent);
    border-radius: 50%;
    cursor: pointer;
    transition: transform 0.2s ease;
}

.slider::-webkit-slider-thumb:hover {
    transform: scale(1.1);
}

.slider::-moz-range-thumb {
    width: 24px;
    height: 24px;
    background: var(--accent);
    border-radius: 50%;
    cursor: pointer;
    border: none;
}

.slider-value {
    text-align: center;
    font-size: 2rem;
    font-weight: 600;
    color: var(--accent);
    margin: 24px 0;
    font-family: 'Cormorant Garamond', serif;
}

.btn-slider-submit {
    width: 100%;
    padding: 14px;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    background: var(--accent);
    color: var(--bg-dark);
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Montserrat', sans-serif;
}

.btn-slider-submit:hover {
    background: var(--accent-light);
}

/* ==========================================
   BACK BUTTON
   ========================================== */

.btn-back {
    position: absolute;
    bottom: 24px;
    left: 0;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 0;
    font-size: 0.8rem;
    background: transparent;
    border: none;
    color: var(--text-muted);
    cursor: pointer;
    transition: all 0.2s ease;
    font-family: 'Montserrat', sans-serif;
}

.btn-back:hover {
    color: var(--accent);
}

.btn-back.hidden {
    display: none;
}

/* ==========================================
   RESULTS
   ========================================== */

#result {
    background: linear-gradient(180deg, #0a0a0b 0%, #0d0d12 100%);
}

.result-content {
    text-align: center;
    max-width: 500px;
    width: 100%;
}

.result-header {
    margin-bottom: 40px;
}

.result-header h1 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 2.5rem;
    font-weight: 500;
    margin-bottom: 8px;
}

.result-tagline {
    font-size: 0.9rem;
    color: var(--text-muted);
    letter-spacing: 2px;
}

.result-score-area {
    margin-bottom: 40px;
}

.score-ring {
    position: relative;
    width: 160px;
    height: 160px;
    margin: 0 auto;
}

.score-ring svg {
    width: 100%;
    height: 100%;
    transform: rotate(-90deg);
}

.score-ring-bg {
    fill: none;
    stroke: var(--border);
    stroke-width: 4;
}

.score-ring-fill {
    fill: none;
    stroke: var(--accent);
    stroke-width: 4;
    stroke-linecap: round;
    stroke-dasharray: 283;
    stroke-dashoffset: 283;
    transition: stroke-dashoffset 1.5s ease;
}

.score-inner {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    align-items: baseline;
}

.score-number {
    font-family: 'Cormorant Garamond', serif;
    font-size: 3.5rem;
    font-weight: 600;
    color: var(--text-primary);
}

.score-percent {
    font-size: 1.25rem;
    color: var(--text-muted);
    margin-left: 2px;
}

.result-card {
    background: var(--bg-card);
    border-radius: 8px;
    padding: 32px 24px;
    margin-bottom: 32px;
    border: 1px solid var(--border);
}

.result-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.75rem;
    font-weight: 600;
    color: var(--accent);
    margin-bottom: 16px;
}

.result-desc {
    font-size: 1rem;
    color: var(--text-secondary);
    line-height: 1.8;
}

.result-insights {
    text-align: left;
    margin-bottom: 40px;
}

.insight-item {
    background: var(--bg-card);
    border-radius: 4px;
    padding: 16px 20px;
    margin-bottom: 12px;
    border-left: 2px solid var(--accent);
}

.insight-label {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--text-muted);
    margin-bottom: 6px;
}

.insight-value {
    font-size: 0.95rem;
    color: var(--text-primary);
}

.result-actions {
    display: flex;
    justify-content: center;
    gap: 16px;
}

.btn-restart {
    padding: 16px 48px;
    font-size: 0.85rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 2px;
    background: transparent;
    color: var(--text-secondary);
    border: 1px solid var(--border);
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Montserrat', sans-serif;
}

.btn-restart:hover {
    border-color: var(--accent);
    color: var(--accent);
}

/* ==========================================
   FEEDBACK TOAST
   ========================================== */

.feedback-toast {
    position: fixed;
    bottom: 100px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--bg-card);
    border: 1px solid var(--accent);
    border-radius: 8px;
    padding: 16px 24px;
    max-width: 90%;
    text-align: center;
    z-index: 1000;
    animation: toastIn 0.3s ease, toastOut 0.3s ease 1.7s forwards;
}

.feedback-toast.hidden {
    display: none;
}

.feedback-toast.intensity-low {
    border-color: var(--success);
}

.feedback-toast.intensity-mid {
    border-color: var(--accent);
}

.feedback-toast.intensity-high {
    border-color: var(--danger);
}

.feedback-toast .feedback-text {
    font-size: 0.95rem;
    color: var(--text-primary);
    font-style: italic;
    line-height: 1.5;
}

@keyframes toastIn {
    from {
        opacity: 0;
        transform: translateX(-50%) translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }
}

@keyframes toastOut {
    from {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }
    to {
        opacity: 0;
        transform: translateX(-50%) translateY(-20px);
    }
}

/* ==========================================
   ANIMATIONS
   ========================================== */

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

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateX(-20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.question-area {
    animation: fadeIn 0.5s ease;
}

.option-btn {
    animation: slideIn 0.4s ease;
    animation-fill-mode: both;
}

.option-btn:nth-child(1) { animation-delay: 0.1s; }
.option-btn:nth-child(2) { animation-delay: 0.15s; }
.option-btn:nth-child(3) { animation-delay: 0.2s; }
.option-btn:nth-child(4) { animation-delay: 0.25s; }
.option-btn:nth-child(5) { animation-delay: 0.3s; }

/* ==========================================
   RESPONSIVE
   ========================================== */

@media (min-width: 480px) {
    .gate-buttons {
        flex-direction: row;
        justify-content: center;
    }

    .question-text {
        font-size: 2rem;
    }
}

@media (min-width: 768px) {
    #age-gate h1 {
        font-size: 3rem;
    }

    #welcome h1 {
        font-size: 3.5rem;
    }

    .question-text {
        font-size: 2.25rem;
    }

    .option-btn {
        padding: 24px 28px;
        font-size: 1rem;
    }
}
