/* ═══════════════════════════════════════
   Lava Forge — Dark Gaming Theme Tokens
═══════════════════════════════════════ */
:root {
  --bg:      #060c18;
  --surf:    rgba(12, 20, 40, 0.96);
  --surf2:   rgba(18, 28, 52, 0.85);
  --surf3:   rgba(255, 108, 0, 0.09);
  --border:  rgba(255, 108, 0, 0.20);
  --border2: rgba(255, 108, 0, 0.52);
  --pri:     #ff6c00;
  --pri-l:   #ff8e32;
  --pri-d:   #c85000;
  --acc:     #f0a020;
  --acc-l:   #ffbf40;
  --acc-d:   #b87800;
  --txt:     #ede8d8;
  --txt2:    #8a7d6a;
  --txt3:    #4a4236;
  --nav-h:   54px;
  --tabs-h:  42px;
  --r:       10px;
  --r-sm:    7px;
  --r-lg:    22px;
  --t:       .18s;
  --sh:      0 4px 20px rgba(0,0,0,.65);
  --sh-sm:   0 2px 8px rgba(0,0,0,.50);
  --glow:    0 0 18px rgba(255,108,0,.38);
}

*,*::before,*::after { box-sizing: border-box; margin: 0; padding: 0 }
html { scroll-behavior: smooth }
body {
  background: var(--bg);
  color: var(--txt);
  font-family: 'Roboto', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  min-height: 100vh;
  -webkit-tap-highlight-color: transparent;
  overflow-x: hidden;
}
img { max-width: 100%; display: block }
a { color: var(--pri); text-decoration: none }
button { cursor: pointer; border: none; background: none; font-family: inherit }
[v-cloak] { visibility: hidden !important; }

body::before {
  content: '';
  position: fixed;
  inset: 0;
  background: url('../img/bg.jpg') center / cover no-repeat;
  opacity: .48;
  z-index: -1;
  pointer-events: none;
}

/* ── Loading ── */
.loading-full {
  position: fixed; inset: 0;
  background: rgba(6, 12, 24, .96);
  display: flex; align-items: center; justify-content: center;
  z-index: 999;
}
.loading-ring {
  width: 44px; height: 44px;
  border: 3px solid rgba(255,108,0,.14);
  border-top-color: var(--pri);
  border-radius: 50%;
  animation: spin .7s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg) } }

/* ── Footer ── */
.site-footer {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding: 18px 16px 30px;
  margin-top: 16px;
  border-top: 1px solid var(--border);
  font-size: 12px;
}
.site-footer a {
  color: var(--txt3);
  transition: color var(--t);
}
.site-footer a:active { color: var(--pri) }
.site-footer span { color: var(--txt3) }

/* ── Back to Top ── */
.totop-btn {
  position: fixed; bottom: 22px; right: 14px;
  width: 40px; height: 40px; border-radius: 50%;
  background: var(--pri);
  color: #fff;
  font-size: 16px; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  box-shadow: var(--glow);
  z-index: 800;
}

/* ── Not Found ── */
.not-found {
  min-height: 60vh; display: flex;
  align-items: center; justify-content: center;
  padding: 40px 24px; text-align: center;
}
.not-found p { color: var(--txt2); margin-bottom: 12px; font-size: 14px }
.not-found button {
  margin-top: 16px; padding: 12px 30px;
  background: var(--pri); color: #fff;
  border-radius: var(--r-lg);
  font-weight: 700; font-size: 14px;
}
