﻿/* â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•
   ForgeMix Official Site â€” Design System v2.0 PREMIUM
   Dark Fantasy AAA Â· Gold / Charcoal Â· Cinzel + Cormorant
   â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â• */

@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@400;600;700;900&family=Cinzel+Decorative:wght@400;700&family=Cormorant+Garamond:ital,wght@0,300;0,400;0,600;1,300;1,400&family=Inter:wght@300;400;500;600;700&display=swap');

:root {
  --gold:          #c8942a;
  --gold-light:    #e0ab3e;
  --gold-bright:   #f5d06e;
  --gold-dim:      #96701e;
  --gold-glow:     rgba(200,148,42,.4);
  --gold-border:   rgba(200,148,42,.22);
  --gold-subtle:   rgba(200,148,42,.07);
  --gold-sheen:    rgba(245,208,110,.15);

  --void:   #040406;
  --bg0:    #06070c;
  --bg1:    #0a0c12;
  --bg2:    #10131b;
  --bg3:    #161a25;
  --bg4:    #1c2030;
  --bg5:    #232839;
  --panel:  #0f1119;
  --panel2: #161a26;

  --text:        #bbc2d4;
  --text-bright: #eef0f8;
  --text-muted:  #7b86a0;
  --text-dim:    #48526a;

  --ok:    #4cbb7a;
  --warn:  #f0a030;
  --err:   #e05050;
  --info:  #4a9aff;
  --rare:  #4a9aff;
  --epic:  #b857f7;
  --legend:#f0a030;

  --radius:    6px;
  --radius-lg: 12px;
  --radius-xl: 20px;
  --transition: .2s ease;
  --shadow:  0 12px 40px rgba(0,0,0,.7), 0 2px 8px rgba(0,0,0,.5);
  --shadow-gold: 0 0 32px rgba(200,148,42,.2), 0 0 8px rgba(200,148,42,.1), 0 8px 32px rgba(0,0,0,.6);
  --shadow-deep: 0 24px 64px rgba(0,0,0,.8), 0 4px 16px rgba(0,0,0,.6);
  --glow-text: 0 0 30px rgba(200,148,42,.5);
}

/* NOISE TEXTURE OVERLAY */
body::after {
  content: '';
  position: fixed; inset: 0;
  pointer-events: none; z-index: 9999; opacity: .022;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 200px 200px;
}

*,*::before,*::after { box-sizing:border-box; margin:0; padding:0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  background: var(--void);
  color: var(--text);
  font-family: 'Inter', sans-serif;
  font-size: .9rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font-family: inherit; font-size: inherit; }
ul { list-style: none; }
img { max-width: 100%; display: block; }

::-webkit-scrollbar { width: 5px; height: 5px; }
::-webkit-scrollbar-track { background: var(--bg0); }
::-webkit-scrollbar-thumb { background: linear-gradient(var(--gold-dim), var(--gold)); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--gold); }

.container    { max-width: 1280px; margin: 0 auto; padding: 0 32px; }
.container-sm { max-width: 860px;  margin: 0 auto; padding: 0 32px; }
.container-xs { max-width: 560px;  margin: 0 auto; padding: 0 32px; }
.main-layout { display: grid; grid-template-columns: 1fr 300px; gap: 32px; }
.main-layout-full { width: 100%; }
.page-wrapper { display: flex; flex-direction: column; min-height: 100vh; }
.page-content  { flex: 1; padding: 40px 0 72px; }
.section    { padding: 80px 0; }
.section-sm { padding: 56px 0; }
.section-title { font-family: 'Cinzel', serif; font-size: 2rem; font-weight: 700; color: var(--text-bright); margin-bottom: 10px; letter-spacing: .02em; }
.section-sub { font-size: .9rem; color: var(--text-muted); max-width: 520px; line-height: 1.75; }
.section-header { display: flex; align-items: flex-end; justify-content: space-between; margin-bottom: 36px; gap: 16px; flex-wrap: wrap; }

/* TOPBAR */
.topbar {
  position: sticky; top: 0; z-index: 900;
  height: 68px;
  background: rgba(4,4,6,.96);
  border-bottom: 1px solid var(--gold-border);
  backdrop-filter: blur(24px) saturate(180%);
  transition: box-shadow var(--transition), background var(--transition);
}
.topbar::after {
  content: '';
  position: absolute; bottom: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(200,148,42,.35), transparent);
  pointer-events: none;
}
.topbar.scrolled { background: rgba(2,2,4,.99); box-shadow: 0 4px 32px rgba(0,0,0,.9); }
.topbar-inner { max-width: 1280px; margin: 0 auto; padding: 0 32px; height: 100%; display: flex; align-items: center; gap: 28px; }

.logo-link { display: flex; align-items: center; gap: 12px; font-family: 'Cinzel', serif; font-size: 1rem; font-weight: 700; color: var(--gold); text-decoration: none; flex-shrink: 0; letter-spacing: .06em; transition: all var(--transition); }
.logo-link:hover { filter: brightness(1.15); }
.logo-icon {
  width: 38px; height: 38px; border-radius: 9px;
  background: linear-gradient(145deg, var(--gold-bright), var(--gold), var(--gold-dim));
  display: flex; align-items: center; justify-content: center;
  font-size: 1.15rem; font-weight: 900; color: #0a0500;
  box-shadow: 0 0 20px var(--gold-glow), inset 0 1px 0 rgba(255,255,255,.3);
  transition: box-shadow var(--transition);
}
.logo-link:hover .logo-icon { box-shadow: 0 0 32px var(--gold-glow), inset 0 1px 0 rgba(255,255,255,.3); }
.logo-wordmark { line-height: 1; }
.logo-sub { font-size: .6rem; color: var(--text-dim); font-family: 'Inter', sans-serif; font-weight: 400; letter-spacing: .12em; text-transform: uppercase; margin-top: 2px; }

.topbar-nav { display: flex; gap: 2px; align-items: center; flex: 1; }
.topbar-nav > a, .nav-group > .nav-label { display: flex; align-items: center; gap: 5px; padding: 8px 13px; border-radius: var(--radius); font-size: .8rem; font-weight: 500; color: var(--text-muted); transition: all var(--transition); cursor: pointer; white-space: nowrap; position: relative; letter-spacing: .02em; }
.topbar-nav > a:hover, .nav-group > .nav-label:hover, .topbar-nav > a.active { color: var(--gold); background: var(--gold-subtle); }
.topbar-nav > a.active::after { content: ''; position: absolute; bottom: 0; left: 50%; transform: translateX(-50%); width: 20px; height: 2px; background: linear-gradient(90deg, transparent, var(--gold), transparent); box-shadow: 0 0 8px var(--gold-glow); }
.nav-group { position: relative; }
.nav-dropdown {
  position: absolute; top: calc(100% + 10px); left: 0;
  background: var(--bg3); border: 1px solid var(--gold-border);
  border-radius: var(--radius-lg); min-width: 220px;
  box-shadow: var(--shadow-deep); z-index: 200; overflow: hidden;
  opacity: 0; pointer-events: none; transform: translateY(-8px) scale(.98);
  transition: all .2s cubic-bezier(.4,0,.2,1); transform-origin: top left;
}
.nav-dropdown::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 1px; background: linear-gradient(90deg, transparent, rgba(200,148,42,.4), transparent); }
.nav-group.open .nav-dropdown, .nav-group:focus-within .nav-dropdown { opacity: 1; pointer-events: all; transform: translateY(0) scale(1); }
.nav-dropdown a { display: flex; align-items: center; gap: 10px; padding: 11px 16px; font-size: .81rem; color: var(--text-muted); transition: all var(--transition); border-left: 2px solid transparent; }
.nav-dropdown a:hover { background: rgba(200,148,42,.06); color: var(--gold); border-left-color: var(--gold); }
.nav-dropdown-sep { height: 1px; background: rgba(200,148,42,.1); margin: 4px 0; }
.caret { font-size: .6rem; transition: transform var(--transition); opacity: .5; }
.nav-group.open .caret { transform: rotate(180deg); opacity: 1; }

