@import url('https://fonts.googleapis.com/css2?family=Google+Sans:ital,opsz,wght@0,17..18,400..700;1,17..18,400..700&display=swap');

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

:root {
  --bg:         #0a0a0f;
  --bg-2:       #0f0f18;
  --bg-3:       #14141f;
  --bg-4:       #1a1a2a;
  --bg-5:       #202032;
  --glass:      rgba(255,255,255,0.04);
  --glass-2:    rgba(255,255,255,0.07);
  --line:       rgba(255,255,255,0.07);
  --line-2:     rgba(255,255,255,0.12);
  --text:       #ededf0;
  --text-2:     #9898a8;
  --text-3:     #55556a;
  --accent:     #7c9fff;
  --accent-dim: rgba(124,159,255,0.15);
  --accent-glow:rgba(124,159,255,0.15);
  --red:        #ff6b7a;
  --red-dim:    rgba(255,107,122,0.12);
  --green:      #52d98c;
  --green-dim:  rgba(82,217,140,0.12);
  --blue:       #7c9fff;
  --serif:      "Google Sans", sans-serif;
  --sans:       'Instrument Sans', system-ui, sans-serif;
  --mono:       'Geist Mono', monospace;
  --radius:     16px;
  --radius-sm:  10px;
  --radius-lg:  24px;
  --radius-xl:  32px;
  --shadow:     0 8px 32px rgba(0,0,0,0.5);
  --shadow-lg:  0 20px 60px rgba(0,0,0,0.7);
  --blur:       blur(12px);
}

html { scroll-behavior: smooth; }
body { font-family: var(--sans); font-size: 15px; line-height: 1.6; color: var(--text); background: var(--bg); min-height: 100vh; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; font-family: var(--sans); }
img { max-width: 100%; display: block; }

.navbar { background: rgba(10,10,15,0.85); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 200; display: flex; align-items: center; justify-content: space-between; padding: 0 2rem; backdrop-filter: var(--blur); -webkit-backdrop-filter: var(--blur); }
.nav-logo { padding: 1rem 0; cursor: pointer; }
.nav-logo h1 { font-family: var(--serif); font-size: 1.3rem; font-weight: 400; letter-spacing: 0.2px; color: var(--text); }
.nav-logo span { display: block; font-size: 9px; letter-spacing: 3px; color: var(--text-3); font-weight: 500; margin-top: 2px; font-family: var(--mono); text-transform: uppercase; }
.nav-links { display: flex; gap: .2rem; }
.nav-links a { display: flex; align-items: center; padding: .45rem .9rem; font-size: 12px; font-weight: 500; letter-spacing: .5px; color: var(--text-3); border-radius: 50px; transition: all .2s; cursor: pointer; user-select: none; }
.nav-links a:hover { color: var(--text); background: var(--glass); }
.nav-links a.active { color: var(--text); background: var(--glass-2); }
.nav-right { display: flex; align-items: center; gap: .6rem; }
.btn-steam-nav { background: var(--glass); color: var(--text-2); border: 1px solid var(--line-2); padding: .45rem 1rem; font-size: 11.5px; font-weight: 500; display: flex; align-items: center; gap: .4rem; cursor: pointer; border-radius: 50px; transition: all .2s; }
.btn-steam-nav:hover { background: var(--glass-2); color: var(--text); }
.user-pill { display: flex; align-items: center; gap: .45rem; cursor: pointer; padding: .3rem .65rem .3rem .3rem; border: 1px solid var(--line); border-radius: 50px; background: var(--glass); transition: all .2s; }
.user-pill:hover { background: var(--glass-2); border-color: var(--line-2); }
.u-avatar { width: 26px; height: 26px; background: var(--accent-dim); color: var(--accent); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 9px; font-weight: 600; font-family: var(--mono); }
.u-name { font-size: 12px; font-weight: 500; color: var(--text-2); }

.page { display: none; }
.page.active { display: block; }
.page-wrap { max-width: 1160px; margin: 0 auto; padding: 3rem 2rem; }
.page-head { margin-bottom: 2.5rem; }
.page-head .tag { font-size: 10px; font-weight: 500; letter-spacing: 3px; color: var(--accent); margin-bottom: .6rem; font-family: var(--mono); text-transform: uppercase; }
.page-head h2 { font-family: var(--serif); font-size: 2.4rem; font-weight: 400; color: var(--text); line-height: 1.1; }

