@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@700;900&family=Nunito:wght@400;600;700;800;900&family=JetBrains+Mono:wght@400;600&display=swap');

:root {
  --bg:        #060b14;
  --bg2:       #0a1220;
  --bg3:       #0f1a2e;
  --surface:   #132038;
  --surface2:  #1a2a48;
  --border:    rgba(255,200,50,0.12);
  --border2:   rgba(96,200,255,0.15);
  --gold:      #f5c542;
  --gold2:     #ffd966;
  --gold-dark: #b8860b;
  --gold-glow: rgba(245,197,66,0.25);
  --blue:      #3db8f5;
  --blue2:     #7dd3fc;
  --blue-glow: rgba(61,184,245,0.2);
  --cyan:      #00e5ff;
  --green:     #4ade80;
  --red:       #f87171;
  --orange:    #fb923c;
  --text:      #f0e8d0;
  --text2:     #94a3b8;
  --text3:     #4a6080;
  --font:      'Nunito', sans-serif;
  --title:     'Cinzel', serif;
  --mono:      'JetBrains Mono', monospace;
}

* { margin:0; padding:0; box-sizing:border-box; }
html { scroll-behavior:smooth; }
body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  overflow-x: hidden;
}

/* ── PARTICLES ── */
#particles { position:fixed; inset:0; z-index:0; pointer-events:none; overflow:hidden; }
.particle {
  position:absolute; border-radius:50%;
  animation: float linear infinite;
}
@keyframes float {
  0%   { transform:translateY(100vh) rotate(0deg); opacity:0; }
  10%  { opacity:.6; }
  90%  { opacity:.3; }
  100% { transform:translateY(-100px) rotate(720deg); opacity:0; }
}

/* ── NAV ── */
nav {
  position:fixed; top:0; left:0; right:0; z-index:200;
  transition:opacity .2s;
  height:70px; padding:0 2rem;
  display:flex; align-items:center; justify-content:space-between;
  background:rgba(6,11,20,.92);
  backdrop-filter:blur(20px);
  border-bottom:1px solid var(--border);
}
.nav-logo { display:flex; align-items:center; gap:.75rem; text-decoration:none; cursor:pointer; }
.nav-logo img { width:46px; height:46px; border-radius:10px; object-fit:cover; object-position:center; border:2px solid rgba(245,197,66,.4); image-rendering:auto; }
.nav-logo-text {
  font-family:var(--title); font-size:1.15rem; font-weight:900;
  background:linear-gradient(135deg,var(--gold),var(--gold2));
  -webkit-background-clip:text; -webkit-text-fill-color:transparent;
  letter-spacing:.05em;
}
.nav-links { display:flex; gap:.2rem; }
.nav-links a {
  padding:.45rem .85rem; border-radius:8px;
  font-size:.82rem; font-weight:700; color:var(--text2);
  text-decoration:none; cursor:pointer; transition:all .2s;
  letter-spacing:.02em;
}
.nav-links a:hover { color:var(--gold); background:rgba(245,197,66,.08); }
.nav-links a.active { color:var(--gold); background:rgba(245,197,66,.12); border:1px solid rgba(245,197,66,.2); }
.nav-right { display:flex; gap:.6rem; align-items:center; }
.btn-nav-login {
  padding:.45rem 1.1rem; background:transparent; color:var(--blue2); font-weight:700;
  border:1px solid rgba(61,184,245,.35); border-radius:8px;
  font-size:.82rem; cursor:pointer; font-family:var(--font); transition:all .2s;
}
.btn-nav-login:hover { background:rgba(61,184,245,.12); border-color:var(--blue); }
.btn-nav-register {
  padding:.45rem 1.2rem;
  background:linear-gradient(135deg,var(--gold-dark),var(--gold));
  color:#0a0500; font-weight:900; border:none; border-radius:8px;
  font-size:.82rem; cursor:pointer; font-family:var(--font);
  transition:all .2s; letter-spacing:.02em;
}
.btn-nav-register:hover { box-shadow:0 0 20px var(--gold-glow); transform:translateY(-1px); }

