/* ════════════════════════════════════════════════════════
   GoldOSRS — Main Stylesheet
   Preserves exact goldosrs.com design & colours
   ════════════════════════════════════════════════════════ */

:root {
  --gold: #ffd700;
  --gold-light: #ffe566;
  --gold-dark: #b8960c;
  --amber: #ff8c00;
  --bg-dark: #0a0a0f;
  --bg-mid: #111118;
  --bg-card: #16161f;
  --bg-card2: #1a1a26;
  --border: rgba(255,215,0,0.2);
  --border-hover: rgba(255,215,0,0.5);
  --text: #e0d9c8;
  --text-muted: #8a8070;
  --red: #c0392b;
  --green: #27ae60;
  --radius: 8px;
  --shadow-gold: 0 0 20px rgba(255,215,0,0.15);
  --nav-h: 72px;
}

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

html { scroll-behavior: smooth; font-size: 16px; }

body {
  background: var(--bg-dark);
  color: var(--text);
  font-family: 'Cinzel', Georgia, serif;
  min-height: 100vh;
  overflow-x: hidden;
  cursor: url('/assets/images/cursor.svg') 4 4, auto;
}

/* ── Rune Rain ─────────────────────────────────────────── */
.rune-rain {
  position: fixed; inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}
.rune {
  position: absolute;
  top: 0;
  font-size: clamp(18px, 3vw, 40px);
  color: rgba(255,215,0,0.088);
  animation: runeFall linear infinite;
  will-change: transform;
  user-select: none;
}
@keyframes runeFall {
  0%   { transform: translateY(-120px); opacity: 0; }
  4%   { opacity: 1; }
  92%  { opacity: 0.088; }
  100% { transform: translateY(110vh); opacity: 0; }
}

/* ── Loading Screen ────────────────────────────────────── */
.loading-screen {
  position: fixed; inset: 0;
  background: var(--bg-dark);
  display: flex; align-items: center; justify-content: center;
  z-index: 9999;
  transition: opacity 0.6s ease, visibility 0.6s ease;
}
.loading-screen.hidden { opacity: 0; visibility: hidden; pointer-events: none; }
.loading-content { text-align: center; }
.loading-logo { width: 80px; animation: pulse 1.5s ease-in-out infinite; }
@keyframes pulse { 0%,100%{transform:scale(1)} 50%{transform:scale(1.08)} }
.loading-runes {
  font-size: 28px; color: var(--gold); margin: 16px 0 8px;
  letter-spacing: 6px; opacity: 0.7;
}
.loading-text { color: var(--text-muted); font-size: 14px; letter-spacing: 3px; text-transform: uppercase; }
.loading-bar {
  width: 220px; height: 3px; background: rgba(255,215,0,0.1);
  border-radius: 2px; margin: 16px auto 0; overflow: hidden;
}
.loading-fill {
  height: 100%; width: 0; background: var(--gold);
  border-radius: 2px; animation: loadFill 1.8s ease forwards;
}
@keyframes loadFill { to { width: 100%; } }

/* ── Navbar ────────────────────────────────────────────── */
.navbar {
  position: fixed; top: 0; left: 0; right: 0;
  height: var(--nav-h);
  background: rgba(10,10,15,0.96);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  z-index: 50000;
  display: flex; align-items: center;
}
.nav-container {
  max-width: 1280px; margin: 0 auto; padding: 0 20px;
  width: 100%; display: flex; align-items: center; gap: 24px;
}
.nav-logo {
  display: flex; align-items: center; gap: 10px;
  text-decoration: none; flex-shrink: 0;
}
.nav-logo img { width: 42px; height: 42px; }
.nav-brand { display: flex; flex-direction: column; line-height: 1.1; }
.brand-main {
  font-family: 'Cinzel Decorative', serif;
  font-size: 16px; font-weight: 700;
  color: var(--gold);
  text-shadow: 0 0 12px rgba(255,215,0,0.5);
}
.brand-sub { font-size: 9px; color: var(--text-muted); letter-spacing: 2px; text-transform: uppercase; }

.nav-links {
  display: flex; list-style: none; gap: 4px; margin-left: auto;
}
.nav-link {
  color: var(--text); text-decoration: none;
  padding: 8px 12px; border-radius: var(--radius);
  font-size: 13px; font-weight: 500; letter-spacing: 0.5px;
  transition: color 0.2s, background 0.2s;
}
.nav-link:hover, .nav-link.active {
  color: var(--gold); background: rgba(255,215,0,0.06);
}
.nav-auth { display: flex; align-items: center; gap: 8px; flex-shrink: 0; }

.btn-login {
  padding: 8px 16px; border-radius: var(--radius);
  background: transparent; border: 1px solid var(--border);
  color: var(--text); text-decoration: none; font-size: 13px;
  font-family: 'Cinzel', serif; cursor: pointer;
  transition: border-color 0.2s, color 0.2s;
}
.btn-login:hover { border-color: var(--gold); color: var(--gold); }

