/* ====== VLR Presentation Styles (pure CSS) ====== */
:root{
  --bg: #0b0c10;
  --bg-2:#111218;
  --fg: #e8f3ff;
  --muted:#9bb0c9;
  --brand:#5cf2c7;
  --accent:#7aa7ff;
  --warn:#ffd166;
  --card:#151826;
  --chip:#1f2335;
  --shadow: 0 10px 24px rgba(0,0,0,.35), 0 4px 10px rgba(0,0,0,.25);
  --radius: 18px;
}

*{box-sizing:border-box}
html,body{height:100%}
body{
  margin:0;
  font-family: "Quicksand", system-ui, -apple-system, Segoe UI, Roboto, Ubuntu, Cantarell, "Helvetica Neue", Arial, "Noto Sans", "Apple Color Emoji","Segoe UI Emoji", "Segoe UI Symbol";
  background: radial-gradient(1200px 600px at 80% -10%, rgba(92,242,199,.08), transparent 60%),
              radial-gradient(900px 500px at -10% 10%, rgba(122,167,255,.10), transparent 60%),
              linear-gradient(180deg, var(--bg), var(--bg-2));
  color:var(--fg);
  line-height:1.55;
}

/* Header */
.site-header{
  position:sticky; top:0; z-index:50;
  display:flex; align-items:center; justify-content:space-between;
  padding:14px 18px;
  background: rgba(11,12,16,.75);
  backdrop-filter: blur(6px);
  border-bottom:1px solid rgba(255,255,255,.06);
}
.brand{display:flex; align-items:center; gap:12px;}
.brand .logo{
  display:inline-grid; place-items:center;
  width:36px; height:36px; border-radius:50%;
  background: linear-gradient(135deg, var(--brand), var(--accent));
  color:#0b0c10; font-weight:900; box-shadow:var(--shadow);
}
.brand h1{font-family:"Urbanist", sans-serif; font-weight:800; font-size:20px; margin:0;}
.brand .tag{margin:0; color:var(--muted); font-size:12px}

/* Menu (non-invasive panel) */
.menu-toggle{display:none}
.hamburger{
  width:36px; height:28px; display:grid; gap:5px; cursor:pointer;
}
.hamburger span{
  display:block; height:3px; background:var(--fg); border-radius:2px;
  transition: transform .25s ease, opacity .25s;
}
.menu-panel{
  position:fixed; top:60px; right:16px; width:260px; max-width:85vw;
  background:rgba(21,24,38,.95); border:1px solid rgba(255,255,255,.08);
  border-radius:14px; box-shadow:var(--shadow); padding:10px 8px;
  opacity:0; transform: translateY(-8px) scale(.98); pointer-events:none;
  transition: .25s ease;
}
.menu-panel .menu-head{display:flex; justify-content:space-between; align-items:center; padding:6px 10px 8px 10px; border-bottom:1px dashed rgba(255,255,255,.12);}
.menu-panel .close{cursor:pointer; opacity:.7}
.menu-panel ul{list-style:none; margin:8px 0 4px; padding:0}
.menu-panel li a{
  display:block; padding:10px 12px; border-radius:10px; text-decoration:none; color:var(--fg);
  background:transparent; transition: background .25s, transform .1s;
}
.menu-panel li a:hover{ background:rgba(255,255,255,.06); transform: translateX(2px) }

/* Toggle animation */
.menu-toggle:checked ~ .hamburger span:nth-child(1){ transform: translateY(8px) rotate(45deg) }
.menu-toggle:checked ~ .hamburger span:nth-child(2){ opacity:0 }
.menu-toggle:checked ~ .hamburger span:nth-child(3){ transform: translateY(-8px) rotate(-45deg) }
.menu-toggle:checked ~ .menu-panel{ opacity:1; transform: translateY(0) scale(1); pointer-events:auto }