/* ── AUTH MODAL ── */
.modal-overlay {
  position:fixed; inset:0; z-index:500;
  background:rgba(0,0,0,.75); backdrop-filter:blur(8px);
  display:none; align-items:center; justify-content:center;
}
.modal-overlay.open { display:flex; animation:fadeIn .2s; }
@keyframes fadeIn { from{opacity:0} to{opacity:1} }
.modal-box {
  background:var(--bg2); border:1px solid var(--border);
  border-radius:20px; width:100%; max-width:420px; padding:2.5rem;
  position:relative;
  box-shadow:0 0 60px rgba(245,197,66,.12),0 30px 80px rgba(0,0,0,.5);
  animation:slideUp .25s ease;
}
@keyframes slideUp { from{transform:translateY(20px);opacity:0} to{transform:translateY(0);opacity:1} }
.modal-close {
  position:absolute; top:1rem; right:1rem;
  background:var(--surface); border:1px solid var(--border);
  color:var(--text2); width:32px; height:32px; border-radius:8px;
  cursor:pointer; font-size:1rem; display:flex; align-items:center; justify-content:center;
  transition:.2s; font-family:var(--font);
}
.modal-close:hover { color:var(--text); }
.modal-logo { text-align:center; margin-bottom:1.5rem; }
.modal-logo img { width:60px; height:60px; border-radius:12px; border:2px solid var(--gold-dark); }
.modal-title {
  font-family:var(--title); font-size:1.4rem; font-weight:900; text-align:center;
  background:linear-gradient(135deg,var(--gold),var(--gold2));
  -webkit-background-clip:text; -webkit-text-fill-color:transparent;
  margin-bottom:.3rem;
}
.modal-sub { text-align:center; color:var(--text2); font-size:.82rem; margin-bottom:1.75rem; }
.modal-tabs { display:flex; gap:.5rem; margin-bottom:1.5rem; }
.modal-tab {
  flex:1; padding:.55rem; background:var(--surface); border:1px solid var(--border);
  border-radius:10px; color:var(--text2); font-weight:700; font-size:.85rem;
  cursor:pointer; font-family:var(--font); transition:.2s;
}
.modal-tab.active { background:rgba(245,197,66,.15); border-color:rgba(245,197,66,.4); color:var(--gold); }
.form-group { margin-bottom:1.1rem; }
.form-group label { display:block; font-size:.75rem; font-weight:800; color:var(--text2); margin-bottom:.4rem; text-transform:uppercase; letter-spacing:.05em; }
.form-group input {
  width:100%; padding:.7rem 1rem;
  background:var(--bg3); border:1px solid var(--border2);
  border-radius:10px; color:var(--text); font-family:var(--font); font-size:.9rem;
  outline:none; transition:.2s;
}
.form-group input:focus { border-color:var(--gold); box-shadow:0 0 0 3px rgba(245,197,66,.1); }
.form-group input::placeholder { color:var(--text3); }
.btn-auth {
  width:100%; padding:.8rem;
  background:linear-gradient(135deg,var(--gold-dark),var(--gold));
  color:#060300; font-weight:900; font-size:.95rem; font-family:var(--font);
  border:none; border-radius:10px; cursor:pointer; transition:all .2s; margin-top:.5rem;
}
.btn-auth:hover { box-shadow:0 0 25px var(--gold-glow); transform:translateY(-2px); }
.auth-switch { text-align:center; margin-top:1.25rem; font-size:.8rem; color:var(--text2); }
.auth-switch a { color:var(--gold); cursor:pointer; font-weight:700; }
.auth-divider { display:flex; align-items:center; gap:.75rem; margin:1rem 0; }
.auth-divider::before,.auth-divider::after { content:''; flex:1; height:1px; background:var(--border); }
.auth-divider span { font-size:.75rem; color:var(--text3); }
.btn-discord {
  width:100%; padding:.7rem;
  background:rgba(88,101,242,.2); border:1px solid rgba(88,101,242,.4);
  color:#a5b4fc; font-weight:700; font-size:.85rem; font-family:var(--font);
  border-radius:10px; cursor:pointer; transition:.2s;
}
.btn-discord:hover { background:rgba(88,101,242,.3); }
.user-badge {
  display:none; align-items:center; gap:.6rem;
  background:var(--surface); border:1px solid var(--border);
  border-radius:10px; padding:.4rem .85rem;
  font-size:.82rem; font-weight:700; color:var(--gold); cursor:pointer;
}
.user-badge.show { display:flex; }
.user-avatar { width:28px; height:28px; border-radius:6px; background:var(--gold-dark); display:flex; align-items:center; justify-content:center; font-size:.85rem; }

