:root {
  --bg: #0b0f0c;
  --panel: #141a16;
  --line: #233027;
  --text: #e9f1ea;
  --muted: #8fa496;
  --green: #7cff6b;
  --green-dim: #3fae36;
  --red: #ff3d3d;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font: 16px/1.55 Inter, system-ui, sans-serif;
}
a { color: var(--green); text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; display: block; }
h1, h2 { font-family: Bungee, Inter, sans-serif; font-weight: 400; letter-spacing: .5px; margin: 0 0 .4em; }
h1 { font-size: clamp(2.2rem, 6vw, 4rem); line-height: 1.05; }
h2 { font-size: 1.5rem; }
.muted { color: var(--muted); }
.eyebrow { color: var(--green); font-weight: 700; text-transform: uppercase; letter-spacing: 2px; font-size: .8rem; margin: 0 0 .3em; }
.lead { font-size: 1.15rem; color: #cfdcd2; max-width: 46ch; }

/* nav */
.nav {
  position: sticky; top: 0; z-index: 10; display: flex; align-items: center; justify-content: space-between;
  gap: 16px; padding: 12px clamp(16px, 4vw, 48px);
  background: rgba(11, 15, 12, .85); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line);
}
.brand { display: flex; align-items: center; gap: 10px; color: var(--text); font-family: Bungee, sans-serif; font-size: 1.2rem; }
.brand:hover { text-decoration: none; }
.brand img { width: 36px; height: 36px; border-radius: 50%; border: 2px solid var(--green); }
.nav nav { display: flex; align-items: center; gap: 4px; flex-wrap: wrap; }
.nav nav a:not(.btn) { color: var(--muted); padding: 6px 12px; border-radius: 8px; font-weight: 500; }
.nav nav a:not(.btn):hover, .nav nav a.active { color: var(--text); background: var(--panel); text-decoration: none; }