.hero { position: relative; text-align: center; padding: 7rem 2rem 5rem; overflow: hidden; }
.hero::before { content: ''; position: absolute; inset: 0; background: radial-gradient(ellipse 80% 50% at 50% 0%, rgba(124,159,255,0.08) 0%, transparent 70%), radial-gradient(ellipse 40% 40% at 20% 80%, rgba(124,159,255,0.04) 0%, transparent 60%); pointer-events: none; }
.hero::after { content: ''; position: absolute; bottom: 0; left: 0; right: 0; height: 1px; background: linear-gradient(90deg, transparent, var(--line-2), transparent); }
.hero > * { position: relative; z-index: 1; }
.hero-badge { display: inline-flex; align-items: center; gap: .5rem; background: var(--glass); color: var(--accent); font-size: 10px; font-weight: 500; letter-spacing: 2.5px; padding: .45rem 1.1rem; border: 1px solid rgba(124,159,255,0.2); border-radius: 50px; margin-bottom: 2rem; font-family: var(--mono); text-transform: uppercase; backdrop-filter: var(--blur); }
.hero-badge::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 8px var(--accent); animation: pulse 2s ease-in-out infinite; }
@keyframes pulse { 0%, 100% { opacity: 1; transform: scale(1); } 50% { opacity: .5; transform: scale(.85); } }
.hero h2 { font-family: var(--serif); font-size: clamp(2.8rem, 5.5vw, 4.5rem); font-weight: 400; line-height: 1.05; margin-bottom: 1rem; color: var(--text); letter-spacing: -0.5px; }
.hero > p { font-size: 1rem; color: var(--text-3); max-width: 400px; margin: 0 auto 2.5rem; line-height: 1.7; }
.hero-cta { display: flex; gap: .6rem; justify-content: center; flex-wrap: wrap; }
.hero-stats { display: grid; grid-template-columns: repeat(4, 1fr); max-width: 600px; margin: 4rem auto 0; gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; }
.hs { background: rgba(255,255,255,0.03); text-align: center; padding: 1.2rem 1rem; transition: background .2s; }
.hs:hover { background: var(--glass-2); }
.hs .num { font-family: var(--serif); font-size: 1rem; font-weight: 400; color: var(--text); }
.hs .lbl { font-size: 9px; letter-spacing: 2.5px; color: var(--text-3); font-weight: 500; margin-top: 4px; font-family: var(--mono); text-transform: uppercase; }
.hero-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 1rem; margin-top: 4rem; }
.hero-card { background: var(--glass); border: 1px solid var(--line); padding: 1.8rem; cursor: pointer; transition: all .25s; border-radius: var(--radius-lg); text-align: left; position: relative; overflow: hidden; }
.hero-card::before { content: ''; position: absolute; inset: 0; background: radial-gradient(ellipse 80% 60% at 50% -20%, rgba(124,159,255,0.12), transparent); opacity: 0; transition: opacity .25s; }
.hero-card:hover { background: var(--glass-2); border-color: var(--line-2); transform: translateY(-2px); }
.hero-card:hover::before { opacity: 1; }
.hero-card .ic { font-size: 1.5rem; margin-bottom: 1rem; line-height: 1; color: var(--accent); }
.hero-card h3 { font-family: var(--serif); font-size: 1.1rem; font-weight: 400; margin-bottom: .4rem; color: var(--text); position: relative; }
.hero-card p { font-size: 13px; color: var(--text-3); line-height: 1.7; position: relative; }

.btn { display: inline-flex; align-items: center; gap: .45rem; padding: .6rem 1.3rem; font-size: 12px; font-weight: 500; letter-spacing: .3px; border: none; cursor: pointer; transition: all .2s; border-radius: 50px; }
.btn:active { transform: scale(.97); }
.btn-dark { background: var(--glass-2); color: var(--text); border: 1px solid var(--line-2); }
.btn-dark:hover { background: var(--bg-5); }
.btn-outline { background: transparent; color: var(--text-2); border: 1px solid var(--line-2); }
.btn-outline:hover { border-color: var(--text-2); color: var(--text); background: var(--glass); }
.btn-accent { background: var(--accent); color: var(--bg); font-weight: 600; box-shadow: 0 4px 20px var(--accent-glow); }
.btn-accent:hover { opacity: .9; }
.btn-red { background: var(--red-dim); color: var(--red); border: 1px solid rgba(255,107,122,0.2); }
.btn-red:hover { background: rgba(255,107,122,0.18); }
.btn-sm { padding: .35rem .75rem; font-size: 11px; }

