:root {
  --bg: #08090c;
  --bg-card: #0f1115;
  --bg-elevated: #161920;
  --gold: #c9a227;
  --gold-light: #e8c84b;
  --gold-dark: #8a6d1a;
  --gold-glow: rgba(201,162,39,0.25);
  --red: #e74c3c;
  --blue: #5dade2;
  --green: #2ecc71;
  --text: #eaeaea;
  --text-dim: #7a7f8e;
  --border: rgba(255,255,255,0.07);
  --radius: 6px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Raleway', sans-serif;
  background: var(--bg);
  color: var(--text);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: 'Cinzel', serif;
  font-weight: 700;
}
h1 { font-size: clamp(3rem, 7.5vw, 6rem); line-height: 1.0; letter-spacing: -0.02em; }
h2 { font-size: clamp(2rem, 4.5vw, 3.5rem); line-height: 1.1; }
p { line-height: 1.8; color: var(--text-dim); }

.container { max-width: 1300px; margin: 0 auto; padding: 0 2rem; }
.section { padding: 8rem 0; }
.section-dark { background: var(--bg-card); }
.gold { color: var(--gold); }

.section-tag {
  display: inline-block; font-size: 0.7rem; font-weight: 700;
  letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold);
  margin-bottom: 1rem; padding: 0.4rem 1rem;
  border: 1px solid var(--gold-dark); border-radius: 3px;
}

/* ===== NAV ===== */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 999;
  padding: 1.2rem 0; transition: all 0.4s ease;
}
.nav.scrolled {
  background: rgba(8,9,12,0.92);
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  padding: 0.7rem 0; border-bottom: 1px solid var(--border);
}
.nav-container {
  max-width: 1300px; margin: 0 auto; padding: 0 2rem;
  display: flex; align-items: center; justify-content: space-between;
}
.nav-brand { text-decoration: none; display: flex; flex-direction: column; align-items: flex-start; }
.brand-text {
  font-family: 'Cinzel', serif; font-size: 1.5rem; font-weight: 900;
  color: var(--gold); letter-spacing: 0.2em;
  text-shadow: 0 0 20px var(--gold-glow);
}
.brand-sub {
  font-size: 0.55rem; color: var(--text-dim); letter-spacing: 0.5em;
  text-transform: uppercase; margin-top: -2px;
}
.nav-menu { display: flex; align-items: center; gap: 2rem; list-style: none; }
.nav-menu a {
  color: var(--text-dim); text-decoration: none; font-size: 0.88rem;
  font-weight: 500; transition: color 0.2s; position: relative;
}
.nav-menu a:hover { color: #fff; }
.nav-menu a::after {
  content: ''; position: absolute; bottom: -4px; left: 0;
  width: 0; height: 1px; background: var(--gold); transition: width 0.3s;
}
.nav-menu a:hover::after { width: 100%; }
.nav-cta {
  background: var(--gold) !important; color: var(--bg) !important;
  padding: 0.55rem 1.3rem !important; border-radius: 3px;
  font-weight: 700 !important; font-size: 0.8rem !important;
  letter-spacing: 0.05em;
}
.nav-cta::after { display: none !important; }
.nav-cta:hover { background: var(--gold-light) !important; }
.nav-burger { display: none; background: none; border: none; cursor: pointer; padding: 6px; flex-direction: column; gap: 5px; }
.nav-burger span { display: block; width: 22px; height: 2px; background: var(--text); transition: 0.3s; }

/* ===== HERO ===== */
.hero {
  position: relative; height: 100vh; min-height: 700px;
  display: flex; align-items: center; justify-content: center; overflow: hidden;
}
.hero-image { position: absolute; inset: 0; z-index: 0; }
.hero-image img {
  width: 100%; height: 100%; object-fit: cover; object-position: center 20%;
  animation: slowZoom 20s ease-in-out infinite alternate;
}
@keyframes slowZoom {
  from { transform: scale(1); }
  to { transform: scale(1.05); }
}
.hero-overlay {
  position: absolute; inset: 0; z-index: 1;
  background:
    radial-gradient(ellipse at 50% 40%, transparent 20%, rgba(8,9,12,0.4) 60%),
    linear-gradient(180deg, rgba(8,9,12,0.2) 0%, rgba(8,9,12,0.0) 30%, rgba(8,9,12,0.6) 70%, var(--bg) 100%),
    linear-gradient(90deg, rgba(8,9,12,0.6) 0%, transparent 25%, transparent 75%, rgba(8,9,12,0.6) 100%);
}
.hero-fade {
  position: absolute; bottom: 0; left: 0; right: 0; height: 200px;
  background: linear-gradient(to top, var(--bg) 0%, transparent 100%);
  z-index: 2; pointer-events: none;
}
.hero-content {
  position: relative; z-index: 3; text-align: center; padding: 2rem;
  max-width: 800px; animation: fadeUp 1s ease 0.3s both;
}
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}
.hero h1 { color: #fff; margin-bottom: 1.2rem; text-shadow: 0 4px 40px rgba(0,0,0,0.6); }
.hero-desc {
  font-size: 1.1rem; color: rgba(255,255,255,0.7); margin-bottom: 2.5rem;
  max-width: 550px; margin-left: auto; margin-right: auto;
}
.hero-actions { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

/* ===== BUTTONS ===== */
.btn-gold {
  display: inline-block; padding: 1rem 2.8rem;
  background: var(--gold); color: var(--bg);
  font-family: 'Cinzel', serif; font-weight: 700; font-size: 0.9rem;
  text-decoration: none; border-radius: 3px; letter-spacing: 0.03em;
  transition: all 0.25s ease;
  box-shadow: 0 4px 25px var(--gold-glow), inset 0 1px 0 rgba(255,255,255,0.2);
}
.btn-gold:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 35px rgba(201,162,39,0.4), inset 0 1px 0 rgba(255,255,255,0.3);
  background: var(--gold-light);
}
.btn-ghost {
  display: inline-block; padding: 1rem 2.8rem;
  border: 1px solid rgba(255,255,255,0.2); color: var(--text);
  font-family: 'Cinzel', serif; font-weight: 700; font-size: 0.9rem;
  text-decoration: none; border-radius: 3px; letter-spacing: 0.03em;
  transition: all 0.25s ease;
}
.btn-ghost:hover { border-color: var(--gold); color: var(--gold); }

/* ===== SERVER STATUS ===== */
.server-status {
  display: inline-flex; align-items: center; gap: 0.5rem;
  margin-bottom: 2rem; padding: 0.5rem 1rem;
  background: rgba(0,0,0,0.4); border: 1px solid var(--border);
  border-radius: 3px; font-size: 0.8rem; color: var(--text-dim);
}
.pulse-dot {
  width: 7px; height: 7px; border-radius: 50%; background: var(--green);
  box-shadow: 0 0 6px var(--green);
  animation: pulse 2s ease-in-out infinite;
}
.pulse-dot.offline { background: var(--red); box-shadow: 0 0 6px var(--red); animation: none; }
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}