.topbar-actions { display: flex; align-items: center; gap: 10px; margin-left: auto; }
.topbar-btn { padding: 8px 18px; border-radius: var(--radius); font-size: .79rem; font-weight: 600; cursor: pointer; transition: all var(--transition); border: 1px solid var(--gold-border); background: none; color: var(--text-muted); letter-spacing: .02em; }
.topbar-btn:hover { color: var(--gold); border-color: var(--gold); background: var(--gold-subtle); }
.topbar-btn-primary {
  background: linear-gradient(135deg, var(--gold-light) 0%, var(--gold) 55%, #7a4c0a 100%);
  color: #12080a; border-color: transparent;
  box-shadow: 0 2px 14px rgba(200,148,42,.35), inset 0 1px 0 rgba(255,255,255,.25);
  font-family: 'Cinzel', serif; position: relative; overflow: hidden;
}
.topbar-btn-primary::before { content: ''; position: absolute; inset: 0; background: linear-gradient(135deg, rgba(255,255,255,.18) 0%, transparent 55%); pointer-events: none; }
.topbar-btn-primary:hover { background: linear-gradient(135deg, var(--gold-bright) 0%, var(--gold-light) 55%, var(--gold) 100%); color: #0d0700; box-shadow: 0 4px 22px rgba(200,148,42,.55), inset 0 1px 0 rgba(255,255,255,.25); transform: translateY(-1px); }
.topbar-user { display: flex; align-items: center; gap: 8px; position: relative; }
.topbar-avatar { width: 34px; height: 34px; border-radius: 50%; background: linear-gradient(135deg, var(--gold-bright), var(--gold), var(--gold-dim)); display: flex; align-items: center; justify-content: center; font-family: 'Cinzel', serif; font-size: .9rem; font-weight: 700; color: var(--void); border: 2px solid rgba(200,148,42,.45); cursor: pointer; box-shadow: 0 0 14px var(--gold-glow); transition: all var(--transition); }
.topbar-avatar:hover { box-shadow: 0 0 24px var(--gold-glow); border-color: var(--gold); }
.user-menu { position: absolute; top: calc(100% + 10px); right: 0; background: var(--bg3); border: 1px solid var(--gold-border); border-radius: var(--radius-lg); min-width: 200px; box-shadow: var(--shadow-deep); display: none; z-index: 200; overflow: hidden; }
.user-menu.open { display: block; animation: dropIn .2s ease; }
@keyframes dropIn { from { opacity:0; transform:translateY(-6px); } to { opacity:1; transform:none; } }
.user-menu-item { display: flex; align-items: center; gap: 10px; padding: 11px 16px; font-size: .82rem; color: var(--text-muted); transition: all var(--transition); cursor: pointer; }
.user-menu-item:hover { background: var(--gold-subtle); color: var(--gold); }
.user-menu-sep { height: 1px; background: rgba(200,148,42,.1); }

/* HERO */
.hero {
  position: relative; min-height: 100vh;
  display: flex; align-items: center;
  overflow: hidden;
}
.hero::before {
  content: ''; position: absolute; inset: 0; z-index: 0;
  background:
    radial-gradient(ellipse 100% 70% at 50% -10%, rgba(200,148,42,.09) 0%, transparent 60%),
    radial-gradient(ellipse 50% 40% at 80% 50%, rgba(150,112,30,.04) 0%, transparent 60%),
    var(--void);
}
/* Left vertical accent line */
.hero::after {
  content: ''; position: absolute; left: 0; top: 15%; bottom: 15%; width: 1px; z-index: 5;
  background: linear-gradient(180deg, transparent, rgba(200,148,42,.4) 30%, rgba(200,148,42,.4) 70%, transparent);
  pointer-events: none;
}
.hero-bg { position: absolute; inset: 0; z-index: 1; background-image: url('../img/hero-bg.jpg'); background-size: cover; background-position: center top; opacity: .15; }
.hero-vignette { position: absolute; inset: 0; z-index: 2; background: linear-gradient(180deg, rgba(4,4,6,.3) 0%, rgba(4,4,6,.55) 55%, var(--void) 100%); }
.hero-particles { position: absolute; inset: 0; z-index: 3; pointer-events: none; }
.hero-content { position: relative; z-index: 10; max-width: 1280px; margin: 0 auto; padding: 0 32px; padding-top: 80px; width: 100%; }

.hero-eyebrow {
  font-family: 'Cinzel', serif; font-size: .7rem; font-weight: 600;
  text-transform: uppercase; letter-spacing: .22em;
  color: var(--gold); margin-bottom: 22px;
  display: inline-flex; align-items: center; gap: 12px;
  padding: 6px 16px 6px 10px;
  border: 1px solid var(--gold-border);
  background: rgba(200,148,42,.05);
  border-radius: 2px; backdrop-filter: blur(8px);
  animation: heroFadeUp .8s cubic-bezier(.4,0,.2,1) both;
}
.hero-eyebrow::before { content: ''; display: block; width: 18px; height: 1px; background: linear-gradient(90deg, transparent, var(--gold)); }
.eyebrow-dot { width: 5px; height: 5px; background: var(--gold); border-radius: 50%; box-shadow: 0 0 8px var(--gold); animation: livePulse 2s ease infinite; }
@keyframes livePulse { 0%,100% { box-shadow: 0 0 8px var(--gold); } 50% { box-shadow: 0 0 18px var(--gold), 0 0 30px rgba(200,148,42,.4); } }

.hero-title {
  font-family: 'Cinzel Decorative', 'Cinzel', serif;
  font-size: clamp(3rem, 7vw, 6.5rem);
  font-weight: 700; line-height: 1.05;
  color: var(--text-bright); margin-bottom: 26px;
  text-shadow: 0 2px 60px rgba(0,0,0,.9);
  animation: heroFadeUp .9s .1s cubic-bezier(.4,0,.2,1) both;
}
.hero-title .accent {
  background: linear-gradient(135deg, var(--gold-bright) 0%, var(--gold) 40%, var(--gold-dim) 70%, var(--gold) 100%);
  background-size: 200% auto;
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
  filter: drop-shadow(0 0 32px rgba(200,148,42,.5));
  animation: shimmer 4s linear infinite, heroFadeUp .9s .2s cubic-bezier(.4,0,.2,1) both;
}
.hero-sub {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 1.2rem; font-weight: 400; font-style: italic;
  color: var(--text-muted); max-width: 560px;
  line-height: 1.8; margin-bottom: 44px;
  animation: heroFadeUp .9s .3s cubic-bezier(.4,0,.2,1) both;
}
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 68px; animation: heroFadeUp .9s .45s cubic-bezier(.4,0,.2,1) both; }
@keyframes heroFadeUp { from { opacity:0; transform:translateY(28px); } to { opacity:1; transform:none; } }

.hero-stats {
  display: flex; gap: 0; flex-wrap: wrap;
  padding-top: 40px; border-top: 1px solid rgba(200,148,42,.1);
  animation: heroFadeUp .9s .6s cubic-bezier(.4,0,.2,1) both;
}
.hero-stat { padding: 0 44px 0 0; position: relative; }
.hero-stat + .hero-stat { padding-left: 44px; border-left: 1px solid rgba(200,148,42,.1); }
.hero-stat .n { font-family: 'Cinzel', serif; font-size: 2rem; font-weight: 700; color: var(--gold); display: block; line-height: 1; text-shadow: 0 0 24px rgba(200,148,42,.3); }
.hero-stat .l { font-size: .68rem; color: var(--text-dim); text-transform: uppercase; letter-spacing: .12em; margin-top: 7px; display: block; }

/* DIVIDER */
.divider { display: flex; align-items: center; gap: 16px; margin: 48px auto 40px; padding: 0 32px; max-width: 1280px; }
.divider-line { flex: 1; height: 1px; background: linear-gradient(90deg, transparent, rgba(200,148,42,.18), transparent); }
.divider-label { font-family: 'Cinzel', serif; font-size: .67rem; color: var(--gold-dim); text-transform: uppercase; letter-spacing: .2em; white-space: nowrap; }
.divider-gem { width: 7px; height: 7px; background: var(--gold); transform: rotate(45deg); flex-shrink: 0; box-shadow: 0 0 10px var(--gold-glow); position: relative; }
.divider-gem::before { content: ''; position: absolute; inset: -3px; border: 1px solid rgba(200,148,42,.3); transform: rotate(45deg) scale(.7071); }

/* BUTTONS */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 24px; border-radius: var(--radius);
  font-family: 'Cinzel', serif; font-size: .78rem; font-weight: 700;
  letter-spacing: .08em; cursor: pointer; border: none;
  transition: all .22s cubic-bezier(.4,0,.2,1); white-space: nowrap;
  text-decoration: none; position: relative; overflow: hidden;
}
.btn::after { content: ''; position: absolute; inset: 0; background: linear-gradient(135deg, rgba(255,255,255,.12) 0%, transparent 50%); pointer-events: none; opacity: 0; transition: opacity var(--transition); }
.btn:hover::after { opacity: 1; }
.btn-primary {
  background: linear-gradient(140deg, var(--gold-light) 0%, var(--gold) 55%, #7a4c0a 100%);
  color: #12080a;
  box-shadow: 0 4px 20px rgba(200,148,42,.35), inset 0 1px 0 rgba(255,255,255,.28), inset 0 -1px 0 rgba(0,0,0,.2);
}
.btn-primary:hover { background: linear-gradient(140deg, var(--gold-bright) 0%, var(--gold-light) 55%, var(--gold) 100%); transform: translateY(-3px); box-shadow: 0 8px 32px rgba(200,148,42,.5), inset 0 1px 0 rgba(255,255,255,.28); }
.btn-primary:active { transform: translateY(-1px); }
.btn-ghost { background: rgba(200,148,42,.04); border: 1px solid var(--gold-border); color: var(--gold); padding: 11px 24px; }
.btn-ghost:hover { background: rgba(200,148,42,.1); border-color: rgba(200,148,42,.45); transform: translateY(-2px); box-shadow: 0 4px 16px rgba(200,148,42,.18); }
.btn-ghost-muted { background: none; border: 1px solid var(--bg5); color: var(--text-muted); padding: 11px 24px; }
.btn-ghost-muted:hover { border-color: var(--gold-border); color: var(--gold); }
.btn-lg { padding: 15px 36px; font-size: .88rem; border-radius: var(--radius-lg); }
.btn-sm { padding: 7px 14px; font-size: .72rem; }
.btn-xs { padding: 4px 10px; font-size: .67rem; }
.btn-danger { background: rgba(224,80,80,.1); border: 1px solid rgba(224,80,80,.3); color: var(--err); }
.btn-danger:hover { background: rgba(224,80,80,.18); }
.btn-success { background: rgba(76,187,122,.1); border: 1px solid rgba(76,187,122,.3); color: var(--ok); }
.btn-icon { padding: 9px; width: 36px; height: 36px; justify-content: center; }

/* PANEL */
.panel {
  background: var(--panel); border: 1px solid rgba(200,148,42,.12);
  border-radius: var(--radius-lg); overflow: hidden; position: relative;
}
.panel::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 1px; background: linear-gradient(90deg, transparent, rgba(200,148,42,.28), transparent); pointer-events: none; }
.panel-gold { border-color: var(--gold-border); }
.panel-header { display: flex; align-items: center; justify-content: space-between; padding: 15px 20px; border-bottom: 1px solid rgba(200,148,42,.08); gap: 12px; background: rgba(200,148,42,.02); }
.panel-title { font-family: 'Cinzel', serif; font-size: .85rem; font-weight: 700; color: var(--text-bright); letter-spacing: .05em; }
.panel-body { padding: 20px; }
.panel-footer { padding: 12px 20px; border-top: 1px solid rgba(200,148,42,.06); }

