/* ═══════════════════════════════════════════════════════════════════════════
   AllOldies 24/7 — Complete Light Theme
   Red, White & Blue · Warm & Classic · 50s–80s Nostalgia
   ═══════════════════════════════════════════════════════════════════════════ */
@import url('https://fonts.googleapis.com/css2?family=Barlow+Condensed:wght@400;700;900&family=Oswald:wght@400;600;700&family=Open+Sans:wght@400;600&display=swap');

/* ── Variables ────────────────────────────────────────────────────────────── */
:root {
  --bg:           #f8f5f0;   /* warm off-white */
  --bg2:          #ffffff;
  --bg3:          #eef1f8;   /* light blue-tint */
  --cream:        #1a1f2e;   /* near-black for text */
  --cream-dim:    #3d4466;
  --red:          #CC2929;
  --red-bright:   #e63030;
  --red-dark:     #991f1f;
  --blue:         #1B3A8C;
  --blue-bright:  #2952C8;
  --blue-mid:     #3460d0;
  --blue-light:   #dce6ff;
  --white:        #ffffff;
  --gold:         #B8860B;
  --gold-light:   #f5d87c;
  --text-dim:     #667799;
  --border:       rgba(27,58,140,.12);
  --border-red:   rgba(204,41,41,.3);
  --border-blue:  rgba(27,58,140,.2);
  --shadow:       0 2px 16px rgba(27,58,140,.10);
  --shadow-lg:    0 8px 40px rgba(27,58,140,.15);
  --radius:       10px;
  --radius-sm:    6px;
  --max-width:    1280px;

  /* Semantic aliases so shared PHP components work unchanged */
  --pink:         var(--red);
  --teal:         var(--blue-bright);
  --bg-card:      var(--bg2);
  --pink-glow:    rgba(204,41,41,.15);
  --border-pink:  var(--border-red);

  /* Typography */
  --font-head:    'Barlow Condensed','Arial Black',sans-serif;
  --font-body:    'Open Sans',Arial,sans-serif;
  --font-vt:      'Oswald',Impact,sans-serif;
}

/* ── Reset ────────────────────────────────────────────────────────────────── */
*,*::before,*::after { box-sizing:border-box; margin:0; padding:0; }
html { scroll-behavior:smooth; }
body { background:var(--bg); color:var(--cream); font-family:var(--font-body); font-size:15px; line-height:1.6; min-height:100vh; }
h1,h2,h3,h4 { font-family:var(--font-head); font-weight:900; letter-spacing:.5px; color:var(--cream); }
a { color:var(--blue); text-decoration:none; }
a:hover { color:var(--red); }
code { font-family:monospace; background:var(--bg3); padding:1px 5px; border-radius:3px; color:var(--red-dark); }

/* ── Layout ───────────────────────────────────────────────────────────────── */
.site-wrap { max-width:var(--max-width); margin:0 auto; padding:0 20px; }
.site-main  { max-width:var(--max-width); margin:0 auto; padding:20px 20px 80px; }

