/* ═══ Ember Fire — Warm Orange Gaming Theme ═══ */
:root {
  --bg:      #0c0805;
  --surf:    rgba(22, 12, 4, 0.97);
  --surf2:   rgba(32, 18, 6, 0.86);
  --surf3:   rgba(249, 115, 22, 0.09);
  --border:  rgba(249, 115, 22, 0.22);
  --border2: rgba(249, 115, 22, 0.52);
  --pri:     #f97316;
  --pri-l:   #fb923c;
  --pri-d:   #ea580c;
  --acc:     #facc15;
  --acc-l:   #fde047;
  --acc-d:   #eab308;
  --txt:     #fff7ed;
  --txt2:    #a87050;
  --txt3:    #fdba74;
  --nav-h:   54px;
  --tabs-h:  42px;
  --r:       12px;
  --r-sm:    8px;
  --r-lg:    24px;
  --t:       .18s;
  --sh:      0 4px 20px rgba(0,0,0,.70);
  --sh-sm:   0 2px 8px rgba(0,0,0,.55);
  --glow:    0 0 18px rgba(249,115,22,.45);
}

*,*::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] { display: none }

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

/* Loading */
.loading-full {
  position: fixed; inset: 0;
  background: rgba(12, 8, 5, .96);
  display: flex; align-items: center; justify-content: center;
  z-index: 999;
}
.loading-ring {
  width: 44px; height: 44px;
  border: 3px solid rgba(249,115,22,.15);
  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 34px;
  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: linear-gradient(135deg, var(--pri-d), 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: linear-gradient(135deg, var(--pri-d), var(--pri));
  color: #fff; border-radius: var(--r-lg);
  font-weight: 700; font-size: 14px;
}