/* buttons */
.btn { display: inline-block; padding: 10px 18px; border-radius: 999px; font-weight: 700; transition: transform .15s, background .15s; }
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn-sub { background: var(--red); color: #fff; }
.btn-sub:hover { background: #ff5757; }
.btn-ghost { border: 1px solid var(--green-dim); color: var(--green); }
.btn-ghost:hover { background: rgba(124, 255, 107, .08); }
.actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 20px; }

/* hero */
.hero {
  position: relative; padding: clamp(56px, 10vw, 120px) clamp(16px, 4vw, 48px);
  background: linear-gradient(90deg, rgba(11,15,12,.95) 25%, rgba(11,15,12,.55)), var(--banner) center/cover;
  border-bottom: 1px solid var(--line);
}
.hero-inner { max-width: 1100px; margin: 0 auto; display: flex; align-items: center; gap: clamp(20px, 4vw, 48px); }
.avatar {
  width: clamp(110px, 18vw, 180px); height: clamp(110px, 18vw, 180px); border-radius: 50%; flex-shrink: 0;
  border: 4px solid var(--green); box-shadow: 0 0 40px rgba(124, 255, 107, .35);
}

/* stats */
.stats { max-width: 1100px; margin: -36px auto 0; padding: 0 16px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; position: relative; }
.stat { background: var(--panel); border: 1px solid var(--line); border-radius: 16px; padding: 20px; text-align: center; }
.stat strong { display: block; font-family: Bungee, sans-serif; font-weight: 400; font-size: 2rem; color: var(--green); }
.stat span { color: var(--muted); font-size: .9rem; }

/* sections */
.wrap { max-width: 1100px; margin: 0 auto; padding: 48px 16px 0; }
.page-top { padding-top: 56px; }
.section-head { display: flex; justify-content: space-between; align-items: baseline; }

.feature { display: grid; grid-template-columns: 1.7fr 1fr; gap: 24px; background: var(--panel); border: 1px solid var(--line); border-radius: 18px; padding: 18px; }
.embed { position: relative; aspect-ratio: 16 / 9; border-radius: 12px; overflow: hidden; background: #000; }
.embed iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.feature-info h3 { margin: 4px 0 6px; font-size: 1.3rem; }
.top-pick { margin-top: 24px; padding-top: 18px; border-top: 1px solid var(--line); }
.top-pick a { font-weight: 700; color: var(--text); }

.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 20px; margin-top: 16px; }
.card { background: var(--panel); border: 1px solid var(--line); border-radius: 14px; overflow: hidden; color: var(--text); transition: transform .15s, border-color .15s; }
.card:hover { transform: translateY(-3px); border-color: var(--green-dim); text-decoration: none; }
.thumb { position: relative; aspect-ratio: 16 / 9; overflow: hidden; }
.thumb img { width: 100%; height: 100%; object-fit: cover; }
.badge { position: absolute; top: 8px; left: 8px; background: var(--red); color: #fff; font-size: .7rem; font-weight: 800; padding: 2px 8px; border-radius: 4px; }
.card-body { padding: 12px 14px 14px; }
.card-body h3 { margin: 0 0 4px; font-size: 1rem; line-height: 1.35; }
.card-body p { margin: 0; font-size: .85rem; }

/* about */
.about { display: flex; gap: 40px; align-items: flex-start; }
.facts { list-style: none; padding: 0; margin: 24px 0; border: 1px solid var(--line); border-radius: 14px; overflow: hidden; }
.facts li { display: flex; gap: 16px; padding: 12px 16px; background: var(--panel); border-bottom: 1px solid var(--line); overflow-wrap: anywhere; }
.facts li:last-child { border-bottom: 0; }
.facts span { color: var(--muted); width: 110px; flex-shrink: 0; }

/* comments */
.comments-page { max-width: 760px; }
.comment-form { display: grid; gap: 12px; margin: 24px 0 40px; background: var(--panel); border: 1px solid var(--line); border-radius: 16px; padding: 18px; }
.comment-form input, .comment-form textarea {
  width: 100%; background: var(--bg); color: var(--text); border: 1px solid var(--line); border-radius: 10px;
  padding: 12px 14px; font: inherit; resize: vertical;
}
.comment-form input:focus, .comment-form textarea:focus { outline: none; border-color: var(--green-dim); box-shadow: 0 0 0 3px rgba(124, 255, 107, .15); }
.comment-form button { border: 0; cursor: pointer; font: inherit; font-weight: 700; }
.form-row { display: flex; justify-content: space-between; align-items: center; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; }
.flash { padding: 10px 14px; border-radius: 10px; margin: 16px 0 0; font-weight: 500; }
.flash-ok { background: rgba(124, 255, 107, .12); color: var(--green); border: 1px solid var(--green-dim); }
.flash-error { background: rgba(255, 61, 61, .12); color: #ff8a8a; border: 1px solid #7a2a2a; }
.comment { display: flex; gap: 14px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.comment-avatar {
  width: 42px; height: 42px; border-radius: 50%; flex-shrink: 0; display: grid; place-items: center;
  background: var(--green-dim); color: var(--bg); font-weight: 800; font-size: 1.1rem;
}
.comment-meta { margin: 0 0 4px; }
.comment-meta span { font-size: .85rem; margin-left: 6px; }
.comment-body { margin: 0; white-space: pre-wrap; overflow-wrap: anywhere; }

/* gwamgo page */
.contact-banner {
  display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 6px 14px;
  padding: 14px 16px; text-align: center; background: rgba(124, 255, 107, .1);
  border-bottom: 1px solid var(--green-dim); overflow-wrap: anywhere;
}
.contact-banner a { color: var(--text); background: var(--green-dim); padding: 6px 14px; border-radius: 999px; }
.contact-banner a strong { color: var(--bg); }
.contact-banner a:hover { text-decoration: none; background: var(--green); }
.timeline { list-style: none; counter-reset: step; padding: 0; margin: 16px 0 0; }
.timeline li { counter-increment: step; position: relative; padding: 16px 18px 16px 64px; margin-bottom: 12px; background: var(--panel); border: 1px solid var(--line); border-radius: 14px; }
.timeline li::before {
  content: counter(step); position: absolute; left: 16px; top: 16px; width: 32px; height: 32px; border-radius: 50%;
  display: grid; place-items: center; background: var(--red); color: #fff; font-weight: 800;
}
.timeline h3 { margin: 4px 0 6px; font-size: 1.1rem; }
.timeline p { margin: 0 0 6px; color: #cfdcd2; }

/* accounts + official badge */
.inline { display: inline; margin: 0; }
.link-btn { background: none; border: 0; color: var(--muted); font: inherit; font-weight: 500; padding: 6px 12px; border-radius: 8px; cursor: pointer; }
.link-btn:hover { color: var(--text); background: var(--panel); }
.user-link { color: var(--text) !important; font-weight: 700 !important; }
.crown-inline { font-size: .95em; }
.crown { display: inline-flex; vertical-align: -3px; color: #ffcc33; filter: drop-shadow(0 0 4px rgba(255, 204, 51, .55)); }
.official-tag { margin-left: 6px; font-size: .7rem; font-weight: 800; letter-spacing: 1px; text-transform: uppercase; color: #1a1400; background: #ffcc33; padding: 2px 7px; border-radius: 999px; vertical-align: 1px; }
.guest-tag { margin-left: 6px; font-size: .72rem; color: var(--muted); border: 1px solid var(--line); padding: 1px 6px; border-radius: 999px; }
.comment.official { background: linear-gradient(90deg, rgba(255, 204, 51, .08), transparent 60%); border-left: 3px solid #ffcc33; padding-left: 12px; border-radius: 6px; }
.official-avatar { object-fit: cover; border: 2px solid #ffcc33; background: none; padding: 0; }
.posting-as { margin: 0; }
.login-prompt p { margin: 0; }
.login-prompt .actions { margin-top: 4px; }

/* admin */
.admin-login { max-width: 420px; }
.admin-bar { display: flex; justify-content: space-between; align-items: center; margin: 20px 0 8px; padding: 12px 16px; background: var(--panel); border: 1px solid var(--line); border-radius: 12px; }
.admin-bar label { display: flex; gap: 8px; align-items: center; cursor: pointer; }
.admin-bar button, .section-head button { border: 0; cursor: pointer; font: inherit; font-weight: 700; }
.section-head .btn-ghost { background: none; border: 1px solid var(--green-dim); }
.admin-comment { align-items: flex-start; }
.admin-comment .pick { margin-top: 14px; width: 18px; height: 18px; accent-color: var(--green); }
.grow { flex: 1; min-width: 0; }
.btn-delete { background: none; color: #ff8a8a; border: 1px solid #7a2a2a; border-radius: 8px; padding: 6px 12px; cursor: pointer; font: inherit; font-size: .85rem; }
.btn-delete:hover { background: rgba(255, 61, 61, .15); }

footer { margin-top: 72px; padding: 28px 16px; text-align: center; border-top: 1px solid var(--line); }
footer p { margin: 4px 0; }

@media (max-width: 760px) {
  .hero-inner, .about { flex-direction: column; align-items: flex-start; }
  .feature { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr; margin-top: 24px; }
  .nav { flex-direction: column; align-items: flex-start; }
}
