/* ── WW3CHANCE — PROFESSIONAL DESIGN SYSTEM ── */
:root {
  --bg:       #f2ede7;
  --bg2:      #ffffff;
  --bg3:      #ebe5de;
  --border:   #cec5bb;
  --text:     #160f08;
  --muted:    #6b5d52;
  --red:      #b52a1c;
  --red2:     #8f1f13;
  --amber:    #c45000;
  --green:    #1a7a3f;
  --red-dim:  rgba(181,42,28,0.08);
  --amb-dim:  rgba(196,80,0,0.08);
  --grn-dim:  rgba(26,122,63,0.08);
  --shadow:   0 1px 4px rgba(0,0,0,0.06), 0 4px 16px rgba(0,0,0,0.04);
  --shadow-md:0 2px 8px rgba(0,0,0,0.08), 0 8px 32px rgba(0,0,0,0.06);
}
[data-theme="dark"] {
  --bg:       #0c0906;
  --bg2:      #131008;
  --bg3:      #1c1710;
  --border:   #2a221a;
  --text:     #f0e8e0;
  --muted:    #8a7a6e;
  --red:      #d44030;
  --red2:     #b52a1c;
  --amber:    #d46020;
  --green:    #2a9a52;
  --red-dim:  rgba(212,64,48,0.1);
  --amb-dim:  rgba(212,96,32,0.1);
  --grn-dim:  rgba(42,154,82,0.1);
  --shadow:   0 1px 4px rgba(0,0,0,0.3), 0 4px 16px rgba(0,0,0,0.2);
  --shadow-md:0 2px 8px rgba(0,0,0,0.4), 0 8px 32px rgba(0,0,0,0.3);
}

*{margin:0;padding:0;box-sizing:border-box}
body{
  background:var(--bg);color:var(--text);
  font-family:-apple-system,BlinkMacSystemFont,'Segoe UI','Helvetica Neue',Arial,sans-serif;
  min-height:100vh;transition:background 0.25s,color 0.25s;
  -webkit-font-smoothing:antialiased;
}
a{color:inherit;text-decoration:none}

/* ── NAV ── */
nav {
  display:flex;justify-content:space-between;align-items:center;
  padding:0 28px;height:52px;
  background:var(--bg2);
  border-bottom:1px solid var(--border);
  position:sticky;top:0;z-index:1000;
  box-shadow:0 1px 0 var(--border), 0 2px 12px rgba(0,0,0,0.04);
}
.nav-links{display:flex;gap:2px}
.nav-links a{
  font-size:13px;font-weight:500;color:var(--muted);
  padding:5px 12px;border-radius:5px;transition:all 0.15s;
  letter-spacing:0.01em;
}
.nav-links a:hover{background:var(--bg3);color:var(--text)}
.nav-links a.active{background:var(--red-dim);color:var(--red);font-weight:600}
.nav-right{display:flex;align-items:center;gap:8px}

/* ── ALERT BUTTON — serious, not cartoonish ── */
.btn-alert {
  display:flex;align-items:center;gap:6px;
  background:var(--red);color:#fff;
  padding:7px 14px;border-radius:5px;
  font-size:12px;font-weight:600;letter-spacing:0.02em;
  border:none;cursor:pointer;
  transition:background 0.15s,transform 0.1s;
  text-transform:uppercase;
}
.btn-alert:hover{background:var(--red2);transform:translateY(-1px)}
.btn-alert:active{transform:translateY(0)}
/* Subtle live indicator dot instead of animation */
.btn-alert::before{
  content:'';width:6px;height:6px;border-radius:50%;
  background:rgba(255,255,255,0.9);flex-shrink:0;
}

/* ── THEME TOGGLE ── */
.theme-toggle {
  width:32px;height:32px;border-radius:5px;
  border:1px solid var(--border);background:var(--bg3);
  cursor:pointer;display:flex;align-items:center;
  justify-content:center;font-size:14px;
  transition:all 0.15s;color:var(--muted);
}
.theme-toggle:hover{border-color:var(--red);background:var(--red-dim);color:var(--red)}

/* ── PAGE HEADER ── */
.page-header{
  background:var(--bg2);border-bottom:1px solid var(--border);
  padding:28px 28px 24px;
}
.page-header h1{font-size:22px;font-weight:700;color:var(--text);margin-bottom:5px;letter-spacing:-0.02em}
.page-header p{font-size:13px;color:var(--muted);line-height:1.6;max-width:600px}

/* ── CARDS ── */
.card{
  background:var(--bg2);border:1px solid var(--border);
  border-radius:8px;overflow:hidden;
  box-shadow:var(--shadow);
  transition:border-color 0.15s;
}
.card:hover{border-color:rgba(181,42,28,0.3)}
.card-header{
  padding:12px 18px;border-bottom:1px solid var(--border);
  display:flex;justify-content:space-between;align-items:center;
  background:var(--bg3);
}
.card-title{
  font-size:10px;font-weight:700;
  letter-spacing:0.1em;text-transform:uppercase;color:var(--muted);
}
.card-body{padding:18px}

/* ── WEIGHT BADGES ── */
.w-pos{
  background:var(--red-dim);color:var(--red);
  font-size:11px;font-weight:700;padding:2px 8px;
  border-radius:3px;min-width:40px;text-align:center;
  flex-shrink:0;font-variant-numeric:tabular-nums;
  border:1px solid rgba(181,42,28,0.15);
}
.w-neg{
  background:var(--grn-dim);color:var(--green);
  font-size:11px;font-weight:700;padding:2px 8px;
  border-radius:3px;min-width:40px;text-align:center;
  flex-shrink:0;font-variant-numeric:tabular-nums;
  border:1px solid rgba(26,122,63,0.15);
}
.w-neu{
  background:var(--bg3);color:var(--muted);
  font-size:11px;font-weight:700;padding:2px 8px;
  border-radius:3px;min-width:40px;text-align:center;
  flex-shrink:0;font-variant-numeric:tabular-nums;
  border:1px solid var(--border);
}