/* ── HEADER ───────────────────────────────────────────────────────────────── */
.site-header {
  background:#ffffff;
  border-bottom:4px solid var(--red);
  box-shadow:0 2px 12px rgba(27,58,140,.10);
  position:sticky; top:0; z-index:100;
}
.header-inner { display:flex; align-items:center; max-width:var(--max-width); margin:0 auto; padding:0 16px; gap:12px; }
.brand-link { display:flex; align-items:center; gap:12px; text-decoration:none; padding:10px 0; flex-shrink:0; }
.brand-logo { height:48px; width:auto; }
.brand-text .brand-name   { font-family:var(--font-head); font-size:20px; font-weight:900; color:var(--blue); letter-spacing:1px; line-height:1; }
.brand-text .brand-tagline{ font-size:10px; color:var(--text-dim); letter-spacing:2px; text-transform:uppercase; margin-top:2px; }
.brand-freq { font-family:var(--font-vt); font-size:30px; font-weight:900; color:var(--red); letter-spacing:-1px; }
.site-nav { flex:1; }
.nav-inner { display:flex; align-items:center; justify-content:flex-end; gap:1px; flex-wrap:nowrap; padding:8px 0; overflow:hidden; }
.nav-link { padding:7px 10px; border-radius:var(--radius-sm); font-size:11px; font-weight:700; letter-spacing:.3px; text-transform:uppercase; color:var(--blue); transition:all .2s; white-space:nowrap; }
.nav-link:hover,.nav-link.active { color:#fff; background:var(--red); }
.nav-link.cta { background:var(--red); color:#fff; }
.nav-link.cta:hover { background:var(--red-dark); }
.nav-icon { margin-right:4px; }
.hamburger { display:none; background:none; border:none; color:var(--blue); font-size:22px; cursor:pointer; padding:8px; }
#streamToggle { background:var(--red); border:none; border-radius:var(--radius-sm); color:#fff; padding:9px 18px; font-size:12px; font-weight:700; cursor:pointer; letter-spacing:.5px; }
#streamToggle:hover { background:var(--red-dark); }

/* Nav dropdown */
.nav-dropdown { position:relative; }
.nav-dropdown-menu { display:none; position:absolute; top:100%; right:0; background:#fff; border:1px solid var(--border); border-top:3px solid var(--red); border-radius:0 0 var(--radius-sm) var(--radius-sm); min-width:200px; box-shadow:var(--shadow); z-index:200; padding:4px 0; }
.nav-dropdown:hover .nav-dropdown-menu { display:block; }
.dropdown-talent { display:flex; align-items:center; gap:10px; padding:8px 14px; color:var(--cream); font-size:13px; }
.dropdown-talent:hover { background:var(--bg3); color:var(--red); }
.dropdown-avatar { width:28px; height:28px; border-radius:50%; background:var(--bg3); overflow:hidden; flex-shrink:0; border:1px solid var(--border-red); }
.dropdown-avatar img { width:100%; height:100%; object-fit:cover; }

/* ── HERO ─────────────────────────────────────────────────────────────────── */
.home-hero {
  background:linear-gradient(160deg, var(--blue) 0%, #0d1f5c 50%, #0a1040 100%);
  width:100%;
  border-bottom:5px solid var(--red);
  padding:60px 20px 52px;
  position:relative;
  overflow:hidden;
}
.home-hero::before {
  content:'';
  position:absolute; inset:0;
  background:url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.hero-inner { max-width:var(--max-width); margin:0 auto; display:grid; grid-template-columns:1fr 400px; gap:48px; align-items:center; position:relative; }
.hero-copy { color:#fff; }
.hero-badge { display:inline-flex; align-items:center; gap:8px; background:rgba(204,41,41,.2); border:1px solid rgba(204,41,41,.5); border-radius:20px; padding:4px 14px; font-size:11px; font-weight:700; letter-spacing:1px; text-transform:uppercase; color:#ff9999; margin-bottom:16px; }
.hero-freq { font-family:var(--font-head); font-size:clamp(52px,8vw,82px); font-weight:900; color:#ffffff; line-height:.9; text-shadow:0 4px 20px rgba(0,0,0,.3); }
.hero-name { font-family:var(--font-head); font-size:clamp(18px,3vw,28px); font-weight:700; color:rgba(255,255,255,.85); letter-spacing:1px; margin-top:8px; }
.hero-tagline { font-size:15px; color:rgba(255,255,255,.7); margin-top:10px; line-height:1.6; max-width:440px; }
.hero-actions { display:flex; gap:12px; flex-wrap:wrap; margin-top:24px; }

/* Now Playing Card in hero */
.hero-np { display:flex; align-items:stretch; }
.hero-np-card { background:rgba(255,255,255,.10); backdrop-filter:blur(12px); -webkit-backdrop-filter:blur(12px); border:1px solid rgba(255,255,255,.2); border-radius:var(--radius); padding:20px; width:100%; display:flex; flex-direction:column; }
.hnp-label { font-size:10px; font-weight:700; letter-spacing:2px; text-transform:uppercase; color:#ff9999; margin-bottom:12px; display:flex; align-items:center; gap:6px; }
.hnp-art { font-size:36px; text-align:center; margin-bottom:10px; }
.hnp-art img { width:100%; max-width:160px; height:160px; object-fit:cover; border-radius:8px; margin:0 auto; display:block; border:2px solid rgba(255,255,255,.2); }
.hnp-artist { font-family:var(--font-head); font-size:20px; font-weight:900; color:#ffffff; }
.hnp-title  { font-size:14px; color:rgba(255,255,255,.7); margin-top:3px; }
.hnp-album  { font-size:12px; color:rgba(255,255,255,.45); margin-top:2px; }
.hnp-bar-wrap { background:rgba(255,255,255,.15); border-radius:3px; height:4px; margin:14px 0 4px; }
.hnp-bar { background:var(--red); height:4px; border-radius:3px; transition:width .5s; }
.hnp-time-row { display:flex; justify-content:space-between; font-size:11px; color:rgba(255,255,255,.45); }
.hnp-listeners { font-size:11px; color:rgba(255,255,255,.45); margin-top:6px; }
.hnp-request-link { font-size:12px; color:rgba(255,255,255,.7); margin-top:10px; }
.hnp-request-link:hover { color:#fff; }

/* Live dot */
.live-dot { display:inline-block; width:8px; height:8px; border-radius:50%; background:var(--red); animation:pulse-ao 1.5s infinite; }
@keyframes pulse-ao { 0%,100%{opacity:1;transform:scale(1)} 50%{opacity:.5;transform:scale(1.4)} }

/* ── Buttons ──────────────────────────────────────────────────────────────── */
.rfm-btn { display:inline-flex; align-items:center; gap:8px; background:var(--red); color:#fff; border:none; border-radius:var(--radius-sm); padding:12px 22px; font-size:13px; font-weight:700; letter-spacing:.5px; cursor:pointer; transition:all .2s; text-decoration:none; font-family:inherit; box-shadow:0 2px 8px rgba(204,41,41,.3); }
.rfm-btn:hover { background:var(--red-dark); color:#fff; transform:translateY(-1px); box-shadow:0 4px 16px rgba(204,41,41,.4); }
.rfm-btn.outline { background:transparent; border:2px solid rgba(255,255,255,.6); color:#fff; box-shadow:none; }
.rfm-btn.outline:hover { background:#fff; color:var(--blue); }
.rfm-btn.full { width:100%; justify-content:center; }
.btn { display:inline-flex; align-items:center; justify-content:center; gap:6px; padding:8px 16px; border-radius:var(--radius-sm); font-size:13px; font-weight:600; cursor:pointer; border:none; font-family:inherit; transition:all .2s; text-decoration:none; }
.btn-primary { background:var(--red); color:#fff; }
.btn-primary:hover { background:var(--red-dark); }
.btn-ghost { background:transparent; border:1px solid var(--border); color:var(--cream); }
.btn-ghost:hover { background:var(--bg3); border-color:var(--border-blue); }
.btn-danger { background:rgba(200,30,30,.08); border:1px solid rgba(200,30,30,.25); color:#aa1111; }
.btn-danger:hover { background:rgba(200,30,30,.15); }
.btn-teal,.btn-blue { background:var(--blue); color:#fff; }
.btn-teal:hover,.btn-blue:hover { background:var(--blue-bright); }
.btn-sm { padding:5px 10px; font-size:12px; }

/* ── Cards ────────────────────────────────────────────────────────────────── */
.card { background:var(--bg2); border:1px solid var(--border); border-radius:var(--radius); padding:20px; box-shadow:0 1px 4px rgba(27,58,140,.06); }
.card:hover { border-color:var(--border-red); }
.card-title { font-family:var(--font-head); font-size:13px; font-weight:700; color:var(--red); letter-spacing:1.5px; text-transform:uppercase; margin-bottom:12px; padding-bottom:8px; border-bottom:2px solid rgba(204,41,41,.1); }
.card-grid { display:grid; grid-template-columns:repeat(auto-fill,minmax(280px,1fr)); gap:20px; }

/* ── Section headings ─────────────────────────────────────────────────────── */
.section-head { font-family:var(--font-head); font-size:13px; font-weight:900; letter-spacing:2px; text-transform:uppercase; color:var(--blue); border-bottom:3px solid var(--red); padding-bottom:8px; margin-bottom:16px; }

/* ── CTA Strip ────────────────────────────────────────────────────────────── */
.cta-strip { display:flex; gap:0; flex-wrap:wrap; background:#fff; border-top:4px solid var(--red); border-bottom:2px solid var(--border); box-shadow:0 4px 20px rgba(27,58,140,.08); }
.cta-card { display:flex; align-items:center; gap:14px; padding:18px 24px; flex:1; min-width:180px; border-right:1px solid var(--border); color:var(--cream); text-decoration:none; transition:all .2s; }
.cta-card:hover { background:var(--bg3); transform:translateY(-1px); }
.cta-icon { font-size:28px; flex-shrink:0; }
.cta-label { display:block; font-weight:700; font-size:14px; color:var(--blue); }
.cta-sub   { display:block; font-size:12px; color:var(--text-dim); margin-top:1px; }

/* ── Recent Plays ─────────────────────────────────────────────────────────── */
.recent-list { list-style:none; }
.recent-item { display:flex; gap:12px; align-items:center; padding:10px 0; border-bottom:1px solid var(--border); }
.recent-item:last-child { border-bottom:none; }
.recent-num  { font-family:var(--font-vt); font-size:20px; color:var(--red); width:24px; flex-shrink:0; font-weight:700; }
.recent-art  { width:40px; height:40px; border-radius:6px; background:var(--bg3); flex-shrink:0; display:flex; align-items:center; justify-content:center; font-size:18px; overflow:hidden; border:1px solid var(--border); }
.recent-art img { width:100%; height:100%; object-fit:cover; }
.recent-info { flex:1; min-width:0; }
.recent-artist { font-weight:700; font-size:13px; color:var(--cream); overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.recent-title  { font-size:12px; color:var(--text-dim); overflow:hidden; text-overflow:ellipsis; white-space:nowrap; margin-top:1px; }
.recent-time   { font-size:11px; color:var(--text-dim); white-space:nowrap; flex-shrink:0; }
.recent-placeholder { font-style:italic; color:var(--text-dim); font-size:13px; padding:4px 0; }

/* ── Newsletter ───────────────────────────────────────────────────────────── */
.newsletter-banner { background:linear-gradient(135deg,var(--blue) 0%,var(--blue-bright) 100%); border-radius:var(--radius); padding:28px 32px; display:flex; gap:24px; align-items:center; flex-wrap:wrap; box-shadow:var(--shadow-lg); }
.newsletter-copy h3 { font-family:var(--font-head); font-size:22px; color:#fff; }
.newsletter-copy p  { font-size:13px; color:rgba(255,255,255,.8); margin-top:4px; }
.newsletter-form { display:flex; gap:8px; flex-wrap:wrap; }
.newsletter-form input { background:rgba(255,255,255,.15); border:1px solid rgba(255,255,255,.3); color:#fff; border-radius:var(--radius-sm); padding:10px 14px; font-size:13px; min-width:200px; }
.newsletter-form input::placeholder { color:rgba(255,255,255,.55); }
.newsletter-form input:focus { outline:none; background:rgba(255,255,255,.2); }

/* ── News cards ───────────────────────────────────────────────────────────── */
.news-card { background:var(--bg2); border:1px solid var(--border); border-left:4px solid var(--red); border-radius:var(--radius); padding:20px; transition:all .2s; box-shadow:0 1px 4px rgba(27,58,140,.05); }
.news-card:hover { border-left-color:var(--blue); box-shadow:var(--shadow); transform:translateY(-2px); }
.news-date  { font-size:11px; color:var(--text-dim); margin-bottom:6px; text-transform:uppercase; letter-spacing:.5px; }
.news-title { font-weight:700; font-size:15px; color:var(--cream); margin-bottom:8px; }
.news-body  { font-size:13px; color:var(--cream-dim); line-height:1.7; }

/* ── Contest cards ────────────────────────────────────────────────────────── */
.contest-card { background:var(--bg2); border:2px solid var(--red); border-radius:var(--radius); padding:24px; position:relative; overflow:hidden; }
.contest-card::after { content:''; position:absolute; top:0; right:0; width:60px; height:60px; background:var(--red); clip-path:polygon(100% 0,0 0,100% 100%); opacity:.1; }

/* ── Forms ────────────────────────────────────────────────────────────────── */
.rfm-form { display:flex; flex-direction:column; gap:14px; }
.form-group { display:flex; flex-direction:column; gap:5px; }
.form-group label { font-size:11px; font-weight:700; letter-spacing:1px; text-transform:uppercase; color:var(--blue); }
.form-group input,.form-group select,.form-group textarea {
  background:#fff; border:1.5px solid var(--border);
  color:var(--cream); border-radius:var(--radius-sm);
  padding:10px 12px; font-size:14px; font-family:inherit;
  transition:border-color .2s,box-shadow .2s; width:100%;
}
.form-group input:focus,.form-group select:focus,.form-group textarea:focus {
  outline:none; border-color:var(--red);
  box-shadow:0 0 0 3px rgba(204,41,41,.1);
}
.form-group input::placeholder,.form-group textarea::placeholder { color:#aab0c8; }
.form-hint { font-size:11px; color:var(--text-dim); }
.form-status { font-size:13px; min-height:18px; }

/* ── Footer ───────────────────────────────────────────────────────────────── */
.site-footer { background:var(--blue); color:#fff; border-top:5px solid var(--red); margin-top:60px; padding:48px 20px 20px; }
.footer-grid { max-width:var(--max-width); margin:0 auto; display:grid; grid-template-columns:1.4fr 1fr 1fr 1fr; gap:40px; margin-bottom:36px; }
.footer-freq   { font-family:var(--font-head); font-size:36px; font-weight:900; color:#fff; line-height:1; }
.footer-name   { font-family:var(--font-head); font-size:16px; color:rgba(255,255,255,.9); font-weight:700; margin-top:4px; }
.footer-market { font-size:12px; color:rgba(255,255,255,.55); margin-top:6px; }
.footer-col h4 { font-family:var(--font-head); font-size:11px; font-weight:700; letter-spacing:2px; text-transform:uppercase; color:rgba(255,255,255,.5); margin-bottom:14px; }
.footer-col p,.footer-col a { font-size:13px; color:rgba(255,255,255,.75); line-height:2; display:block; }
.footer-col a:hover { color:#fff; text-decoration:underline; }
.footer-bottom { max-width:var(--max-width); margin:0 auto; padding-top:20px; border-top:1px solid rgba(255,255,255,.15); display:flex; justify-content:space-between; align-items:center; font-size:12px; color:rgba(255,255,255,.45); flex-wrap:wrap; gap:8px; }

/* ── Ad slots ─────────────────────────────────────────────────────────────── */
.ad-slot { background:var(--bg3); border:1px dashed rgba(27,58,140,.2); border-radius:var(--radius-sm); display:flex; align-items:center; justify-content:center; color:var(--text-dim); font-size:11px; text-transform:uppercase; letter-spacing:1px; }
.ad-slot.leaderboard { height:90px; margin:24px 0; }

/* ── Mobile player bar ────────────────────────────────────────────────────── */
.mobile-player-bar { display:none; position:fixed; bottom:0; left:0; right:0; background:var(--blue); border-top:3px solid var(--red); padding:8px 16px; z-index:200; align-items:center; gap:12px; box-shadow:0 -4px 20px rgba(0,0,0,.2); }
.mobile-player-art { width:38px; height:38px; border-radius:6px; background:rgba(255,255,255,.15); display:flex; align-items:center; justify-content:center; font-size:18px; flex-shrink:0; overflow:hidden; }
.mobile-player-info { flex:1; min-width:0; }
.mobile-player-artist { font-size:13px; font-weight:700; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; color:#fff; }
.mobile-player-title  { font-size:11px; color:rgba(255,255,255,.65); white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.mobile-play-btn { background:var(--red); border:none; border-radius:50%; width:38px; height:38px; color:#fff; font-size:14px; cursor:pointer; flex-shrink:0; display:flex; align-items:center; justify-content:center; }

/* ── Toast ────────────────────────────────────────────────────────────────── */
.toast { position:fixed; bottom:80px; left:50%; transform:translateX(-50%); background:var(--blue); border:2px solid var(--red); color:#fff; padding:12px 24px; border-radius:var(--radius); font-size:13px; z-index:9000; opacity:0; transition:opacity .3s; pointer-events:none; box-shadow:var(--shadow-lg); }
.toast.show { opacity:1; }

/* ── Spinner ──────────────────────────────────────────────────────────────── */
.spinner { width:32px; height:32px; border:3px solid rgba(27,58,140,.1); border-top-color:var(--red); border-radius:50%; animation:spin .7s linear infinite; }
.loading-state { display:flex; justify-content:center; align-items:center; padding:40px; color:var(--text-dim); }
@keyframes spin { to { transform:rotate(360deg); } }

/* ── Alerts ───────────────────────────────────────────────────────────────── */
.alert { padding:12px 16px; border-radius:var(--radius-sm); margin-bottom:16px; font-size:13px; }
.alert-ok  { background:rgba(27,58,140,.06); border:1px solid rgba(27,58,140,.2); color:var(--blue); }
.alert-err { background:rgba(204,41,41,.06); border:1px solid rgba(204,41,41,.2); color:var(--red-dark); }

/* ── Page-specific ────────────────────────────────────────────────────────── */
/* On Air page */
.talent-grid { display:grid; grid-template-columns:repeat(auto-fill,minmax(240px,1fr)); gap:20px; }
.talent-card { background:var(--bg2); border:1px solid var(--border); border-radius:var(--radius); overflow:hidden; transition:all .2s; box-shadow:0 1px 4px rgba(27,58,140,.05); }
.talent-card:hover { border-color:var(--red); box-shadow:var(--shadow); transform:translateY(-2px); }
.talent-photo { width:100%; height:180px; object-fit:cover; background:linear-gradient(135deg,var(--bg3),var(--blue-light)); }
.talent-info { padding:16px; }
.talent-name { font-family:var(--font-head); font-size:18px; font-weight:900; color:var(--blue); }
.talent-title{ font-size:12px; color:var(--red); font-weight:700; text-transform:uppercase; letter-spacing:.5px; }
.talent-bio  { font-size:13px; color:var(--cream-dim); margin-top:8px; line-height:1.6; }

/* Library/Request page */
.library-search { width:100%; background:#fff; border:2px solid var(--border); color:var(--cream); border-radius:var(--radius); padding:14px 20px; font-size:16px; font-family:inherit; transition:border-color .2s; }
.library-search:focus { outline:none; border-color:var(--red); box-shadow:0 0 0 3px rgba(204,41,41,.1); }

/* Dedication ticker */
#dedicationTicker { background:rgba(204,41,41,.06); border:1px solid rgba(204,41,41,.2); border-radius:8px; padding:10px 16px; margin-bottom:16px; }

/* ── Crooner Club / Member Pages ──────────────────────────────────────────── */
.member-hero { background:linear-gradient(135deg,var(--blue) 0%,#0d1f5c 100%); border-bottom:4px solid var(--red); padding:40px 20px; color:#fff; text-align:center; }
.member-avatar-ring { width:90px; height:90px; border-radius:50%; border:3px solid var(--red); overflow:hidden; margin:0 auto 12px; background:rgba(255,255,255,.1); display:flex; align-items:center; justify-content:center; font-size:36px; }
.member-avatar-ring img { width:100%; height:100%; object-fit:cover; }
.member-display-name { font-family:var(--font-head); font-size:28px; font-weight:900; color:#fff; }
.member-handle { font-size:13px; color:rgba(255,255,255,.6); }
.member-tabs { background:#fff; border-bottom:2px solid var(--border); display:flex; overflow-x:auto; -webkit-overflow-scrolling:touch; }
.member-tab { padding:14px 20px; font-size:13px; font-weight:700; color:var(--text-dim); border-bottom:3px solid transparent; cursor:pointer; white-space:nowrap; background:none; border-left:none; border-right:none; border-top:none; font-family:inherit; transition:all .2s; }
.member-tab.active,.member-tab:hover { color:var(--red); border-bottom-color:var(--red); }
.member-panel { display:none; padding:24px 0; }
.member-panel.active { display:block; }

/* Profile card on public pages */
.profile-header { background:linear-gradient(160deg,var(--blue) 0%,#0a1550 100%); padding:40px 20px 60px; color:#fff; text-align:center; }
.profile-stats { display:flex; gap:0; background:#fff; border:1px solid var(--border); border-radius:var(--radius); overflow:hidden; margin:-32px 20px 24px; box-shadow:var(--shadow); }
.profile-stat { flex:1; text-align:center; padding:16px 10px; border-right:1px solid var(--border); }
.profile-stat:last-child { border-right:none; }
.profile-stat-num  { font-family:var(--font-head); font-size:24px; font-weight:900; color:var(--red); }
.profile-stat-label{ font-size:11px; color:var(--text-dim); text-transform:uppercase; letter-spacing:.5px; }

/* Badge pills */
.badge-pill { display:inline-flex; align-items:center; gap:5px; background:var(--bg3); border:1px solid var(--border); border-radius:20px; padding:4px 10px; font-size:12px; color:var(--cream-dim); margin:2px; }

/* Wall posts */
.wall-post { background:var(--bg2); border:1px solid var(--border); border-radius:var(--radius); padding:16px; margin-bottom:12px; }
.wall-post-header { display:flex; align-items:center; gap:10px; margin-bottom:10px; }
.wall-post-avatar { width:36px; height:36px; border-radius:50%; overflow:hidden; background:var(--bg3); flex-shrink:0; border:1px solid var(--border-red); }
.wall-post-meta   { flex:1; font-size:12px; color:var(--text-dim); }
.wall-post-author { font-weight:700; color:var(--blue); font-size:13px; }
.wall-post-text   { font-size:14px; color:var(--cream); line-height:1.6; }
.wall-like-btn { background:none; border:1px solid var(--border); border-radius:20px; padding:4px 10px; font-size:12px; color:var(--text-dim); cursor:pointer; transition:all .2s; }
.wall-like-btn:hover,.wall-like-btn.liked { background:rgba(204,41,41,.08); border-color:var(--red); color:var(--red); }

/* Friends */
.friend-grid { display:grid; grid-template-columns:repeat(auto-fill,minmax(100px,1fr)); gap:12px; }
.friend-card { text-align:center; cursor:pointer; }
.friend-avatar { width:60px; height:60px; border-radius:50%; overflow:hidden; background:var(--bg3); margin:0 auto 6px; border:2px solid var(--border-red); }
.friend-avatar img { width:100%; height:100%; object-fit:cover; }
.friend-name { font-size:11px; color:var(--cream); font-weight:600; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }

/* Requests in member portal */
.request-item { display:flex; align-items:center; gap:12px; padding:10px; background:var(--bg3); border-radius:var(--radius-sm); margin-bottom:8px; border-left:3px solid var(--blue); }
.request-item.played { border-left-color:var(--red); opacity:.7; }
.request-status { font-size:11px; font-weight:700; padding:2px 8px; border-radius:12px; background:rgba(27,58,140,.1); color:var(--blue); }
.request-item.played .request-status { background:rgba(204,41,41,.1); color:var(--red-dark); }

/* Auth forms */
.auth-gate { max-width:420px; margin:0 auto; }
.auth-card { background:#fff; border:1px solid var(--border); border-top:4px solid var(--red); border-radius:var(--radius); padding:32px; box-shadow:var(--shadow-lg); }
.auth-title { font-family:var(--font-head); font-size:26px; font-weight:900; color:var(--blue); margin-bottom:4px; }
.auth-subtitle { font-size:13px; color:var(--text-dim); margin-bottom:24px; }
.auth-switch { font-size:13px; color:var(--text-dim); margin-top:16px; text-align:center; }
.auth-switch a { color:var(--red); font-weight:700; }

/* ── About page ───────────────────────────────────────────────────────────── */
.about-hero { background:linear-gradient(160deg,var(--blue) 0%,#0d1f5c 100%); padding:60px 20px; color:#fff; text-align:center; }
.fact-table { width:100%; border-collapse:collapse; }
.fact-table tr { border-bottom:1px solid var(--border); }
.fact-table td { padding:10px 0; font-size:13px; }
.fact-table td:first-child { color:var(--text-dim); font-weight:700; width:40%; text-transform:uppercase; font-size:11px; letter-spacing:.5px; }
.fact-table td:last-child { color:var(--cream); }

/* ── Responsive ───────────────────────────────────────────────────────────── */
@media (max-width:768px) {
  .hero-inner { grid-template-columns:1fr; }
  .hero-np { display:none; }
  .footer-grid { grid-template-columns:1fr 1fr; gap:28px; }
  .cta-strip { flex-direction:column; }
  .mobile-player-bar { display:flex; }
  body { padding-bottom:65px; }
  .hamburger { display:flex; }
  .nav-inner { display:none; }
  .nav-inner.open { display:flex; flex-direction:column; align-items:flex-start; background:#fff; position:absolute; top:100%; left:0; right:0; padding:12px; border-bottom:3px solid var(--red); box-shadow:0 8px 24px rgba(0,0,0,.1); z-index:100; }
  .site-main { padding:16px 14px 80px; }
  .home-hero { padding:32px 14px 36px; }
  .newsletter-banner { flex-direction:column; }
  .profile-stats { margin:-28px 10px 20px; }
}
@media (max-width:480px) {
  .footer-grid { grid-template-columns:1fr; }
  .card-grid { grid-template-columns:1fr; }
  .talent-grid { grid-template-columns:1fr 1fr; }
}

/* ── Print ────────────────────────────────────────────────────────────────── */
@media print {
  .site-header,.site-footer,.mobile-player-bar,.ad-slot { display:none; }
  body { background:#fff; color:#000; }
}