/* ── PAGES ── */
.page { display:none; padding-top:70px; position:relative; z-index:1; }
.page.active { display:block; }

/* ── HERO ── */
#hero {
  min-height:100vh; display:flex; align-items:center; justify-content:center;
  position:relative; overflow:hidden; text-align:center;
}
.hero-stones { display:none; }
.stone { display:none; }
  15%  { opacity:.7; }
  85%  { opacity:.4; }
  100% { transform:translateY(-110vh) rotate(360deg); opacity:0; }
}
.hero-content { position:relative; z-index:2; max-width:800px; padding:2rem; }
.hero-logo-img {
  width:280px; height:280px; object-fit:contain; margin:0 auto 1.5rem; display:block;
  filter:drop-shadow(0 0 60px rgba(245,197,66,.5)) drop-shadow(0 0 20px rgba(61,184,245,.3));
  animation:logobob 4s ease-in-out infinite;
  border-radius:20px;
}
@keyframes logobob { 0%,100%{transform:translateY(0)} 50%{transform:translateY(-12px)} }
.hero-badge {
  display:inline-flex; align-items:center; gap:.5rem;
  padding:.35rem 1rem; background:rgba(245,197,66,.1);
  border:1px solid rgba(245,197,66,.25); border-radius:99px;
  font-size:.72rem; font-weight:800; color:var(--gold2);
  letter-spacing:.1em; text-transform:uppercase; margin-bottom:1.5rem;
}
.hero-badge .pulse { width:6px; height:6px; border-radius:50%; background:var(--green); animation:pulse 2s infinite; }
@keyframes pulse { 0%,100%{box-shadow:0 0 0 0 rgba(74,222,128,.6)} 50%{box-shadow:0 0 0 6px rgba(74,222,128,0)} }
.hero h1 {
  font-family:var(--title); font-size:clamp(2.8rem,7vw,5rem);
  font-weight:900; letter-spacing:.05em; line-height:1; margin-bottom:1rem;
  background:linear-gradient(180deg,var(--gold2) 0%,var(--gold) 50%,var(--gold-dark) 100%);
  -webkit-background-clip:text; -webkit-text-fill-color:transparent;
  filter:drop-shadow(0 4px 20px rgba(245,197,66,.3));
}
.hero-sub { font-size:1.05rem; color:var(--text2); line-height:1.8; margin-bottom:2.5rem; }
.hero-sub strong { color:var(--blue2); }
.hero-actions { display:flex; gap:1rem; justify-content:center; flex-wrap:wrap; margin-bottom:2rem; }
.btn-play {
  padding:.85rem 2.5rem;
  background:linear-gradient(135deg,var(--gold-dark),var(--gold));
  color:#0a0500; font-weight:900; font-size:1rem; font-family:var(--font);
  border:none; border-radius:12px; cursor:pointer; text-decoration:none;
  transition:all .25s; display:inline-flex; align-items:center; gap:.6rem;
  box-shadow:0 4px 20px rgba(245,197,66,.25); letter-spacing:.02em;
}
.btn-play:hover { transform:translateY(-3px); box-shadow:0 8px 35px rgba(245,197,66,.4); }
.btn-outline {
  padding:.85rem 2rem; background:rgba(61,184,245,.08); color:var(--blue2); font-weight:700;
  border:1px solid rgba(61,184,245,.3); border-radius:12px;
  font-size:1rem; cursor:pointer; text-decoration:none; font-family:var(--font);
  transition:all .25s; display:inline-flex; align-items:center; gap:.6rem;
}
.btn-outline:hover { background:rgba(61,184,245,.15); border-color:var(--blue); transform:translateY(-3px); }
.ip-copy-box {
  display:inline-flex; align-items:center; gap:.85rem;
  background:var(--surface); border:1px solid var(--border);
  border-radius:12px; padding:.65rem 1.25rem;
  font-family:var(--mono); font-size:.9rem; color:var(--text2);
  cursor:pointer; transition:all .2s;
}
.ip-copy-box:hover { border-color:var(--gold); color:var(--gold); box-shadow:0 0 20px rgba(245,197,66,.1); }
.copy-hint { font-size:.75rem; color:var(--text3); padding:.2rem .55rem; background:var(--bg3); border-radius:6px; transition:.2s; }
.ip-copy-box:hover .copy-hint { color:var(--gold2); }
 100%{transform:translateX(-50%)} }

