/* Never Have I Ever Generator Premium Custom Styling */

@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+Devanagari:wght@400;600;700;800&family=Playfair+Display:ital,wght@0,600;0,800;1,600&family=Space+Grotesk:wght@500;700;800&display=swap');

.apple-glass {
    background: rgba(18, 18, 20, 0.7);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.font-devanagari {
    font-family: 'Noto Sans Devanagari', 'Inter', sans-serif;
}

.lang-switch-btn.active {
    background: linear-gradient(135deg, #f43f5e 0%, #e11d48 100%);
    color: #ffffff !important;
    border-color: rgba(244, 63, 94, 0.5) !important;
    box-shadow: 0 4px 15px rgba(244, 63, 94, 0.35);
}

.category-tab-btn {
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    min-height: 40px;
}

.category-tab-btn:hover {
    border-color: rgba(244, 63, 94, 0.3);
    transform: translateY(-1px);
}

.category-tab-btn.active {
    background: linear-gradient(135deg, #f43f5e 0%, #e11d48 100%);
    color: #ffffff !important;
    border-color: rgba(244, 63, 94, 0.6) !important;
    box-shadow: 0 4px 18px rgba(244, 63, 94, 0.4);
}

.statement-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1.5px solid rgba(255, 255, 255, 0.08);
    transition: all 0.35s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.statement-card:hover {
    border-color: rgba(244, 63, 94, 0.4);
    box-shadow: 0 16px 36px -6px rgba(244, 63, 94, 0.2);
}

.age-gate-toggle {
    background: rgba(244, 63, 94, 0.1);
    border: 1px solid rgba(244, 63, 94, 0.3);
    transition: all 0.25s ease;
}

.age-gate-toggle.active {
    background: rgba(244, 63, 94, 0.25);
    border-color: rgba(244, 63, 94, 0.6);
    box-shadow: 0 0 18px rgba(244, 63, 94, 0.3);
}

/* Light Mode Overrides */
html:not(.dark) #lbl-nhie-select-cat,
html:not(.dark) #lbl-nhie-select-lang {
    color: #475569 !important;
}

html:not(.dark) .category-tab-btn {
    background-color: #f1f5f9 !important;
    border-color: #cbd5e1 !important;
    color: #334155 !important;
}

html:not(.dark) .category-tab-btn * {
    color: #334155 !important;
}

html:not(.dark) .category-tab-btn:hover {
    background-color: #ffe4e6 !important;
    border-color: #fb7185 !important;
    color: #e11d48 !important;
}

html:not(.dark) .category-tab-btn:hover * {
    color: #e11d48 !important;
}

html:not(.dark) .category-tab-btn.active {
    background: linear-gradient(135deg, #f43f5e 0%, #e11d48 100%) !important;
    border-color: #e11d48 !important;
    color: #ffffff !important;
    box-shadow: 0 4px 18px rgba(244, 63, 94, 0.35) !important;
}

html:not(.dark) .category-tab-btn.active * {
    color: #ffffff !important;
}

html:not(.dark) .statement-card {
    background-color: #ffffff !important;
    border-color: #e2e8f0 !important;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04) !important;
}

html:not(.dark) .statement-card #nhie-statement-text {
    color: #0f172a !important;
}

html:not(.dark) #nhie-cat-label,
html:not(.dark) #nhie-count-badge {
    background-color: #ffe4e6 !important;
    color: #be123c !important;
    border-color: #fb7185 !important;
}

html:not(.dark) button[onclick="recordAnswer(true)"] {
    background-color: #fff1f2 !important;
    border-color: #fecdd3 !important;
    color: #be123c !important;
}

html:not(.dark) button[onclick="recordAnswer(true)"] * {
    color: #be123c !important;
}

html:not(.dark) button[onclick="recordAnswer(false)"] {
    background-color: #f8fafc !important;
    border-color: #cbd5e1 !important;
    color: #334155 !important;
}

html:not(.dark) button[onclick="recordAnswer(false)"] * {
    color: #334155 !important;
}

html:not(.dark) button[onclick="generateNextNhie()"] {
    color: #ffffff !important;
}

html:not(.dark) button[onclick="generateNextNhie()"] * {
    color: #ffffff !important;
}

html:not(.dark) button[onclick="copyCurrentNhie()"] {
    background-color: #f1f5f9 !important;
    border-color: #cbd5e1 !important;
    color: #334155 !important;
}

html:not(.dark) button[onclick="copyCurrentNhie()"] * {
    color: #334155 !important;
}

html:not(.dark) #nhie-history-count {
    color: #64748b !important;
}

html:not(.dark) #lbl-nhie-suggest-btn {
    color: #e11d48 !important;
}
