/* ─────────────────────────────────────────────────────────────────────────────
   Atmazai.lt – Custom CSS  (rampage.lt-inspired dark gaming aesthetic)
   Palette:
     --bg        #070B12   deepest background
     --surface   #0C1220   card surfaces
     --card      #101828   card bg
     --border    #1A2540   border
     --cyan      #06B6D4   teal accent (decorative)
     --green     #22C55E   primary CTA
     --text      #E2E8F0
     --muted     #64748B
───────────────────────────────────────────────────────────────────────────── */

/* ─── Resets & base ──────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
    background-color: #070B12;
    color: #E2E8F0;
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
}

/* ─── Google font preload (Inter) ────────────────────────────────────────────── */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800;900&display=swap');

/* ─── Navigation links ───────────────────────────────────────────────────────── */
.nav-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 7px 14px;
    border-radius: 8px;
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #8B9EC2;
    transition: color 0.15s, background 0.15s;
}
.nav-link:hover { color: #E2E8F0; background: rgba(255,255,255,0.06); }

.nav-btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 18px;
    border-radius: 8px;
    background: #22C55E;
    color: #070B12;
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    transition: background 0.15s, box-shadow 0.15s;
    box-shadow: 0 0 12px rgba(34,197,94,0.3);
}
.nav-btn-primary:hover {
    background: #4ADE80;
    box-shadow: 0 0 20px rgba(34,197,94,0.5);
}

