/* ============================================================
   AREOS PVP — site styles
   Neon-violet gothic PvP theme (matches in-game client branding)
   ============================================================ */

:root {
  --bg:          #0a0910;
  --bg-2:        #0e0c16;
  --panel:       #14111f;
  --panel-2:     #1b1728;
  --line:        rgba(168,85,247,.16);
  --line-strong: rgba(168,85,247,.38);

  --violet:      #7c3aed;
  --violet-lt:   #a855f7;
  --magenta:     #c026d3;
  --cyan:        #22d3ee;

  --text:        #ece9f6;
  --muted:       #9c93b6;
  --dim:         #6f6786;

  --glow:        0 0 24px rgba(168,85,247,.45);
  --glow-soft:   0 0 60px rgba(124,58,237,.25);
  --radius:      16px;
  --maxw:        1180px;

  --font-display: "Cinzel", "Trajan Pro", Georgia, serif;
  --font-body:    "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

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

html { scroll-behavior: smooth; scroll-padding-top: 84px; }

body {
  font-family: var(--font-body);
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* Ambient background glow, fixed behind everything */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(900px 600px at 15% -5%, rgba(124,58,237,.18), transparent 60%),
    radial-gradient(1000px 700px at 100% 0%, rgba(192,38,211,.12), transparent 55%),
    radial-gradient(800px 800px at 50% 120%, rgba(34,211,238,.08), transparent 60%),
    var(--bg);
}
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  background-image:
    linear-gradient(rgba(168,85,247,.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(168,85,247,.035) 1px, transparent 1px);
  background-size: 46px 46px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, #000 40%, transparent 100%);
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 22px; }

/* ---------- Typography helpers ---------- */
.eyebrow {
  font-family: var(--font-body);
  font-weight: 600;
  letter-spacing: .28em;
  text-transform: uppercase;
  font-size: .74rem;
  color: var(--violet-lt);
}
.section-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.8rem, 4vw, 2.9rem);
  line-height: 1.1;
  letter-spacing: .01em;
}
.section-sub { color: var(--muted); max-width: 620px; margin-top: 14px; font-size: 1.02rem; }
.grad {
  background: linear-gradient(100deg, var(--violet-lt), var(--cyan));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}

/* ---------- Buttons ---------- */
.btn {
  --b: var(--violet);
  display: inline-flex; align-items: center; gap: 9px;
  font-weight: 700; font-size: .96rem;
  padding: 13px 26px; border-radius: 12px;
  border: 1px solid transparent; cursor: pointer;
  transition: transform .15s ease, box-shadow .25s ease, background .25s ease;
  white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; }
.btn-primary {
  color: #fff;
  background: linear-gradient(135deg, var(--violet), var(--magenta));
  box-shadow: 0 8px 30px rgba(124,58,237,.45), inset 0 1px 0 rgba(255,255,255,.2);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 12px 40px rgba(192,38,211,.55); }