/* CARDS */
.card {
  background: var(--panel); border: 1px solid rgba(200,148,42,.1);
  border-radius: var(--radius-lg); overflow: hidden;
  transition: all .25s cubic-bezier(.4,0,.2,1); position: relative;
}
.card::before { content: ''; position: absolute; inset: 0; background: radial-gradient(circle at var(--mx,50%) var(--my,50%), rgba(200,148,42,.06) 0%, transparent 60%); opacity: 0; transition: opacity var(--transition); pointer-events: none; z-index: 1; }
.card:hover::before { opacity: 1; }
.card:hover { border-color: rgba(200,148,42,.3); transform: translateY(-4px); box-shadow: var(--shadow-gold); }
.card-img { width: 100%; height: 200px; object-fit: cover; background: var(--bg2); display: flex; align-items: center; justify-content: center; font-size: 3rem; color: var(--text-dim); }
.card-body { padding: 18px 20px; position: relative; z-index: 2; }
.card-title { font-family: 'Cinzel', serif; font-size: .95rem; font-weight: 700; color: var(--text-bright); margin-bottom: 7px; line-height: 1.3; }
.card-meta { font-size: .75rem; color: var(--text-dim); margin-bottom: 10px; display: flex; gap: 12px; flex-wrap: wrap; }
.card-desc { font-size: .83rem; color: var(--text-muted); line-height: 1.65; }
.card-footer { padding: 12px 20px; border-top: 1px solid rgba(200,148,42,.07); display: flex; align-items: center; justify-content: space-between; position: relative; z-index: 2; }

/* NEWS CARDS */
.news-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 22px; }
.news-card { background: var(--panel); border: 1px solid rgba(200,148,42,.1); border-radius: var(--radius-lg); overflow: hidden; transition: all .25s cubic-bezier(.4,0,.2,1); position: relative; }
.news-card::after { content: ''; position: absolute; bottom: 0; left: 0; right: 0; height: 2px; background: linear-gradient(90deg, transparent, var(--gold), transparent); transform: scaleX(0); transition: transform .3s ease; }
.news-card:hover::after { transform: scaleX(1); }
.news-card:hover { border-color: rgba(200,148,42,.3); transform: translateY(-5px); box-shadow: var(--shadow-gold); }
.news-card-thumb { height: 190px; background: linear-gradient(135deg, var(--bg2), var(--bg3)); position: relative; overflow: hidden; display: flex; align-items: center; justify-content: center; font-size: 3.5rem; }
.news-card-thumb::before { content: ''; position: absolute; inset: 0; background: radial-gradient(circle at 30% 70%, rgba(200,148,42,.06) 0%, transparent 60%); }
.news-card-cat { position: absolute; top: 12px; left: 12px; font-family: 'Cinzel', serif; font-size: .63rem; font-weight: 700; text-transform: uppercase; letter-spacing: .12em; padding: 4px 12px; border-radius: 20px; backdrop-filter: blur(8px); }
.cat-news    { background: rgba(200,148,42,.25); color: var(--gold);  border: 1px solid var(--gold-border); }
.cat-devblog { background: rgba(74,154,255,.18); color: var(--rare);  border: 1px solid rgba(74,154,255,.3); }
.cat-patch   { background: rgba(76,187,122,.15); color: var(--ok);    border: 1px solid rgba(76,187,122,.3); }
.cat-event   { background: rgba(184,87,247,.15); color: var(--epic);  border: 1px solid rgba(184,87,247,.3); }
.news-card-body { padding: 18px 20px; }
.news-card-title { font-family: 'Cinzel', serif; font-size: .92rem; font-weight: 700; color: var(--text-bright); margin-bottom: 8px; line-height: 1.45; transition: color var(--transition); }
.news-card:hover .news-card-title { color: var(--gold-light); }
.news-card-date  { font-size: .7rem; color: var(--text-dim); margin-bottom: 10px; letter-spacing: .04em; }
.news-card-desc  { font-size: .82rem; color: var(--text-muted); line-height: 1.65; }
.news-card-footer { padding: 12px 20px; border-top: 1px solid rgba(200,148,42,.07); }