.btn-register, .btn-gold {
  padding: 8px 16px; border-radius: var(--radius);
  background: var(--gold); color: #000;
  text-decoration: none; font-size: 13px; font-weight: 700;
  font-family: 'Cinzel', serif; cursor: pointer; border: none;
  transition: background 0.2s, transform 0.15s, box-shadow 0.2s;
  display: inline-block;
}
.btn-register:hover, .btn-gold:hover {
  background: var(--gold-light); transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(255,215,0,0.3);
}
.btn-dash {
  padding: 8px 16px; border-radius: var(--radius);
  background: rgba(255,215,0,0.1); border: 1px solid var(--border);
  color: var(--gold); text-decoration: none; font-size: 13px;
  font-family: 'Cinzel', serif; cursor: pointer;
  transition: background 0.2s;
}
.btn-dash:hover { background: rgba(255,215,0,0.2); }

/* Burger */
.nav-burger {
  display: none; flex-direction: column; gap: 5px;
  background: none; border: none; cursor: pointer;
  padding: 8px; margin-left: auto;
}
.nav-burger span {
  display: block; width: 24px; height: 2px;
  background: var(--gold); border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s;
}
.nav-burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-burger.open span:nth-child(2) { opacity: 0; }
.nav-burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile nav */
.mobile-nav {
  position: fixed; top: var(--nav-h); left: 0; right: 0;
  background: rgba(10,10,15,0.98); backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  z-index: 49999;
  display: flex; flex-direction: column; padding: 16px 20px;
  gap: 4px;
  transform: translateY(-110%);
  transition: transform 0.3s cubic-bezier(0.4,0,0.2,1);
  visibility: hidden;
}
.mobile-nav.open {
  transform: translateY(0);
  visibility: visible;
}
.mob-link {
  color: var(--text); text-decoration: none; padding: 12px 16px;
  border-radius: var(--radius); font-size: 14px;
  transition: background 0.2s, color 0.2s;
  display: block;
}
.mob-link:hover { background: rgba(255,215,0,0.06); color: var(--gold); }
.mob-auth { display: flex; gap: 8px; margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--border); }
.nav-overlay {
  position: fixed; inset: 0; background: rgba(0,0,0,0.5);
  z-index: 49998; display: none;
}
.nav-overlay.show { display: block; }

/* ── Main content offset ───────────────────────────────── */
main, .page-content { padding-top: var(--nav-h); }