.factions-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(270px, 1fr)); gap: 1rem; }
.faction-card { background: var(--glass); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; transition: all .25s; }
.faction-card:hover { background: var(--glass-2); border-color: var(--line-2); transform: translateY(-2px); box-shadow: var(--shadow); }
.f-stripe { height: 4px; }
.f-body { padding: 1.5rem; }
.f-icon { width: 44px; height: 44px; border-radius: var(--radius-sm); display: flex; align-items: center; justify-content: center; font-size: 18px; margin-bottom: 1rem; }
.f-body h3 { font-family: var(--serif); font-size: 1.15rem; font-weight: 400; margin-bottom: .45rem; color: var(--text); }
.f-body p { font-size: 13px; color: var(--text-3); line-height: 1.7; margin-bottom: 1rem; }
.f-meta { display: flex; gap: 1.5rem; padding-top: 1rem; border-top: 1px solid var(--line); font-size: 10px; color: var(--text-3); font-family: var(--mono); letter-spacing: .5px; }
.f-meta strong { display: block; font-size: 1.3rem; font-weight: 400; color: var(--text); line-height: 1.2; font-family: var(--serif); }
.f-toggle { width: 100%; background: none; border: none; border-top: 1px solid var(--line); padding: .65rem; font-size: 10.5px; font-weight: 500; letter-spacing: 1px; color: var(--text-3); cursor: pointer; font-family: var(--mono); text-transform: uppercase; transition: all .2s; }
.f-toggle:hover { background: var(--glass); color: var(--text-2); }
.f-roles { display: none; padding: 1rem 1.5rem; background: var(--bg-3); border-top: 1px solid var(--line); }
.f-roles.open { display: block; }
.f-roles h4 { font-size: 9px; font-weight: 600; letter-spacing: 2.5px; color: var(--text-3); margin-bottom: .6rem; font-family: var(--mono); text-transform: uppercase; }
.f-roles ul { list-style: none; }
.f-roles li { font-size: 13px; color: var(--text-2); padding: .3rem 0; border-bottom: 1px solid var(--line); }
.f-roles li::before { content: '· '; color: var(--accent); }

.news-layout { display: grid; grid-template-columns: 2fr 1fr; gap: 1rem; }
@media(max-width:720px){ .news-layout { grid-template-columns: 1fr; } }
.news-main { background: var(--glass); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; transition: all .2s; }
.news-main:hover { border-color: var(--line-2); }
.news-thumb { height: 210px; background: var(--bg-3); display: flex; align-items: center; justify-content: center; font-size: 3rem; overflow: hidden; }
.news-thumb img { width: 100%; height: 100%; object-fit: cover; }
.n-body { padding: 1.5rem; }
.n-tag { display: inline-block; background: var(--accent-dim); color: var(--accent); font-size: 9px; font-weight: 600; letter-spacing: 2px; padding: .25rem .7rem; border-radius: 50px; margin-bottom: .7rem; font-family: var(--mono); text-transform: uppercase; }
.n-body h3 { font-family: var(--serif); font-size: 1.35rem; font-weight: 400; line-height: 1.3; margin-bottom: .5rem; color: var(--text); }
.n-body p { font-size: 13.5px; color: var(--text-3); line-height: 1.75; }
.n-meta { font-size: 11px; color: var(--text-3); margin-top: .7rem; font-family: var(--mono); }
.news-side { display: flex; flex-direction: column; gap: .7rem; }
.news-item { background: var(--glass); border: 1px solid var(--line); padding: 1rem 1.2rem; cursor: pointer; transition: all .2s; border-radius: var(--radius); }
.news-item:hover { background: var(--glass-2); border-color: var(--line-2); }
.news-item h4 { font-family: var(--serif); font-size: .9rem; font-weight: 400; line-height: 1.35; margin: .4rem 0; color: var(--text); }
.news-item p { font-size: 12px; color: var(--text-3); line-height: 1.6; }

