/* funzyra.xyz warm arcade theme */
:root {
  --bg: #171312;
  --panel: #1f1917;
  --text: #fff6f0;
  --muted: #e6cfc3;
  --accent: #ff9d00;
  --accent-2: #ff3a6e;
  --info: #2ad1ff;
  --shadow: 0 14px 40px rgba(0,0,0,.45);
}

* { box-sizing: border-box; }
html, body { height: 100%; }
body {
  margin: 0;
  font-family: 'Manrope', system-ui, -apple-system, Segoe UI, Roboto, Ubuntu, 'Helvetica Neue', Arial, 'Noto Sans', sans-serif;
  color: var(--text);
  background:
    radial-gradient(900px 600px at 0% 0%, rgba(255,157,0,.18), transparent 60%),
    radial-gradient(900px 600px at 100% 30%, rgba(255,58,110,.16), transparent 60%),
    var(--bg);
}

.container { width: min(1200px, 94%); margin: 0 auto; }

.header { position: sticky; top: 0; z-index: 40; background: rgba(23,19,18,.7); backdrop-filter: blur(8px) saturate(120%); border-bottom: 1px solid rgba(255,255,255,.08); }
.header-inner { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 14px; padding: 14px 0; }
.brand { display: grid; grid-auto-flow: column; align-items: center; gap: 10px; color: var(--text); text-decoration: none; }
.brand img { width: 40px; height: 40px; display: block; }
.brand .title { font-family: 'Righteous', cursive; font-size: 22px; letter-spacing: .4px; }

/* Sidebar layout for this site */
.layout { display: grid; grid-template-columns: 260px 1fr; gap: 18px; }
.sidebar { position: sticky; top: 68px; align-self: start; background: linear-gradient(180deg, rgba(255,255,255,.04), rgba(255,255,255,.02)); border: 1px solid rgba(255,255,255,.08); border-radius: 16px; padding: 14px; box-shadow: var(--shadow); }
.side-title { font-weight: 800; margin: 0 0 8px; color: #ffe1cf; }
.side-nav { display: grid; gap: 8px; }
.side-nav a { display: block; padding: 10px 12px; border-radius: 10px; color: var(--text); text-decoration: none; font-weight: 700; }
.side-nav a:hover { background: rgba(255,255,255,.06); }

.burger { appearance: none; border: none; background: transparent; color: var(--text); display: none; }
.burger svg { width: 28px; height: 28px; }

@media (max-width: 960px) {
  .layout { grid-template-columns: 1fr; }
  .sidebar { display: none; }
  .burger { display: inline-flex; }
  .nav { position: fixed; top: 56px; right: 0; width: 82%; max-width: 340px; height: calc(100dvh - 56px); background: var(--panel); transform: translateX(100%); transition: transform .25s ease; padding: 16px; display: grid; gap: 10px; }
  body.nav-open .nav { transform: translateX(0); }
}

.nav { display: grid; grid-auto-flow: column; gap: 10px; align-items: center; }
.nav a { color: var(--text); text-decoration: none; padding: 10px 12px; border-radius: 10px; font-weight: 700; }

.section { padding: 26px 0; }
.frame-wrap { background: #1a1513; border-radius: 16px; border: 1px solid rgba(255,255,255,.08); overflow: hidden; box-shadow: var(--shadow); }
.frame-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 12px 16px; border-bottom: 1px solid rgba(255,255,255,.08); }
.frame-body { aspect-ratio: 4/3; background: #000; }
.frame-body iframe { width: 100%; height: 100%; border: 0; display: block; }

.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.card { background: linear-gradient(180deg, rgba(255,255,255,.04), rgba(255,255,255,.02)); border: 1px solid rgba(255,255,255,.08); border-radius: 16px; padding: 16px; }
.card h3 { margin: 0 0 8px; }
.card p { margin: 0; color: var(--muted); }
@media (max-width: 960px) { .grid { grid-template-columns: 1fr; } }

.footer { margin-top: 32px; padding: 24px 0 48px; border-top: 1px solid rgba(255,255,255,.08); color: var(--muted); }
.footer a { color: #ffd2bd; }

/* Age gate */
.age-gate { position: fixed; inset: 0; display: none; align-items: center; justify-content: center; background: rgba(20,17,15,.72); backdrop-filter: blur(6px) saturate(120%); z-index: 100; }
.age-gate[aria-hidden="false"] { display: flex; }
.age-panel { width: min(560px, 92%); background: var(--panel); border-radius: 16px; border: 1px solid rgba(255,255,255,.12); box-shadow: var(--shadow); padding: 22px; }
.age-panel h2 { margin-top: 0; font-family: 'Righteous', cursive; }
.age-panel p { color: var(--muted); }
.actions { display: flex; gap: 10px; margin-top: 14px; }
.btn { appearance: none; border: none; border-radius: 12px; padding: 10px 14px; font-weight: 800; cursor: pointer; }
.btn.primary { background: linear-gradient(90deg, var(--accent), var(--accent-2)); color: #241b18; }
.btn.secondary { background: transparent; color: var(--text); border: 1px solid rgba(255,255,255,.2); }
