/* ══════════════════════════════════════════════════════════════════
   DARK THEME — SubTranslate / Subtitle Tools
   CSS complet pentru index.php + panel_header.php + auth pages
   ══════════════════════════════════════════════════════════════════ */

/* ── Reset global ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

/* ── Variabile Dark (default) ── */
:root,
[data-theme="dark"] {
    --gold:           #C9A84C;
    --gold-light:     #E8C97A;
    --gold-dim:       rgba(201,168,76,0.15);
    --gold-rgb:       201,168,76;
    --bg:             #011222;
    --bg2:            #020D19;
    --bg3:            #010a12;
    --bg-alt:         #010a12;
    --surface2:       #020D19;
    --surface3:       #011222;
    --card-bg:        #020D19;
    --text:           #E8E0D0;
    --text-dim:       #8A8070;
    --border:         rgba(201,168,76,0.2);
    --radius:         4px;
    --success:        #4caf7d;
    --danger:         #e05252;
    --warning:        #f0a500;
    --info:           #6ab4ff;
    --accent:         #C9A84C;
    --sidebar:        240px;
    --nav-bg:         rgba(1,18,34,0.92);
    --mobile-menu-bg: rgba(2,13,25,0.97);
}

/* ── Body ── */
body {
    font-family: 'DM Sans', sans-serif;
    background: var(--bg);
    color: var(--text);
    overflow-x: hidden;
    min-height: 100vh;
}

/* ── Noise texture (dark only) ── */
[data-theme="dark"] body::before {
    content: '';
    position: fixed; inset: 0; z-index: 0;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.04'/%3E%3C/svg%3E");
    pointer-events: none;
}

/* ── NAVBAR ── */
.main-nav {
    position: fixed; top: 0; left: 0; right: 0; z-index: 100;
    display: flex; align-items: center; justify-content: space-between;
    padding: 0 1.25rem;
    background: var(--nav-bg);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
}

.nav-logo {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.6rem;
    font-weight: 600;
    color: var(--gold);
    text-decoration: none;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.nav-links { display: flex; align-items: center; gap: 2rem; }

.nav-links a {
    color: var(--text-dim);
    text-decoration: none;
    font-size: 0.85rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    transition: color 0.3s;
}
.nav-links a:hover { color: var(--gold); }

.sidebar-logo { height: 40px; }

/* ── BUTTONS ── */
.btn {
    display: inline-flex; align-items: center; gap: 0.5rem;
    padding: 0.65rem 1.6rem;
    border: 1px solid var(--gold);
    background: transparent;
    color: var(--gold);
    font-family: 'DM Sans', sans-serif;
    font-size: 0.82rem;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s;
    border-radius: var(--radius);
}
.btn:hover {
    background: var(--gold);
    color: var(--bg);
}
.btn-solid {
    background: var(--gold);
    color: #000;
}
.btn-solid:hover {
    background: var(--gold-light);
    border-color: var(--gold-light);
}
.btn-top { color: #000 !important; }

.lang-switcher {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    font-size: .75rem;
    letter-spacing: 1px;
}

/* ── HERO ── */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 10rem 2rem 4rem;
    overflow: hidden;
}

.film-strip {
    position: absolute;
    top: 0; bottom: 0;
    width: 60px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    opacity: 0.2;
    animation: filmRoll 20s linear infinite;
}
.film-strip.left { left: 0; }
.film-strip.right { right: 0; }
.film-hole {
    width: 40px;
    height: 28px;
    border: 2px solid var(--gold);
    border-radius: 3px;
    margin: 0 auto;
    flex-shrink: 0;
}
@keyframes filmRoll {
    0% { transform: translateY(0); }
    100% { transform: translateY(-200px); }
}

.hero-glow {
    position: absolute;
    width: 600px; height: 600px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(201,168,76,0.08) 0%, transparent 70%);
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    pointer-events: none;
}

.hero-eyebrow {
    font-size: 0.75rem;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 1.5rem;
    opacity: 0;
    animation: fadeUp 0.8s ease 0.2s forwards;
}

.hero-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(3rem, 8vw, 7rem);
    font-weight: 300;
    line-height: 1.05;
    letter-spacing: -1px;
    margin-bottom: 1.5rem;
    opacity: 0;
    animation: fadeUp 0.8s ease 0.4s forwards;
}
.hero-title em { font-style: italic; color: var(--gold); }

.hero-subtitle {
    font-size: 1.05rem;
    color: var(--text-dim);
    max-width: 520px;
    line-height: 1.7;
    margin-bottom: 3rem;
    font-weight: 300;
    opacity: 0;
    animation: fadeUp 0.8s ease 0.6s forwards;
}

.hero-cta {
    display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap;
    opacity: 0;
    animation: fadeUp 0.8s ease 0.8s forwards;
}

.hero-stats {
    max-width: 1100px;
    display: flex;
    gap: 3rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 5rem;
    padding-top: 3rem;
    border-top: 1px solid var(--border);
    opacity: 0;
    animation: fadeUp 0.8s ease 1s forwards;
}

.stat {
    text-align: center;
    width: 260px;
    padding: 20px 10px;
    border: 1px solid var(--border);
    background: rgba(2,13,25,0.31);
    transition: all 0.3s;
}
.stat:hover {
    border-color: rgba(201,168,76,0.4);
    background: var(--gold-dim);
    transform: translateY(-4px);
}
.stat-num {
    font-family: 'Cormorant Garamond', serif;
    font-size: 2.5rem;
    color: var(--gold);
    font-weight: 300;
    display: block;
}
.stat-label {
    font-size: 0.75rem;
    color: var(--text-dim);
    letter-spacing: 1px;
    text-transform: uppercase;
}

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

/* ── LANG TICKER ── */
.lang-ticker {
    background: var(--bg2);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    padding: 1rem 0;
    overflow: hidden;
}
.ticker-inner {
    display: flex; gap: 2rem;
    animation: ticker 30s linear infinite;
    width: max-content;
}
@keyframes ticker {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
}
.ticker-item {
    font-size: 0.8rem;
    color: var(--text-dim);
    letter-spacing: 1px;
    white-space: nowrap;
    display: flex; align-items: center; gap: 0.5rem;
}
.ticker-item::after { content: '✦'; color: var(--gold); margin-left: 1rem; }

/* ── SECTIONS ── */
section { position: relative; z-index: 1; }

.section-pad { padding: 6rem 4rem; max-width: 1100px; margin: 0 auto; }

.section-label {
    font-size: 0.7rem;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 1rem;
}