/* ── STATS BAR ── */
.stats-bar {
  background:var(--bg2); border-top:1px solid var(--border); border-bottom:1px solid var(--border);
  padding:1.25rem 2rem; position:relative; z-index:1;
}
.stats-inner { max-width:900px; margin:0 auto; display:grid; grid-template-columns:repeat(4,1fr); gap:1rem; }
.stat-item { text-align:center; padding:.5rem; }
.stat-val { font-family:var(--title); font-size:1.7rem; font-weight:900; letter-spacing:.02em; }
.stat-val.gold  { color:var(--gold); text-shadow:0 0 20px rgba(245,197,66,.4); }
.stat-val.blue  { color:var(--blue); }
.stat-val.green { color:var(--green); text-shadow:0 0 15px rgba(74,222,128,.4); }
.stat-label { font-size:.7rem; color:var(--text3); font-weight:800; text-transform:uppercase; letter-spacing:.08em; margin-top:.25rem; }

/* ── SECTIONS ── */
section { padding:5rem 2rem; }
.section-inner { max-width:940px; margin:0 auto; }
.section-tag {
  display:inline-flex; align-items:center; gap:.5rem;
  font-size:.7rem; font-weight:800; text-transform:uppercase; letter-spacing:.1em; color:var(--gold); margin-bottom:.75rem;
}
.section-tag::before { content:''; width:20px; height:2px; background:var(--gold); border-radius:2px; }
.section-title {
  font-family:var(--title); font-size:clamp(1.8rem,4vw,2.6rem);
  font-weight:900; letter-spacing:.04em; margin-bottom:.75rem;
  background:linear-gradient(135deg,var(--text),var(--gold2));
  -webkit-background-clip:text; -webkit-text-fill-color:transparent;
}
.section-sub { color:var(--text2); font-size:.95rem; line-height:1.8; max-width:560px; }

/* ── STATUS CARD ── */
.status-card {
  background:linear-gradient(135deg,var(--surface),var(--surface2));
  border:1px solid var(--border); border-radius:18px; padding:2rem;
  display:flex; gap:1.5rem; align-items:center; flex-wrap:wrap;
  margin-top:2.5rem; position:relative; overflow:hidden;
}
.status-card::after { content:''; position:absolute; top:0; left:0; right:0; height:2px; background:linear-gradient(90deg,transparent,var(--gold),transparent); }
.status-dot-big { width:16px; height:16px; border-radius:50%; background:var(--green); box-shadow:0 0 0 5px rgba(74,222,128,.2); animation:pulse 2s infinite; flex-shrink:0; }
.status-dot-big.offline { background:var(--red); box-shadow:0 0 0 5px rgba(248,113,113,.2); animation:none; }
.status-info h3 { font-family:var(--title); font-size:1.05rem; margin-bottom:.3rem; }
.status-info p { font-size:.85rem; color:var(--text2); }
.status-meta { display:flex; gap:2rem; margin-left:auto; flex-wrap:wrap; }
.meta-item { text-align:right; }
.meta-val { font-family:var(--title); font-size:1.5rem; font-weight:900; }
.meta-val.green { color:var(--green); }
.meta-label { font-size:.65rem; text-transform:uppercase; letter-spacing:.08em; color:var(--text3); }

/* ── FEATURES ── */
.features-grid {
  display:grid; grid-template-columns:repeat(auto-fit,minmax(280px,1fr));
  gap:1px; background:var(--border); border:1px solid var(--border);
  border-radius:18px; overflow:hidden; margin-top:3rem;
}
.feature-card { background:var(--bg2); padding:2rem 1.8rem; transition:.25s; position:relative; }
.feature-card::before { content:''; position:absolute; top:0; left:0; width:3px; height:0; background:linear-gradient(180deg,var(--gold),var(--blue)); transition:height .3s; }
.feature-card:hover::before { height:100%; }
.feature-card:hover { background:var(--surface); }
.feature-icon { font-size:2rem; margin-bottom:1rem; }
.feature-card h3 { font-family:var(--title); font-size:.95rem; font-weight:700; margin-bottom:.5rem; color:var(--gold2); }
.feature-card p { font-size:.85rem; color:var(--text2); line-height:1.6; }