/* ===== BANNER STRIP ===== */
.banner-strip {
  background: var(--bg-card); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border);
  padding: 2rem 0;
}
.banner-strip-inner {
  max-width: 900px; margin: 0 auto; padding: 0 2rem;
  display: flex; align-items: center; justify-content: center; gap: 3rem;
}
.stat-item { text-align: center; }
.stat-num {
  display: block; font-family: 'Cinzel', serif; font-size: 1.6rem;
  font-weight: 700; color: var(--gold);
}
.stat-label { font-size: 0.7rem; color: var(--text-dim); text-transform: uppercase; letter-spacing: 0.15em; }
.stat-divider { width: 1px; height: 40px; background: var(--border); }

/* ===== SPLIT SECTION ===== */
.split { display: grid; grid-template-columns: 1fr 1.2fr; gap: 5rem; align-items: center; }
.split-image {
  border-radius: var(--radius); overflow: hidden;
  box-shadow: 0 25px 80px rgba(0,0,0,0.6);
  position: relative;
}
.split-image::after {
  content: ''; position: absolute; inset: 0;
  border: 1px solid rgba(201,162,39,0.1); border-radius: var(--radius);
}
.split-image img { width: 100%; height: 100%; object-fit: cover; display: block; }
.split-content h2 { margin-bottom: 1.2rem; }
.split-content > p { margin-bottom: 2rem; font-size: 1.05rem; }

.feature-cards { display: flex; flex-direction: column; gap: 1rem; }
.mini-card {
  display: flex; align-items: flex-start; gap: 1rem;
  padding: 1rem 1.2rem; background: var(--bg-card);
  border: 1px solid var(--border); border-radius: var(--radius);
  transition: border-color 0.2s;
}
.mini-card:hover { border-color: var(--gold-dark); }
.mini-icon { font-size: 1.3rem; color: var(--gold); flex-shrink: 0; margin-top: 2px; }
.mini-card strong { color: var(--text); font-size: 0.9rem; }
.mini-card span { color: var(--text-dim); font-size: 0.82rem; }

/* ===== GALLERY ===== */
.gallery-section { padding: 1rem 1rem; }
.gallery-grid {
  display: grid;
  grid-template-columns: 1fr 2fr;
  grid-template-rows: 1fr 1fr;
  gap: 0.5rem;
  max-width: 1400px; margin: 0 auto;
  height: 600px;
}
.gallery-item {
  position: relative; overflow: hidden; border-radius: 4px;
}
.gallery-item img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.6s ease;
}
.gallery-item:hover img { transform: scale(1.04); }
.gallery-label {
  position: absolute; bottom: 0; left: 0; right: 0;
  padding: 3rem 1.5rem 1.2rem;
  background: linear-gradient(to top, rgba(0,0,0,0.85) 0%, transparent 100%);
  font-family: 'Cinzel', serif; font-size: 0.9rem; color: var(--gold-light);
  letter-spacing: 0.03em; opacity: 0; transition: opacity 0.3s;
}
.gallery-item:hover .gallery-label { opacity: 1; }
.gi-tall { grid-row: span 2; }