.section-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 300;
    line-height: 1.1;
    margin-bottom: 1rem;
}
.section-title em { font-style: italic; color: var(--gold); }

/* ── STEPS ── */
.steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 0;
    margin-top: 4rem;
    border: 1px solid var(--border);
    background: linear-gradient(135deg, var(--bg2) 0%, var(--bg3) 100%);
}
.step {
    padding: 2.5rem;
    border-right: 1px solid var(--border);
    position: relative;
    transition: background 0.3s;
}
.step:last-child { border-right: none; }
.step:hover { background: var(--gold-dim); }
.step-num {
    font-family: 'Cormorant Garamond', serif;
    font-size: 3rem;
    color: var(--border);
    font-weight: 300;
    line-height: 1;
    margin-bottom: 1rem;
}
.step-icon { font-size: 1.8rem; margin-bottom: 1rem; }
.step h3 { font-size: 1rem; font-weight: 500; margin-bottom: 0.5rem; color: var(--text); }
.step p { font-size: 0.88rem; color: var(--text-dim); line-height: 1.6; }

/* ── PRICING ── */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.5rem;
    margin-top: 4rem;
}
.pricing-card {
    border: 1px solid var(--border);
    padding: 2.5rem;
    position: relative;
    transition: border-color 0.3s, transform 0.3s;
    background: var(--bg2);
}
.pricing-card:hover { border-color: var(--gold); transform: translateY(-4px); }
.pricing-card.featured {
    border-color: var(--gold);
    background: linear-gradient(135deg, var(--bg3) 0%, rgba(201,168,76,0.05) 100%);
}
.pricing-badge {
    position: absolute;
    top: -12px; left: 50%;
    transform: translateX(-50%);
    background: var(--gold);
    color: var(--bg);
    font-size: 0.65rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    padding: 0.3rem 1rem;
    font-weight: 500;
}
.price-credits {
    font-family: 'Cormorant Garamond', serif;
    font-size: 3rem;
    color: var(--gold);
    font-weight: 300;
    line-height: 1;
}
.price-unit { font-size: 0.8rem; color: var(--text-dim); margin-bottom: 0.5rem; }
.price-amount { font-size: 1.8rem; font-weight: 300; margin-bottom: 0.25rem; }
.price-per { font-size: 0.8rem; color: var(--text-dim); margin-bottom: 2rem; }
.price-features { list-style: none; margin-bottom: 2rem; }
.price-features li {
    font-size: 0.88rem;
    color: var(--text-dim);
    padding: 0.5rem 0;
    border-bottom: 1px solid rgba(255,255,255,0.05);
    display: flex; align-items: center; gap: 0.5rem;
}
.price-features li::before { content: '✦'; color: var(--gold); font-size: 0.6rem; }

/* ── FEATURES ── */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 4rem;
}
.feature-card {
    padding: 2rem;
    border: 1px solid var(--border);
    background: var(--bg2);
    transition: all 0.3s;
}
.feature-card:hover {
    border-color: rgba(201,168,76,0.4);
    background: var(--gold-dim);
    transform: translateY(-4px);
}
.feature-icon { font-size: 2rem; margin-bottom: 1rem; }
.feature-card h3 { font-size: 1.05rem; margin-bottom: 0.5rem; font-weight: 500; }
.feature-card p { font-size: 0.88rem; color: var(--text-dim); line-height: 1.6; }

/* ── CTA BANNER ── */
.cta-banner {
    background: linear-gradient(135deg, var(--bg2) 0%, var(--bg3) 100%);
    border: 1px solid var(--border);
    margin: 0 4rem;
    padding: 5rem 4rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}
.cta-banner::before {
    content: '';
    position: absolute; inset: 0;
    background: radial-gradient(ellipse at center, rgba(201,168,76,0.06) 0%, transparent 70%);
    pointer-events: none;
}

/* ── FOOTER ── */
footer {
    border-top: 1px solid var(--border);
    padding: 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 4rem;
}
footer p { font-size: 0.8rem; color: var(--text-dim); }
footer a { color: var(--gold); text-decoration: none; }

/* ── HAMBURGER ── */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 4px;
    background: none;
    border: none;
}
.hamburger span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--gold);
    transition: all 0.3s;
    border-radius: 2px;
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ── MOBILE MENU ── */
.mobile-menu {
    display: none;
    position: fixed;
    top: 64px; right: 0;
    background: var(--mobile-menu-bg);
    backdrop-filter: blur(20px);
    border: 2px solid var(--gold-dim);
    padding: 1.5rem 2rem;
    flex-direction: column;
    gap: 0;
    z-index: 99;
}
.mobile-menu.open { display: flex; width: 300px; }
.mobile-menu a {
    color: var(--text-dim);
    text-decoration: none;
    font-size: 0.9rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    padding: 0.9rem 0;
    border-bottom: 1px solid var(--border);
    transition: color 0.2s;
}
.mobile-menu a:hover { color: var(--gold); }
.mobile-menu a:last-child { border-bottom: none; }
.mobile-menu .btn { margin-top: 1rem; text-align: center; justify-content: center; }
.mobile-lang {
    padding: 0.9rem 0;
    border-bottom: 1px solid var(--border);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* ── PANEL HEADER (admin/user) ── */
.sidebar {
    background: var(--bg2);
    border-right: 1px solid var(--border);
}
.sidebar-nav a {
    color: var(--text-dim);
    transition: all 0.2s;
}
.sidebar-nav a:hover,
.sidebar-nav a.active {
    background: var(--gold-dim);
    color: var(--gold);
}

.card { background: var(--bg2); border: 1px solid var(--border); padding: 1.5rem; }
.stat-card { background: var(--bg2); border: 1px solid var(--border); padding: 1.5rem; }

/* Tables */
th {
    background: var(--bg3);
    color: var(--text-dim);
    font-size: 0.7rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    border-bottom: 1px solid var(--border);
    padding: 0.75rem 1rem;
    text-align: left;
}
td { padding: 0.75rem 1rem; border-bottom: 1px solid var(--border); }
tr:hover td { background: var(--gold-dim); }

/* Inputs */
input, select, textarea {
    background: var(--bg3);
    color: var(--text);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 0.75rem 1rem;
    font-family: 'DM Sans', sans-serif;
    font-size: small;
    width: 100%;
    transition: border-color 0.3s;
}
input:focus, select:focus, textarea:focus {
    outline: none;
    border-color: var(--gold);
}
#methodFfs { width: auto; }
#methodAlass { width: auto; }

/* Badges */
.badge {
    display: inline-block;
    padding: 0.2rem 0.6rem;
    border-radius: 3px;
    font-size: 0.75rem;
    font-weight: 500;
}
.badge-success { background: rgba(82,201,126,0.15); color: var(--success); }
.badge-warning { background: rgba(201,168,76,0.15); color: var(--gold); }
.badge-danger  { background: rgba(224,82,82,0.15);  color: var(--danger); }
.badge-info    { background: rgba(100,180,255,0.15); color: var(--info); }
.badge-secondary { background: rgba(138,128,112,.15); color: var(--text-dim); border: 1px solid rgba(138,128,112,.2); }

/* Drop zone */
.drop-zone {
    border: 2px dashed var(--border);
    border-radius: 10px;
    padding: 2.5rem;
    text-align: center;
    cursor: pointer;
    transition: all 0.2s;
    background: var(--bg2);
}
.drop-zone:hover, .drop-zone.dragover {
    border-color: var(--gold);
    background: rgba(201,168,76,0.05);
}

/* Progress */
.progress-bar-wrap {
    background: var(--bg3);
    border-radius: 20px;
    height: 10px;
    overflow: hidden;
    border: 1px solid var(--border);
}
.progress-bar-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--gold), #f0a500);
    border-radius: 20px;
    transition: width 0.4s;
    width: 0%;
}