.mobile-nav-link {
    display: block;
    padding: 11px 14px;
    border-radius: 8px;
    color: #8B9EC2;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    transition: color 0.15s, background 0.15s;
}
.mobile-nav-link:hover { color: #E2E8F0; background: rgba(255,255,255,0.05); }

/* ─── Buttons ─────────────────────────────────────────────────────────────────── */
.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 24px;
    background: #22C55E;
    color: #070B12;
    font-weight: 800;
    border-radius: 10px;
    font-size: 0.875rem;
    letter-spacing: 0.04em;
    transition: background 0.15s, box-shadow 0.15s, transform 0.1s;
    cursor: pointer;
    border: none;
    box-shadow: 0 0 14px rgba(34,197,94,0.25);
}
.btn-primary:hover { background: #4ADE80; box-shadow: 0 0 24px rgba(34,197,94,0.45); }
.btn-primary:active { transform: scale(0.97); }
.btn-primary:disabled { opacity: 0.5; cursor: not-allowed; box-shadow: none; }

.btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 24px;
    background: rgba(255,255,255,0.06);
    border: 1px solid #1A2540;
    color: #8B9EC2;
    font-weight: 600;
    border-radius: 10px;
    font-size: 0.875rem;
    transition: background 0.15s, color 0.15s;
    cursor: pointer;
}
.btn-secondary:hover { background: rgba(255,255,255,0.1); color: #E2E8F0; }

.btn-generate {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 36px;
    background: #22C55E;
    color: #070B12;
    font-weight: 900;
    border-radius: 14px;
    font-size: 1rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    transition: background 0.15s, transform 0.1s, box-shadow 0.2s;
    cursor: pointer;
    border: none;
    box-shadow: 0 0 0 0 rgba(34,197,94,0.5), 0 4px 24px rgba(34,197,94,0.2);
    animation: pulse-glow 3s ease-in-out infinite;
}
.btn-generate:hover {
    background: #4ADE80;
    box-shadow: 0 0 32px rgba(34,197,94,0.6), 0 4px 24px rgba(34,197,94,0.3);
    transform: translateY(-2px);
    animation: none;
}
.btn-generate:active { transform: scale(0.97); }

@keyframes pulse-glow {
    0%, 100% { box-shadow: 0 0 0 0 rgba(34,197,94,0.5), 0 4px 24px rgba(34,197,94,0.2); }
    50%       { box-shadow: 0 0 24px 4px rgba(34,197,94,0.35), 0 4px 24px rgba(34,197,94,0.2); }
}

/* ─── Action buttons ─────────────────────────────────────────────────────────── */
.action-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 7px 14px;
    background: rgba(255,255,255,0.04);
    border: 1px solid #1A2540;
    color: #64748B;
    font-size: 0.8rem;
    font-weight: 500;
    border-radius: 9px;
    transition: all 0.15s;
    cursor: pointer;
}
.action-btn:hover { background: rgba(255,255,255,0.08); color: #E2E8F0; border-color: #253348; }
.action-btn.liked {
    background: rgba(239,68,68,0.1);
    border-color: rgba(239,68,68,0.3);
    color: #FCA5A5;
}
.action-btn.favorited {
    background: rgba(234,179,8,0.1);
    border-color: rgba(234,179,8,0.3);
    color: #FDE68A;
}

.action-btn-sm {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 4px 10px;
    background: rgba(255,255,255,0.04);
    border: 1px solid #1A2540;
    color: #475569;
    font-size: 0.75rem;
    border-radius: 7px;
    transition: all 0.15s;
    cursor: pointer;
}
.action-btn-sm:hover { background: rgba(255,255,255,0.08); color: #E2E8F0; }

/* ─── Cards ──────────────────────────────────────────────────────────────────── */
.quote-card {
    background: #0C1220;
    border: 1px solid #1A2540;
    border-radius: 18px;
    padding: 28px;
    position: relative;
    overflow: hidden;
    transition: border-color 0.2s, box-shadow 0.2s;
}
.quote-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, #06B6D4, transparent);
    opacity: 0;
    transition: opacity 0.3s;
}
.quote-card:hover {
    border-color: #253348;
    box-shadow: 0 0 30px rgba(6,182,212,0.08), 0 8px 32px rgba(0,0,0,0.4);
}
.quote-card:hover::before { opacity: 1; }

.quote-card-sm {
    background: #0C1220;
    border: 1px solid #1A2540;
    border-left: 3px solid transparent;
    border-radius: 14px;
    padding: 18px;
    display: flex;
    flex-direction: column;
    transition: border-color 0.2s, transform 0.15s, box-shadow 0.2s;
    cursor: default;
}
.quote-card-sm:hover {
    border-left-color: #22C55E;
    border-color: #253348;
    transform: translateY(-2px);
    box-shadow: 0 4px 20px rgba(0,0,0,0.3);
}

.mini-card {
    background: #0C1220;
    border: 1px solid #1A2540;
    border-radius: 12px;
    padding: 16px;
    transition: border-color 0.2s, transform 0.15s, box-shadow 0.2s;
}
.mini-card:hover {
    border-color: rgba(34,197,94,0.3);
    transform: translateY(-2px);
    box-shadow: 0 4px 20px rgba(34,197,94,0.08);
}

/* ─── Forms ──────────────────────────────────────────────────────────────────── */
.form-input {
    width: 100%;
    background: #0C1220;
    border: 1px solid #1A2540;
    border-radius: 10px;
    padding: 12px 16px;
    color: #E2E8F0;
    font-size: 0.9rem;
    transition: border-color 0.15s, box-shadow 0.15s;
    outline: none;
}
.form-input::placeholder { color: #334155; }
.form-input:focus {
    border-color: #22C55E;
    box-shadow: 0 0 0 3px rgba(34,197,94,0.12);
}

.field-error {
    color: #FCA5A5;
    font-size: 0.78rem;
    margin-top: 5px;
}

/* ─── Pagination ─────────────────────────────────────────────────────────────── */
.page-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 38px;
    height: 38px;
    padding: 0 10px;
    background: #0C1220;
    border: 1px solid #1A2540;
    color: #64748B;
    font-size: 0.85rem;
    border-radius: 9px;
    transition: all 0.15s;
}
.page-btn:hover { background: #101828; color: #E2E8F0; border-color: #253348; }
.page-btn-active {
    background: #22C55E;
    border-color: #22C55E;
    color: #070B12;
    font-weight: 700;
    box-shadow: 0 0 14px rgba(34,197,94,0.35);
}

/* ─── Sort tabs ──────────────────────────────────────────────────────────────── */
.sort-tab {
    padding: 7px 16px;
    border-radius: 8px;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    color: #475569;
    transition: all 0.15s;
}
.sort-tab:hover { color: #E2E8F0; background: rgba(255,255,255,0.05); }
.sort-tab-active { background: #070B12; color: #E2E8F0; font-weight: 700; }

/* ─── Toast ──────────────────────────────────────────────────────────────────── */
.toast {
    position: fixed;
    bottom: 90px;
    left: 50%;
    transform: translateX(-50%) translateY(80px);
    padding: 12px 22px;
    border-radius: 12px;
    font-size: 0.875rem;
    font-weight: 600;
    z-index: 9999;
    box-shadow: 0 8px 32px rgba(0,0,0,0.5);
    transition: transform 0.35s cubic-bezier(0.34,1.56,0.64,1), opacity 0.3s;
    white-space: nowrap;
    pointer-events: none;
}
.toast.show { transform: translateX(-50%) translateY(0); }
.toast.hidden { display: none; }
.toast-success { background: #052E16; color: #86EFAC; border: 1px solid #166534; }
.toast-error   { background: #450A0A; color: #FECACA; border: 1px solid #7F1D1D; }
.toast-info    { background: #0C1A2E; color: #BAE6FD; border: 1px solid #0C4A6E; }

/* ─── Modal ──────────────────────────────────────────────────────────────────── */
.modal-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.75);
    backdrop-filter: blur(6px);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
}
.modal-backdrop.hidden { display: none; }

.modal-box {
    background: #0C1220;
    border: 1px solid #253348;
    border-radius: 18px;
    padding: 26px;
    width: 100%;
    max-width: 420px;
    animation: modalIn 0.2s ease;
    box-shadow: 0 20px 60px rgba(0,0,0,0.6);
}

.report-reason-label {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    background: rgba(255,255,255,0.03);
    border: 1px solid #1A2540;
    border-radius: 9px;
    cursor: pointer;
    font-size: 0.875rem;
    color: #8B9EC2;
    transition: all 0.15s;
}
.report-reason-label:hover { border-color: #22C55E40; color: #E2E8F0; }

/* ─── Cookie bar ─────────────────────────────────────────────────────────────── */
.cookie-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 900;
    background: #0C1220;
    border-top: 1px solid #1A2540;
    padding: 14px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
    box-shadow: 0 -4px 30px rgba(0,0,0,0.4);
    transform: translateY(100%);
    transition: transform 0.4s cubic-bezier(0.34,1.2,0.64,1);
}
.cookie-bar.visible { transform: translateY(0); }
.cookie-bar.hidden  { display: none; }

/* ─── Skeleton loader ────────────────────────────────────────────────────────── */
.skeleton {
    background: linear-gradient(90deg, #0C1220 25%, #1A2540 50%, #0C1220 75%);
    background-size: 200% 100%;
    animation: shimmer 1.5s infinite;
    border-radius: 6px;
}
@keyframes shimmer {
    0%   { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

/* ─── Animations ─────────────────────────────────────────────────────────────── */
@keyframes fadeIn {
    from { opacity: 0; }
    to   { opacity: 1; }
}
@keyframes slideUp {
    from { opacity: 0; transform: translateY(24px); }
    to   { opacity: 1; transform: translateY(0); }
}
@keyframes scaleIn {
    from { opacity: 0; transform: scale(0.94); }
    to   { opacity: 1; transform: scale(1); }
}
@keyframes modalIn {
    from { opacity: 0; transform: scale(0.9) translateY(24px); }
    to   { opacity: 1; transform: scale(1) translateY(0); }
}
@keyframes float {
    0%, 100% { transform: translateY(0); }
    50%       { transform: translateY(-8px); }
}

.animate-fade-in  { animation: fadeIn 0.4s ease both; }
.animate-slide-up { animation: slideUp 0.55s ease both; }
.animate-scale-in { animation: scaleIn 0.3s ease both; }

.delay-100 { animation-delay: 0.1s; }
.delay-200 { animation-delay: 0.2s; }
.delay-300 { animation-delay: 0.3s; }

/* ─── Hero dot-grid background ───────────────────────────────────────────────── */
.hero-bg {
    background-color: #070B12;
    background-image:
        radial-gradient(circle at 20% 50%, rgba(6,182,212,0.06) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(34,197,94,0.05) 0%, transparent 40%),
        radial-gradient(rgba(255,255,255,0.025) 1px, transparent 1px);
    background-size: 100% 100%, 100% 100%, 28px 28px;
}

/* ─── Stat badges ────────────────────────────────────────────────────────────── */
.stat-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 14px;
    background: rgba(6,182,212,0.08);
    border: 1px solid rgba(6,182,212,0.2);
    border-radius: 999px;
    font-size: 0.78rem;
    font-weight: 600;
    color: #06B6D4;
    letter-spacing: 0.04em;
}

/* ─── Section labels ─────────────────────────────────────────────────────────── */
.section-label {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #22C55E;
    margin-bottom: 12px;
}
.section-label::before {
    content: '';
    display: block;
    width: 16px;
    height: 2px;
    background: #22C55E;
    border-radius: 2px;
}

/* ─── Glow divider ───────────────────────────────────────────────────────────── */
.glow-line {
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(6,182,212,0.4), transparent);
}

/* ─── Line clamp ─────────────────────────────────────────────────────────────── */
.line-clamp-3 {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.line-clamp-4 {
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* ─── Quote marks ────────────────────────────────────────────────────────────── */
.quote-marks {
    font-family: Georgia, 'Times New Roman', serif;
    line-height: 1;
    user-select: none;
    color: rgba(6,182,212,0.25);
}

/* ─── Scrollbar ──────────────────────────────────────────────────────────────── */
::-webkit-scrollbar { width: 7px; height: 7px; }
::-webkit-scrollbar-track { background: #070B12; }
::-webkit-scrollbar-thumb { background: #1A2540; border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: #253348; }

/* ─── Legal page content ─────────────────────────────────────────────────────── */
.legal-content h2 { font-size: 1.15rem; font-weight: 700; color: #E2E8F0; margin: 28px 0 10px; }
.legal-content h3 { font-size: 0.95rem; font-weight: 600; color: #94A3B8; margin: 20px 0 8px; }
.legal-content p  { color: #8B9EC2; line-height: 1.75; margin-bottom: 12px; font-size: 0.9rem; }
.legal-content ul { color: #8B9EC2; padding-left: 20px; margin-bottom: 12px; font-size: 0.9rem; }
.legal-content ul li { margin-bottom: 6px; line-height: 1.7; }
.legal-content a  { color: #22C55E; text-decoration: underline; }
.legal-content a:hover { color: #4ADE80; }


/* ─── Resets & base ──────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }

/* ─── Navigation links ───────────────────────────────────────────────────────── */
.nav-link {
    display: inline-flex;
    align-items: center;
    padding: 6px 14px;
    border-radius: 10px;
    font-size: 0.875rem;
    color: #94a3b8;
    transition: color 0.15s, background 0.15s;
}
.nav-link:hover { color: #f1f5f9; background: #1e293b; }

.nav-btn-primary {
    display: inline-flex;
    align-items: center;
    padding: 7px 18px;
    border-radius: 10px;
    background: #22c55e;
    color: #0f172a;
    font-size: 0.875rem;
    font-weight: 700;
    transition: background 0.15s;
}
.nav-btn-primary:hover { background: #4ade80; }

.mobile-nav-link {
    display: block;
    padding: 10px 12px;
    border-radius: 10px;
    color: #94a3b8;
    font-size: 0.9rem;
    transition: color 0.15s, background 0.15s;
}
.mobile-nav-link:hover { color: #f1f5f9; background: #1e293b; }

/* ─── Buttons ─────────────────────────────────────────────────────────────────── */
.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 22px;
    background: #22c55e;
    color: #0f172a;
    font-weight: 700;
    border-radius: 12px;
    font-size: 0.9rem;
    transition: background 0.15s, transform 0.1s;
    cursor: pointer;
    border: none;
}
.btn-primary:hover { background: #4ade80; }
.btn-primary:active { transform: scale(0.97); }
.btn-primary:disabled { opacity: 0.6; cursor: not-allowed; }

.btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 22px;
    background: #334155;
    color: #e2e8f0;
    font-weight: 600;
    border-radius: 12px;
    font-size: 0.9rem;
    transition: background 0.15s;
    cursor: pointer;
    border: none;
}
.btn-secondary:hover { background: #475569; }

.btn-generate {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 32px;
    background: #22c55e;
    color: #0f172a;
    font-weight: 800;
    border-radius: 16px;
    font-size: 1.05rem;
    transition: background 0.15s, transform 0.1s, box-shadow 0.15s;
    cursor: pointer;
    border: none;
    box-shadow: 0 0 0 0 rgba(34,197,94,0.4);
}
.btn-generate:hover {
    background: #4ade80;
    box-shadow: 0 0 24px 0 rgba(34,197,94,0.3);
    transform: translateY(-1px);
}
.btn-generate:active { transform: scale(0.98); }

/* ─── Action buttons ─────────────────────────────────────────────────────────── */
.action-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 7px 14px;
    background: #1e293b;
    border: 1px solid #334155;
    color: #94a3b8;
    font-size: 0.8rem;
    border-radius: 10px;
    transition: all 0.15s;
    cursor: pointer;
}
.action-btn:hover { background: #334155; color: #f1f5f9; border-color: #475569; }
.action-btn.liked { background: #450a0a; border-color: #7f1d1d; color: #fca5a5; }
.action-btn.favorited { background: #1e3a5f; border-color: #1d4ed8; color: #93c5fd; }

.action-btn-sm {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 4px 10px;
    background: #1e293b;
    border: 1px solid #334155;
    color: #64748b;
    font-size: 0.75rem;
    border-radius: 8px;
    transition: all 0.15s;
    cursor: pointer;
}
.action-btn-sm:hover { background: #334155; color: #f1f5f9; }

/* ─── Cards ──────────────────────────────────────────────────────────────────── */
.quote-card {
    background: #1e293b;
    border: 1px solid #334155;
    border-radius: 20px;
    padding: 28px;
    transition: border-color 0.2s;
}
.quote-card:hover { border-color: #475569; }

.quote-card-sm {
    background: #1e293b;
    border: 1px solid #334155;
    border-radius: 16px;
    padding: 18px;
    display: flex;
    flex-direction: column;
    transition: border-color 0.2s, transform 0.15s;
    cursor: default;
}
.quote-card-sm:hover { border-color: #475569; transform: translateY(-2px); }

.mini-card {
    background: #1e293b;
    border: 1px solid #334155;
    border-radius: 14px;
    padding: 16px;
    transition: border-color 0.2s, transform 0.15s;
}
.mini-card:hover { border-color: #22c55e40; transform: translateY(-2px); }

/* ─── Forms ──────────────────────────────────────────────────────────────────── */
.form-input {
    width: 100%;
    background: #1e293b;
    border: 1px solid #334155;
    border-radius: 12px;
    padding: 12px 16px;
    color: #f1f5f9;
    font-size: 0.9rem;
    transition: border-color 0.15s, box-shadow 0.15s;
    outline: none;
}
.form-input::placeholder { color: #475569; }
.form-input:focus {
    border-color: #22c55e;
    box-shadow: 0 0 0 3px rgba(34,197,94,0.15);
}

.field-error {
    color: #fca5a5;
    font-size: 0.78rem;
    margin-top: 4px;
}

/* ─── Pagination ─────────────────────────────────────────────────────────────── */
.page-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 38px;
    height: 38px;
    padding: 0 10px;
    background: #1e293b;
    border: 1px solid #334155;
    color: #94a3b8;
    font-size: 0.85rem;
    border-radius: 10px;
    transition: all 0.15s;
}
.page-btn:hover { background: #334155; color: #f1f5f9; }
.page-btn-active {
    background: #22c55e;
    border-color: #22c55e;
    color: #0f172a;
    font-weight: 700;
}

/* ─── Sort tabs ──────────────────────────────────────────────────────────────── */
.sort-tab {
    padding: 7px 16px;
    border-radius: 9px;
    font-size: 0.85rem;
    color: #64748b;
    transition: all 0.15s;
}
.sort-tab:hover { color: #f1f5f9; background: #1e293b; }
.sort-tab-active { background: #0f172a; color: #f1f5f9; font-weight: 600; }

/* ─── Toast ──────────────────────────────────────────────────────────────────── */
.toast {
    position: fixed;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%) translateY(80px);
    padding: 12px 22px;
    border-radius: 12px;
    font-size: 0.875rem;
    font-weight: 600;
    z-index: 9999;
    box-shadow: 0 8px 30px rgba(0,0,0,0.4);
    transition: transform 0.3s cubic-bezier(0.34,1.56,0.64,1), opacity 0.3s;
    white-space: nowrap;
    pointer-events: none;
}
.toast.show {
    transform: translateX(-50%) translateY(0);
}
.toast.hidden { display: none; }
.toast-success { background: #166534; color: #bbf7d0; border: 1px solid #15803d; }
.toast-error   { background: #7f1d1d; color: #fecaca; border: 1px solid #991b1b; }
.toast-info    { background: #1e3a5f; color: #bfdbfe; border: 1px solid #1d4ed8; }

/* ─── Modal ──────────────────────────────────────────────────────────────────── */
.modal-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.7);
    backdrop-filter: blur(4px);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
}
.modal-backdrop.hidden { display: none; }

.modal-box {
    background: #1e293b;
    border: 1px solid #334155;
    border-radius: 20px;
    padding: 24px;
    width: 100%;
    max-width: 420px;
    animation: modalIn 0.2s ease;
}

.report-reason-label {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    background: #0f172a;
    border: 1px solid #334155;
    border-radius: 10px;
    cursor: pointer;
    font-size: 0.875rem;
    color: #94a3b8;
    transition: all 0.15s;
}
.report-reason-label:hover { border-color: #22c55e; color: #f1f5f9; }

/* ─── Skeleton loader ────────────────────────────────────────────────────────── */
.skeleton {
    background: linear-gradient(90deg, #1e293b 25%, #334155 50%, #1e293b 75%);
    background-size: 200% 100%;
    animation: shimmer 1.5s infinite;
}
@keyframes shimmer {
    0%   { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

/* ─── Animations ─────────────────────────────────────────────────────────────── */
@keyframes fadeIn {
    from { opacity: 0; }
    to   { opacity: 1; }
}
@keyframes slideUp {
    from { opacity: 0; transform: translateY(20px); }
    to   { opacity: 1; transform: translateY(0); }
}
@keyframes scaleIn {
    from { opacity: 0; transform: scale(0.95); }
    to   { opacity: 1; transform: scale(1); }
}
@keyframes modalIn {
    from { opacity: 0; transform: scale(0.9) translateY(20px); }
    to   { opacity: 1; transform: scale(1) translateY(0); }
}

.animate-fade-in  { animation: fadeIn 0.4s ease both; }
.animate-slide-up { animation: slideUp 0.5s ease both; }
.animate-scale-in { animation: scaleIn 0.3s ease both; }

.delay-100 { animation-delay: 0.1s; }
.delay-200 { animation-delay: 0.2s; }

/* ─── Line clamp ─────────────────────────────────────────────────────────────── */
.line-clamp-3 {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.line-clamp-4 {
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* ─── Quote marks ────────────────────────────────────────────────────────────── */
.quote-marks {
    font-family: Georgia, 'Times New Roman', serif;
    line-height: 1;
    user-select: none;
}

/* ─── Scrollbar ──────────────────────────────────────────────────────────────── */
::-webkit-scrollbar { width: 8px; height: 8px; }
::-webkit-scrollbar-track { background: #0f172a; }
::-webkit-scrollbar-thumb { background: #334155; border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: #475569; }