/* BADGE / TAG */
.badge { display: inline-flex; align-items: center; gap: 4px; padding: 3px 9px; border-radius: 20px; font-size: .67rem; font-family: 'Cinzel', serif; font-weight: 600; letter-spacing: .05em; white-space: nowrap; }
.badge-gold    { background: rgba(200,148,42,.18); color: var(--gold);    border: 1px solid var(--gold-border); }
.badge-rare    { background: rgba(74,154,255,.13);  color: var(--rare);   border: 1px solid rgba(74,154,255,.3); }
.badge-epic    { background: rgba(184,87,247,.13);  color: var(--epic);   border: 1px solid rgba(184,87,247,.3); }
.badge-legend  { background: rgba(240,160,48,.13);  color: var(--legend); border: 1px solid rgba(240,160,48,.3); }
.badge-ok      { background: rgba(76,187,122,.12);  color: var(--ok);     border: 1px solid rgba(76,187,122,.3); }
.badge-err     { background: rgba(224,80,80,.12);   color: var(--err);    border: 1px solid rgba(224,80,80,.3); }
.badge-warn    { background: rgba(240,160,48,.13);  color: var(--warn);   border: 1px solid rgba(240,160,48,.3); }
.badge-muted   { background: var(--bg3); color: var(--text-dim); border: 1px solid var(--bg5); }
.badge-new     { background: rgba(76,187,122,.12);  color: var(--ok);     border: 1px solid rgba(76,187,122,.3); }
.badge-pinned  { background: rgba(200,148,42,.12);  color: var(--gold-dim); border: 1px solid var(--gold-border); }
.badge-hot     { background: rgba(224,80,80,.1);    color: #f07050;        border: 1px solid rgba(224,80,80,.25); }
.badge-official{ background: rgba(200,148,42,.15);  color: var(--gold);    border: 1px solid var(--gold-border); }
.tag { display: inline-flex; align-items: center; padding: 4px 12px; border-radius: 20px; font-size: .72rem; background: var(--bg3); color: var(--text-muted); border: 1px solid var(--bg5); cursor: default; transition: all var(--transition); }
.tag:hover { background: var(--gold-subtle); color: var(--gold); border-color: var(--gold-border); }
.tag.active { background: rgba(200,148,42,.14); color: var(--gold); border-color: var(--gold-border); }

/* FORMS */
.form-group { display: flex; flex-direction: column; gap: 7px; margin-bottom: 20px; }
.form-label { font-size: .76rem; font-family: 'Cinzel', serif; color: var(--text-muted); font-weight: 600; letter-spacing: .06em; }
.form-label .req { color: var(--gold); }
.form-input, .form-select, .form-textarea { background: var(--bg2); border: 1px solid var(--bg5); border-radius: var(--radius); color: var(--text-bright); padding: 12px 14px; font-size: .875rem; transition: all var(--transition); outline: none; width: 100%; }
.form-input:focus, .form-select:focus, .form-textarea:focus { border-color: var(--gold); box-shadow: 0 0 0 3px rgba(200,148,42,.1), 0 0 18px rgba(200,148,42,.07); }
.form-input::placeholder, .form-textarea::placeholder { color: var(--text-dim); }
.form-input-icon { position: relative; }
.form-input-icon .form-input { padding-left: 40px; }
.form-input-icon .icon { position: absolute; left: 12px; top: 50%; transform: translateY(-50%); color: var(--text-dim); pointer-events: none; }
.form-textarea { resize: vertical; min-height: 120px; }
.form-select { cursor: pointer; appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath fill='%23545e78' d='M5 6 0 0h10z'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; padding-right: 32px; }
.form-hint { font-size: .73rem; color: var(--text-dim); }
.form-error { font-size: .73rem; color: var(--err); }
.form-success { font-size: .73rem; color: var(--ok); }
.form-divider { display: flex; align-items: center; gap: 12px; margin: 20px 0; }
.form-divider span { font-size: .72rem; color: var(--text-dim); white-space: nowrap; }
.form-divider::before, .form-divider::after { content: ''; flex: 1; height: 1px; background: var(--bg5); }
.form-check { display: flex; align-items: flex-start; gap: 10px; cursor: pointer; }
.form-check input[type="checkbox"] { accent-color: var(--gold); width: 16px; height: 16px; flex-shrink: 0; margin-top: 2px; cursor: pointer; }
.form-check-label { font-size: .82rem; color: var(--text-muted); line-height: 1.5; }
.form-check-label a { color: var(--gold); }

/* AUTH BOX */
.auth-wrap { min-height: 100vh; display: flex; align-items: center; justify-content: center; padding: 60px 24px; background: radial-gradient(ellipse 70% 50% at 50% 0%, rgba(200,148,42,.06) 0%, transparent 70%), linear-gradient(180deg, var(--void) 0%, var(--bg0) 100%); }
.auth-box { width: 100%; max-width: 440px; background: var(--panel); border: 1px solid var(--gold-border); border-radius: var(--radius-xl); padding: 44px 40px; box-shadow: var(--shadow-deep); position: relative; overflow: hidden; }
.auth-box::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 1px; background: linear-gradient(90deg, transparent, rgba(200,148,42,.5), transparent); }
.auth-logo { display: flex; flex-direction: column; align-items: center; gap: 14px; margin-bottom: 36px; }
.auth-logo-icon { width: 60px; height: 60px; border-radius: 16px; background: linear-gradient(145deg, var(--gold-bright), var(--gold), var(--gold-dim)); display: flex; align-items: center; justify-content: center; font-size: 1.9rem; font-weight: 900; color: var(--void); box-shadow: 0 0 30px var(--gold-glow), inset 0 1px 0 rgba(255,255,255,.3); font-family: 'Cinzel', serif; }
.auth-title { font-family: 'Cinzel', serif; font-size: 1.3rem; font-weight: 700; color: var(--text-bright); text-align: center; }
.auth-sub   { font-size: .8rem; color: var(--text-dim); text-align: center; }
.social-btn { display: flex; align-items: center; justify-content: center; gap: 10px; width: 100%; padding: 12px 16px; border-radius: var(--radius); font-size: .83rem; font-weight: 600; cursor: pointer; transition: all var(--transition); background: var(--bg2); border: 1px solid var(--bg5); color: var(--text-muted); margin-bottom: 10px; }
.social-btn:hover { border-color: var(--gold-border); color: var(--text-bright); background: var(--bg3); }

/* SIDEBAR */
.sidebar { display: flex; flex-direction: column; gap: 20px; }
.widget { background: var(--panel); border: 1px solid rgba(200,148,42,.12); border-radius: var(--radius-lg); overflow: hidden; position: relative; }
.widget::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 1px; background: linear-gradient(90deg, transparent, rgba(200,148,42,.3), transparent); pointer-events: none; }
.widget-header { padding: 13px 16px; border-bottom: 1px solid rgba(200,148,42,.07); font-family: 'Cinzel', serif; font-size: .77rem; font-weight: 700; color: var(--text-bright); letter-spacing: .06em; background: rgba(200,148,42,.02); }
.widget-body { padding: 14px 16px; }
.widget-list { display: flex; flex-direction: column; gap: 2px; }
.widget-list-item { display: flex; align-items: center; gap: 10px; padding: 9px 0; border-bottom: 1px solid rgba(200,148,42,.05); font-size: .83rem; transition: color var(--transition); }
.widget-list-item:last-child { border-bottom: none; }
.widget-list-item:hover { color: var(--gold-light); }
.widget-rank { font-family: 'Cinzel', serif; font-size: .72rem; color: var(--gold-dim); min-width: 20px; }
.stat-row { display: flex; justify-content: space-between; align-items: center; padding: 7px 0; border-bottom: 1px solid rgba(200,148,42,.05); }
.stat-row:last-child { border-bottom: none; }
.stat-label { font-size: .78rem; color: var(--text-dim); }
.stat-val   { font-size: .82rem; color: var(--text-bright); font-weight: 600; }

/* PAGINATION */
.pagination { display: flex; align-items: center; gap: 4px; justify-content: center; margin: 32px 0; flex-wrap: wrap; }
.page-btn { min-width: 38px; height: 38px; border-radius: var(--radius); background: var(--bg2); border: 1px solid var(--bg5); color: var(--text-dim); font-size: .82rem; cursor: pointer; transition: all var(--transition); display: flex; align-items: center; justify-content: center; padding: 0 8px; }
.page-btn:hover { border-color: var(--gold-border); color: var(--gold); }
.page-btn.active { background: linear-gradient(135deg, var(--gold), var(--gold-dim)); border-color: transparent; color: var(--void); font-family: 'Cinzel', serif; font-weight: 700; box-shadow: 0 2px 12px rgba(200,148,42,.3); }

/* BREADCRUMB */
.breadcrumb { display: flex; align-items: center; gap: 6px; font-size: .78rem; color: var(--text-dim); flex-wrap: wrap; margin-bottom: 24px; }
.breadcrumb a { color: var(--text-dim); transition: color var(--transition); }
.breadcrumb a:hover { color: var(--gold); }
.breadcrumb .sep { color: var(--bg5); }
.breadcrumb .current { color: var(--text-muted); }