/* Hero */
.hero{ padding: 38px 18px 10px;}
.hero-card{
  max-width:980px; margin:0 auto; background:linear-gradient(180deg, rgba(124,180,255,.08), rgba(92,242,199,.06));
  border:1px solid rgba(255,255,255,.10); border-radius:var(--radius); box-shadow:var(--shadow);
  padding:24px; text-align:center;
}
.hero-card h2{margin-top:0; font-size:28px}
.hero-icons{display:flex; gap:12px; justify-content:center; margin-top:12px}
.icon-card{
  display:grid; place-items:center; gap:6px; width:110px; aspect-ratio: 1/1;
  border-radius:16px; background:var(--card); border:1px solid rgba(255,255,255,.08);
  box-shadow:var(--shadow); font-size:30px; transition: transform .25s, box-shadow .25s;
}
.icon-card span{font-size:13px; color:var(--muted)}
.icon-card:hover{ transform: translateY(-4px) rotate(-1.5deg); box-shadow: 0 16px 30px rgba(0,0,0,.45); }

/* Sections */
.section-title{
  font-size:20px; margin: 28px auto 12px; padding: 0 18px; max-width:980px;
}
.games .grid{
  display:grid; gap:16px; grid-template-columns: repeat(3, minmax(0,1fr));
  padding: 0 18px; max-width: 980px; margin: 0 auto;
}
@media (max-width: 980px){
  .games .grid{ grid-template-columns: repeat(2, minmax(0,1fr)); }
}
@media (max-width: 720px){
  .games .grid{ grid-template-columns: 1fr; }
}

/* Game cards */
.game-card{
  background: linear-gradient(180deg, rgba(92,242,199,.05), transparent 30%),
              linear-gradient(180deg, rgba(122,167,255,.07), transparent 60%),
              var(--card);
  border:1px solid rgba(255,255,255,.10);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow:hidden;
}
.game-head{
  display:flex; align-items:center; gap:10px; padding:14px 14px;
  background:linear-gradient(180deg, rgba(255,255,255,.05), transparent);
  cursor:pointer; user-select:none;
}
.game-head .icon{ font-size:22px }
.game-head .title{ font-weight:700; letter-spacing:.6px }
.game-head .chev{ margin-left:auto; opacity:.8; transition: transform .2s }
.fold{ display:none }
.fold:not(:checked) ~ .game-body{ max-height:0; overflow:hidden }
.fold:checked ~ .game-body{ max-height:600px; transition: max-height .45s ease }
.fold:checked + .game-head .chev{ transform: rotate(180deg) }

.game-body{ padding: 0 14px 14px; }
.game-body details{ background: rgba(255,255,255,.04); border:1px solid rgba(255,255,255,.08); border-radius:12px; padding:10px 12px; margin:8px 0 }
.game-body details summary{ cursor:pointer; color:var(--accent); font-weight:600 }
.game-body ul{ margin:8px 0 0 16px }

/* Library accordion */
.library{ padding: 0 18px; max-width:980px; margin:0 auto}
.source-note{ color:var(--muted); font-size:12px; margin-top:-6px }
.accordion{ margin-top:12px }
.acc-item{
  background: rgba(12,14,20,.6);
  border:1px solid rgba(255,255,255,.08);
  border-radius:14px; margin:8px 0;
  transition: transform .2s ease, box-shadow .2s ease;
}
.acc-item:hover{ transform: translateY(-2px); box-shadow: var(--shadow); }
.acc-item > summary{
  list-style:none; padding:12px 14px; cursor:pointer;
}
.acc-item > summary::-webkit-details-marker{ display:none }
.acc-item .bullet{ display:inline-block; width:40px; color:var(--warn) }
.acc-body{ padding: 2px 14px 14px; }
.micro-actions{ display:flex; gap:8px; flex-wrap:wrap; margin-top:10px }
.chip{
  display:inline-block; padding:6px 10px; border-radius:999px;
  background:var(--chip); border:1px solid rgba(255,255,255,.12);
  font-size:12px; color:var(--muted);
}

/* Howto */
.howto{ padding:0 18px; max-width:980px; margin: 8px auto 24px }
.howto-list{ margin-top:10px }
.howto-list li{ margin:6px 0 }

/* Footer */
.site-footer{
  border-top:1px solid rgba(255,255,255,.06);
  margin-top:24px; padding:14px 18px; color:var(--muted);
}

/* Smooth focus */
a, summary, label{ outline: none }
a:focus-visible, summary:focus-visible, label:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px }
