/* ============================================================
   DaniWorld Scripts — Gimel design system
   Same palette, type, motion and surfaces as the Gimel site:
   ink #06070d · panel #0e111b · blue #3b6ef6 · violet #7c5cff
   ============================================================ */

:root {
  --ink:      #06070d;
  --ink-2:    #0a0c14;
  --panel:    #0e111b;
  --panel-2:  #131724;
  --line:     #1d2233;
  --blue:     #3b6ef6;
  --violet:   #7c5cff;
  --grad:     linear-gradient(135deg, #3b6ef6 0%, #7c5cff 100%);
  --grad-soft:linear-gradient(135deg, rgba(59,110,246,.14), rgba(124,92,255,.14));
  --white:    #f4f6fb;
  --mute:     #9aa3bd;
  --mute-2:   #69708a;
  --red:      #ef4459;
  --radius:   16px;
  --maxw:     1180px;
  --ease:     cubic-bezier(.2,.7,.2,1);
  --font-display: 'Space Grotesk', 'Inter', sans-serif;
  --font-body: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

body {
  font-family: var(--font-body);
  background: var(--ink);
  color: var(--white);
  font-size: 15px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  min-height: 100vh;
}

/* ambient glow behind everything — same as Gimel */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background:
    radial-gradient(640px 480px at 78% -6%, rgba(124,92,255,.16), transparent 60%),
    radial-gradient(720px 520px at 8% 4%, rgba(59,110,246,.14), transparent 60%);
  pointer-events: none;
  z-index: 0;
}
.water-glow { display: none; }

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

.container { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; position: relative; z-index: 1; }

main { position: relative; z-index: 1; min-height: 60vh; }

/* ---------- Type ---------- */
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 600; line-height: 1.08; letter-spacing: -.02em; }

.eyebrow {
  font-size: .74rem; font-weight: 600; letter-spacing: .28em; text-transform: uppercase;
  color: var(--blue); display: inline-flex; align-items: center; gap: 10px;
}
.eyebrow::before { content: ''; width: 26px; height: 1px; background: var(--grad); display: inline-block; }

.grad-text {
  background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent;
}

/* ---------- Motion: fade + blur + slide + stagger ---------- */
/* Hidden state has NO transition (applies instantly when JS tags the element).
   The transition lives on the .in state only - so the ONLY animated change
   is hidden -> visible. Putting the transition on the base class made adding
   .reveal fade the element OUT first, which cancelled the whole effect. */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  filter: blur(8px);
  will-change: opacity, transform, filter;
}
.reveal.in {
  opacity: 1; transform: none; filter: none;
  transition: opacity .8s var(--ease), transform .8s var(--ease), filter .8s var(--ease);
}

.stagger > * {
  opacity: 0;
  transform: translateY(24px);
  filter: blur(6px);
}
.stagger.in > * {
  opacity: 1; transform: none; filter: none;
  transition: opacity .7s var(--ease), transform .7s var(--ease), filter .7s var(--ease);
}
.stagger.in > *:nth-child(1) { transition-delay: .05s; }
.stagger.in > *:nth-child(2) { transition-delay: .12s; }
.stagger.in > *:nth-child(3) { transition-delay: .19s; }
.stagger.in > *:nth-child(4) { transition-delay: .26s; }
.stagger.in > *:nth-child(5) { transition-delay: .33s; }
.stagger.in > *:nth-child(6) { transition-delay: .40s; }
.stagger.in > *:nth-child(7) { transition-delay: .47s; }
.stagger.in > *:nth-child(8) { transition-delay: .54s; }

@media (prefers-reduced-motion: reduce) {
  .reveal, .stagger > * { opacity: 1; transform: none; filter: none; transition: none; }
}