/* Error/Result boxes */
.error-box {
    background: rgba(220,53,69,.1);
    border: 1px solid rgba(220,53,69,.3);
    border-radius: 8px;
    color: #e57373;
    padding: 0.75rem 1rem;
}
.result-box {
    background: var(--bg-alt);
    border-radius: 10px;
    padding: 1.5rem;
    text-align: center;
}

/* Info box */
.info-box {
    background: rgba(201,168,76,.08);
    border: 1px solid rgba(201,168,76,.2);
    border-radius: 10px;
    padding: 1rem 1.2rem;
}

/* Alert */
.alert-success {
    background: rgba(76,175,125,0.1);
    border: 1px solid rgba(76,175,125,0.3);
    color: var(--success);
    padding: 0.75rem 1rem;
    border-radius: 4px;
    margin-bottom: 1rem;
}

/* Auth pages */
.auth-card {
    background: var(--bg2);
    border: 1px solid var(--border);
    padding: 2.5rem;
    border-radius: var(--radius);
}
.auth-card h1 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.8rem;
    font-weight: 300;
    margin-bottom: 0.25rem;
}
.auth-card h1 em { font-style: italic; color: var(--gold); }
.auth-card .subtitle { color: var(--text-dim); font-size: 0.85rem; margin-bottom: 2rem; }

/* Scrollbar */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg2); }
::-webkit-scrollbar-thumb { background: var(--border); border-radius: 3px; }

/* Theme toggle button */
.theme-toggle-btn {
    background: none;
    border: 1px solid var(--border);
    border-radius: 50%;
    width: 32px;
    height: 32px;
    cursor: pointer;
    font-size: 1rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
    color: var(--text);
    flex-shrink: 0;
    padding: 0;
    line-height: 1;
}
.theme-toggle-btn:hover {
    background: var(--gold-dim);
    border-color: var(--gold);
}

/* ── RESPONSIVE ── */
@media (max-width: 1150px) {
    nav { padding: 1rem 1.5rem; }
    .nav-links { display: none; }
    .hamburger { display: flex; }
    .section-pad { padding: 4rem 1.5rem; }
    .hero { padding: 7rem 1.5rem 3rem; }
    .hero-stats { gap: 2rem; }
    .steps { grid-template-columns: 1fr; }
    .step { border-right: none; border-bottom: 1px solid var(--border); }
    .cta-banner { margin: 0 1.5rem; padding: 3rem 1.5rem; }
    footer { flex-direction: column; gap: 1rem; text-align: center; }
}

/* ══════════════════════════════════════════════════════════════════
   PANEL HEADER (admin/user pages)
   ══════════════════════════════════════════════════════════════════ */

/* Body panel */
body.panel-body {
    font-family: 'DM Sans', sans-serif;
    background: var(--bg);
    color: var(--text);
    min-height: 100vh;
    display: flex;
}

/* Lang switcher */
.lang-switcher { display:inline-flex;align-items:center;gap:0.4rem;font-size:0.75rem;letter-spacing:1px; }
.lang-switcher a { text-decoration:none;transition:color .2s; }
.lang-switcher a:hover { color:var(--gold) !important; }
.lang-sep { color:var(--border); }

/* Password input */
input[type="password"] {
    background: var(--bg3) !important;
    border: 1px solid var(--border);
    color: var(--text);
    -webkit-box-shadow: 0 0 0 1000px var(--bg3) inset !important;
    -webkit-text-fill-color: var(--text) !important;
}

/* ── SIDEBAR ── */
.sidebar {
    width: var(--sidebar, 240px);
    background: var(--bg2);
    border-right: 1px solid var(--border);
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 0; bottom: 0;
    z-index: 50;
    overflow-y: auto;
}
.sidebar-logo {
    height: 86px;
    padding: 1.5rem;
    border-bottom: 1px solid var(--border);
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.2rem;
    color: var(--gold);
    letter-spacing: 2px;
    text-decoration: none;
    text-transform: uppercase;
}
.sidebar-logo-mobile {
    height: 88px;
    padding: 1rem;
    border-bottom: 1px solid var(--border);
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.2rem;
    color: var(--gold);
    letter-spacing: 2px;
    text-decoration: none;
    text-transform: uppercase;
}
.sidebar-section {
    padding: 1.5rem 0.75rem 0.5rem;
    font-size: 0.65rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--text-dim);
}
.sidebar nav a {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.7rem 1rem;
    margin: 0.15rem 0.5rem;
    color: var(--text-dim);
    text-decoration: none;
    font-size: 0.88rem;
    border-radius: 3px;
    transition: all 0.2s;
}
.sidebar nav a:hover,
.sidebar nav a.active {
    background: var(--gold-dim);
    color: var(--gold);
}
.sidebar-footer {
    margin-top: auto;
    padding: 1rem;
    border-top: 1px solid var(--border);
}
.user-info { margin-bottom: 0.75rem; }
.user-name { font-size: 0.88rem; font-weight: 500; }
.user-credits {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    font-size: 0.75rem;
    color: var(--gold);
    background: var(--gold-dim);
    padding: 0.25rem 0.6rem;
    border-radius: 2px;
    margin-top: 0.25rem;
}
.btn-logout {
    display: block;
    text-align: center;
    padding: 0.6rem;
    border: 1px solid var(--border);
    color: var(--text-dim);
    text-decoration: none;
    font-size: 0.8rem;
    transition: all 0.2s;
}
.btn-logout:hover { border-color: var(--danger); color: var(--danger); }