/* ── Hero / Page Hero ──────────────────────────────────── */
.hero {
  min-height: 100vh; display: flex; align-items: center; justify-content: center;
  text-align: center; padding: 100px 20px 60px;
  position: relative;
  background: radial-gradient(ellipse 80% 60% at 50% 0%, rgba(255,215,0,0.06) 0%, transparent 60%);
}
.hero-badge {
  display: inline-block; padding: 6px 16px;
  border: 1px solid var(--border); border-radius: 20px;
  font-size: 12px; letter-spacing: 2px; color: var(--gold);
  margin-bottom: 24px; text-transform: uppercase;
}
.hero h1 {
  font-family: 'Cinzel Decorative', serif;
  font-size: clamp(32px, 6vw, 72px);
  color: var(--gold);
  text-shadow: 0 0 40px rgba(255,215,0,0.3);
  line-height: 1.1; margin-bottom: 20px;
}
.hero h1 span { display: block; font-size: 0.55em; color: var(--text-muted); }
.hero-sub {
  font-size: clamp(14px, 2vw, 18px); color: var(--text-muted);
  max-width: 600px; margin: 0 auto 40px; line-height: 1.7;
}
.hero-stats {
  display: flex; gap: 40px; justify-content: center; flex-wrap: wrap;
  margin-bottom: 40px;
}
.hero-stat { text-align: center; }
.hero-stat strong {
  display: block; font-size: 28px; color: var(--gold);
  font-family: 'Cinzel Decorative', serif;
}
.hero-stat span { font-size: 12px; color: var(--text-muted); letter-spacing: 1px; }
.hero-ctas { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

.btn-primary {
  padding: 14px 28px; border-radius: var(--radius);
  background: var(--gold); color: #000; font-weight: 700;
  font-size: 15px; font-family: 'Cinzel', serif;
  text-decoration: none; border: none; cursor: pointer;
  transition: all 0.2s; display: inline-block;
}
.btn-primary:hover { background: var(--gold-light); transform: translateY(-2px); box-shadow: 0 6px 24px rgba(255,215,0,0.35); }
.btn-secondary {
  padding: 14px 28px; border-radius: var(--radius);
  background: transparent; border: 1px solid var(--border);
  color: var(--text); font-size: 15px; font-family: 'Cinzel', serif;
  text-decoration: none; cursor: pointer; transition: all 0.2s; display: inline-block;
}
.btn-secondary:hover { border-color: var(--gold); color: var(--gold); }

/* ── Section Headers ───────────────────────────────────── */
.section { padding: 80px 20px; position: relative; z-index: 1; }
.section-header { text-align: center; margin-bottom: 48px; }
.section-label {
  font-size: 11px; letter-spacing: 3px; text-transform: uppercase;
  color: var(--gold); margin-bottom: 12px; display: block;
}
.section-title {
  font-family: 'Cinzel Decorative', serif;
  font-size: clamp(24px, 4vw, 40px);
  color: var(--gold);
  text-shadow: 0 0 20px rgba(255,215,0,0.2);
  margin-bottom: 12px;
}
.section-sub { color: var(--text-muted); font-size: 15px; max-width: 500px; margin: 0 auto; }

/* ── Cards ─────────────────────────────────────────────── */
.card {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: 12px; padding: 28px;
  transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s;
  position: relative; overflow: hidden;
}
.card::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse at top, rgba(255,215,0,0.03), transparent 60%);
  pointer-events: none;
}
.card:hover {
  border-color: var(--border-hover);
  box-shadow: var(--shadow-gold);
  transform: translateY(-2px);
}
.card-badge {
  position: absolute; top: 16px; right: 16px;
  padding: 3px 10px; border-radius: 12px;
  font-size: 10px; font-weight: 700; letter-spacing: 1px;
  background: rgba(255,215,0,0.15); color: var(--gold);
  border: 1px solid rgba(255,215,0,0.3);
}
.card-icon { font-size: 32px; margin-bottom: 12px; }
.card h3 {
  font-family: 'Cinzel', serif; font-size: 17px; color: var(--gold);
  margin-bottom: 6px;
}
.card-game { font-size: 11px; color: var(--text-muted); letter-spacing: 1px; text-transform: uppercase; margin-bottom: 12px; }
.card p { color: var(--text-muted); font-size: 13px; line-height: 1.6; margin-bottom: 16px; }
.card ul { list-style: none; margin-bottom: 20px; }
.card ul li {
  color: var(--text-muted); font-size: 13px; padding: 4px 0;
  padding-left: 16px; position: relative;
}
.card ul li::before { content: '⚔'; position: absolute; left: 0; font-size: 10px; color: var(--gold); }
.price-amount {
  font-family: 'Cinzel Decorative', serif; font-size: 26px;
  color: var(--gold); display: block; margin-bottom: 4px;
}
.price-label { font-size: 11px; color: var(--text-muted); letter-spacing: 1px; }

/* Grid layouts */
.grid-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 20px; max-width: 1200px; margin: 0 auto; }
.grid-4 { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; max-width: 1200px; margin: 0 auto; }

/* ── Forms ─────────────────────────────────────────────── */
.form-wrap {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: 12px; padding: 32px; max-width: 640px; margin: 0 auto;
}
.form-title {
  font-family: 'Cinzel Decorative', serif; font-size: 20px;
  color: var(--gold); margin-bottom: 24px; text-align: center;
}
.form-group { margin-bottom: 20px; }
.form-group label {
  display: block; font-size: 12px; letter-spacing: 1px;
  text-transform: uppercase; color: var(--text-muted); margin-bottom: 6px;
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%; padding: 12px 14px;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--text); font-family: 'Cinzel', serif; font-size: 14px;
  transition: border-color 0.2s;
  outline: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus { border-color: var(--gold); }