/* TABLE */
.table-wrap { overflow-x: auto; border-radius: var(--radius-lg); border: 1px solid rgba(200,148,42,.15); background: var(--panel); box-shadow: 0 4px 24px rgba(0,0,0,.4); }
.table { width: 100%; border-collapse: collapse; }
.table th { padding: 13px 16px; text-align: left; font-family: 'Cinzel', serif; font-size: .7rem; font-weight: 700; color: var(--gold-dim); text-transform: uppercase; letter-spacing: .12em; background: rgba(200,148,42,.04); border-bottom: 1px solid rgba(200,148,42,.2); white-space: nowrap; }
.table td { padding: 13px 16px; font-size: .85rem; color: var(--text); border-bottom: 1px solid rgba(255,255,255,.03); vertical-align: middle; }
.table tr:last-child td { border-bottom: none; }
.table tbody tr { transition: background var(--transition); }
.table tbody tr:hover td { background: rgba(200,148,42,.04); color: var(--text-bright); }
.table-rank { font-family: 'Cinzel', serif; font-size: .9rem; color: var(--gold); font-weight: 700; }
.table-rank.top1  { color: #ffd700; text-shadow: 0 0 12px rgba(255,215,0,.6); }
.table-rank.top2  { color: #d4d4d4; }
.table-rank.top3  { color: #cd8b4a; }

/* TABS */
.tabs { display: flex; gap: 2px; border-bottom: 1px solid rgba(200,148,42,.12); margin-bottom: 28px; flex-wrap: wrap; }
.tab-btn { padding: 12px 22px; background: none; border: none; border-bottom: 2px solid transparent; font-family: 'Cinzel', serif; font-size: .77rem; color: var(--text-dim); cursor: pointer; transition: all var(--transition); margin-bottom: -1px; white-space: nowrap; letter-spacing: .04em; }
.tab-btn:hover { color: var(--text-bright); }
.tab-btn.active { color: var(--gold); border-bottom-color: var(--gold); }
.tab-panel { display: none; }
.tab-panel.active { display: block; }

/* TOAST */
#toast-root { position: fixed; bottom: 28px; right: 28px; z-index: 9999; display: flex; flex-direction: column; gap: 10px; pointer-events: none; }
.toast { display: flex; align-items: center; gap: 12px; padding: 14px 20px; border-radius: var(--radius-lg); background: rgba(22,26,37,.95); border: 1px solid var(--bg5); box-shadow: var(--shadow); font-size: .85rem; color: var(--text-bright); pointer-events: all; animation: toastIn .3s cubic-bezier(.4,0,.2,1); max-width: 360px; min-width: 240px; backdrop-filter: blur(16px); }
.toast.ok   { border-color: rgba(76,187,122,.4);  background: rgba(76,187,122,.08); }
.toast.err  { border-color: rgba(224,80,80,.4);   background: rgba(224,80,80,.08); }
.toast.warn { border-color: rgba(240,160,48,.4);  background: rgba(240,160,48,.08); }
.toast.info { border-color: var(--gold-border);   background: rgba(200,148,42,.06); }
.toast-icon { font-size: 1.1rem; flex-shrink: 0; }
@keyframes toastIn { from { opacity:0; transform:translateX(24px) scale(.95); } to { opacity:1; transform:none; } }

/* MODAL */
.modal-overlay { position: fixed; inset: 0; background: rgba(0,0,0,.82); display: flex; align-items: center; justify-content: center; z-index: 1000; padding: 24px; backdrop-filter: blur(6px); opacity: 0; pointer-events: none; transition: opacity var(--transition); }
.modal-overlay.open { opacity: 1; pointer-events: all; }
.modal { background: var(--panel); border: 1px solid var(--gold-border); border-radius: var(--radius-xl); max-width: 560px; width: 100%; box-shadow: var(--shadow-deep); transform: translateY(-20px) scale(.98); transition: transform .25s cubic-bezier(.4,0,.2,1); max-height: 90vh; overflow-y: auto; position: relative; }
.modal::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 1px; background: linear-gradient(90deg, transparent, rgba(200,148,42,.5), transparent); }
.modal-overlay.open .modal { transform: none; }
.modal-header { display: flex; align-items: center; justify-content: space-between; padding: 22px 26px; border-bottom: 1px solid rgba(200,148,42,.12); }
.modal-title { font-family: 'Cinzel', serif; font-size: 1rem; font-weight: 700; color: var(--text-bright); }
.modal-close { background: none; border: none; color: var(--text-dim); font-size: 1.2rem; cursor: pointer; padding: 4px 8px; border-radius: var(--radius); transition: all var(--transition); }
.modal-close:hover { color: var(--text-bright); background: var(--bg3); }
.modal-body { padding: 26px; }
.modal-footer { padding: 18px 26px; border-top: 1px solid rgba(200,148,42,.07); display: flex; justify-content: flex-end; gap: 10px; }

/* PARTICLES */
.particle { position: absolute; width: 2px; height: 2px; background: var(--gold); border-radius: 50%; box-shadow: 0 0 6px var(--gold-glow); animation: particleDrift var(--d, 8s) var(--delay, 0s) infinite ease-in-out; opacity: 0; }
@keyframes particleDrift { 0% { opacity:0; transform:translate(0,0) scale(1); } 15% { opacity:.7; } 85% { opacity:.15; } 100% { opacity:0; transform:translate(var(--dx,20px), var(--dy,-90px)) scale(0); } }

/* KEYFRAMES */
@keyframes shimmer { 0% { background-position: 200% center; } 100% { background-position: -200% center; } }
@keyframes goldPulse { 0%,100% { box-shadow: 0 0 12px var(--gold-glow); } 50% { box-shadow: 0 0 32px rgba(200,148,42,.7); } }
@keyframes fadeUp { from { opacity:0; transform:translateY(24px); } to { opacity:1; transform:none; } }
@keyframes float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }
@keyframes metalSheen { 0% { background-position: -200% center; } 100% { background-position: 200% center; } }

/* SPINNER */
.spinner { width: 32px; height: 32px; border-radius: 50%; border: 2px solid var(--bg4); border-top-color: var(--gold); animation: spin .7s linear infinite; }
@keyframes spin { to { transform:rotate(360deg); } }

/* EXP BAR */
.exp-bar-track { height: 8px; border-radius: 4px; background: var(--bg1); overflow: hidden; border: 1px solid var(--bg3); }
.exp-bar-fill { height: 100%; border-radius: 4px; background: linear-gradient(90deg, var(--gold-dim), var(--gold-bright)); width: 0%; transition: width 1.4s cubic-bezier(.4,0,.2,1); box-shadow: 0 0 8px var(--gold-glow); position: relative; overflow: hidden; }
.exp-bar-fill::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, transparent 0%, rgba(255,255,255,.22) 50%, transparent 100%); background-size: 200% 100%; animation: metalSheen 2s linear infinite; }
.progress-bar-track { height: 6px; border-radius: 3px; background: var(--bg3); overflow: hidden; }
.progress-bar-fill  { height: 100%; border-radius: 3px; transition: width 1s ease; }
.progress-bar-fill.ok   { background: linear-gradient(90deg, #2e8a52, var(--ok)); }
.progress-bar-fill.warn { background: linear-gradient(90deg, #b07020, var(--warn)); }
.progress-bar-fill.err  { background: linear-gradient(90deg, #a03030, var(--err)); }
.progress-bar-fill.gold { background: linear-gradient(90deg, var(--gold-dim), var(--gold)); }

/* FEATURE CARDS */
.feature-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 20px; }
.feature-card {
  background: var(--panel); border: 1px solid rgba(200,148,42,.1);
  border-radius: var(--radius-lg); padding: 30px 24px;
  transition: all .25s cubic-bezier(.4,0,.2,1); position: relative; overflow: hidden;
}
.feature-card::before { content: ''; position: absolute; inset: 0; background: radial-gradient(circle at var(--mx,50%) var(--my,50%), rgba(200,148,42,.07) 0%, transparent 65%); opacity: 0; transition: opacity var(--transition); }
.feature-card::after { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 1px; background: linear-gradient(90deg, transparent, rgba(200,148,42,.3), transparent); opacity: 0; transition: opacity var(--transition); }
.feature-card:hover::before, .feature-card:hover::after { opacity: 1; }
.feature-card:hover { border-color: rgba(200,148,42,.3); transform: translateY(-5px); box-shadow: var(--shadow-gold); }
.feature-icon { font-size: 2.4rem; margin-bottom: 16px; display: block; filter: drop-shadow(0 0 12px rgba(200,148,42,.2)); transition: transform .3s ease; }
.feature-card:hover .feature-icon { transform: scale(1.1); }
.feature-title { font-family: 'Cinzel', serif; font-size: .92rem; font-weight: 700; color: var(--text-bright); margin-bottom: 10px; letter-spacing: .03em; }
.feature-desc  { font-size: .82rem; color: var(--text-muted); line-height: 1.72; }

/* FORGEMIX CARDS */
.forgemix-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 14px; }
.forgemix-card {
  background: var(--panel); border: 1px solid rgba(200,148,42,.1);
  border-radius: var(--radius-lg); padding: 20px 12px 16px;
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  cursor: pointer; transition: all .25s cubic-bezier(.4,0,.2,1); text-align: center;
  position: relative; overflow: hidden;
}
.forgemix-card::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 1px; background: linear-gradient(90deg, transparent, rgba(200,148,42,.25), transparent); }
.forgemix-card:hover { border-color: rgba(200,148,42,.4); transform: translateY(-6px); box-shadow: var(--shadow-gold); }
.forgemix-card.rare   { border-color: rgba(74,154,255,.28);  background: rgba(74,154,255,.03); }
.forgemix-card.epic   { border-color: rgba(184,87,247,.32);  background: rgba(184,87,247,.03); }
.forgemix-card.legend { border-color: rgba(240,160,48,.38);  background: rgba(240,160,48,.04); animation: goldPulse 3s ease infinite; }
.forgemix-card.locked { opacity: .22; filter: grayscale(1); pointer-events: none; }
.forgemix-sprite { font-size: 3.2rem; line-height: 1; filter: drop-shadow(0 2px 12px rgba(0,0,0,.6)); transition: transform .3s ease, filter .3s ease; }
.forgemix-card:hover .forgemix-sprite { transform: scale(1.12) translateY(-4px); filter: drop-shadow(0 6px 16px rgba(0,0,0,.7)); }
.forgemix-name   { font-family: 'Cinzel', serif; font-size: .75rem; font-weight: 600; color: var(--text-bright); }
.forgemix-type   { font-size: .64rem; color: var(--text-dim); }
.forgemix-rarity { font-size: .61rem; text-transform: uppercase; letter-spacing: .1em; }
.forgemix-card.rare   .forgemix-rarity { color: var(--rare); }
.forgemix-card.epic   .forgemix-rarity { color: var(--epic); }
.forgemix-card.legend .forgemix-rarity { color: var(--legend); }

/* CLASS CARDS */
.class-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 18px; }
.class-card {
  background: var(--panel); border: 1px solid rgba(200,148,42,.1);
  border-radius: var(--radius-lg); padding: 26px 18px 20px;
  display: flex; flex-direction: column; align-items: center; gap: 10px;
  text-align: center; transition: all .25s cubic-bezier(.4,0,.2,1); cursor: pointer;
  text-decoration: none; position: relative; overflow: hidden;
}
.class-card::after { content: ''; position: absolute; bottom: 0; left: 0; right: 0; height: 2px; background: linear-gradient(90deg, transparent, var(--gold), transparent); opacity: 0; transition: opacity var(--transition); }
.class-card:hover::after { opacity: 1; }
.class-card:hover { border-color: rgba(200,148,42,.35); transform: translateY(-5px); box-shadow: var(--shadow-gold); }
.class-icon  { font-size: 2.8rem; line-height: 1; transition: transform .3s ease; }
.class-card:hover .class-icon { transform: scale(1.1); }
.class-name  { font-family: 'Cinzel', serif; font-size: .88rem; font-weight: 700; color: var(--text-bright); }
.class-role  { font-size: .68rem; color: var(--text-dim); text-transform: uppercase; letter-spacing: .1em; }
.class-desc  { font-size: .78rem; color: var(--text-muted); line-height: 1.55; }
.class-tags  { display: flex; gap: 4px; flex-wrap: wrap; justify-content: center; }

/* SPELL CARDS */
.spell-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 14px; }
.spell-card { background: var(--panel); border: 1px solid rgba(200,148,42,.1); border-radius: var(--radius-lg); padding: 16px; display: flex; gap: 14px; transition: all var(--transition); }
.spell-card:hover { border-color: rgba(200,148,42,.28); }
.spell-icon { width: 50px; height: 50px; border-radius: var(--radius); background: var(--bg2); border: 1px solid var(--bg5); display: flex; align-items: center; justify-content: center; font-size: 1.7rem; flex-shrink: 0; }
.spell-body { flex: 1; }
.spell-name { font-family: 'Cinzel', serif; font-size: .83rem; font-weight: 700; color: var(--text-bright); margin-bottom: 3px; }
.spell-type { font-size: .67rem; color: var(--text-dim); text-transform: uppercase; letter-spacing: .1em; margin-bottom: 5px; }
.spell-desc { font-size: .78rem; color: var(--text-muted); line-height: 1.5; }
.spell-cost { font-size: .7rem; color: var(--gold-dim); margin-top: 5px; font-family: 'Cinzel', serif; }

/* BUG TRACKER */
.bug-list { display: flex; flex-direction: column; gap: 10px; }
.bug-card { background: var(--panel); border: 1px solid rgba(200,148,42,.1); border-radius: var(--radius-lg); padding: 18px 20px; transition: all var(--transition); display: flex; gap: 18px; align-items: flex-start; }
.bug-card:hover { border-color: rgba(200,148,42,.22); }
.bug-votes { display: flex; flex-direction: column; align-items: center; gap: 2px; min-width: 44px; cursor: pointer; padding: 4px; }
.bug-votes .arrow { font-size: .9rem; color: var(--text-dim); transition: color var(--transition); line-height: 1; }
.bug-votes:hover .arrow { color: var(--gold); }
.bug-votes .count { font-family: 'Cinzel', serif; font-size: 1rem; font-weight: 700; color: var(--text-bright); }
.bug-body { flex: 1; }
.bug-title { font-family: 'Cinzel', serif; font-size: .87rem; font-weight: 700; color: var(--text-bright); margin-bottom: 6px; }
.bug-desc  { font-size: .8rem; color: var(--text-muted); line-height: 1.6; margin-bottom: 8px; }
.bug-meta  { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; font-size: .73rem; color: var(--text-dim); }
.bug-status { font-size: .67rem; padding: 3px 10px; border-radius: 10px; font-family: 'Cinzel', serif; font-weight: 600; }
.status-open     { background: rgba(224,80,80,.12);   color: var(--err);  border: 1px solid rgba(224,80,80,.3); }
.status-progress { background: rgba(240,160,48,.12);  color: var(--warn); border: 1px solid rgba(240,160,48,.3); }
.status-fixed    { background: rgba(76,187,122,.12);  color: var(--ok);   border: 1px solid rgba(76,187,122,.3); }
.status-planned  { background: rgba(74,154,255,.12);  color: var(--info); border: 1px solid rgba(74,154,255,.3); }
.status-declined { background: var(--bg3);            color: var(--text-dim); border: 1px solid var(--bg5); }

/* SHOP */
.shop-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 18px; }
.shop-card { background: var(--panel); border: 1px solid rgba(200,148,42,.1); border-radius: var(--radius-lg); overflow: hidden; transition: all .25s cubic-bezier(.4,0,.2,1); position: relative; }
.shop-card:hover { border-color: rgba(200,148,42,.35); transform: translateY(-5px); box-shadow: var(--shadow-gold); }
.shop-card-img { height: 190px; background: linear-gradient(135deg, var(--bg2), var(--bg3)); display: flex; align-items: center; justify-content: center; font-size: 4.5rem; position: relative; }
.shop-card-img::before { content: ''; position: absolute; inset: 0; background: radial-gradient(circle at 50% 50%, rgba(200,148,42,.06) 0%, transparent 60%); }
.shop-card-badge { position: absolute; top: 10px; right: 10px; }
.shop-card-body  { padding: 16px 18px; }
.shop-card-name  { font-family: 'Cinzel', serif; font-size: .88rem; font-weight: 700; color: var(--text-bright); margin-bottom: 6px; }
.shop-card-desc  { font-size: .78rem; color: var(--text-muted); margin-bottom: 10px; line-height: 1.55; }
.shop-card-footer { padding: 12px 18px; border-top: 1px solid rgba(200,148,42,.07); display: flex; align-items: center; justify-content: space-between; }
.shop-price { font-family: 'Cinzel', serif; font-size: 1rem; font-weight: 700; color: var(--gold); text-shadow: 0 0 12px rgba(200,148,42,.3); }
.shop-price-old { font-size: .75rem; color: var(--text-dim); text-decoration: line-through; }
.shop-price-discount { font-size: .72rem; color: var(--ok); background: rgba(76,187,122,.12); border: 1px solid rgba(76,187,122,.25); border-radius: 10px; padding: 2px 8px; }