.btn-ghost {
  color: var(--text);
  background: rgba(168,85,247,.06);
  border-color: var(--line-strong);
}
.btn-ghost:hover { background: rgba(168,85,247,.14); transform: translateY(-2px); box-shadow: var(--glow); }
.btn-discord { background: linear-gradient(135deg, #5865F2, #7c3aed); color:#fff; box-shadow: 0 8px 30px rgba(88,101,242,.4); }
.btn-discord:hover { transform: translateY(-2px); box-shadow: 0 12px 40px rgba(88,101,242,.55); }
.btn-lg { padding: 16px 34px; font-size: 1.05rem; }

/* ============================================================
   NAV
   ============================================================ */
header.nav {
  position: sticky; top: 0; z-index: 50;
  backdrop-filter: blur(14px);
  background: linear-gradient(180deg, rgba(10,9,16,.92), rgba(10,9,16,.6));
  border-bottom: 1px solid var(--line);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.brand { display: flex; align-items: center; gap: 11px; font-family: var(--font-display); font-weight: 700; font-size: 1.15rem; letter-spacing: .04em; }
.brand img { width: 34px; height: 34px; filter: drop-shadow(0 0 8px rgba(168,85,247,.7)); }
.brand span { color: #fff; }
.brand span b { color: var(--violet-lt); }
.nav-links { display: flex; align-items: center; gap: 30px; }
.nav-links a { color: var(--muted); font-weight: 500; font-size: .95rem; transition: color .2s; position: relative; }
.nav-links a:hover { color: #fff; }
.nav-links a::after {
  content:""; position:absolute; left:0; bottom:-6px; height:2px; width:0;
  background: linear-gradient(90deg, var(--violet-lt), var(--cyan)); transition: width .25s;
}
.nav-links a:hover::after { width: 100%; }
.nav-cta { display: flex; align-items: center; gap: 12px; }
.hamburger { display: none; background: none; border: 0; cursor: pointer; padding: 8px; }
.hamburger span { display: block; width: 24px; height: 2px; background: var(--text); margin: 5px 0; border-radius: 2px; transition: .25s; }

/* ============================================================
   HERO
   ============================================================ */
.hero { position: relative; min-height: 92vh; display: flex; align-items: center; overflow: hidden; }
.hero-bg { position: absolute; inset: 0; z-index: -1; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; opacity: .5; animation: slowzoom 30s ease-in-out infinite alternate; }
@keyframes slowzoom { from { transform: scale(1.05); } to { transform: scale(1.16); } }
.hero-bg::after {
  content:""; position:absolute; inset:0;
  background:
    linear-gradient(180deg, rgba(10,9,16,.55) 0%, rgba(10,9,16,.35) 40%, rgba(10,9,16,.92) 92%, var(--bg) 100%),
    radial-gradient(1000px 500px at 50% 30%, transparent, rgba(10,9,16,.7));
}
.hero-inner { position: relative; text-align: center; padding: 90px 0 70px; width: 100%; }
.hero-logo { max-width: 620px; width: 82%; margin: 0 auto 6px; filter: drop-shadow(0 6px 40px rgba(168,85,247,.5)); animation: floaty 6s ease-in-out infinite; }
@keyframes floaty { 0%,100%{ transform: translateY(0);} 50%{ transform: translateY(-10px);} }
.hero-tag {
  font-family: var(--font-display); font-weight: 600;
  font-size: clamp(1.05rem, 2.4vw, 1.6rem); color: #fff; letter-spacing: .05em;
  margin-top: 6px; text-shadow: 0 2px 24px rgba(168,85,247,.6);
}
.hero-sub { color: var(--muted); font-size: 1.08rem; max-width: 640px; margin: 18px auto 0; }
.hero-btns { display: flex; gap: 16px; justify-content: center; margin-top: 34px; flex-wrap: wrap; }
.hero-stats {
  display: flex; gap: 12px; justify-content: center; flex-wrap: wrap;
  margin-top: 52px;
}
.stat {
  min-width: 150px; padding: 18px 24px;
  background: linear-gradient(180deg, rgba(27,23,40,.7), rgba(20,17,31,.5));
  border: 1px solid var(--line); border-radius: 14px; backdrop-filter: blur(6px);
}
.stat b { display: block; font-family: var(--font-display); font-size: 1.9rem; color: #fff; line-height: 1; }
.stat b .grad { font-family: inherit; }
.stat small { color: var(--muted); font-size: .82rem; text-transform: uppercase; letter-spacing: .12em; }
.status-dot { display:inline-block; width:9px; height:9px; border-radius:50%; background:#22c55e; box-shadow:0 0 10px #22c55e; margin-right:7px; animation: pulse 2s infinite; }
@keyframes pulse { 0%,100%{opacity:1;} 50%{opacity:.4;} }

/* ============================================================
   SECTIONS
   ============================================================ */
section { padding: 92px 0; position: relative; }
.section-head { margin-bottom: 52px; }
.section-head.center { text-align: center; }
.section-head.center .section-sub { margin-left: auto; margin-right: auto; }

/* ---------- Feature grid ---------- */
.grid { display: grid; gap: 20px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }

.card {
  position: relative; padding: 30px;
  background: linear-gradient(180deg, var(--panel), var(--bg-2));
  border: 1px solid var(--line); border-radius: var(--radius);
  transition: transform .2s ease, border-color .25s ease, box-shadow .3s ease;
  overflow: hidden;
}
.card::before {
  content:""; position:absolute; inset:0 0 auto 0; height:2px;
  background: linear-gradient(90deg, transparent, var(--violet-lt), var(--cyan), transparent);
  opacity: 0; transition: opacity .3s;
}
.card:hover { transform: translateY(-5px); border-color: var(--line-strong); box-shadow: var(--glow-soft); }
.card:hover::before { opacity: 1; }
.card .ico {
  width: 52px; height: 52px; border-radius: 13px; display: grid; place-items: center;
  background: linear-gradient(135deg, rgba(124,58,237,.25), rgba(192,38,211,.12));
  border: 1px solid var(--line-strong); margin-bottom: 18px;
}
.card .ico svg { width: 26px; height: 26px; stroke: var(--violet-lt); }
.card h3 { font-family: var(--font-display); font-size: 1.22rem; margin-bottom: 8px; color: #fff; }
.card p { color: var(--muted); font-size: .96rem; }

/* ---------- Game modes ---------- */
.modes { display: grid; grid-template-columns: repeat(3,1fr); gap: 16px; }
.mode {
  padding: 22px; border-radius: 14px; border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(27,23,40,.6), rgba(14,12,22,.6));
  display: flex; gap: 16px; align-items: flex-start; transition: .2s;
}
.mode:hover { border-color: var(--line-strong); background: linear-gradient(180deg, rgba(35,29,54,.7), rgba(20,17,31,.7)); }
.mode .badge {
  flex: 0 0 46px; height: 46px; border-radius: 11px; display: grid; place-items: center;
  font-family: var(--font-display); font-weight: 700; font-size: 1.1rem; color: #fff;
}
.mode h4 { font-size: 1.02rem; color: #fff; margin-bottom: 3px; }
.mode p { color: var(--muted); font-size: .86rem; line-height: 1.45; }
.m-std   .badge{ background: linear-gradient(135deg,#7c3aed,#a855f7); }
.m-iron  .badge{ background: linear-gradient(135deg,#64748b,#94a3b8); }
.m-uim   .badge{ background: linear-gradient(135deg,#475569,#64748b); }
.m-hcim  .badge{ background: linear-gradient(135deg,#dc2626,#7c3aed); }
.m-gim   .badge{ background: linear-gradient(135deg,#0ea5e9,#22d3ee); }
.m-hcgim .badge{ background: linear-gradient(135deg,#be123c,#c026d3); }

/* ---------- PvP split ---------- */
.split { display: grid; grid-template-columns: 1.1fr .9fr; gap: 46px; align-items: center; }
.pvp-list { list-style: none; display: grid; gap: 18px; margin-top: 26px; }
.pvp-list li { display: flex; gap: 15px; align-items: flex-start; }
.pvp-list .dot {
  flex: 0 0 40px; height: 40px; border-radius: 10px; display: grid; place-items: center;
  background: rgba(124,58,237,.14); border: 1px solid var(--line-strong);
}
.pvp-list .dot svg { width: 20px; height: 20px; stroke: var(--cyan); }
.pvp-list h4 { color: #fff; font-size: 1.02rem; }
.pvp-list p { color: var(--muted); font-size: .92rem; }
.panel-art {
  border-radius: 18px; border: 1px solid var(--line-strong); overflow: hidden;
  background: linear-gradient(180deg, var(--panel-2), var(--bg-2)); padding: 28px;
  box-shadow: var(--glow-soft);
}
.tourney-title { font-family: var(--font-display); color:#fff; font-size:1.1rem; margin-bottom:16px; display:flex; align-items:center; gap:10px; }
.chip-row { display: flex; flex-wrap: wrap; gap: 9px; }
.chip {
  font-size: .82rem; font-weight: 600; padding: 7px 14px; border-radius: 999px;
  background: rgba(124,58,237,.1); border: 1px solid var(--line-strong); color: var(--violet-lt);
}

/* ---------- Boss showcase ---------- */
.boss-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 14px; }
.boss {
  position: relative; padding: 22px 18px; border-radius: 14px; min-height: 128px;
  border: 1px solid var(--line); overflow: hidden;
  background:
    radial-gradient(140px 90px at 80% -10%, rgba(192,38,211,.25), transparent 70%),
    linear-gradient(180deg, var(--panel), var(--bg-2));
  display: flex; flex-direction: column; justify-content: flex-end; transition: .22s;
}
.boss:hover { transform: translateY(-4px); border-color: var(--line-strong); box-shadow: var(--glow); }
.boss .tier { font-size: .68rem; letter-spacing: .16em; text-transform: uppercase; color: var(--cyan); font-weight: 700; }
.boss .tier.raid   { color: #f472b6; }
.boss .tier.wildy  { color: #fb923c; }
.boss .tier.slayer { color: #34d399; }
.boss .tier.custom { color: #facc15; }
.boss h4 { font-family: var(--font-display); font-size: 1.12rem; color: #fff; margin-top: 6px; }
.boss .skull { position: absolute; top: 14px; right: 15px; opacity: .28; }
.boss .skull svg { width: 34px; height: 34px; stroke: var(--violet-lt); }

/* ---------- Community / Discord ---------- */
.discord-wrap {
  display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center;
  padding: 46px; border-radius: 22px;
  border: 1px solid var(--line-strong);
  background:
    radial-gradient(600px 300px at 100% 0%, rgba(88,101,242,.16), transparent 60%),
    linear-gradient(180deg, var(--panel-2), var(--bg-2));
}
.feed { display: grid; gap: 11px; }
.feed-item {
  display: flex; gap: 12px; align-items: center;
  padding: 12px 15px; border-radius: 11px;
  background: rgba(10,9,16,.55); border: 1px solid var(--line);
}
.feed-item .fi { width: 34px; height: 34px; border-radius: 9px; display:grid; place-items:center; flex:0 0 34px;
  background: rgba(124,58,237,.16); border:1px solid var(--line-strong); }
.feed-item .fi svg { width: 18px; height: 18px; stroke: var(--violet-lt); }
.feed-item b { color:#fff; font-size:.92rem; display:block; }
.feed-item span { color: var(--muted); font-size:.82rem; }
.cmd-list { display:flex; flex-wrap:wrap; gap:8px; margin-top:20px; }
.cmd { font-family: ui-monospace, "SF Mono", Menlo, monospace; font-size:.82rem; color:var(--cyan);
  background: rgba(34,211,238,.08); border:1px solid rgba(34,211,238,.25); padding:5px 11px; border-radius:8px; }

/* ---------- Get started steps ---------- */
.steps { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; margin-bottom: 46px; }
.step { position: relative; padding: 30px 26px; border-radius: 16px; border:1px solid var(--line);
  background: linear-gradient(180deg, var(--panel), var(--bg-2)); }
.step .num {
  font-family: var(--font-display); font-size: 2.4rem; font-weight: 700;
  background: linear-gradient(135deg, var(--violet-lt), var(--cyan));
  -webkit-background-clip: text; background-clip: text; color: transparent; line-height: 1;
}
.step h4 { color:#fff; font-size: 1.1rem; margin: 10px 0 6px; }
.step p { color: var(--muted); font-size: .93rem; }
.download-row { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
.dl {
  display: flex; align-items: center; gap: 14px; padding: 18px 26px; border-radius: 14px;
  border: 1px solid var(--line-strong); background: linear-gradient(180deg, var(--panel-2), var(--bg-2));
  transition: .2s; min-width: 230px;
}
.dl:hover { transform: translateY(-3px); box-shadow: var(--glow); border-color: var(--violet-lt); }
.dl svg { width: 30px; height: 30px; stroke: var(--violet-lt); flex: 0 0 30px; }
.dl b { color:#fff; display:block; font-size: 1rem; }
.dl small { color: var(--muted); font-size: .8rem; }

/* ---------- CTA band ---------- */
.cta-band {
  text-align: center; padding: 70px 30px; border-radius: 24px; margin-top: 20px;
  border: 1px solid var(--line-strong);
  background:
    radial-gradient(700px 300px at 50% 0%, rgba(192,38,211,.22), transparent 60%),
    linear-gradient(180deg, var(--panel-2), var(--bg-2));
}
.cta-band h2 { font-family: var(--font-display); font-size: clamp(1.7rem,4vw,2.7rem); color:#fff; }
.cta-band p { color: var(--muted); margin: 12px auto 28px; max-width: 520px; }

/* ============================================================
   FOOTER
   ============================================================ */
footer {
  border-top: 1px solid var(--line); padding: 54px 0 34px; margin-top: 40px;
  background: linear-gradient(180deg, transparent, rgba(14,12,22,.7));
}
.foot-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 32px; }
.foot-brand { display:flex; align-items:center; gap:11px; font-family:var(--font-display); font-size:1.15rem; color:#fff; }
.foot-brand img { width: 34px; height:34px; filter: drop-shadow(0 0 8px rgba(168,85,247,.7)); }
footer p.blurb { color: var(--muted); font-size: .9rem; margin-top: 14px; max-width: 320px; }
.foot-col h5 { color:#fff; font-size:.82rem; letter-spacing:.14em; text-transform:uppercase; margin-bottom:14px; }
.foot-col a { display:block; color: var(--muted); font-size:.92rem; padding:5px 0; transition: color .2s; }
.foot-col a:hover { color: var(--violet-lt); }
.foot-bottom {
  margin-top: 40px; padding-top: 22px; border-top: 1px solid var(--line);
  display:flex; justify-content:space-between; gap:14px; flex-wrap:wrap;
  color: var(--dim); font-size:.82rem;
}

/* ============================================================
   REVEAL ANIMATION
   ============================================================ */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 960px) {
  .grid-3, .modes, .steps { grid-template-columns: repeat(2,1fr); }
  .boss-grid { grid-template-columns: repeat(3,1fr); }
  .split, .discord-wrap { grid-template-columns: 1fr; gap: 30px; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 680px) {
  .nav-links { display: none; }
  .hamburger { display: block; }
  .nav-links.open {
    display: flex; flex-direction: column; position: absolute; top: 68px; left: 0; right: 0;
    background: rgba(10,9,16,.98); border-bottom: 1px solid var(--line-strong); padding: 20px 22px; gap: 18px;
  }
  .nav-cta .btn-ghost { display: none; }
  section { padding: 66px 0; }
  .grid-3, .grid-2, .modes, .steps { grid-template-columns: 1fr; }
  .boss-grid { grid-template-columns: repeat(2,1fr); }
  .foot-grid { grid-template-columns: 1fr; }
  .hero-stats { gap: 10px; }
  .stat { min-width: 44%; padding: 14px; }
}