.form-group select option { background: var(--bg-card); }
.form-group textarea { resize: vertical; min-height: 80px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-error { color: #e74c3c; font-size: 12px; margin-top: 4px; display: none; }
.form-error.show { display: block; }
.form-success {
  background: rgba(39,174,96,0.1); border: 1px solid rgba(39,174,96,0.3);
  border-radius: var(--radius); padding: 16px; color: #27ae60;
  text-align: center; display: none; margin-bottom: 16px;
}
.form-success.show { display: block; }
.form-alert {
  background: rgba(231,76,60,0.1); border: 1px solid rgba(231,76,60,0.3);
  border-radius: var(--radius); padding: 16px; color: #e74c3c;
  margin-bottom: 16px; display: none;
}
.form-alert.show { display: block; }
.btn-full { width: 100%; padding: 14px; font-size: 16px; }
.ssl-note {
  text-align: center; margin-top: 12px;
  font-size: 11px; color: var(--text-muted); letter-spacing: 1px;
}

/* Payment method selection */
.payment-options { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.payment-opt {
  border: 1px solid var(--border); border-radius: var(--radius);
  padding: 14px; cursor: pointer; transition: all 0.2s; text-align: center;
}
.payment-opt:hover, .payment-opt.selected {
  border-color: var(--gold); background: rgba(255,215,0,0.06);
}
.payment-opt input { display: none; }
.payment-opt-icon { font-size: 22px; display: block; margin-bottom: 4px; }
.payment-opt-label { font-size: 13px; font-weight: 600; display: block; }
.payment-opt-sub { font-size: 11px; color: var(--text-muted); }

/* ── Tabs ──────────────────────────────────────────────── */
.tabs { display: flex; gap: 4px; justify-content: center; margin-bottom: 32px; flex-wrap: wrap; }
.tab-btn {
  padding: 10px 20px; border-radius: var(--radius);
  background: transparent; border: 1px solid var(--border);
  color: var(--text-muted); font-family: 'Cinzel', serif; font-size: 13px;
  cursor: pointer; transition: all 0.2s;
}
.tab-btn.active, .tab-btn:hover {
  border-color: var(--gold); color: var(--gold);
  background: rgba(255,215,0,0.06);
}
.tab-panel { display: none; }
.tab-panel.active { display: block; }

/* ── Chat Widget ───────────────────────────────────────── */
#chat-wrapper { position: fixed; bottom: 24px; right: 24px; z-index: 40000; }
.chat-fab {
  width: 56px; height: 56px; border-radius: 50%;
  background: var(--gold); border: none; cursor: pointer;
  font-size: 24px; display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 20px rgba(255,215,0,0.4);
  transition: transform 0.2s, box-shadow 0.2s;
  position: relative;
}
.chat-fab:hover { transform: scale(1.08); box-shadow: 0 6px 28px rgba(255,215,0,0.5); }
.chat-badge {
  position: absolute; top: -4px; right: -4px;
  width: 18px; height: 18px; border-radius: 50%;
  background: #e74c3c; color: #fff; font-size: 11px;
  display: flex; align-items: center; justify-content: center;
  font-weight: 700;
}
.chat-window {
  position: absolute; bottom: 68px; right: 0;
  width: 340px; max-height: 520px;
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: 12px; overflow: hidden;
  box-shadow: 0 8px 40px rgba(0,0,0,0.5);
  display: none; flex-direction: column;
}
.chat-window.open { display: flex; }
.chat-header {
  background: var(--bg-card2); padding: 14px 16px;
  display: flex; align-items: center; justify-content: space-between;
  border-bottom: 1px solid var(--border);
}
.chat-header-info { display: flex; align-items: center; gap: 10px; }
.chat-agent-avatar { font-size: 22px; }
.chat-header strong { display: block; font-size: 14px; color: var(--gold); }
.chat-status { font-size: 11px; color: #27ae60; }
.chat-close {
  background: none; border: none; color: var(--text-muted);
  font-size: 16px; cursor: pointer; transition: color 0.2s;
}
.chat-close:hover { color: var(--gold); }
.chat-guest-form { padding: 20px; display: flex; flex-direction: column; gap: 10px; }
.chat-guest-form p { font-size: 13px; color: var(--text-muted); }
.chat-guest-form input {
  padding: 10px 12px; background: rgba(255,255,255,0.04);
  border: 1px solid var(--border); border-radius: var(--radius);
  color: var(--text); font-family: 'Cinzel', serif; font-size: 13px; outline: none;
}
.chat-messages {
  flex: 1; overflow-y: auto; padding: 14px;
  display: flex; flex-direction: column; gap: 10px;
  scrollbar-width: thin; scrollbar-color: var(--border) transparent;
}
.chat-msg {
  max-width: 80%; padding: 10px 14px; border-radius: 12px;
  font-size: 13px; line-height: 1.5; word-break: break-word;
}
.chat-msg.user {
  background: rgba(255,215,0,0.12); border: 1px solid rgba(255,215,0,0.2);
  color: var(--text); align-self: flex-end; border-bottom-right-radius: 4px;
}
.chat-msg.agent {
  background: var(--bg-card2); border: 1px solid var(--border);
  color: var(--text); align-self: flex-start; border-bottom-left-radius: 4px;
}
.chat-msg.admin { background: rgba(255,140,0,0.1); border-color: rgba(255,140,0,0.2); }
.chat-msg-time { font-size: 10px; color: var(--text-muted); margin-top: 3px; }
.chat-typing-dots { display: flex; gap: 4px; align-items: center; padding: 4px 0; }
.chat-typing-dots span {
  width: 6px; height: 6px; border-radius: 50%; background: var(--text-muted);
  animation: typingBounce 1.2s infinite;
}
.chat-typing-dots span:nth-child(2) { animation-delay: 0.2s; }
.chat-typing-dots span:nth-child(3) { animation-delay: 0.4s; }
@keyframes typingBounce { 0%,80%,100%{transform:translateY(0)} 40%{transform:translateY(-6px)} }
.chat-input-row {
  padding: 12px; border-top: 1px solid var(--border);
  display: flex; gap: 8px; align-items: flex-end;
}
.chat-input {
  flex: 1; padding: 10px 12px;
  background: rgba(255,255,255,0.04); border: 1px solid var(--border);
  border-radius: var(--radius); color: var(--text);
  font-family: 'Cinzel', serif; font-size: 13px; resize: none;
  outline: none; max-height: 100px; overflow-y: auto;
  transition: border-color 0.2s;
}
.chat-input:focus { border-color: var(--gold); }
.chat-send {
  padding: 10px 14px; background: var(--gold); color: #000;
  border: none; border-radius: var(--radius); cursor: pointer;
  font-size: 16px; transition: background 0.2s; flex-shrink: 0;
}
.chat-send:hover { background: var(--gold-light); }

/* ── Toast notifications ───────────────────────────────── */
#toast-container { position: fixed; bottom: 90px; right: 24px; z-index: 39000; display: flex; flex-direction: column-reverse; gap: 8px; }
.toast {
  background: var(--bg-card2); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 12px 16px;
  font-size: 13px; color: var(--text);
  box-shadow: 0 4px 20px rgba(0,0,0,0.4);
  animation: toastIn 0.3s ease;
  max-width: 280px;
}
@keyframes toastIn { from{opacity:0;transform:translateX(20px)} to{opacity:1;transform:translateX(0)} }

/* ── Torch glow ────────────────────────────────────────── */
.torch-glow {
  position: fixed; width: 700px; height: 700px;
  border-radius: 50%; pointer-events: none; z-index: 1;
  background: radial-gradient(circle at center,
    rgba(255,160,0,0.14) 0%,
    rgba(255,120,0,0.08) 20%,
    rgba(255,80,0,0.04)  45%,
    transparent 68%);
  transform: translate(-50%,-50%);
  transition: left 0.08s ease-out, top 0.08s ease-out;
  will-change: left, top;
}

/* ── Sparks / click flames ──────────────────────────────── */
.spark {
  position: fixed; width: 5px; height: 5px; border-radius: 50%;
  background: var(--gold); pointer-events: none; z-index: 2;
  animation: sparkFly 0.9s ease-out forwards;
}
.flame-burst {
  position: fixed; pointer-events: none; z-index: 2;
  width: 8px; height: 18px; border-radius: 50% 50% 20% 20%;
  background: linear-gradient(to top, #ff4400, #ffcc00);
  transform-origin: bottom center;
  animation: flamePop 0.7s ease-out forwards;
}
@keyframes sparkFly {
  0%   { opacity: 1; transform: translate(0,0) scale(1); }
  100% { opacity: 0; transform: translate(var(--sx), var(--sy)) scale(0.2); }
}
@keyframes flamePop {
  0%   { opacity: 1; transform: translate(var(--fx),var(--fy)) scale(1) rotate(var(--fr)); }
  60%  { opacity: 0.8; }
  100% { opacity: 0; transform: translate(var(--fx),calc(var(--fy) - 60px)) scale(0.3) rotate(calc(var(--fr) + 30deg)); }
}

/* ── Universal hover glow ───────────────────────────────── */
a:not(.nav-link):not(.mob-link):not(.footer-col a):not(.dash-nav a):not(.admin-nav a):hover,
button:not(.chat-close):not(.nav-burger):not(.quick-reply):hover,
.card:hover,
.btn-primary:hover,
.btn-secondary:hover,
.btn-gold:hover,
.btn-register:hover {
  filter: drop-shadow(0 0 6px rgba(255,215,0,0.25));
}

/* ── Scroll entrance animations ─────────────────────────── */
.scroll-reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}
.scroll-reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ── Page entrance ───────────────────────────────────────── */
.page-enter {
  animation: pageEnter 0.45s ease forwards;
}
@keyframes pageEnter {
  from { opacity: 0; transform: translateY(12px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ── Admin chat sessions sidebar (mobile) ───────────────── */
.admin-sessions-panel {
  position: fixed; top: var(--nav-h); left: 0; bottom: 0;
  width: 300px; background: var(--bg-card);
  border-right: 1px solid var(--border);
  z-index: 45000;
  transform: translateX(-100%);
  transition: transform 0.3s cubic-bezier(0.4,0,0.2,1);
  display: flex; flex-direction: column;
}
.admin-sessions-panel.open { transform: translateX(0); }
.admin-sessions-toggle {
  display: none;
  position: fixed; bottom: 88px; left: 16px;
  z-index: 46000;
  background: var(--gold); color: #000;
  border: none; border-radius: 50%;
  width: 48px; height: 48px; font-size: 22px;
  cursor: pointer; box-shadow: 0 4px 16px rgba(255,215,0,0.4);
  align-items: center; justify-content: center;
}
@media (max-width: 900px) {
  .admin-sessions-toggle { display: flex; }
}

/* ── BTC address reveal ──────────────────────────────────── */
.btc-address-reveal {
  animation: btcReveal 0.5s cubic-bezier(0.34,1.56,.64,1) forwards;
}
@keyframes btcReveal {
  0%   { opacity: 0; transform: scale(0.92); }
  100% { opacity: 1; transform: scale(1); }
}

/* ── Pagination ──────────────────────────────────────────── */
.pagination {
  display: flex; gap: 6px; justify-content: center; flex-wrap: wrap;
  margin-top: 20px;
}
.pagination a, .pagination span {
  padding: 7px 13px; border-radius: var(--radius);
  font-size: 13px; font-family: 'Cinzel', serif;
  border: 1px solid var(--border); text-decoration: none; color: var(--text-muted);
  transition: all 0.2s;
}
.pagination a:hover { border-color: var(--gold); color: var(--gold); }
.pagination .current { border-color: var(--gold); color: var(--gold); background: rgba(255,215,0,0.08); font-weight: 700; }

/* ── Raffle ticket card ──────────────────────────────────── */
.ticket-option {
  border: 1px solid var(--border); border-radius: 12px; padding: 20px;
  cursor: pointer; transition: all 0.2s; text-align: center;
}
.ticket-option:hover, .ticket-option.selected {
  border-color: var(--gold); background: rgba(255,215,0,0.06);
}
.ticket-option .ticket-count {
  font-family: 'Cinzel Decorative', serif; font-size: 28px; color: var(--gold); display: block; margin-bottom: 4px;
}

/* ── Referral promo block ────────────────────────────────── */
.referral-block {
  background: linear-gradient(135deg, rgba(255,215,0,0.07), rgba(255,140,0,0.04));
  border: 1px solid var(--border); border-radius: 12px; padding: 24px;
  margin-bottom: 24px;
}
.referral-block h3 { color: var(--gold); font-family: 'Cinzel', serif; margin-bottom: 8px; }

/* ── Promo badge ─────────────────────────────────────────── */
.promo-badge {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 4px 10px; border-radius: 10px;
  background: rgba(39,174,96,0.15); color: #27ae60;
  border: 1px solid rgba(39,174,96,0.3);
  font-size: 11px; font-weight: 700; letter-spacing: 1px;
}
.feats-bar {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(160px,1fr));
  gap: 1px; background: var(--border); border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.feat {
  background: var(--bg-card); padding: 20px; text-align: center;
}
.feat-icon { font-size: 24px; margin-bottom: 6px; }
.feat h4 { font-size: 13px; color: var(--gold); margin-bottom: 3px; }
.feat p { font-size: 11px; color: var(--text-muted); }

/* ── Price tabs / Price cards ──────────────────────────── */
.prices-section { padding: 80px 20px; }
.prices-section .section-header { margin-bottom: 32px; }

/* ── Reviews ───────────────────────────────────────────── */
.review-card {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: 12px; padding: 24px;
}
.review-stars { color: var(--gold); font-size: 18px; margin-bottom: 10px; }
.review-text { color: var(--text); font-size: 14px; line-height: 1.6; margin-bottom: 14px; font-style: italic; }
.review-author { font-size: 13px; font-weight: 600; color: var(--gold); }
.review-service { font-size: 11px; color: var(--text-muted); }
.review-verified { font-size: 11px; color: #27ae60; margin-top: 6px; }
.trustpilot-block {
  text-align: center; padding: 32px;
  background: var(--bg-card); border: 1px solid var(--border); border-radius: 12px;
  margin-top: 32px;
}
.trustpilot-stars { font-size: 32px; color: var(--gold); }
.trustpilot-score { font-size: 28px; font-weight: 700; color: var(--gold); font-family: 'Cinzel Decorative', serif; }
.trustpilot-count { color: var(--text-muted); font-size: 14px; }

/* ── Dashboard ─────────────────────────────────────────── */
.dash-layout { display: grid; grid-template-columns: 240px 1fr; min-height: calc(100vh - var(--nav-h)); }
.dash-sidebar {
  background: var(--bg-card); border-right: 1px solid var(--border);
  padding: 24px 0; position: sticky; top: var(--nav-h); height: calc(100vh - var(--nav-h)); overflow-y: auto;
}
.dash-nav a {
  display: flex; align-items: center; gap: 10px;
  padding: 12px 24px; color: var(--text-muted);
  text-decoration: none; font-size: 14px;
  transition: all 0.2s; border-left: 2px solid transparent;
}
.dash-nav a:hover, .dash-nav a.active {
  color: var(--gold); border-left-color: var(--gold);
  background: rgba(255,215,0,0.04);
}
.dash-main { padding: 32px; }
.dash-header { margin-bottom: 28px; }
.dash-header h1 { font-family: 'Cinzel Decorative', serif; font-size: 24px; color: var(--gold); }
.dash-header p { color: var(--text-muted); font-size: 14px; margin-top: 4px; }
.stat-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px,1fr)); gap: 16px; margin-bottom: 28px; }
.stat-card {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: 12px; padding: 20px; text-align: center;
}
.stat-card .stat-val { font-size: 22px; font-weight: 700; color: var(--gold); font-family: 'Cinzel', serif; }
.stat-card .stat-lbl { font-size: 11px; color: var(--text-muted); letter-spacing: 1px; text-transform: uppercase; margin-top: 4px; }
.data-table {
  width: 100%; border-collapse: collapse; font-size: 13px;
  background: var(--bg-card); border-radius: 12px; overflow: hidden;
  border: 1px solid var(--border);
}
.data-table th {
  background: var(--bg-card2); color: var(--gold);
  padding: 12px 16px; text-align: left; font-size: 11px;
  letter-spacing: 1px; text-transform: uppercase; font-weight: 600;
}
.data-table td { padding: 12px 16px; border-top: 1px solid var(--border); color: var(--text); }
.data-table tr:hover td { background: rgba(255,215,0,0.02); }
.status-badge {
  padding: 3px 10px; border-radius: 10px;
  font-size: 10px; font-weight: 700; letter-spacing: 1px;
  display: inline-block; text-transform: uppercase;
}
.status-pending  { background: rgba(255,165,0,0.15); color: #ffa500; border: 1px solid rgba(255,165,0,0.3); }
.status-paid     { background: rgba(39,174,96,0.15); color: #27ae60; border: 1px solid rgba(39,174,96,0.3); }
.status-completed{ background: rgba(52,152,219,0.15); color: #3498db; border: 1px solid rgba(52,152,219,0.3); }
.status-cancelled{ background: rgba(231,76,60,0.15); color: #e74c3c; border: 1px solid rgba(231,76,60,0.3); }

/* ── Admin ─────────────────────────────────────────────── */
.admin-layout { display: grid; grid-template-columns: 220px 1fr; min-height: calc(100vh - var(--nav-h)); }
.admin-sidebar {
  background: #0d0d14; border-right: 1px solid var(--border);
  padding: 20px 0;
}
.admin-sidebar h2 {
  padding: 0 20px 20px; font-family: 'Cinzel Decorative', serif;
  font-size: 14px; color: var(--gold); border-bottom: 1px solid var(--border);
  margin-bottom: 12px;
}
.admin-nav a {
  display: block; padding: 11px 20px; color: var(--text-muted);
  text-decoration: none; font-size: 13px; transition: all 0.2s;
  border-left: 2px solid transparent;
}
.admin-nav a:hover, .admin-nav a.active { color: var(--gold); border-left-color: var(--gold); background: rgba(255,215,0,0.04); }
.admin-main { padding: 28px; background: var(--bg-mid); }

/* ── Footer ────────────────────────────────────────────── */
.footer {
  background: var(--bg-card); border-top: 1px solid var(--border);
  padding: 60px 20px 20px; position: relative; z-index: 1;
}
.footer-container {
  max-width: 1200px; margin: 0 auto;
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px;
  margin-bottom: 40px;
}
.footer-brand { display: flex; flex-direction: column; gap: 10px; }
.footer-brand img { width: 48px; }
.footer-logo-text { font-family: 'Cinzel Decorative', serif; font-size: 18px; color: var(--gold); display: block; }
.footer-logo-sub { font-size: 10px; color: var(--text-muted); letter-spacing: 2px; }
.footer-brand p { font-size: 13px; color: var(--text-muted); line-height: 1.6; max-width: 280px; }
.footer-col h4 { font-size: 12px; letter-spacing: 2px; text-transform: uppercase; color: var(--gold); margin-bottom: 16px; }
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 8px; }
.footer-col ul a { color: var(--text-muted); text-decoration: none; font-size: 13px; transition: color 0.2s; }
.footer-col ul a:hover { color: var(--gold); }
.footer-bottom {
  border-top: 1px solid var(--border); padding-top: 20px;
  text-align: center; color: var(--text-muted); font-size: 12px; line-height: 1.8;
}

/* ── Gambling ──────────────────────────────────────────── */
.game-card { cursor: pointer; }
.game-card:hover { border-color: var(--gold); }
.game-odds { font-size: 12px; color: var(--text-muted); margin-bottom: 4px; }
.game-limits { font-size: 12px; color: var(--amber); }
.results-feed {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: 12px; padding: 20px; max-height: 300px; overflow-y: auto;
}
.feed-item {
  display: flex; justify-content: space-between; align-items: center;
  padding: 8px 0; border-bottom: 1px solid rgba(255,215,0,0.05); font-size: 13px;
}
.feed-item:last-child { border-bottom: none; }
.feed-won { color: #27ae60; font-weight: 700; }
.feed-lost { color: #e74c3c; }

/* Gambling game canvas */
.game-area {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: 12px; padding: 32px; text-align: center;
  max-width: 540px; margin: 0 auto;
}
.dice-display { font-size: 80px; margin: 20px 0; transition: transform 0.3s; }
.dice-display.rolling { animation: diceRoll 0.6s ease infinite; }
@keyframes diceRoll { 0%{transform:rotate(0)} 100%{transform:rotate(360deg)} }
.balance-bar {
  background: var(--bg-card2); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 12px 16px;
  display: flex; justify-content: space-between; align-items: center;
  margin-bottom: 20px;
}
.bet-quick { display: flex; gap: 8px; flex-wrap: wrap; justify-content: center; margin: 12px 0; }
.bet-quick button {
  padding: 6px 12px; border-radius: var(--radius);
  background: rgba(255,215,0,0.08); border: 1px solid var(--border);
  color: var(--gold); font-size: 12px; cursor: pointer; font-family: 'Cinzel', serif;
  transition: background 0.2s;
}
.bet-quick button:hover { background: rgba(255,215,0,0.18); }
.result-won { color: #27ae60; font-size: 20px; font-weight: 700; animation: resultPop 0.4s ease; }
.result-lost { color: #e74c3c; font-size: 20px; font-weight: 700; animation: resultPop 0.4s ease; }
@keyframes resultPop { 0%{transform:scale(0.8)} 60%{transform:scale(1.1)} 100%{transform:scale(1)} }

/* ── Order success ─────────────────────────────────────── */
.success-box {
  background: rgba(39,174,96,0.08); border: 1px solid rgba(39,174,96,0.3);
  border-radius: 12px; padding: 32px; text-align: center; max-width: 540px; margin: 60px auto;
}
.success-icon { font-size: 64px; margin-bottom: 16px; }
.success-ref {
  font-family: 'Cinzel Decorative', serif; font-size: 22px;
  color: var(--gold); margin-bottom: 12px;
}

/* ── BTC payment ───────────────────────────────────────── */
.btc-box {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: 12px; padding: 24px; text-align: center; max-width: 400px; margin: 0 auto;
}
.btc-qr { width: 180px; height: 180px; margin: 16px auto; border-radius: 8px; }
.btc-address {
  font-size: 12px; word-break: break-all; color: var(--gold);
  background: rgba(255,215,0,0.05); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 10px; margin: 12px 0; cursor: pointer;
}
.btc-timer { font-size: 28px; font-weight: 700; color: var(--amber); font-family: 'Cinzel', serif; }
.payment-status { padding: 12px; border-radius: var(--radius); margin-top: 16px; }
.payment-pending { background: rgba(255,165,0,0.1); color: #ffa500; }
.payment-confirmed { background: rgba(39,174,96,0.1); color: #27ae60; }

/* ── Page hero (non-homepage) ──────────────────────────── */
.page-hero {
  padding: 100px 20px 60px; text-align: center;
  background: radial-gradient(ellipse 70% 50% at 50% 0%, rgba(255,215,0,0.05) 0%, transparent 60%);
}
.page-hero h1 { font-family: 'Cinzel Decorative', serif; font-size: clamp(28px,5vw,52px); color: var(--gold); text-shadow: 0 0 30px rgba(255,215,0,0.2); }
.page-hero p { color: var(--text-muted); font-size: 16px; max-width: 560px; margin: 12px auto 0; }

/* ── Utility ───────────────────────────────────────────── */
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.text-gold { color: var(--gold); }
.text-muted { color: var(--text-muted); }
.text-center { text-align: center; }
.mt-8 { margin-top: 8px; } .mt-16 { margin-top: 16px; } .mt-24 { margin-top: 24px; } .mt-32 { margin-top: 32px; }
.mb-8 { margin-bottom: 8px; } .mb-16 { margin-bottom: 16px; } .mb-24 { margin-bottom: 24px; }
.hidden { display: none !important; }

/* ── Responsive ────────────────────────────────────────── */
@media (max-width: 1024px) {
  .footer-container { grid-template-columns: 1fr 1fr; }
  .dash-layout, .admin-layout { grid-template-columns: 1fr; }
  .dash-sidebar, .admin-sidebar { position: static; height: auto; }
}
@media (max-width: 768px) {
  .nav-links { display: none; }
  .nav-auth { display: none; }
  .nav-burger { display: flex; }
  .footer-container { grid-template-columns: 1fr; gap: 24px; }
  .form-row { grid-template-columns: 1fr; }
  .payment-options { grid-template-columns: 1fr; }
  .hero-stats { gap: 20px; }
  .chat-window { width: calc(100vw - 40px); right: 0; }
}
@media (max-width: 480px) {
  :root { --nav-h: 60px; }
  .hero h1 { font-size: 28px; }
  .section { padding: 48px 16px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}