/* CART */
.cart-item { display: flex; gap: 16px; padding: 16px 0; border-bottom: 1px solid rgba(200,148,42,.07); align-items: flex-start; }
.cart-item:last-child { border-bottom: none; }
.cart-item-img { width: 64px; height: 64px; border-radius: var(--radius); background: var(--bg2); display: flex; align-items: center; justify-content: center; font-size: 2rem; flex-shrink: 0; border: 1px solid var(--bg5); }
.cart-item-body { flex: 1; }
.cart-item-name  { font-family: 'Cinzel', serif; font-size: .85rem; font-weight: 700; color: var(--text-bright); margin-bottom: 3px; }
.cart-item-qty   { display: flex; align-items: center; gap: 8px; margin-top: 8px; }
.qty-btn { width: 28px; height: 28px; background: var(--bg2); border: 1px solid var(--bg5); border-radius: var(--radius); cursor: pointer; color: var(--text-muted); font-size: 1rem; display: flex; align-items: center; justify-content: center; transition: all var(--transition); }
.qty-btn:hover { border-color: var(--gold-border); color: var(--gold); }
.qty-val { font-family: 'Cinzel', serif; font-size: .85rem; color: var(--text-bright); min-width: 20px; text-align: center; }
.cart-summary-row { display: flex; justify-content: space-between; padding: 9px 0; font-size: .85rem; border-bottom: 1px solid rgba(200,148,42,.05); }
.cart-summary-row:last-child { border-bottom: none; font-family: 'Cinzel', serif; font-size: 1.05rem; color: var(--gold); }