/* ---------- Buttons (Gimel style) ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  font-family: var(--font-body);
  font-weight: 600; font-size: .95rem;
  padding: 12px 22px;
  color: #fff;
  background: var(--grad);
  border: none; border-radius: 12px;
  cursor: pointer;
  transition: transform .18s var(--ease), box-shadow .18s var(--ease), filter .18s var(--ease);
  box-shadow: 0 6px 24px rgba(59,110,246,.28);
}
.btn:hover { transform: translateY(-2px); filter: brightness(1.08); box-shadow: 0 10px 32px rgba(124,92,255,.34); }
.btn-discord { background: linear-gradient(135deg, #5865F2, #4752e8); box-shadow: 0 6px 24px rgba(88,101,242,.28); }
.btn-ghost {
  background: transparent;
  box-shadow: inset 0 0 0 1px var(--line);
  color: var(--white);
}
.btn-ghost:hover { box-shadow: inset 0 0 0 1px var(--blue); filter: none; background: var(--grad-soft); }
.btn-red { background: linear-gradient(135deg, var(--red), #d63449); box-shadow: 0 6px 24px rgba(239,68,89,.25); }
.btn-lg { padding: 14px 28px; font-size: 1rem; }
.btn[disabled] { opacity: .4; cursor: not-allowed; transform: none; box-shadow: none; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(6,7,13,.78);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; gap: 16px; height: 72px; }

.brand { display: flex; align-items: center; gap: 11px; }
.brand img { width: 40px; height: 40px; }
.brand-text {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 18px;
  color: var(--white);
  line-height: 1.1;
  display: flex; flex-direction: column;
}
.brand-text b { color: var(--blue); }
.brand-text small { font-size: 9px; letter-spacing: 3.5px; color: var(--mute-2); font-weight: 500; }

.main-nav { display: flex; gap: 0; margin-left: auto; }
.main-nav a {
  color: var(--mute);
  font-weight: 500;
  font-size: .88rem;
  padding: 8px 10px;
  border-radius: 10px;
  white-space: nowrap;
  transition: color .18s var(--ease), background .18s var(--ease);
}
.main-nav a:hover { color: var(--white); background: var(--grad-soft); }

.header-actions { display: flex; align-items: center; gap: 8px; }
/* Uniform header actions: everything is 40px tall, 12px radius, outline style -
   the gradient Donate button is the single accent. */