/* ── PLAYERS ── */
.players-grid { display:grid; grid-template-columns:repeat(auto-fill,minmax(140px,1fr)); gap:.75rem; margin-top:2rem; }
.player-card { background:var(--surface); border:1px solid var(--border); border-radius:12px; padding:1rem; text-align:center; transition:.2s; }
.player-card:hover { border-color:rgba(245,197,66,.3); background:var(--surface2); transform:translateY(-2px); }
.player-skin { width:48px; height:48px; border-radius:8px; margin:0 auto .6rem; border:2px solid var(--border); overflow:hidden; }
.player-skin img { width:100%; height:100%; object-fit:cover; }
.player-name { font-size:.82rem; font-weight:800; margin-bottom:.2rem; }
.player-status { font-size:.68rem; color:var(--green); font-weight:700; text-transform:uppercase; letter-spacing:.05em; }

/* ── LEADERBOARD ── */
.lb-wrap { background:var(--bg2); border:1px solid var(--border); border-radius:18px; overflow:hidden; margin-top:2.5rem; }
.lb-top-bar { background:linear-gradient(90deg,rgba(245,197,66,.08),transparent); padding:1.25rem 1.25rem 0; border-bottom:1px solid var(--border); display:flex; align-items:center; justify-content:space-between; }
.lb-tabs { display:flex; gap:.4rem; }
.lb-tab { padding:.45rem 1rem; border-radius:8px 8px 0 0; font-size:.78rem; font-weight:800; cursor:pointer; color:var(--text2); background:none; border:none; font-family:var(--font); border-bottom:2px solid transparent; margin-bottom:-1px; transition:.2s; }
.lb-tab.active { color:var(--gold); border-bottom-color:var(--gold); }
.lb-season { font-size:.72rem; color:var(--text3); font-weight:700; padding-bottom:.8rem; }
.lb-header { display:grid; grid-template-columns:56px 1fr 130px 120px; padding:.6rem 1.25rem; font-size:.68rem; font-weight:800; text-transform:uppercase; letter-spacing:.08em; color:var(--text3); border-bottom:1px solid var(--border); }
.lb-row { display:grid; grid-template-columns:56px 1fr 130px 120px; padding:1rem 1.25rem; border-bottom:1px solid rgba(255,255,255,.04); align-items:center; transition:.15s; }
.lb-row:hover { background:var(--surface); }
.lb-row:last-child { border-bottom:none; }
.lb-rank { font-family:var(--title); font-weight:900; font-size:1rem; }
.lb-rank.r1 { color:var(--gold); text-shadow:0 0 10px rgba(245,197,66,.5); }
.lb-rank.r2 { color:#94a3b8; }
.lb-rank.r3 { color:#cd8c3c; }
.lb-player { display:flex; align-items:center; gap:.75rem; }
.lb-avatar { width:34px; height:34px; border-radius:7px; background:var(--surface2); overflow:hidden; border:1px solid var(--border); flex-shrink:0; }
.lb-avatar img { width:100%; height:100%; object-fit:cover; }
.lb-name { font-weight:800; font-size:.88rem; }
.lb-score { font-family:var(--mono); font-size:.82rem; }
.lb-score.gold { color:var(--gold); font-weight:700; }
.lb-time { font-size:.8rem; color:var(--text3); }

/* ── RULES ── */
.rules-list { margin-top:2.5rem; display:flex; flex-direction:column; gap:1px; }
.rule-item { background:var(--bg2); padding:1.3rem 1.5rem; display:flex; gap:1rem; align-items:flex-start; border-bottom:1px solid rgba(255,255,255,.04); transition:.15s; }
.rule-item:hover { background:var(--surface); }
.rule-item:first-child { border-radius:16px 16px 0 0; }
.rule-item:last-child { border-radius:0 0 16px 16px; border-bottom:none; }
.rule-num { font-family:var(--title); font-size:.8rem; font-weight:900; color:var(--gold-dark); padding-top:.1rem; flex-shrink:0; width:30px; }
.rule-content h4 { font-size:.92rem; font-weight:800; margin-bottom:.2rem; color:var(--text); }
.rule-content p { font-size:.82rem; color:var(--text2); line-height:1.55; }
.rule-badge { margin-left:auto; flex-shrink:0; padding:.2rem .65rem; border-radius:6px; font-size:.68rem; font-weight:800; text-transform:uppercase; letter-spacing:.04em; }
.badge-red  { background:rgba(248,113,113,.12); color:var(--red); border:1px solid rgba(248,113,113,.2); }
.badge-gold { background:rgba(251,191,36,.12); color:var(--gold); border:1px solid rgba(251,191,36,.2); }
.badge-blue { background:rgba(96,165,250,.12); color:var(--blue2); border:1px solid rgba(96,165,250,.2); }

/* ── VOTE ── */
.vote-grid { display:grid; grid-template-columns:repeat(auto-fit,minmax(210px,1fr)); gap:1rem; margin-top:2.5rem; }
.vote-card { background:var(--surface); border:1px solid var(--border); border-radius:14px; padding:1.5rem; text-align:center; transition:.25s; cursor:pointer; position:relative; overflow:hidden; }
.vote-card::before { content:''; position:absolute; top:0; left:0; right:0; height:3px; background:linear-gradient(90deg,var(--gold-dark),var(--gold)); transform:scaleX(0); transition:.3s; }
.vote-card:hover::before { transform:scaleX(1); }
.vote-card:hover { border-color:rgba(245,197,66,.35); transform:translateY(-4px); box-shadow:0 12px 40px rgba(245,197,66,.1); }
.vote-site { font-size:.68rem; color:var(--text3); font-weight:800; text-transform:uppercase; letter-spacing:.08em; margin-bottom:.3rem; }
.vote-name { font-size:.95rem; font-weight:800; margin-bottom:.75rem; color:var(--text); }
.vote-reward { font-size:.78rem; color:var(--gold2); font-weight:700; }
.vote-btn { display:block; margin-top:1rem; padding:.55rem 1rem; background:rgba(245,197,66,.1); border:1px solid rgba(245,197,66,.2); border-radius:8px; font-size:.78rem; font-weight:800; color:var(--gold); text-decoration:none; transition:.2s; }
.vote-card:hover .vote-btn { background:var(--gold); color:#0a0500; }

/* ── SHOP ── */
.shop-grid { display:grid; grid-template-columns:repeat(auto-fit,minmax(195px,1fr)); gap:1rem; margin-top:2.5rem; }
.shop-card { background:var(--surface); border:1px solid var(--border); border-radius:16px; overflow:hidden; transition:.25s; }
.shop-card:hover { transform:translateY(-4px); box-shadow:0 12px 40px rgba(0,0,0,.4); }
.shop-card-top { padding:2rem; text-align:center; position:relative; overflow:hidden; background:linear-gradient(135deg,var(--bg3),var(--surface2)); }
.shop-icon { font-size:2.8rem; margin-bottom:.6rem; display:block; }
.shop-tag { display:inline-block; padding:.22rem .65rem; border-radius:6px; font-size:.65rem; font-weight:800; text-transform:uppercase; letter-spacing:.05em; }
.shop-tag.vip     { background:rgba(96,165,250,.15); color:var(--blue2); border:1px solid rgba(96,165,250,.25); }
.shop-tag.premium { background:rgba(245,197,66,.15); color:var(--gold); border:1px solid rgba(245,197,66,.25); }
.shop-tag.elite   { background:rgba(248,113,113,.15); color:var(--red); border:1px solid rgba(248,113,113,.25); }
.shop-card-body { padding:1.25rem; }
.shop-card-body h3 { font-family:var(--title); font-size:.9rem; font-weight:700; margin-bottom:.35rem; color:var(--gold2); }
.shop-card-body p { font-size:.78rem; color:var(--text2); line-height:1.5; margin-bottom:.9rem; }
.shop-price { font-family:var(--title); font-size:1.25rem; font-weight:900; color:var(--gold); margin-bottom:.75rem; }
.shop-price span { font-size:.75rem; color:var(--text3); font-weight:400; font-family:var(--font); }
.btn-shop { width:100%; padding:.55rem; background:rgba(245,197,66,.1); border:1px solid rgba(245,197,66,.2); border-radius:8px; font-size:.8rem; font-weight:800; color:var(--gold); cursor:pointer; font-family:var(--font); transition:.2s; }
.btn-shop:hover { background:var(--gold); color:#0a0500; }

/* ── CONTACT ── */
.contact-grid { display:grid; grid-template-columns:1fr 1fr; gap:2rem; margin-top:2.5rem; }
.contact-form-wrap { background:var(--surface); border:1px solid var(--border); border-radius:18px; padding:2rem; }
.form-field { margin-bottom:1.1rem; }
.form-field label { display:block; font-size:.72rem; font-weight:800; color:var(--text2); margin-bottom:.4rem; text-transform:uppercase; letter-spacing:.05em; }
.form-field input,.form-field textarea,.form-field select { width:100%; padding:.7rem 1rem; background:var(--bg2); border:1px solid var(--border2); border-radius:10px; color:var(--text); font-family:var(--font); font-size:.88rem; outline:none; transition:.2s; }
.form-field input:focus,.form-field textarea:focus,.form-field select:focus { border-color:var(--gold); box-shadow:0 0 0 3px rgba(245,197,66,.1); }
.form-field textarea { resize:vertical; min-height:100px; }
.form-field select option { background:var(--bg2); }
.contact-info { display:flex; flex-direction:column; gap:.85rem; }
.contact-card { background:var(--surface); border:1px solid var(--border); border-radius:14px; padding:1.3rem; display:flex; gap:1rem; align-items:flex-start; transition:.2s; }
.contact-card:hover { border-color:var(--border2); }
.contact-card-icon { font-size:1.5rem; flex-shrink:0; }
.contact-card h4 { font-family:var(--title); font-size:.88rem; margin-bottom:.25rem; color:var(--gold2); }
.contact-card p { font-size:.8rem; color:var(--text2); }
.contact-card a { color:var(--blue2); text-decoration:none; }

/* ── FOOTER ── */
footer { background:var(--bg2); border-top:1px solid var(--border); padding:2.5rem 2rem; text-align:center; }
.footer-logo { display:flex; align-items:center; gap:.75rem; justify-content:center; margin-bottom:1rem; }
.footer-logo img { width:36px; height:36px; border-radius:8px; }
.footer-logo span { font-family:var(--title); font-size:1rem; color:var(--gold); }
footer p { color:var(--text3); font-size:.78rem; margin-top:.3rem; }

/* ── TOAST ── */
.toast {
  position:fixed; bottom:2rem; left:50%; transform:translateX(-50%) translateY(100px);
  background:linear-gradient(135deg,var(--gold-dark),var(--gold)); color:#060300; font-weight:800; font-size:.875rem;
  padding:.75rem 1.5rem; border-radius:10px; box-shadow:0 8px 30px rgba(245,197,66,.35);
  transition:transform .3s; z-index:999; pointer-events:none;
}
.toast.show { transform:translateX(-50%) translateY(0); }

/* ── RESPONSIVE ── */

/* ══ HAMBURGER ══ */
.hamburger { display:flex; flex-direction:column; justify-content:center; gap:5px; width:40px; height:40px; background:rgba(245,197,66,.08); border:1px solid rgba(245,197,66,.2); border-radius:8px; cursor:pointer; padding:9px; flex-shrink:0; transition:.2s; }
.hamburger:hover { background:rgba(245,197,66,.16); }
.hamburger span { display:block; height:2px; background:var(--gold); border-radius:2px; transition:all .3s; }
.hamburger.open span:nth-child(1){ transform:translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2){ opacity:0; }
.hamburger.open span:nth-child(3){ transform:translateY(-7px) rotate(-45deg); }

/* ══ MOB MENU ══ */
.mob-menu { display:none; position:fixed; top:62px; right:1rem; left:auto; width:230px; z-index:9999; background:rgba(6,11,20,.98); border:1px solid var(--border2); border-radius:14px; padding:.5rem; flex-direction:column; gap:.15rem; box-shadow:0 8px 32px rgba(0,0,0,.5); }
.mob-menu.open { display:flex !important; animation:fadeInDrop .18s ease; }
@keyframes fadeInDrop { from{opacity:0;transform:translateY(-6px)} to{opacity:1;transform:translateY(0)} }
.mob-menu a { display:flex; align-items:center; gap:.6rem; padding:.6rem .85rem; border-radius:9px; font-size:.88rem; font-weight:700; color:var(--text2); text-decoration:none; transition:.12s; }
.mob-menu a:hover, .mob-menu a.active { color:var(--gold); background:rgba(245,197,66,.08); border-color:rgba(245,197,66,.2); }
.mob-sep { height:1px; background:var(--border); margin:.3rem 0; }
.mob-btn-login { width:100%; padding:.8rem 1rem; border-radius:8px; font-size:.95rem; font-weight:700; color:var(--blue2); border:1px solid var(--border2); background:transparent; cursor:pointer; font-family:var(--font); text-align:left; transition:.15s; }
.mob-btn-register { width:100%; padding:.8rem 1rem; border-radius:8px; font-size:.95rem; font-weight:900; color:#060300; background:linear-gradient(135deg,var(--gold-dark),var(--gold)); border:none; cursor:pointer; font-family:var(--font); text-align:left; }
.mob-btn-logout { width:100%; padding:.8rem 1rem; border-radius:8px; font-size:.9rem; font-weight:700; color:var(--red); border:1px solid rgba(248,113,113,.2); background:transparent; cursor:pointer; font-family:var(--font); text-align:left; }

/* ══ MODAL PROFIL ══ */
.profile-modal-overlay { position:fixed; inset:0; z-index:9999; background:rgba(0,0,0,.8); display:none; align-items:center; justify-content:center; padding:1rem; }
.profile-modal-overlay.open { display:flex; }
.profile-modal { background:var(--bg2); border:none; border-radius:20px; width:100%; max-width:400px; padding:2rem; position:relative; box-shadow:0 0 60px rgba(245,197,66,.1),0 30px 80px rgba(0,0,0,.6); }

.profile-modal-title { font-family:var(--title); font-size:1.1rem; font-weight:900; color:var(--gold); margin-bottom:1.5rem; display:flex; align-items:center; gap:.75rem; }
.profile-mc-preview { display:flex; align-items:center; gap:1rem; background:var(--surface); border:1px solid var(--border); border-radius:12px; padding:1rem; margin-bottom:1.5rem; }
.profile-mc-preview img { width:56px; height:56px; border-radius:8px; image-rendering:pixelated; border:2px solid var(--border); }
.profile-mc-preview-name { font-weight:800; font-size:1rem; color:var(--text); }
.profile-mc-preview-sub { font-size:.75rem; color:var(--text3); margin-top:.2rem; }
.profile-field { margin-bottom:1rem; }
.profile-field label { display:block; font-size:.72rem; font-weight:800; color:var(--text2); margin-bottom:.4rem; text-transform:uppercase; letter-spacing:.05em; }
.profile-field input { width:100%; padding:.7rem 1rem; background:var(--bg3); border:1px solid var(--border2); border-radius:10px; color:var(--text); font-family:var(--font); font-size:.9rem; outline:none; transition:.2s; }
.profile-field input:focus { border-color:var(--gold); box-shadow:0 0 0 3px rgba(245,197,66,.1); }
.profile-msg { display:none; padding:.65rem 1rem; border-radius:8px; font-size:.85rem; font-weight:700; margin-bottom:1rem; border:1px solid transparent; }
.profile-msg.show { display:block; background:rgba(248,113,113,.12); color:var(--red); border-color:rgba(248,113,113,.2); }
.profile-msg.show.ok { background:rgba(74,222,128,.12); color:var(--green); border-color:rgba(74,222,128,.2); }
.profile-btn-save { width:100%; padding:.8rem; background:linear-gradient(135deg,var(--gold-dark),var(--gold)); color:#060300; font-weight:900; font-size:.95rem; font-family:var(--font); border:none; border-radius:10px; cursor:pointer; transition:all .2s; }
.profile-btn-save:hover { box-shadow:0 0 24px rgba(245,197,66,.4); transform:translateY(-2px); }
.profile-modal-close { position:absolute; top:1rem; right:1rem; background:var(--surface); border:1px solid var(--border); color:var(--text2); width:30px; height:30px; border-radius:7px; cursor:pointer; font-size:.9rem; display:flex; align-items:center; justify-content:center; }


@media(max-width:720px){
  .nav-links { display:none; }
  .btn-nav-login, .btn-nav-register { display:none; }
  .hamburger { display:flex; }
  .stats-inner { grid-template-columns:repeat(2,1fr); }
  .contact-grid { grid-template-columns:1fr; }
  .hero h1 { font-size:2.5rem; }
  .lb-header,.lb-row { grid-template-columns:44px 1fr 100px; }
  .lb-header>:last-child,.lb-row>:last-child { display:none; }
}


.r-builder{background:rgba(163,230,53,.1);color:#a3e635;border:1px solid rgba(163,230,53,.25)}
.r-orichalque{background:rgba(217,119,6,.1);color:#f59e0b;border:1px solid rgba(217,119,6,.25)}
.r-adamantite{background:rgba(34,211,238,.1);color:#22d3ee;border:1px solid rgba(34,211,238,.25)}
.r-celeste{background:rgba(232,121,249,.1);color:#e879f9;border:1px solid rgba(232,121,249,.25)}