/* ENCYCLOPEDIA */
.enc-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 16px; }
.enc-card { background: var(--panel); border: 1px solid rgba(200,148,42,.1); border-radius: var(--radius-lg); padding: 20px; transition: all var(--transition); text-decoration: none; display: flex; gap: 16px; align-items: flex-start; }
.enc-card:hover { border-color: rgba(200,148,42,.28); transform: translateY(-3px); }
.enc-icon { font-size: 1.8rem; flex-shrink: 0; line-height: 1; }
.enc-body { flex: 1; }
.enc-title  { font-family: 'Cinzel', serif; font-size: .85rem; font-weight: 700; color: var(--text-bright); margin-bottom: 5px; }
.enc-desc   { font-size: .78rem; color: var(--text-muted); line-height: 1.55; }
.enc-cat    { font-size: .67rem; color: var(--gold-dim); margin-top: 7px; text-transform: uppercase; letter-spacing: .08em; }

/* LADDER */
.ladder-podium { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 14px; margin-bottom: 36px; }
.podium-card { background: var(--panel); border: 1px solid rgba(200,148,42,.1); border-radius: var(--radius-lg); padding: 26px 18px; display: flex; flex-direction: column; align-items: center; gap: 10px; text-align: center; transition: all var(--transition); }
.podium-card.top1 { border-color: rgba(255,215,0,.28); background: rgba(255,215,0,.03); order: -1; box-shadow: 0 0 24px rgba(255,215,0,.07); }
.podium-card.top2 { border-color: rgba(192,192,192,.18); }
.podium-card.top3 { border-color: rgba(205,127,50,.18); }
.podium-rank { font-family: 'Cinzel', serif; font-size: 1.6rem; font-weight: 900; }
.podium-rank.top1 { color: #ffd700; text-shadow: 0 0 18px rgba(255,215,0,.6); }
.podium-rank.top2 { color: #c8c8c8; }
.podium-rank.top3 { color: #cd8b4a; }
.podium-avatar { width: 60px; height: 60px; border-radius: 50%; background: var(--bg2); display: flex; align-items: center; justify-content: center; font-size: 1.6rem; }
.podium-name  { font-family: 'Cinzel', serif; font-size: .88rem; font-weight: 700; color: var(--text-bright); }
.podium-score { font-size: .8rem; color: var(--gold); }

/* FAQ */
.faq-list { display: flex; flex-direction: column; gap: 8px; }
.faq-item { background: var(--panel); border: 1px solid rgba(200,148,42,.1); border-radius: var(--radius-lg); overflow: hidden; transition: border-color var(--transition); }
.faq-item:hover { border-color: rgba(200,148,42,.2); }
.faq-question { display: flex; align-items: center; justify-content: space-between; padding: 17px 20px; cursor: pointer; font-family: 'Cinzel', serif; font-size: .85rem; font-weight: 600; color: var(--text-bright); transition: all var(--transition); gap: 12px; }
.faq-question:hover { background: rgba(200,148,42,.04); color: var(--gold); }
.faq-question.open  { color: var(--gold); border-bottom: 1px solid rgba(200,148,42,.13); }
.faq-chevron { font-size: .7rem; transition: transform var(--transition); color: var(--text-dim); flex-shrink: 0; }
.faq-question.open .faq-chevron { transform: rotate(180deg); color: var(--gold); }
.faq-answer { display: none; padding: 18px 20px; font-size: .85rem; color: var(--text-muted); line-height: 1.75; }
.faq-answer.open { display: block; }

/* SEARCH */
.search-bar { position: relative; width: 100%; }
.search-bar input { width: 100%; background: var(--bg2); border: 1px solid var(--bg5); border-radius: var(--radius-lg); padding: 13px 16px 13px 46px; color: var(--text-bright); font-size: .9rem; outline: none; transition: all var(--transition); }
.search-bar input:focus { border-color: var(--gold); box-shadow: 0 0 0 3px rgba(200,148,42,.1); }
.search-bar input::placeholder { color: var(--text-dim); }
.search-bar .search-icon { position: absolute; left: 15px; top: 50%; transform: translateY(-50%); color: var(--text-dim); pointer-events: none; }

/* FILTERS */
.filters-bar { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; margin-bottom: 22px; }
.filter-select { background: var(--bg2); border: 1px solid var(--bg5); border-radius: var(--radius); padding: 8px 28px 8px 12px; color: var(--text-muted); font-size: .8rem; outline: none; cursor: pointer; appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath fill='%23545e78' d='M5 6 0 0h10z'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 8px center; transition: all var(--transition); }
.filter-select:focus { border-color: var(--gold); color: var(--text-bright); }

/* PROSE */
.prose { max-width: 760px; }
.prose h1 { font-family:'Cinzel',serif; font-size:1.9rem; color:var(--text-bright); margin:0 0 18px; line-height:1.15; }
.prose h2 { font-family:'Cinzel',serif; font-size:1.3rem; color:var(--gold); margin:36px 0 14px; }
.prose h3 { font-family:'Cinzel',serif; font-size:1rem; color:var(--text-bright); margin:26px 0 9px; }
.prose p  { font-family:'Cormorant Garamond',Georgia,serif; font-size:1rem; color:var(--text); line-height:1.85; margin-bottom:16px; }
.prose ul, .prose ol { padding-left:20px; margin-bottom:14px; }
.prose li { font-size:.9rem; color:var(--text-muted); line-height:1.75; margin-bottom:5px; }
.prose blockquote { margin:20px 0; padding:16px 20px; background:rgba(200,148,42,.04); border-left:3px solid var(--gold); border-radius:0 var(--radius) var(--radius) 0; font-style:italic; }
.prose blockquote p { color:var(--text-muted); margin:0; }
.prose strong { color:var(--text-bright); }
.prose a { color:var(--gold); }
.prose a:hover { text-decoration:underline; }
.prose code { background:var(--bg3); border:1px solid var(--bg5); border-radius:var(--radius); padding:2px 7px; font-size:.8rem; color:var(--gold-light); font-family:'Courier New',monospace; }
.prose hr { border:none; height:1px; background:linear-gradient(90deg,transparent,var(--gold-border),transparent); margin:32px 0; }
.prose img { border-radius:var(--radius-lg); margin:16px 0; }
.article-meta { display:flex; gap:14px; flex-wrap:wrap; font-size:.77rem; color:var(--text-dim); padding:14px 0; border-top:1px solid rgba(200,148,42,.1); border-bottom:1px solid rgba(200,148,42,.1); margin-bottom:28px; }
.article-meta a { color:var(--gold); }

/* PAGE BANNER */
.page-banner { background: linear-gradient(180deg, var(--bg2) 0%, var(--bg0) 100%); border-bottom: 1px solid var(--gold-border); padding: 44px 0 32px; position: relative; overflow: hidden; }
.page-banner::before { content: ''; position: absolute; inset: 0; background: radial-gradient(ellipse 60% 80% at 50% 0%, rgba(200,148,42,.05) 0%, transparent 70%); }
.page-banner::after { content: ''; position: absolute; bottom: 0; left: 0; right: 0; height: 1px; background: linear-gradient(90deg, transparent, rgba(200,148,42,.4), transparent); }
.page-banner-title { font-family: 'Cinzel', serif; font-size: 2.1rem; font-weight: 700; color: var(--text-bright); margin-bottom: 8px; position: relative; z-index: 1; }
.page-banner-title span { color: var(--gold); }
.page-banner-sub { font-size: .88rem; color: var(--text-muted); max-width: 540px; position: relative; z-index: 1; line-height: 1.7; }

/* COMING SOON */
.coming-soon-wrap { min-height: 100vh; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 60px 24px; text-align: center; background: radial-gradient(ellipse 80% 60% at 50% 30%, rgba(200,148,42,.07) 0%, transparent 65%), var(--void); position: relative; overflow: hidden; }
.countdown { display: flex; gap: 20px; justify-content: center; flex-wrap: wrap; margin: 32px 0; }
.countdown-unit { display: flex; flex-direction: column; align-items: center; gap: 8px; }
.countdown-num { font-family: 'Cinzel Decorative', 'Cinzel', serif; font-size: 2.8rem; font-weight: 700; color: var(--gold); line-height: 1; background: var(--panel); border: 1px solid var(--gold-border); border-radius: var(--radius-lg); padding: 18px 26px; box-shadow: 0 0 24px rgba(200,148,42,.12), inset 0 1px 0 rgba(200,148,42,.15); min-width: 92px; text-align: center; text-shadow: 0 0 20px rgba(200,148,42,.4); }
.countdown-label { font-size: .68rem; color: var(--text-dim); text-transform: uppercase; letter-spacing: .15em; font-family: 'Cinzel', serif; }

/* ACCOUNT */
.account-layout { display: grid; grid-template-columns: 240px 1fr; gap: 28px; }
.account-nav { background: var(--panel); border: 1px solid rgba(200,148,42,.12); border-radius: var(--radius-lg); overflow: hidden; }
.account-nav-item { display: flex; align-items: center; gap: 10px; padding: 13px 16px; font-size: .82rem; color: var(--text-muted); cursor: pointer; transition: all var(--transition); border-left: 2px solid transparent; }
.account-nav-item:hover { background: rgba(200,148,42,.04); color: var(--text-bright); }
.account-nav-item.active { background: var(--gold-subtle); color: var(--gold); border-left-color: var(--gold); }
.account-section { margin-bottom: 32px; }
.account-section-title { font-family: 'Cinzel', serif; font-size: .88rem; font-weight: 700; color: var(--text-bright); margin-bottom: 16px; padding-bottom: 10px; border-bottom: 1px solid rgba(200,148,42,.18); }

/* ANNOUNCE CARD */
.announce-card { display: flex; gap: 14px; align-items: flex-start; padding: 16px 18px; background: var(--panel); border: 1px solid rgba(200,148,42,.15); border-radius: var(--radius-lg); margin-bottom: 10px; transition: all var(--transition); }
.announce-card:hover { background: rgba(200,148,42,.03); border-color: rgba(200,148,42,.25); }
.announce-icon { width: 40px; height: 40px; border-radius: var(--radius); background: rgba(200,148,42,.08); border: 1px solid var(--gold-border); display: flex; align-items: center; justify-content: center; font-size: 1.1rem; flex-shrink: 0; }
.announce-title { font-size: .87rem; font-weight: 700; color: var(--text-bright); margin-bottom: 4px; }
.announce-meta  { font-size: .73rem; color: var(--text-dim); }

/* FOOTER */
footer {
  background: var(--bg0); border-top: 1px solid rgba(200,148,42,.12);
  margin-top: auto; position: relative;
}
footer::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 1px; background: linear-gradient(90deg, transparent, rgba(200,148,42,.4), transparent); }
.footer-inner { max-width: 1280px; margin: 0 auto; padding: 60px 32px 40px; display: grid; grid-template-columns: 2fr 1fr 1fr 1fr 1fr; gap: 40px; }
.footer-brand { font-family: 'Cinzel Decorative', 'Cinzel', serif; font-size: 1.5rem; font-weight: 700; color: var(--gold); margin-bottom: 12px; letter-spacing: .04em; text-shadow: 0 0 20px rgba(200,148,42,.3); }
.footer-desc { font-size: .8rem; color: var(--text-dim); line-height: 1.8; margin-bottom: 20px; max-width: 240px; }
.footer-socials { display: flex; gap: 8px; }
.footer-social { width: 36px; height: 36px; border-radius: var(--radius); background: var(--bg2); border: 1px solid var(--bg5); display: flex; align-items: center; justify-content: center; font-size: .9rem; cursor: pointer; transition: all .22s ease; }
.footer-social:hover { border-color: var(--gold-border); background: rgba(200,148,42,.08); transform: translateY(-2px); }
.footer-col h4 { font-family: 'Cinzel', serif; font-size: .74rem; font-weight: 700; color: var(--text-bright); text-transform: uppercase; letter-spacing: .12em; margin-bottom: 16px; }
.footer-col ul { display: flex; flex-direction: column; gap: 10px; }
.footer-col a { font-size: .8rem; color: var(--text-dim); transition: color var(--transition); }
.footer-col a:hover { color: var(--gold); }
.footer-status { display: flex; align-items: center; gap: 7px; font-size: .74rem; margin-top: 14px; color: var(--text-dim); }
.footer-status-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 7px var(--ok); }
.footer-bottom { max-width: 1280px; margin: 0 auto; padding: 18px 32px; border-top: 1px solid rgba(255,255,255,.04); display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.footer-bottom p { font-size: .75rem; color: var(--text-dim); }

/* UTILS */
.gold { color: var(--gold) !important; }
.rare-text { color: var(--rare) !important; }
.epic-text { color: var(--epic) !important; }
.ok-text   { color: var(--ok) !important; }
.err-text  { color: var(--err) !important; }
.text-center { text-align: center; }
.text-right  { text-align: right; }
.mt-4  { margin-top: 4px; }
.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; }
.mb-32 { margin-bottom: 32px; }
.flex  { display: flex; }
.flex-center { display: flex; align-items: center; justify-content: center; }
.gap-8  { gap: 8px; }
.gap-12 { gap: 12px; }
.gap-16 { gap: 16px; }
.hidden { display: none !important; }
.online { color: var(--ok); }
.glow-gold { text-shadow: 0 0 24px var(--gold-glow), 0 0 60px rgba(200,148,42,.2); }
body.modal-open { overflow: hidden; }

/* RESPONSIVE */
@media (max-width: 1100px) {
  .footer-inner { grid-template-columns: 1fr 1fr 1fr; }
  .footer-inner > div:first-child { grid-column: 1 / -1; }
  .account-layout { grid-template-columns: 200px 1fr; }
}
@media (max-width: 900px) {
  .main-layout { grid-template-columns: 1fr; }
  .sidebar { display: grid; grid-template-columns: repeat(2, 1fr); }
  .ladder-podium { grid-template-columns: 1fr; }
  .account-layout { grid-template-columns: 1fr; }
  .account-nav { display: flex; flex-wrap: wrap; }
  .hero { min-height: 75vh; }
  .hero-title { font-size: clamp(2.2rem, 8vw, 4rem); }
  .container { padding: 0 20px; }
}
@media (max-width: 650px) {
  .topbar-nav { display: none; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .news-grid { grid-template-columns: 1fr; }
  .forgemix-grid { grid-template-columns: repeat(3, 1fr); }
  .class-grid { grid-template-columns: repeat(2, 1fr); }
  .shop-grid { grid-template-columns: repeat(2, 1fr); }
  .hero-stats { flex-wrap: wrap; gap: 20px; }
  .hero-stat + .hero-stat { border-left: none; padding-left: 0; }
  .sidebar { grid-template-columns: 1fr; }
  .countdown-num { font-size: 1.9rem; padding: 14px 18px; min-width: 72px; }
  .footer-inner { grid-template-columns: 1fr; }
}