.header-actions > * { height: 40px; border-radius: 12px !important; white-space: nowrap; }
.site-header .btn {
  padding: 0 16px; font-size: .84rem;
  background: transparent;
  box-shadow: inset 0 0 0 1px var(--line);
  color: var(--white);
  transform: none !important;
}
.site-header .btn-discord { background: transparent; }
.site-header .btn-discord:hover { box-shadow: inset 0 0 0 1px #5865F2; color: #8b94ff; filter: none; }
.site-header .btn-ghost:hover, .site-header .btn-signin:hover { box-shadow: inset 0 0 0 1px var(--blue); filter: none; }
.site-header .icon-btn { width: 40px; height: 40px; border-radius: 12px; }
.site-header .icon-btn:hover { color: #ff5a67; border-color: rgba(255,90,103,.5); }
.icon-btn {
  width: 38px; height: 38px;
  display: grid; place-items: center;
  border: 1px solid var(--line);
  border-radius: 11px;
  color: var(--mute);
  transition: .18s var(--ease);
}
.icon-btn:hover { color: #ff5a67; border-color: rgba(255,90,103,.5); }

.nav-toggle { display: none; background: none; border: 1px solid var(--line); color: var(--white); font-size: 18px; width: 40px; height: 40px; border-radius: 11px; cursor: pointer; }

/* ---------- Hero ---------- */
.hero { position: relative; padding: 96px 0 72px; overflow: hidden; }
.hero-inner { display: grid; grid-template-columns: 1.15fr .85fr; gap: 48px; align-items: center; }

.hero-eyebrow {
  font-size: .74rem; font-weight: 600; letter-spacing: .28em; text-transform: uppercase;
  color: var(--blue); display: inline-flex; align-items: center; gap: 10px;
}
.hero-eyebrow::before { content: ''; width: 26px; height: 1px; background: var(--grad); display: inline-block; }

.hero h1 {
  font-size: clamp(38px, 5vw, 60px);
  margin: 20px 0 18px;
  font-weight: 600;
}
.hero h1 .line {
  display: block;
  opacity: 0;
  transform: translateY(34px);
  filter: blur(8px);
  animation: lineIn .9s var(--ease) forwards;
}
.hero h1 .line:nth-child(2) { animation-delay: .12s; }
.hero h1 .line:nth-child(3) { animation-delay: .24s; }
.hero .hero-eyebrow, .hero p, .hero-cta, .hero-stats {
  opacity: 0;
  animation: fadeUp .9s var(--ease) forwards;
}
.hero .hero-eyebrow { animation-delay: 0s; }
.hero p { animation-delay: .3s; }
.hero-cta { animation-delay: .42s; }
.hero-stats { animation-delay: .54s; }
@keyframes lineIn { to { opacity: 1; transform: none; filter: none; } }
@keyframes fadeUp { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) {
  .hero h1 .line, .hero .hero-eyebrow, .hero p, .hero-cta, .hero-stats {
    opacity: 1; transform: none; filter: none; animation: none;
  }
}

.hero p { color: var(--mute); max-width: 500px; font-size: 1.05rem; }
.hero-cta { display: flex; gap: 12px; margin-top: 30px; flex-wrap: wrap; }
.hero-logo img {
  width: 100%; max-width: 400px; margin: 0 auto;
  border-radius: 24px;
  filter: drop-shadow(0 24px 70px rgba(59,110,246,.35));
  animation: float 6s ease-in-out infinite;
}
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}
@media (prefers-reduced-motion: reduce) { .hero-logo img { animation: none; } }

.hero-stats { display: flex; gap: 14px; margin-top: 44px; flex-wrap: wrap; }
.hero-stats div {
  background: var(--grad-soft);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 14px 22px;
}
.hero-stats div strong { font-family: var(--font-display); font-size: 1.5rem; font-weight: 700; display: block;
  background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero-stats div span { color: var(--mute); font-size: .8rem; }

/* ---------- Sections ---------- */
.section { padding: 60px 0; }
.section-head { display: flex; align-items: end; justify-content: space-between; margin-bottom: 28px; gap: 20px; }
.section-head .eyebrow { display: inline-flex; margin-bottom: 10px; }
.section-head h2 { font-size: 1.9rem; }
.section-head h2 em {
  font-style: normal;
  background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.section-head > a { font-weight: 600; font-size: .9rem; color: var(--blue); }
.section-head > a:hover { text-decoration: underline; }

/* ---------- Product cards ---------- */
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(270px, 1fr)); gap: 22px; }

.card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex; flex-direction: column;
  transition: transform .25s var(--ease), border-color .25s var(--ease), box-shadow .25s var(--ease);
}
.card:hover {
  transform: translateY(-5px);
  border-color: rgba(59,110,246,.55);
  box-shadow: 0 16px 44px rgba(59,110,246,.16);
}
.card-thumb { position: relative; aspect-ratio: 16/9; background: var(--ink-2); overflow: hidden; display: block; }
.card-thumb > img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s var(--ease); }