/* ── MAIN CONTENT ── */
.main-content {
    margin-left: var(--sidebar, 240px);
    flex: 1;
    padding: 2rem;
    max-width: calc(100vw - var(--sidebar, 240px));
    overflow-x: hidden;
}

/* ── PAGE HEADER ── */
.page-header {
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--border);
}
.page-header h1 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 2rem;
    font-weight: 300;
}
.page-header h1 em { font-style: italic; color: var(--gold); }
.page-header p { color: var(--text-dim); font-size: 0.9rem; margin-top: 0.25rem; }

/* ── CARDS ── */
.card { background: var(--bg2); border: 1px solid var(--border); padding: 1.5rem; }
.card h2 {
    font-size: 0.75rem;
    font-weight: 500;
    margin-bottom: 1rem;
    color: var(--text-dim);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* ── STAT CARDS ── */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 1rem;
    margin-bottom: 1.5rem;
}
.stat-card { background: var(--bg2); border: 1px solid var(--border); padding: 1.5rem; }
.stat-card .num {
    font-family: 'Cormorant Garamond', serif;
    font-size: 2.5rem;
    font-weight: 300;
    color: var(--gold);
}
.stat-card .label {
    font-size: 0.75rem;
    color: var(--text-dim);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 0.25rem;
}

/* ── TABLE ── */
.table-wrap { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; font-size: 0.88rem; }
th {
    text-align: left;
    padding: 0.75rem 1rem;
    background: var(--bg3);
    color: var(--text-dim);
    font-size: 0.7rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    border-bottom: 1px solid var(--border);
}
td {
    padding: 0.85rem 1rem;
    border-bottom: 1px solid rgba(255,255,255,0.04);
    vertical-align: middle;
}
tr:hover td { background: var(--gold-dim); }

/* ── BADGES ── */
.badge {
    display: inline-block;
    padding: 0.2rem 0.6rem;
    font-size: 0.7rem;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    border-radius: 2px;
}
.badge-success { background: rgba(82,201,126,0.15); color: var(--success); }
.badge-warning { background: rgba(201,168,76,0.15); color: var(--gold); }
.badge-danger  { background: rgba(224,82,82,0.15);  color: var(--danger); }
.badge-info    { background: rgba(100,180,255,0.15); color: #6ab4ff; }
.badge-secondary { background: rgba(138,128,112,.15); color: var(--text-dim); border: 1px solid rgba(138,128,112,.2); }

/* ── FORMS ── */
.form-group { margin-bottom: 1.25rem; }
.form-group label {
    display: block;
    font-size: 0.75rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--text-dim);
    margin-bottom: 0.5rem;
}
.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.8rem 1rem;
    background: var(--bg3);
    border: 1px solid var(--border);
    color: var(--text);
    font-family: 'DM Sans', sans-serif;
    font-size: 0.9rem;
    outline: none;
    transition: border-color 0.3s;
}
.form-group input:focus,
.form-group select:focus { border-color: var(--gold); }
.form-group select option { background: var(--bg3); }

/* ── BUTTONS ── */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.6rem 1.4rem;
    border: 1px solid var(--gold);
    background: transparent;
    color: var(--gold);
    font-family: 'DM Sans', sans-serif;
    font-size: 0.8rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.25s;
    text-decoration: none;
    border-radius: 2px;
}
.btn:hover { background: var(--gold); color: var(--bg); }
.btn-solid { background: var(--gold); color: var(--bg); }
.btn-solid:hover { background: var(--gold-light); }
.btn-sm { padding: 0.4rem 0.9rem; font-size: 0.72rem; }
.btn-danger { border-color: var(--danger); color: var(--danger); }
.btn-danger:hover { background: var(--danger); color: #fff; }

/* ── ALERTS ── */
.alert {
    padding: 0.85rem 1rem;
    font-size: 0.88rem;
    margin-bottom: 1.25rem;
    border-left: 3px solid;
}
.alert-success { background: rgba(82,201,126,0.08); border-color: var(--success); color: var(--success); }
.alert-error   { background: rgba(224,82,82,0.08);   border-color: var(--danger);  color: var(--danger); }
.alert-info    { background: rgba(201,168,76,0.08);  border-color: var(--gold);    color: var(--gold); }

/* ── GRID ── */
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }

/* ── DROP AREA ── */
.drop-area {
    border: 2px dashed var(--border);
    padding: 2.5rem 2rem;
    text-align: center;
    cursor: pointer;
    transition: all 0.35s;
    position: relative;
    overflow: hidden;
}
.drop-area::before {
    content: '';
    position: absolute; inset: 0;
    background: radial-gradient(ellipse at center, rgba(201,168,76,0.08) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.35s;
    pointer-events: none;
}
.drop-area:hover::before,
.drop-area.drag-over::before { opacity: 1; }
.drop-area:hover,
.drop-area.drag-over {
    border-color: var(--gold);
    border-style: solid;
    transform: translateY(-2px);
    box-shadow: 0 8px 32px rgba(201,168,76,0.12);
}
.drop-area.drag-over { background: rgba(201,168,76,0.06); }
.drop-area.file-loaded { border-color: var(--success); border-style: solid; }
.drop-area .icon { font-size: 2.5rem; margin-bottom: 1rem; transition: transform 0.3s; }
.drop-area:hover .icon,
.drop-area.drag-over .icon { transform: scale(1.15) translateY(-3px); }
.drop-area p { color: var(--text-dim); font-size: 0.9rem; }
.drop-area strong { color: var(--gold); }
#fileInput { position: absolute; inset: 0; opacity: 0; cursor: pointer; }

/* ── CIRC PROGRESS ── */
.circ-progress-wrap {
    display: none;
    align-items: center;
    gap: 1rem;
    margin-top: 0.75rem;
    padding: 0.75rem 1rem;
    background: var(--bg3);
    border: 1px solid var(--border);
}
.circ-progress-wrap.visible { display: flex; }
.circ-ring { transform: rotate(-90deg); flex-shrink: 0; }
.circ-ring-bg { fill: none; stroke: var(--border); stroke-width: 4; }
.circ-ring-fill {
    fill: none; stroke: var(--gold); stroke-width: 4; stroke-linecap: round;
    stroke-dasharray: 100.53; stroke-dashoffset: 100.53;
    transition: stroke-dashoffset 0.4s ease;
}
.circ-ring-fill.done { stroke: var(--success); }
.circ-label { font-size: 0.82rem; color: var(--text-dim); flex: 1; }
.circ-pct { font-family: 'Cormorant Garamond', serif; font-size: 1.1rem; color: var(--gold); min-width: 40px; text-align: right; }

/* ── SRT MODAL ── */
.srt-modal {
    display: none; position: fixed; inset: 0; z-index: 300;
    background: rgba(0,0,0,0.78); backdrop-filter: blur(4px);
    align-items: center; justify-content: center;
}
.srt-modal.open { display: flex; }
.srt-modal-box {
    background: var(--bg2); border: 1px solid var(--border);
    width: min(860px, 95vw); max-height: 86vh;
    display: flex; flex-direction: column;
    box-shadow: 0 24px 64px rgba(0,0,0,0.7);
    animation: modal-in 0.2s ease;
}
@keyframes modal-in { from { opacity:0; transform:translateY(12px); } to { opacity:1; transform:none; } }
.srt-modal-head {
    display: flex; align-items: center; justify-content: space-between;
    padding: 1rem 1.5rem; border-bottom: 1px solid var(--border); flex-shrink: 0;
}
.srt-modal-head h3 {
    font-size: 0.75rem; letter-spacing: 2px; text-transform: uppercase;
    color: var(--text-dim); margin: 0;
}
.srt-modal-head-right { display: flex; align-items: center; gap: 0.75rem; }
.srt-modal-close {
    background: none; border: none; color: var(--text-dim);
    font-size: 1.4rem; cursor: pointer; line-height: 1; transition: color 0.2s;
}
.srt-modal-close:hover { color: var(--gold); }
.srt-modal-body { flex: 1; overflow-y: auto; padding: 1rem 1.5rem; }
.srt-modal-foot {
    padding: 1rem 1.5rem; border-top: 1px solid var(--border);
    display: flex; gap: 0.75rem; justify-content: flex-end; flex-shrink: 0;
}
.srt-cue {
    display: grid; grid-template-columns: 28px 1fr;
    gap: 0.4rem 1rem; padding: 0.7rem 0;
    border-bottom: 1px solid rgba(255,255,255,0.04);
}
.srt-cue:last-child { border-bottom: none; }
.srt-cue-num { color: var(--text-dim); font-size: 0.7rem; padding-top: 0.2rem; text-align: right; }
.srt-cue-time { color: var(--gold); font-size: 0.7rem; letter-spacing: 0.5px; margin-bottom: 0.2rem; }
.srt-cue-text { color: var(--text); line-height: 1.6; font-size: 0.88rem; }
.srt-cue-text[contenteditable=true] {
    outline: none; border-bottom: 1px dashed transparent;
    transition: border-color 0.2s; padding-bottom: 1px; min-height: 1.2em;
}
.srt-cue-text[contenteditable=true]:focus { border-bottom-color: var(--gold); }
.srt-edit-badge {
    font-size: 0.65rem; letter-spacing: 1px; text-transform: uppercase;
    background: rgba(201,168,76,0.15); color: var(--gold);
    padding: 0.15rem 0.5rem; border-radius: 2px;
}

/* ── TOPBAR MOBILE ── */
.topbar {
    display: none;
    position: fixed; top: 0; left: 0; right: 0; z-index: 200;
    height: 56px;
    background: var(--bg2);
    border-bottom: 1px solid var(--border);
    align-items: center;
    justify-content: space-between;
    padding: 0 1.25rem;
}
.topbar-logo {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.1rem; color: var(--gold);
    text-decoration: none; letter-spacing: 2px; text-transform: uppercase;
}
.topbar-right { display: flex; align-items: center; gap: 1rem; }
.topbar-credits {
    font-size: 0.75rem; color: var(--gold);
    background: var(--gold-dim); padding: 0.2rem 0.6rem; border-radius: 2px;
}
.hamburger-panel {
    display: flex; flex-direction: column; gap: 5px;
    cursor: pointer; background: none; border: none; padding: 4px;
}
.hamburger-panel span {
    display: block; width: 22px; height: 2px;
    background: var(--gold); border-radius: 2px; transition: all 0.3s;
}
.hamburger-panel.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger-panel.open span:nth-child(2) { opacity: 0; }
.hamburger-panel.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ── OVERLAY ── */
.sidebar-overlay {
    display: none; position: fixed; inset: 0; z-index: 99;
    background: rgba(0,0,0,0.6); backdrop-filter: blur(2px);
}
.sidebar-overlay.open { display: block; }

/* ── RESPONSIVE PANEL ── */
@media (max-width: 900px) {
    .topbar { display: flex; }
    .sidebar {
        transform: translateX(-100%);
        transition: transform 0.3s ease;
        top: 56px;
        z-index: 100;
    }
    .sidebar.open { transform: translateX(0); position: fixed; right: 0; }
    .main-content { margin-left: 0; padding-top: 4.5rem; max-width: 100vw; width: 100%; }
    .grid-2 { grid-template-columns: 1fr; }
    .grid-3 { grid-template-columns: 1fr; }
    .stats-grid { grid-template-columns: repeat(2, 1fr); }
    .sidebar-logo-mobile { display: none; border-bottom: none; }
    .sidebar-logo { border-bottom: none; }
    .topbar { padding: 0 1.25rem 0 0; }
}
@media (max-width: 480px) {
    .stats-grid { grid-template-columns: 1fr 1fr; }
    .main-content { padding: 4.5rem 1rem 1rem; }
}

/* Panel layout — sidebar + main content */
.panel-layout { display: flex; min-height: 100vh; }


/* Panel layout — sidebar + main content */
.panel-layout { display: flex; min-height: 100vh; }


/* Fix nav din sidebar — nu aplica stilul nav din index.php */
.sidebar nav {
    position: static;
    display: block;
    padding: 0;
    background: none;
    border: none;
    backdrop-filter: none;
}


/* Fix nav din sidebar */
.sidebar nav {
    position: static;
    display: block;
    padding: 0;
    background: none;
    border: none;
    backdrop-filter: none;
}

aside.sidebar nav { position: static; display: block; padding: 0; background: none; border: none; backdrop-filter: none; }

/* ══ CONTACT PAGE ══ */
.contact-main { flex:1; display:grid; grid-template-columns:1fr 1fr; max-width:1100px; margin:0 auto; padding:10rem 2rem 0 2rem; gap:5rem; width:100%; }
.contact-info .eyebrow { font-size:.72rem; letter-spacing:4px; text-transform:uppercase; color:var(--gold); margin-bottom:1rem; margin-top: 0; }
.contact-info h1 { font-family:'Cormorant Garamond',serif; font-size:clamp(2.5rem,5vw,4rem); font-weight:300; line-height:1.1; margin-bottom:1.5rem; }
.contact-info h1 em { font-style:italic; color:var(--gold); }
.contact-info p { color:var(--text-dim); font-size:.95rem; line-height:1.8; margin-bottom:2.5rem; }
.info-card { display:flex; align-items:flex-start; gap:1rem; padding:1.25rem; background:var(--bg2); border:1px solid var(--border); border-radius:8px; margin-bottom:.75rem; transition:border-color .2s; }
.info-card:hover { border-color:rgba(201,168,76,.5); }
.info-icon { font-size:1.4rem; flex-shrink:0; margin-top:.1rem; }
.info-card h4 { font-size:.78rem; letter-spacing:1px; text-transform:uppercase; color:var(--gold); margin-bottom:.25rem; }
.info-card p { color:var(--text-dim); font-size:.88rem; margin:0; }
.info-card a { color:var(--text-dim); text-decoration:none; transition:color .2s; }
.info-card a:hover { color:var(--gold); }
.contact-form { background:var(--bg2); border:1px solid var(--border); border-radius:12px; padding:2.5rem; }
.contact-form h2 { font-family:'Cormorant Garamond',serif; font-size:1.6rem; font-weight:300; margin-bottom:.4rem; }
.contact-form h2 em { color:var(--gold); font-style:italic; }
.contact-form .subtitle { color:var(--text-dim); font-size:.85rem; margin-bottom:2rem; }
.form-row { display:grid; grid-template-columns:1fr 1fr; gap:1rem; }
.form-group { margin-bottom:1.25rem; }
label { display:block; font-size:.75rem; letter-spacing:1px; text-transform:uppercase; color:var(--text-dim); margin-bottom:.5rem; }
textarea { resize:vertical; min-height:130px; }
.success-state { text-align:center; padding:2rem 1rem; }
.success-icon { font-size:3rem; margin-bottom:1rem; }
.success-state h3 { font-family:'Cormorant Garamond',serif; font-size:1.8rem; font-weight:300; margin-bottom:.75rem; }
.success-state h3 em { color:var(--gold); font-style:italic; }
.success-state p { color:var(--text-dim); font-size:.9rem; line-height:1.7; margin-bottom:1.5rem; }
@media (max-width:768px) { .contact-main { grid-template-columns:1fr; padding:3rem 1.5rem; gap:2rem; } .form-row { grid-template-columns:1fr; } }

/* ══ FAQ PAGE ══ */
.faq-hero { text-align:center; padding:2rem 2rem 3rem; border-bottom:1px solid var(--border); background:linear-gradient(180deg,rgba(201,168,76,.04) 0%,transparent 100%); }
.faq-hero .eyebrow { font-size:.72rem; letter-spacing:4px; text-transform:uppercase; color:var(--gold); margin-bottom:1rem; }
.faq-hero h1 { font-family:'Cormorant Garamond',serif; font-size:clamp(2.5rem,6vw,4.5rem); font-weight:300; line-height:1.1; }
.faq-hero h1 em { font-style:italic; color:var(--gold); }
.faq-hero p { color:var(--text-dim); margin-top:1rem; font-size:.95rem; max-width:500px; margin-inline:auto; }
.toc { display:flex; flex-wrap:wrap; justify-content:center; gap:.6rem; padding:2rem 4rem; border-bottom:1px solid var(--border); }
.toc a { padding:.4rem 1rem; border:1px solid var(--border); border-radius:99px; color:var(--text-dim); text-decoration:none; font-size:.8rem; transition:all .2s; }
.toc a:hover { border-color:var(--gold); color:var(--gold); }
.faq-content { max-width:860px; margin:0 auto; padding:3rem 2rem 6rem; }
.faq-section { margin-bottom:4rem; }
.faq-section .section-label { font-size:.68rem; letter-spacing:4px; text-transform:uppercase; color:var(--gold); margin-bottom:.75rem; }
.faq-section .section-title { font-family:'Cormorant Garamond',serif; font-size:2rem; font-weight:300; margin-bottom:2rem; padding:1rem 0 1rem 2rem; border-bottom:2px solid var(--border); background:var(--bg2); }
.faq-section .section-title em { font-style:italic; color:var(--gold); }
.faq-item { border-bottom:1px solid var(--border); }
.faq-q { display:flex; justify-content:space-between; align-items:center; padding:1.25rem 0; cursor:pointer; gap:1rem; font-size:.95rem; font-weight:500; transition:color .2s; list-style:none; user-select:none; }
.faq-q:hover { color:var(--gold); }
.faq-q::after { content:'▾'; color:var(--gold); font-size:1.5rem; flex-shrink:0; transition:transform .3s; }
.faq-item.open .faq-q::after { transform:rotate(180deg); }
.faq-a { display:none; padding:0 0 1.5rem 0; color:var(--text-dim); font-size:.9rem; line-height:1.8; }
.faq-item.open .faq-a { display:block; background:var(--bg2); border:1px solid var(--border); border-radius:8px; padding:.85rem 1rem; }
.faq-a strong { color:var(--text); }
.faq-a a { color:var(--gold); }
.format-grid { display:grid; grid-template-columns:1fr 1fr; gap:1rem; margin-top:1rem; }
.format-card { background:var(--bg2); border:1px solid var(--border); border-radius:8px; padding:1rem 1.25rem; }
.format-card h4 { font-size:.78rem; letter-spacing:2px; text-transform:uppercase; color:var(--gold); margin-bottom:.75rem; }
.format-card ul { list-style:none; font-size:.85rem; color:var(--text-dim); line-height:2; }
.format-card ul li::before { content:'✦ '; color:var(--gold); font-size:.7rem; }
.format-card.warn { border-color:rgba(220,53,69,.3); }
.format-card.warn h4 { color:var(--danger); }
.format-card.warn ul li::before { content:'✗ '; color:var(--danger); }
.steps-mini { display:flex; flex-direction:column; gap:.75rem; margin-top:1rem; }
.step-mini { display:flex; gap:1rem; align-items:flex-start; background:var(--bg2); border:1px solid var(--border); border-radius:8px; padding:.85rem 1rem; }
.step-num-mini { font-family:'Cormorant Garamond',serif; font-size:1.4rem; color:var(--gold); font-weight:300; line-height:1; flex-shrink:0; width:28px; text-align:center; }
.step-mini p { font-size:.88rem; color:var(--text-dim); line-height:1.6; margin-top:.1rem; }
.step-mini strong { color:var(--text); }
.badge-ok { display:inline-block; padding:.15rem .6rem; border-radius:99px; font-size:.72rem; background:rgba(40,167,69,.15); color:#4caf7d; border:1px solid rgba(40,167,69,.3); margin-right:.3rem; }
.badge-no { display:inline-block; padding:.15rem .6rem; border-radius:99px; font-size:.72rem; background:rgba(220,53,69,.12); color:#f17070; border:1px solid rgba(220,53,69,.25); margin-right:.3rem; }
.faq-cta { text-align:center; padding:3rem 2rem; border:1px solid var(--border); border-radius:12px; background:linear-gradient(135deg,var(--bg2),var(--bg3)); margin-top:3rem; }
.faq-cta h3 { font-family:'Cormorant Garamond',serif; font-size:2rem; font-weight:300; margin-bottom:.75rem; }
.faq-cta h3 em { color:var(--gold); font-style:italic; }
.faq-cta p { color:var(--text-dim); font-size:.9rem; margin-bottom:1.5rem; }
@media (max-width:768px) { .toc { padding:1.5rem; } .faq-content { padding:2rem 1.25rem 4rem; } .format-grid { grid-template-columns:1fr; } }

/* ══ PRIVACY / TERMS PAGES ══ */
nav.main { position: fixed; top: 0; left: 0; right: 0; z-index: 100; display: flex; align-items: center; justify-content: space-between; padding: 1.25rem; background: var(--nav-bg); backdrop-filter: blur(20px); border-bottom: 1px solid var(--border); }
.hero-legal, .eyebrow { font-size:.72rem; letter-spacing:4px; text-transform:uppercase; color:var(--gold); margin-bottom:1rem; margin-top: 120px; text-align: center; }
.hero-legal h1 { font-family:'Cormorant Garamond',serif; font-size:clamp(2rem,5vw,3.5rem); font-weight:300; }
.hero-legal h1 em { font-style:italic; color:var(--gold); }
.hero-legal .updated { color:var(--text-dim); font-size:.85rem; margin-top:.75rem; }
.content { max-width:860px; margin:0 auto; padding:3rem 2rem 6rem; }
.section { margin-bottom:3rem; }
.section h2 { font-family:'Cormorant Garamond',serif; font-size:1.6rem; font-weight:300; padding:.75rem 0 .75rem 1.5rem; border-left:2px solid var(--gold); margin-bottom:1.25rem; color:var(--text); }
.section h2 em { color:var(--gold); font-style:italic; }
.section p { color:var(--text-dim); font-size:.92rem; line-height:1.85; margin-bottom:.85rem; }
.section ul { list-style:none; padding:0; margin:.75rem 0 .85rem 0; }
.section ul li { color:var(--text-dim); font-size:.92rem; line-height:1.85; padding:.2rem 0 .2rem 1.5rem; position:relative; }
.section ul li::before { content:'✦'; color:var(--gold); font-size:.65rem; position:absolute; left:0; top:.45rem; }
.section strong { color:var(--text); }
.section a { color:var(--gold); }
.info-card { background:var(--bg2); border:1px solid var(--border); border-radius:10px; padding:1.25rem 1.5rem; margin:1rem 0; }
.info-card p { margin-bottom:0; }
.info-card a { color:var(--text-dim); }
.info-card a:hover { color:var(--gold); }
.divider { border:none; border-top:1px solid var(--border); margin:2.5rem 0; }
.toc-legal { background:var(--bg2); border:1px solid var(--border); border-radius:10px; padding:1.5rem; margin-bottom:2.5rem; }
.toc-legal h3 { font-size:.75rem; letter-spacing:3px; text-transform:uppercase; color:var(--gold); margin-bottom:1rem; }
.toc-legal ol { padding-left:1.25rem; }
.toc-legal ol li { margin-bottom:.4rem; }
.toc-legal ol li a { color:var(--text-dim); font-size:.88rem; text-decoration:none; transition:color .2s; }
.toc-legal ol li a:hover { color:var(--gold); text-decoration: underline; }
@media (max-width:768px) { .content { padding:2rem 1.25rem 4rem; } }

/* ══ AUTH PAGES (login, register, forgot-password) ══ */
.auth-container { width:100%; max-width:420px; padding:2rem; }
.auth-logo { text-align:center; margin-bottom:2.5rem; }
.auth-logo a { font-family:'Cormorant Garamond',serif; font-size:2rem; color:var(--gold); text-decoration:none; letter-spacing:3px; text-transform:uppercase; }
.auth-card { background:var(--bg2); border:1px solid var(--border); padding:2.5rem; }
.auth-card h1 { font-family:'Cormorant Garamond',serif; font-size:1.8rem; font-weight:300; margin-bottom:0.25rem; }
.auth-card h1 em { font-style:italic; color:var(--gold); }
.auth-card .subtitle { color:var(--text-dim); font-size:0.85rem; margin-bottom:2rem; line-height:1.6; }
.form-group { margin-bottom:1.25rem; }
.form-group label { display:block; font-size:0.75rem; letter-spacing:1px; text-transform:uppercase; color:var(--text-dim); margin-bottom:0.5rem; }
.form-group input { width:100%; padding:0.85rem 1rem; background:var(--bg3); border:1px solid var(--border); color:var(--text); font-family:'DM Sans',sans-serif; font-size:0.95rem; outline:none; transition:border-color 0.3s; border-radius:4px; }
.form-group input:focus { border-color:var(--gold); }
.error-msg { background:rgba(220,50,50,0.1); border:1px solid rgba(220,50,50,0.3); color:#ff6b6b; padding:0.75rem 1rem; font-size:0.85rem; margin-bottom:1.25rem; border-radius:4px; }
.alert-error { background:rgba(220,50,50,0.1); border:1px solid rgba(220,50,50,0.3); color:#ff6b6b; padding:0.75rem 1rem; font-size:0.85rem; margin-bottom:1.25rem; border-radius:4px; }
.btn-full { width:100%; padding:0.9rem; background:var(--gold); color:var(--bg); border:none; font-family:'DM Sans',sans-serif; font-size:0.85rem; font-weight:500; letter-spacing:1.5px; text-transform:uppercase; cursor:pointer; transition:background 0.3s; border-radius:4px; }
.btn-full:hover { background:var(--gold-light); }
.auth-footer { text-align:center; margin-top:1.5rem; font-size:0.85rem; color:var(--text-dim); }
.auth-footer a { color:var(--gold); text-decoration:none; }
.code-input { text-align:center; font-size:2rem; letter-spacing:8px; font-weight:700; color:var(--gold); background:var(--bg3); border:2px solid var(--border); border-radius:8px; padding:1rem; width:100%; }
.code-input:focus { border-color:var(--gold); outline:none; }
.email-badge { background:var(--gold-dim); border:1px solid var(--border); border-radius:4px; padding:.4rem .75rem; font-size:.85rem; color:var(--gold); text-align:center; margin-bottom:1.25rem; }
.resend-link { font-size:.8rem; color:var(--text-dim); text-align:center; margin-top:.75rem; }
.resend-link a { color:var(--gold); text-decoration:none; cursor:pointer; }

/* Auth body centering */
body.auth-body { display:flex; align-items:center; justify-content:center; min-height:100vh; }

/* ══ MAINTENANCE PAGE ══ */
.subtitle { margin-bottom: 20px; }
.glow-orb { position:fixed; border-radius:50%; filter:blur(120px); pointer-events:none; animation:drift 8s ease-in-out infinite alternate; }
.glow-orb-1 { width:600px; height:600px; background:radial-gradient(circle,rgba(201,168,76,0.08) 0%,transparent 70%); top:-200px; left:50%; transform:translateX(-50%); }
.glow-orb-2 { width:400px; height:400px; background:radial-gradient(circle,rgba(100,80,180,0.05) 0%,transparent 70%); bottom:-100px; right:10%; animation-delay:-4s; }
@keyframes drift { from { transform:translateX(-50%) translateY(0); } to { transform:translateX(-50%) translateY(30px); } }
.film-strip-maint { position:fixed; top:0; bottom:0; width:32px; background:rgba(10,8,16,0.9); border-right:1px solid rgb(201 168 76/43%); display:flex; flex-direction:column; justify-content:space-around; align-items:center; padding:20px 0; z-index:2; }
.film-strip-maint.right { right:0; left:auto; border-right:none; border-left:1px solid rgb(201 168 76/43%); }
.film-hole-maint { width:18px; height:12px; border-radius:3px; background:var(--bg); border:1px solid rgb(201 168 76/43%); flex-shrink:0; }
.stage { position:fixed; inset:0; display:flex; flex-direction:column; align-items:center; justify-content:center; padding:2rem 80px; z-index:10; }
.reel-wrap { margin-bottom:2.5rem; position:relative; }
.reel { width:90px; height:90px; border-radius:50%; border:2px solid var(--border); position:relative; animation:spin 4s linear infinite; }
.reel::before { content:''; position:absolute; inset:8px; border-radius:50%; border:1px solid rgba(201,168,76,0.2); }
.reel::after { content:''; position:absolute; inset:20px; border-radius:50%; background:var(--gold-dim); border:1px solid var(--gold); }
.reel-spoke { position:absolute; inset:0; display:flex; align-items:center; justify-content:center; }
.reel-spoke::before,.reel-spoke::after { content:''; position:absolute; width:2px; height:100%; background:linear-gradient(to bottom,transparent 25%,rgba(201,168,76,0.4) 25%,rgba(201,168,76,0.4) 75%,transparent 75%); border-radius:1px; }
.reel-spoke::after { transform:rotate(60deg); }
.reel-spoke-2::before { transform:rotate(120deg); }
.reel-hub { position:absolute; inset:0; display:flex; align-items:center; justify-content:center; }
.reel-hub::after { content:''; width:14px; height:14px; border-radius:50%; background:var(--gold); box-shadow:0 0 12px rgba(201,168,76,0.25); }
@keyframes spin { from { transform:rotate(0deg); } to { transform:rotate(360deg); } }
.reel-glow { position:absolute; inset:-20px; border-radius:50%; background:radial-gradient(circle,rgba(201,168,76,0.25) 0%,transparent 70%); animation:pulse-glow 3s ease-in-out infinite; }
@keyframes pulse-glow { 0%,100% { opacity:0.5; transform:scale(0.95); } 50% { opacity:1; transform:scale(1.05); } }
.eyebrow { font-size:0.68rem; letter-spacing:5px; text-transform:uppercase; color:var(--gold); margin-bottom:1.2rem; opacity:0; animation:fadeUp 0.8s ease 0.2s forwards; }
.progress-wrap { width:280px; margin-bottom:2.5rem; opacity:0; animation:fadeUp 0.8s ease 0.8s forwards; }
.progress-label { display:flex; justify-content:space-between; font-size:0.72rem; letter-spacing:1px; text-transform:uppercase; color:var(--text-dim); margin-bottom:0.6rem; }
.progress-bar { height:2px; background:var(--border); border-radius:1px; overflow:hidden; }
.progress-fill-maint { height:100%; background:linear-gradient(90deg,var(--gold),var(--gold-light)); border-radius:1px; animation:progress-anim 3s ease-in-out infinite; box-shadow:0 0 8px rgba(201,168,76,0.25); }
@keyframes progress-anim { 0% { width:15%; margin-left:0; } 50% { width:40%; margin-left:30%; } 100% { width:15%; margin-left:85%; } }
.eta-box { display:flex; gap:2rem; opacity:0; animation:fadeUp 0.8s ease 1s forwards; }
.eta-item { text-align:center; }
.eta-val { font-family:'Cormorant Garamond',serif; font-size:1.4rem; font-weight:300; color:var(--gold); display:block; }
.eta-lbl { font-size:0.68rem; letter-spacing:2px; text-transform:uppercase; color:var(--text-dim); }
.eta-sep { width:1px; background:var(--border); align-self:stretch; }
.gold-rule { width:60px; height:1px; background:linear-gradient(90deg,transparent,var(--gold),transparent); margin:2rem auto; opacity:0; animation:fadeUp 0.8s ease 1.2s forwards; }
.maint-footer { position:fixed; bottom:1.5rem; left:0; right:0; text-align:center; font-size:0.72rem; color:var(--text-dim); letter-spacing:1px; z-index:10; opacity:0; animation:fadeIn 1s ease 1.5s forwards; }
.maint-footer a { color:var(--gold); text-decoration:none; }
@keyframes fadeIn { from { opacity:0; } to { opacity:1; } }
@media (max-width:600px) { .film-strip-maint { width:20px; } .film-hole-maint { width:12px; height:8px; } .stage { padding:2rem 30px; } }