/* ===== CLASSES ===== */
.section-header { text-align: center; margin-bottom: 3.5rem; }
.section-header p { margin-top: 0.75rem; }
.class-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 0.75rem;
}
.class-item {
  text-align: center; padding: 1.8rem 0.5rem 1.4rem;
  background: var(--bg); border: 1px solid var(--border);
  border-radius: var(--radius); transition: all 0.25s ease;
  cursor: default; position: relative; overflow: hidden;
}
.class-item::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: var(--gold); opacity: 0; transition: opacity 0.3s;
}
.class-item:hover { border-color: var(--gold-dark); transform: translateY(-3px); }
.class-item:hover::before { opacity: 1; }
.class-item.tank::before { background: var(--blue); }
.class-item.healer::before { background: var(--green); }
.class-item.dps::before { background: var(--red); }
.class-item.tank:hover { border-color: rgba(93,173,226,0.3); }
.class-item.healer:hover { border-color: rgba(46,204,113,0.3); }
.class-item.dps:hover { border-color: rgba(231,76,60,0.3); }
.class-name {
  font-family: 'Cinzel', serif; font-size: 0.88rem; color: var(--text);
  display: block;
}
.class-role {
  font-size: 0.65rem; color: var(--text-dim); text-transform: uppercase;
  letter-spacing: 0.12em; margin-top: 0.3rem; display: block;
}

/* ===== CTA ===== */
.cta-section { position: relative; padding: 12rem 0; overflow: hidden; }
.cta-bg { position: absolute; inset: 0; z-index: 0; }
.cta-bg img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.cta-overlay {
  position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(180deg, var(--bg) 0%, rgba(8,9,12,0.6) 30%, rgba(8,9,12,0.6) 70%, var(--bg) 100%);
}
.cta-content { position: relative; z-index: 2; text-align: center; }
.cta-content h2 { color: #fff; margin-bottom: 1rem; }
.cta-content p { color: rgba(255,255,255,0.65); margin-bottom: 2.5rem; font-size: 1.1rem; }

/* ===== FOOTER ===== */
.footer { border-top: 1px solid var(--border); padding: 4rem 0 2rem; background: var(--bg-card); }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 3rem; margin-bottom: 3rem; }
.footer-brand {
  font-family: 'Cinzel', serif; font-weight: 700; color: var(--gold);
  font-size: 1rem; display: block; margin-bottom: 0.75rem; letter-spacing: 0.1em;
}
.footer-col h4 {
  font-size: 0.8rem; color: var(--text); margin-bottom: 1rem; letter-spacing: 0.08em;
}
.footer-col a {
  display: block; color: var(--text-dim); text-decoration: none;
  font-size: 0.85rem; margin-bottom: 0.5rem; transition: color 0.2s;
}
.footer-col a:hover { color: var(--gold); }
.footer-col p { font-size: 0.82rem; }
.footer-bottom { border-top: 1px solid var(--border); padding-top: 2rem; text-align: center; }
.footer-bottom p { font-size: 0.75rem; color: var(--text-dim); }

/* ===== SCROLL REVEAL ===== */
.reveal {
  opacity: 0; transform: translateY(40px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ===== SCROLLBAR ===== */
::-webkit-scrollbar { width: 5px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--gold-dark); border-radius: 3px; }

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .split { grid-template-columns: 1fr; gap: 3rem; }
  .split-image { max-height: 400px; }
  .gallery-grid { height: auto; grid-template-columns: 1fr 1fr; grid-template-rows: auto; }
  .gi-tall { grid-row: span 1; }
  .gallery-item { aspect-ratio: 16/9; }
}

@media (max-width: 768px) {
  .nav-menu {
    display: none; position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; background: rgba(8,9,12,0.98);
    backdrop-filter: blur(12px);
    padding: 2rem; gap: 1.2rem; border-bottom: 1px solid var(--border);
  }
  .nav-menu.open { display: flex; }
  .nav-burger { display: flex; }
  .hero { min-height: 100vh; }
  .hero-image img { object-position: 60% center; }
  .hero-content { padding: 1rem; }
  .hero-actions { flex-direction: column; align-items: center; }
  .btn-gold, .btn-ghost { width: 100%; max-width: 260px; text-align: center; padding: 0.9rem 2rem; }
  .banner-strip-inner { gap: 1.5rem; flex-wrap: wrap; }
  .stat-divider { display: none; }
  .class-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .gallery-grid { grid-template-columns: 1fr; }
}