/* Branded tile for products without images - identical everywhere */
.thumb-placeholder {
  width: 100%; height: 100%;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 10px;
  background:
    radial-gradient(320px 180px at 75% 0%, rgba(124,92,255,.14), transparent 60%),
    radial-gradient(300px 200px at 15% 100%, rgba(59,110,246,.12), transparent 60%),
    var(--ink-2);
}
.thumb-placeholder img {
  width: 88px !important; height: 88px !important;
  object-fit: contain !important;
  filter: drop-shadow(0 6px 20px rgba(59,110,246,.35));
  transition: none !important;
}
.thumb-placeholder b {
  font-family: var(--font-display);
  font-size: .95rem; font-weight: 600;
  color: var(--mute);
  max-width: 85%;
  text-align: center;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.media-image.thumb-placeholder { aspect-ratio: 16/9; }
.media-image.thumb-placeholder img { width: 130px !important; height: 130px !important; }
.media-image.thumb-placeholder b { font-size: 1.2rem; }
.card:hover .card-thumb > img { transform: scale(1.04); }
.card-badge {
  position: absolute; top: 12px; left: 12px;
  font-size: .72rem; font-weight: 700;
  letter-spacing: .4px;
  padding: 4px 12px;
  border-radius: 8px;
  backdrop-filter: blur(4px);
}
.badge-free { background: var(--grad); color: #fff; }
.badge-paid { background: rgba(239,68,89,.95); color: #fff; }
.card-body { padding: 18px 20px 20px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.card-body h3 { font-size: 1.08rem; }
.card-body h3 a { color: var(--white); transition: color .15s; }
.card-body h3 a:hover { color: var(--blue); }
.card-desc { color: var(--mute); font-size: .87rem; flex: 1; }
.card-meta { display: flex; justify-content: space-between; align-items: center; margin-top: 8px; }
.card-price {
  font-family: var(--font-display); font-weight: 700; font-size: 1.08rem;
  background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.card-price.paid { background: none; color: #ff7583; -webkit-background-clip: initial; }
.card-dl { color: var(--mute-2); font-size: .8rem; }

/* ---------- Shop toolbar ---------- */
.shop-toolbar { display: flex; gap: 12px; margin-bottom: 28px; flex-wrap: wrap; }
.shop-toolbar input {
  flex: 1; min-width: 220px;
  background: rgba(6,7,13,.55); border: 1px solid var(--line);
  color: var(--white); padding: 11px 16px; border-radius: 12px;
  font-family: var(--font-body); font-size: .92rem;
  transition: border-color .18s var(--ease);
}
.shop-toolbar input:focus { outline: none; border-color: var(--blue); }
.tab-switch { display: inline-flex; background: var(--panel); border: 1px solid var(--line); border-radius: 12px; padding: 4px; gap: 4px; }
.tab-switch a {
  padding: 8px 20px;
  font-size: .9rem; font-weight: 600;
  color: var(--mute);
  border-radius: 9px;
  transition: .18s var(--ease);
}
.tab-switch a:hover { color: var(--white); }
.tab-switch a.active { background: var(--grad); color: #fff; }

/* ---------- Product page ---------- */
.product-layout { display: grid; grid-template-columns: minmax(0, 1fr) 400px; gap: 32px; align-items: start; }
@media (max-width: 1280px) {
  .product-layout { grid-template-columns: minmax(0, 1fr) 360px; }
}
.media-box { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.video-frame { aspect-ratio: 16/9; }
.video-frame iframe { width: 100%; height: 100%; border: 0; }
.media-image { aspect-ratio: 16/9; display: grid; place-items: center; background: var(--ink-2); }
.media-image img { width: 100%; height: 100%; object-fit: contain; }
.media-back {
  display: inline-flex; align-items: center; gap: 8px;
  margin-top: 12px;
  font-weight: 600; font-size: .85rem;
  color: var(--blue); background: var(--grad-soft);
  border: 1px solid var(--line);
  padding: 8px 18px; border-radius: 10px;
  cursor: pointer; transition: .18s var(--ease);
}
.media-back:hover { border-color: var(--blue); }
.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)); gap: 10px; margin-top: 14px; }
.gallery-item {
  border: 2px solid var(--line); border-radius: 12px; overflow: hidden;
  aspect-ratio: 16/10; cursor: pointer; padding: 0; background: var(--ink-2);
  transition: border-color .18s var(--ease), transform .18s var(--ease);
}
.gallery-item:hover { transform: translateY(-2px); }
.gallery-item.active { border-color: var(--violet); box-shadow: 0 0 16px rgba(124,92,255,.3); }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; }

.buy-box {
  background: var(--panel-2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px 30px 26px;
  position: sticky; top: 94px;
  overflow: hidden;
}
/* gradient accent along the top - gives the card presence */
.buy-box::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: var(--grad);
}
.buy-box h1 { font-size: 1.65rem; margin: 12px 0 2px; line-height: 1.15; }
.buy-price {
  font-family: var(--font-display); font-size: 2.1rem; font-weight: 700; margin: 4px 0 16px;
  background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.buy-price.paid { background: none; color: #ff7583; -webkit-background-clip: initial; }
.spec-list {
  list-style: none;
  margin: 0 0 18px;
  background: rgba(6,7,13,.4);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 4px 16px;
}
.spec-list li {
  display: flex; justify-content: space-between; align-items: baseline; gap: 14px;
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
  font-size: .88rem;
}
.spec-list li:last-child { border-bottom: none; }
.spec-list li span { color: var(--mute); flex-shrink: 0; }
.spec-list li strong { text-align: right; }
.buy-box .btn { width: 100%; margin-top: 10px; white-space: nowrap; }
.buy-box .card-badge { font-size: .7rem; letter-spacing: .8px; }

.desc-box { margin-top: 32px; }
.desc-box > h2 { font-size: 1.3rem; margin-bottom: 12px; }
.desc-content {
  color: #c3cbe0;
  background: var(--panel); border: 1px solid var(--line);
  padding: 26px 28px; border-radius: var(--radius);
}
.desc-content h2 { font-size: 1.25rem; color: var(--white); margin: 18px 0 8px; }
.desc-content h3 { font-size: 1.08rem; color: var(--white); margin: 16px 0 6px; }
.desc-content h4 { font-size: .95rem; color: var(--blue); margin: 14px 0 6px; }
.desc-content h2:first-child, .desc-content h3:first-child, .desc-content h4:first-child, .desc-content p:first-child { margin-top: 0; }
.desc-content p { margin: 8px 0; }
.desc-content ul { margin: 8px 0 8px 22px; }
.desc-content li { margin: 3px 0; }
.desc-content strong { color: var(--white); }
.desc-content code {
  font-family: 'Consolas', monospace; font-size: .82rem;
  background: var(--grad-soft); color: var(--violet);
  padding: 2px 7px; border-radius: 6px;
}
.desc-content a { color: var(--blue); text-decoration: underline; }
.desc-content pre.code-block {
  position: relative;
  background: var(--ink-2);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 18px;
  margin: 14px 0;
  overflow-x: auto;
}
.desc-content pre.code-block code {
  display: block;
  background: none; padding: 0; border-radius: 0;
  font-family: 'Consolas', 'Courier New', monospace;
  font-size: .84rem; line-height: 1.6;
  color: #c8d3f5;
  white-space: pre;
}
.desc-content .code-lang {
  position: absolute; top: 10px; right: 12px;
  font-family: var(--font-display);
  font-size: .62rem; font-weight: 700; letter-spacing: .14em;
  color: #fff;
  background: var(--grad);
  padding: 3px 9px; border-radius: 7px;
  user-select: none;
}

/* ---------- Comments ---------- */
.comments { margin-top: 40px; }
.comments h2 { font-size: 1.3rem; margin-bottom: 16px; }
.comment {
  background: var(--panel); border: 1px solid var(--line);
  padding: 15px 20px; margin-bottom: 12px; border-radius: 14px;
}
.comment-head { display: flex; gap: 10px; align-items: baseline; margin-bottom: 4px; }
.comment-head strong { color: var(--blue); font-size: .9rem; }
.comment-head span { color: var(--mute-2); font-size: .78rem; }
.comment p { color: #c3cbe0; font-size: .9rem; }

.comment-form { background: var(--panel-2); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; margin-top: 20px; }
.comment-form h3 { margin-bottom: 4px; font-size: 1.08rem; }
.form-hint { color: var(--mute); font-size: .85rem; margin-bottom: 16px; }
.form-hint a { color: var(--blue); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 12px; }
.comment-form input, .comment-form textarea, .form-input {
  width: 100%;
  background: rgba(6,7,13,.55); border: 1px solid var(--line);
  color: var(--white); padding: 11px 15px; border-radius: 12px;
  font-family: var(--font-body); font-size: .92rem;
  transition: border-color .18s var(--ease);
}
.comment-form input:focus, .comment-form textarea:focus, .form-input:focus { outline: none; border-color: var(--blue); }
.comment-form textarea { min-height: 100px; resize: vertical; margin-bottom: 12px; }

.alert { padding: 12px 16px; border-radius: 12px; margin-bottom: 16px; font-size: .9rem; }
.alert-ok { background: rgba(59,110,246,.12); border: 1px solid rgba(59,110,246,.45); color: #8db1ff; }
.alert-err { background: rgba(239,68,89,.1); border: 1px solid rgba(239,68,89,.4); color: #ff8b98; }

/* ---------- Download gate ---------- */
.gate {
  max-width: 600px; margin: 64px auto;
  background: var(--panel-2);
  border: 1px solid var(--line);
  border-radius: 20px; padding: 44px; text-align: center;
}
.gate img.gate-shark { width: 84px; margin: 0 auto 16px; }
.gate h1 { font-size: 1.5rem; }
.gate p { color: var(--mute); margin: 10px 0 24px; }
.gate-timer {
  font-family: var(--font-display); font-size: 3.2rem; font-weight: 700;
  background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent;
  margin: 8px 0 22px;
}
.gate-steps { text-align: left; margin: 0 auto 22px; max-width: 380px; list-style: none; }
.gate-steps li { display: flex; gap: 10px; align-items: center; padding: 7px 0; color: var(--mute); font-size: .9rem; }
.gate-steps li.done { color: var(--blue); }
.gate-steps li::before { content: '○'; }
.gate-steps li.done::before { content: '✓'; }
.gate-ad { margin: 18px 0; }
.gate-actions { display: flex; flex-direction: column; gap: 12px; max-width: 340px; margin: 0 auto; }

/* ---------- Staff ---------- */
.staff-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 22px; }
.staff-card {
  background: var(--panel); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 30px 22px; text-align: center;
  transition: transform .25s var(--ease), border-color .25s var(--ease), box-shadow .25s var(--ease);
}
.staff-card:hover { transform: translateY(-5px); border-color: rgba(124,92,255,.5); box-shadow: 0 16px 44px rgba(124,92,255,.14); }
.staff-avatar {
  width: 92px; height: 92px; border-radius: 50%;
  margin: 0 auto 14px; object-fit: cover;
  border: 2px solid transparent;
  background: linear-gradient(var(--panel), var(--panel)) padding-box, var(--grad) border-box;
}
.staff-card h3 { font-size: 1.08rem; }
.staff-role {
  font-size: .78rem; font-weight: 600; margin: 4px 0 10px;
  background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.staff-bio { color: var(--mute); font-size: .87rem; }
.staff-discord { display: inline-block; margin-top: 12px; color: var(--blue); font-size: .85rem; background: var(--grad-soft); padding: 4px 14px; border-radius: 9px; }

/* ---------- Services ---------- */
.price-table { width: 100%; border-collapse: separate; border-spacing: 0; background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.price-table th, .price-table td { padding: 17px 24px; text-align: left; border-bottom: 1px solid var(--line); }
.price-table tr:last-child td { border-bottom: none; }
.price-table th { font-size: .72rem; text-transform: uppercase; letter-spacing: .2em; color: var(--mute); font-weight: 600; background: var(--panel-2); }
.price-table tbody tr { transition: background .18s var(--ease); }
.price-table tbody tr:hover { background: var(--grad-soft); }
.price-table td strong { font-size: .95rem; }
.price-table td .svc-desc { color: var(--mute); font-size: .85rem; }
.price-table .rate {
  font-family: var(--font-display); font-weight: 700; font-size: 1.1rem; white-space: nowrap;
  background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.svc-steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 20px; margin-top: 30px; }
.svc-step { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; }
.svc-step .num {
  font-family: var(--font-display); font-size: .95rem; font-weight: 700;
  color: #fff; background: var(--grad);
  width: 40px; height: 40px; border-radius: 12px;
  display: grid; place-items: center;
}
.svc-step h3 { font-size: 1rem; margin: 14px 0 6px; }
.svc-step p { color: var(--mute); font-size: .87rem; }

/* ---------- Policy ---------- */
.policy-wrap { max-width: 820px; }
.policy-block { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 30px; margin-bottom: 18px; }
.policy-block h2 {
  font-size: 1.02rem; margin-bottom: 10px;
  background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent;
  display: inline-block;
}
.policy-block p, .policy-block li { color: #c3cbe0; font-size: .9rem; }
.policy-block a { color: var(--blue); }
.policy-block ul { padding-left: 20px; margin-top: 8px; }

/* ---------- CTA banner ---------- */
.cta-banner {
  background: var(--grad-soft);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 42px 46px;
  display: flex; align-items: center; justify-content: space-between; gap: 30px;
  flex-wrap: wrap;
  position: relative;
  overflow: hidden;
}
.cta-banner::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(400px 200px at 85% 0%, rgba(124,92,255,.18), transparent 60%);
  pointer-events: none;
}
.cta-banner h2 { font-size: 1.5rem; position: relative; }
.cta-banner p { color: var(--mute); margin-top: 6px; position: relative; }
.cta-banner .btn { position: relative; }

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--line); background: var(--ink-2); margin-top: 64px; position: relative; z-index: 1; }
.footer-inner { display: flex; justify-content: space-between; gap: 40px; padding: 44px 24px; flex-wrap: wrap; }
.footer-brand { display: flex; gap: 14px; max-width: 340px; }
.footer-brand img { width: 44px; height: 44px; }
.footer-brand p { color: var(--mute); font-size: .85rem; }
.footer-links, .footer-social { display: flex; flex-direction: column; gap: 9px; }
.footer-links a, .footer-social a { color: var(--mute); font-size: .85rem; transition: color .15s; }
.footer-links a:hover, .footer-social a:hover { color: var(--blue); }
.footer-bottom { text-align: center; color: var(--mute-2); font-size: .78rem; padding: 16px; border-top: 1px solid var(--line); }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .hero-inner, .product-layout { grid-template-columns: 1fr; }
  /* phone: name + price + download button first, media below it */
  .product-layout .buy-box { order: -1; position: static; }
  .hero-logo { order: -1; }
  .hero-logo img { max-width: 240px; }
  .main-nav {
    display: none;
    position: absolute; top: 72px; left: 0; right: 0;
    flex-direction: column;
    background: var(--ink-2); border-bottom: 1px solid var(--line);
    padding: 12px 20px;
  }
  .main-nav.open { display: flex; }
  .nav-toggle { display: block; }
  .form-row { grid-template-columns: 1fr; }
  .buy-box { position: static; }
}

/* ---------- Auth (register / login / verify) ---------- */
.auth-box {
  max-width: 440px; margin: 56px auto;
  background: var(--panel-2);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 40px 36px;
}
.auth-shark { width: 74px; margin: 0 auto 14px; }
.auth-box h1 { font-size: 1.5rem; text-align: center; }
.auth-sub { color: var(--mute); text-align: center; font-size: .92rem; margin: 6px 0 20px; }
.auth-form { display: flex; flex-direction: column; gap: 12px; }
.auth-form .btn { width: 100%; margin-top: 4px; }
.auth-alt { text-align: center; color: var(--mute); font-size: .88rem; margin-top: 18px; }
.auth-alt a { color: var(--blue); font-weight: 600; }

.btn-google {
  width: 100%;
  background: var(--panel);
  box-shadow: inset 0 0 0 1px var(--line);
  color: var(--white);
}
.btn-google:hover { box-shadow: inset 0 0 0 1px var(--blue); filter: none; background: var(--grad-soft); }
.auth-google-note { text-align: center; color: var(--mute-2); font-size: .75rem; margin-top: 8px; }
.auth-google-note a { color: var(--blue); }

.auth-divider {
  display: flex; align-items: center; gap: 14px;
  color: var(--mute-2); font-size: .78rem;
  margin: 18px 0;
}
.auth-divider::before, .auth-divider::after {
  content: ''; flex: 1; height: 1px; background: var(--line);
}

.terms-check {
  display: flex; align-items: center; gap: 10px;
  color: var(--mute); font-size: .86rem;
  cursor: pointer;
  user-select: none;
}
.terms-check a { color: var(--blue); text-decoration: underline; }
.terms-check input {
  width: 17px; height: 17px;
  accent-color: var(--blue);
  cursor: pointer;
  flex-shrink: 0;
}

/* ---------- Header: donate + member ---------- */
.btn-donate-sm {
  display: inline-flex; align-items: center; gap: 6px;
  font-weight: 600; font-size: .84rem;
  color: #fff;
  background: var(--grad);
  padding: 0 16px;
  box-shadow: 0 4px 18px rgba(59,110,246,.3);
  transition: filter .18s var(--ease);
  white-space: nowrap;
}
.btn-donate-sm:hover { filter: brightness(1.12); }

.btn-signin { padding: 9px 14px; font-size: .84rem; }

.member-chip {
  display: inline-flex; align-items: center; gap: 9px;
  background: transparent;
  border: 1px solid var(--line);
  padding: 0 14px;
  font-size: .84rem; font-weight: 600;
  white-space: nowrap;
}
.member-chip a { color: var(--mute); font-size: 1rem; transition: color .15s; }
.member-chip a:hover { color: #ff5a67; }

/* ---------- About page ---------- */
.about-block {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px 32px;
  margin-bottom: 20px;
  color: #c3cbe0;
}
.about-block p { margin: 8px 0; font-size: .95rem; }
.about-block strong { color: var(--white); }
.about-block h3 { color: var(--white); font-size: 1.15rem; margin-bottom: 10px; }
.about-list { margin: 10px 0 0 22px; }
.about-list li { margin: 5px 0; font-size: .95rem; }

.donate-card {
  background: var(--grad-soft);
  border: 1px solid rgba(59,110,246,.4);
  border-radius: 20px;
  padding: 36px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.donate-card::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(420px 220px at 80% 0%, rgba(124,92,255,.16), transparent 60%);
  pointer-events: none;
}
.donate-card > * { position: relative; }
.donate-card h3 { font-size: 1.4rem; margin-bottom: 10px; }
.donate-card p { color: var(--mute); font-size: .95rem; margin: 8px 0; }
.perks-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 10px;
  max-width: 620px;
  margin: 20px auto 26px;
}
.perk {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 11px 15px;
  font-size: .85rem;
  color: var(--white);
  text-align: left;
  display: flex; align-items: center;
}
@media (max-width: 560px) {
  .perks-grid { grid-template-columns: 1fr; }
}
.btn-donate { min-width: 220px; }
.donate-thanks { margin-top: 20px !important; font-size: .85rem !important; color: var(--mute-2) !important; }

@media (max-width: 1250px) {
  .icon-btn.yt { display: none; } /* YouTube link stays in the footer */
}
@media (max-width: 1150px) {
  .btn-donate-sm { display: none; } /* donate stays on the About page */
}

.gate-support-link {
  color: var(--mute); font-size: .82rem; text-decoration: underline;
  transition: color .15s;
}
.gate-support-link:hover { color: var(--blue); }


/* ---------- Small-screen polish ---------- */
@media (max-width: 520px) {
  .auth-box { padding: 30px 22px; margin: 36px auto; }
  .gate { padding: 32px 20px; margin: 40px auto; }
  .buy-box { padding: 22px 20px 20px; }
  .desc-content { padding: 20px 18px; }
  .comment-form { padding: 20px 18px; }
  .cta-banner { padding: 30px 24px; }
  .donate-card { padding: 26px 20px; }
  .policy-block { padding: 20px 18px; }
  .price-table th, .price-table td { padding: 13px 14px; }
  .section { padding: 40px 0; }
  .hero { padding: 60px 0 44px; }
}
