/* Shared Styles - Kegel King */

@font-face {
  font-family: 'Regal Muscle';
  src: url('/regalmuscle.woff2') format('woff2'), url('/regalmuscle.woff') format('woff');
  font-weight: normal; font-style: normal; font-display: swap;
}

:root {
  --bg: #0D1129; --bg-light: #111633; --card: rgba(255,184,0,0.04);
  --border: rgba(255,184,0,0.12); --border-bright: rgba(255,184,0,0.3);
  --gold: #FFB800; --gold-dim: rgba(255,184,0,0.5); --gold-bg: rgba(255,184,0,0.06);
  --text: #E8E6E1; --text-muted: rgba(232,230,225,0.55); --text-dim: rgba(232,230,225,0.45);
  --white-dim: rgba(255,255,255,0.25);
}

* { margin:0; padding:0; box-sizing:border-box; }
html { scroll-behavior:smooth; overflow-x:hidden; }
body { font-family:'Figtree',sans-serif; background:var(--bg); color:var(--text); -webkit-font-smoothing:antialiased; overflow-x:hidden; }

/* Gate */
#gate { position:fixed; top:0; left:0; width:100%; height:100%; background:var(--bg); z-index:10000; display:flex; align-items:center; justify-content:center; flex-direction:column; gap:16px; }
#gate.hidden { display:none; }
#gate h2 { font-family:'Regal Muscle','Righteous',sans-serif; font-size:28px; color:var(--gold); }
#gate input { background:rgba(255,255,255,0.05); border:1px solid var(--border); border-radius:12px; padding:14px 20px; color:var(--text); font-family:'Figtree',sans-serif; font-size:16px; width:280px; text-align:center; outline:none; }
#gate input:focus { border-color:var(--gold); }
#gate button { background:var(--gold); color:var(--bg); border:none; border-radius:12px; padding:14px 40px; font-family:'Figtree',sans-serif; font-weight:700; font-size:16px; cursor:pointer; }
#gate .error { color:#ff4444; font-size:13px; min-height:20px; }

/* Grain */
body::after { content:''; position:fixed; top:0; left:0; width:100%; height:100%; background-image:url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.03'/%3E%3C/svg%3E"); pointer-events:none; z-index:9998; }

/* Nav */
nav { position:fixed; top:0; width:100%; z-index:100; padding:36px 32px; display:flex; align-items:center; justify-content:center; background:rgba(13,17,41,0.92); backdrop-filter:blur(12px); -webkit-backdrop-filter:blur(12px); border-bottom:1px solid rgba(255,255,255,0.04); }
.nav-brand { position:absolute; left:50%; transform:translateX(-50%); }
.nav-links { position:absolute; right:32px; display:flex; gap:20px; align-items:center; }
.nav-links a { font-size:13px; color:var(--text-muted); text-decoration:none; transition:color 0.3s; }
.nav-links a:hover { color:var(--gold); }
.nav-cta { background:var(--gold)!important; color:var(--bg)!important; padding:8px 20px; border-radius:100px; font-weight:600!important; }

/* Hamburger */
.hamburger { display:none; background:none; border:none; cursor:pointer; padding:4px; position:absolute; right:24px; }
.hamburger span { display:block; width:22px; height:2px; background:var(--text); margin:5px 0; transition:0.3s; }

/* Mobile Menu */
.mobile-menu { display:none; position:fixed; top:52px; left:0; width:100%; background:rgba(13,17,41,0.97); backdrop-filter:blur(12px); -webkit-backdrop-filter:blur(12px); padding:16px 24px; border-bottom:1px solid rgba(255,255,255,0.04); z-index:99; flex-direction:column; gap:16px; }
.mobile-menu.open { display:flex; }
.mobile-menu a { font-size:15px; color:var(--text-muted); text-decoration:none; padding:8px 0; }
.mobile-menu a:hover { color:var(--gold); }
.mobile-menu .nav-cta { display:inline-block; text-align:center; background:var(--gold); color:var(--bg); padding:10px 24px; border-radius:100px; font-weight:600; }

/* Footer */
footer { border-top:1px solid rgba(255,255,255,0.04); padding:40px 24px; max-width:960px; margin:0 auto; text-align:center; }
.footer-logo { margin-bottom:20px; }
.footer-logo img { height:32px; width:auto; }
.footer-links { display:flex; justify-content:center; gap:20px; margin-bottom:24px; flex-wrap:wrap; }
.footer-links a { font-size:13px; color:var(--text-dim); text-decoration:none; transition:color 0.3s; }
.footer-links a:hover { color:var(--text-muted); }
.footer-cite-label { font-size:12px; color:var(--gold); margin-bottom:8px; }
.footer-citations { font-size:11px; color:var(--text-dim); line-height:1.8; margin-bottom:16px; }
.footer-copy { font-size:11px; color:var(--text-dim); }
.footer-disclaimer { font-size:10px; color:rgba(232,230,225,0.3); margin-top:20px; line-height:1.6; max-width:600px; margin-left:auto; margin-right:auto; }

@media (max-width:1024px) {
  nav { padding:36px 20px; }
  .nav-links { display:none; }
  .hamburger { display:block; }
  .footer-links { flex-wrap:wrap; justify-content:center; }
}