.election-header { background: var(--glass); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 1.6rem 1.8rem; margin-bottom: 1.8rem; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: .8rem; }
.election-header h3 { font-family: var(--serif); font-size: 1.4rem; font-weight: 400; color: var(--text); }
.election-header p { font-size: 13px; color: var(--text-3); margin-top: .2rem; }
.status-badge { padding: .35rem 1rem; font-size: 10px; font-weight: 500; letter-spacing: 1.5px; font-family: var(--mono); text-transform: uppercase; border-radius: 50px; }
.s-open { background: var(--accent-dim); color: var(--accent); border: 1px solid rgba(124,159,255,0.25); }
.s-closed { background: var(--glass); color: var(--text-3); border: 1px solid var(--line); }
.s-results { background: var(--green-dim); color: var(--green); border: 1px solid rgba(82,217,140,0.25); }
.cands-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); gap: 1rem; margin-bottom: 1.8rem; }
.cand-card { background: var(--glass); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; position: relative; transition: all .25s; }
.cand-card:hover { background: var(--glass-2); border-color: var(--line-2); transform: translateY(-2px); box-shadow: var(--shadow); }
.cand-card.voted { border-color: rgba(124,159,255,0.4); }
.c-photo { height: 200px; background: var(--bg-3); display: flex; align-items: center; justify-content: center; font-size: 4.5rem; color: var(--text-3); overflow: hidden; position: relative; }
.c-photo img { width: 100%; height: 100%; object-fit: cover; position: absolute; inset: 0; }
.c-party-badge { position: absolute; top: .8rem; left: .8rem; font-size: 9px; font-weight: 600; letter-spacing: 1px; padding: .25rem .7rem; color: #fff; font-family: var(--mono); border-radius: 50px; }
.c-voted-check { position: absolute; top: .8rem; right: .8rem; width: 26px; height: 26px; background: var(--green); color: #fff; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 11px; font-weight: 700; }
.c-info { padding: 1.4rem; }
.c-info h3 { font-family: var(--serif); font-size: 1.25rem; font-weight: 400; color: var(--text); }
.c-sub { font-size: 9.5px; font-weight: 500; letter-spacing: 1.5px; color: var(--text-3); margin-bottom: .7rem; font-family: var(--mono); text-transform: uppercase; }
.c-desc { font-size: 13px; color: var(--text-3); line-height: 1.7; }
.c-slogan { font-style: italic; font-size: 13.5px; margin-top: .6rem; color: var(--text-2); }
.c-programs { margin-top: 1rem; }
.c-programs-title { font-size: 9px; font-weight: 600; letter-spacing: 2px; color: var(--text-3); margin-bottom: .5rem; font-family: var(--mono); text-transform: uppercase; }
.c-prog-item { font-size: 12.5px; color: var(--text-3); padding: .25rem 0 .25rem .7rem; border-left: 2px solid var(--accent-dim); margin-bottom: .25rem; }
.result-wrap { margin-top: 1rem; }
.result-bg { background: var(--bg-4); height: 6px; border-radius: 50px; overflow: hidden; }
.result-fill { height: 100%; transition: width .8s ease; border-radius: 50px; }
.result-pct { font-size: 11px; color: var(--text-3); margin-top: .3rem; font-family: var(--mono); }
.vote-btn { width: 100%; padding: .75rem; border: none; font-size: 11.5px; font-weight: 600; letter-spacing: .8px; color: #fff; margin-top: 1rem; cursor: pointer; transition: all .2s; border-radius: 50px; font-family: var(--sans); }
.vote-btn:hover { opacity: .85; }
.vote-btn:disabled { background: var(--bg-4) !important; color: var(--text-3); cursor: not-allowed; }
.election-disclaimer { background: var(--glass); border: 1px solid var(--line); border-left: 3px solid rgba(124,159,255,0.3); border-radius: var(--radius); padding: 1.1rem 1.4rem; font-size: 12.5px; color: var(--text-3); line-height: 1.7; }

.alert { padding: .9rem 1.2rem; font-size: 13px; margin-bottom: 1rem; border-left: 3px solid; display: none; border-radius: var(--radius); }
.alert.show { display: block; }
.alert-success { background: var(--green-dim); color: var(--green); border-color: var(--green); }
.alert-warning { background: rgba(124,159,255,0.07); color: var(--accent); border-color: var(--accent); }
.alert-error { background: var(--red-dim); color: var(--red); border-color: var(--red); }

.admin-wrap { display: grid; grid-template-columns: 220px 1fr; gap: 1.5rem; min-height: 72vh; }
.admin-sidebar { background: var(--glass); border: 1px solid var(--line); padding: 1.2rem; border-radius: var(--radius-lg); height: fit-content; position: sticky; top: 5rem; }
.sidebar-title { font-size: 9px; font-weight: 600; letter-spacing: 3px; color: var(--text-3); margin-bottom: .8rem; padding-left: .5rem; font-family: var(--mono); text-transform: uppercase; }
.admin-nav a { display: block; padding: .55rem .75rem; font-size: 12.5px; color: var(--text-3); border-radius: var(--radius-sm); margin-bottom: 2px; cursor: pointer; transition: all .15s; letter-spacing: .2px; }
.admin-nav a:hover { background: var(--glass-2); color: var(--text-2); }
.admin-nav a.active { background: var(--glass-2); color: var(--text); border-left: 2px solid var(--accent); padding-left: calc(.75rem - 2px); }
.admin-nav hr { border: none; border-top: 1px solid var(--line); margin: .6rem 0; }
.admin-main { background: transparent; }
.a-section { display: none; }
.a-section.active { display: block; }
.a-section > h3 { font-family: var(--serif); font-size: 1.6rem; font-weight: 400; margin-bottom: 1.5rem; padding-bottom: .9rem; border-bottom: 1px solid var(--line); color: var(--text); }
.stats-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: .75rem; margin-bottom: 1.8rem; }
.stat-box { background: var(--glass); border: 1px solid var(--line); padding: 1.2rem; text-align: center; border-radius: var(--radius); transition: all .2s; }
.stat-box:hover { background: var(--glass-2); border-color: var(--line-2); }
.stat-box .sn { font-family: var(--serif); font-size: 2rem; font-weight: 400; color: var(--text); }
.stat-box .sl { font-size: 9px; font-weight: 500; letter-spacing: 2px; color: var(--text-3); margin-top: 4px; font-family: var(--mono); text-transform: uppercase; }
.panel-box { background: var(--glass); border: 1px solid var(--line); padding: 1.5rem; margin-bottom: 1.5rem; border-radius: var(--radius-lg); }
.panel-box h4 { font-family: var(--serif); font-size: 1.1rem; font-weight: 400; margin-bottom: 1.1rem; color: var(--text); }
.form-group { margin-bottom: 1rem; }
.form-group label { display: block; font-size: 10px; font-weight: 600; letter-spacing: 1.5px; color: var(--text-3); margin-bottom: .4rem; font-family: var(--mono); text-transform: uppercase; }
.form-group input, .form-group select, .form-group textarea { width: 100%; border: 1px solid var(--line); padding: .6rem .9rem; background: var(--bg-3); font-family: var(--sans); font-size: 13.5px; color: var(--text); transition: all .15s; border-radius: var(--radius-sm); }
.form-group input:focus, .form-group select:focus, .form-group textarea:focus { outline: none; border-color: rgba(124,159,255,0.35); background: var(--bg-4); box-shadow: 0 0 0 3px var(--accent-glow); }
.form-group select { appearance: none; cursor: pointer; }
.form-group textarea { min-height: 88px; resize: vertical; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-row-3 { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 1rem; }
.input-sm { width: auto !important; display: inline-block; }
.admin-table { width: 100%; border-collapse: collapse; font-size: 13px; }
.admin-table th { text-align: left; padding: .6rem .75rem; font-size: 9.5px; font-weight: 600; letter-spacing: 1.8px; border-bottom: 1px solid var(--line); color: var(--text-3); font-family: var(--mono); text-transform: uppercase; }
.admin-table td { padding: .65rem .75rem; border-bottom: 1px solid var(--line); vertical-align: middle; color: var(--text-2); }
.admin-table tr:hover td { background: var(--glass); }
.tag-pill { display: inline-block; background: var(--glass-2); color: var(--text-3); font-size: 9px; font-weight: 600; letter-spacing: 1.5px; padding: .2rem .6rem; border: 1px solid var(--line); font-family: var(--mono); text-transform: uppercase; border-radius: 50px; }
.activity-item { display: flex; gap: .7rem; align-items: flex-start; padding: .5rem 0; border-bottom: 1px solid var(--line); font-size: 13px; }
.activity-time { font-size: 10px; font-weight: 500; color: var(--text-3); min-width: 110px; padding-top: 2px; font-family: var(--mono); }
.bar-row { margin-bottom: 1.3rem; }
.bar-label { display: flex; justify-content: space-between; font-size: 13px; margin-bottom: .45rem; color: var(--text-2); }
.bar-label span { font-family: var(--mono); font-size: 11px; color: var(--text-3); }
.bar-bg { background: var(--bg-4); height: 30px; position: relative; border-radius: 50px; overflow: hidden; }
.bar-fill { height: 100%; transition: width .6s; border-radius: 50px; }
.bar-party { position: absolute; left: .7rem; top: 50%; transform: translateY(-50%); font-size: 9px; font-weight: 600; color: rgba(255,255,255,.7); letter-spacing: 1px; font-family: var(--mono); }

.modal-bg { position: fixed; inset: 0; background: rgba(0,0,0,.7); z-index: 500; display: none; align-items: center; justify-content: center; backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.modal-bg.open { display: flex; }
.modal { background: var(--bg-3); border: 1px solid var(--line-2); padding: 2.2rem 2rem; width: 90%; max-width: 380px; text-align: center; box-shadow: var(--shadow-lg); border-radius: var(--radius-xl); }
.modal h3 { font-family: var(--serif); font-size: 1.6rem; font-weight: 400; margin-bottom: .7rem; color: var(--text); }
.modal p { font-size: 13px; color: var(--text-3); line-height: 1.7; margin-bottom: 1.5rem; }
.modal .close-btn { width: 100%; padding: .65rem; border: 1px solid var(--line); background: none; font-size: 12.5px; cursor: pointer; margin-top: .5rem; color: var(--text-3); transition: all .2s; border-radius: 50px; }
.modal .close-btn:hover { background: var(--glass); color: var(--text-2); }
.btn-steam-modal { background: #1b2838; color: #fff; border: 1px solid rgba(42,63,85,0.8); width: 100%; padding: .9rem; font-size: 13.5px; font-weight: 500; cursor: pointer; display: flex; align-items: center; justify-content: center; gap: .6rem; border-radius: 50px; transition: all .2s; }
.btn-steam-modal:hover { background: #2a475e; }

.toast { position: fixed; bottom: 1.5rem; right: 1.5rem; padding: .85rem 1.3rem; font-size: 12.5px; font-weight: 500; color: var(--text-2); background: var(--bg-4); border: 1px solid var(--line-2); z-index: 999; transform: translateY(80px); opacity: 0; transition: all .35s cubic-bezier(0.34, 1.56, 0.64, 1); max-width: 300px; pointer-events: none; border-radius: var(--radius); font-family: var(--mono); letter-spacing: .2px; backdrop-filter: var(--blur); }
.toast.show { transform: translateY(0); opacity: 1; }
.toast.green { border-color: rgba(82,217,140,0.3); color: var(--green); }
.toast.red { border-color: rgba(255,107,122,0.3); color: var(--red); }
.toast.gold { border-color: rgba(124,159,255,0.3); color: var(--accent); }

footer { color: var(--text-3); text-align: center; padding: 2.5rem; font-size: 11px; letter-spacing: 1.2px; margin-top: 5rem; border-top: 1px solid var(--line); font-family: var(--mono); }
footer strong { color: var(--text-2); }

.hidden { display: none !important; }
.loader { display: inline-block; width: 18px; height: 18px; border: 2px solid var(--line-2); border-top-color: var(--accent); border-radius: 50%; animation: spin .7s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.page-loading { display: flex; align-items: center; justify-content: center; padding: 4rem; color: var(--text-3); gap: .7rem; font-size: 13px; font-family: var(--mono); }
.text-muted { color: var(--text-3); }
.text-sm { font-size: 13px; }

.hs .lbl-btn {
  margin-top: 6px;
  padding: 4px 10px;
  font-size: 9px;
  letter-spacing: 2px;
  font-family: var(--mono);
  text-transform: uppercase;

  color: var(--text-3);
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 50px;

  cursor: pointer;
  transition: all .2s ease;
}

.hs .lbl-btn:hover {
  color: var(--text);
  background: var(--glass-2);
  border-color: var(--line-2);
}

.hs .lbl-btn:active {
  transform: scale(.95);
}

@media(max-width:900px) {
  .admin-wrap { grid-template-columns: 1fr; }
  .admin-sidebar { position: static; padding: .8rem; display: flex; flex-wrap: wrap; gap: .3rem; align-items: center; }
  .admin-nav { display: flex; flex-wrap: wrap; gap: .3rem; }
  .admin-nav a { padding: .35rem .7rem; font-size: 12px; }
  .sidebar-title, .admin-nav hr { display: none; }
  .stats-row { grid-template-columns: repeat(2, 1fr); }
  .hero-stats { grid-template-columns: repeat(2, 1fr); }
}
@media(max-width:600px) {
  .navbar { padding: 0 1rem; }
  .nav-links { display: none; }
  .form-row, .form-row-3 { grid-template-columns: 1fr; }
  .hero { padding: 5rem 1.5rem 3.5rem; }
}