/* ── EVENT ITEM ── */
.event-item{
  display:flex;gap:12px;
  padding:11px 0;border-bottom:1px solid var(--border);
  transition:background 0.1s;
}
.event-item:last-child{border-bottom:none}
.event-item:hover{background:var(--bg3);margin:0 -18px;padding:11px 18px}
.event-summary{font-size:13px;color:var(--text);line-height:1.45;margin-bottom:4px;font-weight:500}
.event-meta{font-size:11px;color:var(--muted);display:flex;gap:8px;align-items:center;flex-wrap:wrap}
.zone-tag{
  background:var(--bg3);color:var(--muted);
  font-size:10px;font-weight:600;padding:2px 7px;
  border-radius:3px;text-transform:uppercase;
  letter-spacing:0.05em;border:1px solid var(--border);
}

/* ── STATUS ── */
.status-high{color:var(--red);font-size:11px;font-weight:700;letter-spacing:0.05em}
.status-med{color:var(--amber);font-size:11px;font-weight:700;letter-spacing:0.05em}
.status-low{color:var(--green);font-size:11px;font-weight:700;letter-spacing:0.05em}

/* ── BUTTONS ── */
.btn{
  display:inline-flex;align-items:center;gap:6px;
  padding:7px 16px;border-radius:5px;font-size:13px;
  font-weight:500;cursor:pointer;
  border:1px solid var(--border);background:var(--bg2);
  color:var(--muted);transition:all 0.15s;
}
.btn:hover{border-color:var(--text);color:var(--text);background:var(--bg3)}
.btn-primary{
  background:var(--red);border-color:var(--red);color:#fff;
  font-weight:600;
}
.btn-primary:hover{background:var(--red2);border-color:var(--red2);color:#fff}

/* ── FOOTER ── */
footer{
  border-top:1px solid var(--border);
  padding:20px 28px;
  display:flex;justify-content:space-between;align-items:center;
  font-size:12px;color:var(--muted);
  flex-wrap:wrap;gap:12px;background:var(--bg2);
}
footer a:hover{color:var(--text)}

/* ── TOAST ── */
.toast{
  position:fixed;bottom:20px;left:50%;transform:translateX(-50%);
  background:var(--text);color:var(--bg);
  padding:9px 18px;border-radius:6px;font-size:13px;
  font-weight:500;opacity:0;transition:opacity 0.25s;
  pointer-events:none;z-index:9999;
  box-shadow:0 4px 20px rgba(0,0,0,0.2);
}
.toast.show{opacity:1}

/* ── LOADING ── */
.loading{color:var(--muted);font-size:13px;padding:24px;text-align:center}

/* ── LEGAL PAGES ── */
.legal-section{margin-bottom:36px}
.legal-section h2{font-size:15px;font-weight:700;color:var(--text);margin-bottom:10px;padding-bottom:8px;border-bottom:1px solid var(--border);letter-spacing:-0.01em}
.legal-section p,.legal-section li{font-size:14px;color:var(--muted);line-height:1.85;margin-bottom:10px}
.legal-section ul{padding-left:20px}
.legal-section li{margin-bottom:6px}
.last-updated{font-size:12px;color:var(--muted);margin-bottom:32px;padding:9px 14px;background:var(--bg3);border-radius:5px;display:inline-block;border:1px solid var(--border)}

/* ── RESPONSIVE ── */
@media(max-width:768px){
  nav{padding:0 16px}
  .nav-links{display:none}
  .page-header{padding:20px 16px}
  footer{padding:16px}
}

/* ── MOBILE NAV ── */
.hamburger {
  display:none;width:36px;height:36px;border-radius:5px;
  border:1px solid var(--border);background:var(--bg3);
  cursor:pointer;align-items:center;justify-content:center;
  color:var(--muted);transition:all 0.15s;
}
.hamburger:hover{border-color:var(--red);color:var(--red)}
.mobile-menu {
  display:none;flex-direction:column;gap:2px;
  background:var(--bg2);border-bottom:1px solid var(--border);
  padding:8px 16px 12px;
}
.mobile-menu.open{display:flex}
.mobile-menu a {
  font-size:14px;font-weight:500;color:var(--muted);
  padding:10px 12px;border-radius:5px;transition:all 0.15s;
}
.mobile-menu a:hover,.mobile-menu a.active{background:var(--bg3);color:var(--text)}
.nav-plans-btn {
  font-size:12px;font-weight:600;padding:6px 14px;border-radius:6px;
  border:1px solid var(--border);color:var(--muted);transition:all 0.15s;
  display:inline-block;
}
.nav-plans-btn:hover{border-color:var(--red);color:var(--red)}

@media(max-width:768px){
  .nav-links{display:none}
  .hamburger{display:flex}
  .nav-plans-btn{display:none}
}

/* ── ACCESSIBILITY ── */
:focus-visible{outline:2px solid var(--red);outline-offset:2px;border-radius:3px}

/* ── REDUCED MOTION ── */
@media(prefers-reduced-motion:reduce){
  *{animation-duration:0.01ms!important;animation-iteration-count:1!important;transition-duration:0.01ms!important}
}
"/* v3 */" 
