:root {
  --bg: #06080F;
  --bg2: #0C1020;
  --surface: rgba(15, 20, 40, 0.7);
  --surface2: rgba(20, 28, 55, 0.6);
  --accent: #FF6B35;
  --accent2: #F7931E;
  --accent-glow: rgba(255, 107, 53, 0.25);
  --cyan: #06D6A0;
  --purple: #A855F7;
  --text: #E8EDF4;
  --muted: #7B8CA8;
  --border: rgba(255, 255, 255, 0.06);
  --glass: rgba(255, 255, 255, 0.03);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', ui-sans-serif, system-ui, -apple-system, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; transition: all .2s; }
code { font-family: 'JetBrains Mono', ui-monospace, monospace; font-size: 12px; background: rgba(255,255,255,.06); padding: 3px 8px; border-radius: 6px; border: 1px solid var(--border); }
ul, ol { color: var(--muted); }
li { margin: 4px 0; }

.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

/* === NO DONATION BANNER === */
.noDonationBanner {
  position: fixed; top: 0; left: 0; right: 0; z-index: 9999;
  background: linear-gradient(90deg, #059669, #10b981, #059669);
  background-size: 200% 100%;
  animation: bannerShimmer 3s ease infinite;
  padding: 10px 20px; text-align: center;
  border-bottom: 1px solid rgba(255,255,255,.15);
  box-shadow: 0 4px 30px rgba(16, 185, 129, .3);
}
@keyframes bannerShimmer { 0%,100% { background-position: 0% 50%; } 50% { background-position: 100% 50%; } }
.noDonationBanner .content { display: flex; align-items: center; justify-content: center; gap: 10px; flex-wrap: wrap; }
.noDonationBanner .icon { font-size: 20px; }
.noDonationBanner .text { font-size: 15px; font-weight: 800; color: #fff; letter-spacing: 3px; text-transform: uppercase; text-shadow: 0 1px 3px rgba(0,0,0,.2); }
.noDonationBanner .subtext { font-size: 12px; color: rgba(255,255,255,.85); font-weight: 600; }
body { padding-top: 48px; }

/* === NAVBAR === */
.navbar {
  background: rgba(6, 8, 15, .8);
  backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid var(--border);
  position: sticky; top: 48px; z-index: 100;
  transition: all .3s;
}
.navbar .container { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.logo { display: flex; align-items: center; gap: 14px; }
.logo img { height: 44px; width: auto; border-radius: 12px; }
.logo strong { display: block; font-size: 20px; font-weight: 900; letter-spacing: -0.02em; background: linear-gradient(135deg, #fff 40%, var(--accent)); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.logo span { display: block; color: var(--muted); font-size: 12px; font-weight: 500; letter-spacing: .5px; text-transform: uppercase; }

.menu { display: flex; gap: 2px; }
.menu a {
  padding: 8px 16px; border-radius: 10px; color: var(--muted);
  font-weight: 600; font-size: 13px; letter-spacing: .01em;
  transition: all .25s; position: relative;
}
.menu a:hover { color: var(--text); background: rgba(255,255,255,.04); }
.menu a.active { color: var(--accent); background: rgba(255,107,53,.08); }
.menu a.active::after { content: ''; position: absolute; bottom: 0; left: 50%; transform: translateX(-50%); width: 20px; height: 2px; background: var(--accent); border-radius: 2px; }

/* === HERO === */
.hero {
  position: relative; min-height: 100vh; display: flex; align-items: center;
  background: radial-gradient(ellipse at 20% 50%, rgba(255,107,53,.08), transparent 50%),
              radial-gradient(ellipse at 80% 20%, rgba(168,85,247,.06), transparent 50%),
              radial-gradient(ellipse at 50% 80%, rgba(6,214,160,.04), transparent 50%),
              var(--bg);
  overflow: hidden;
}
.hero::before {
  content: ''; position: absolute; inset: 0; opacity: .03;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' xmlns='http://www.w3.org/2000/svg'%3E%3Cdefs%3E%3Cpattern id='g' width='60' height='60' patternUnits='userSpaceOnUse'%3E%3Cpath d='M 60 0 L 0 0 0 60' fill='none' stroke='white' stroke-width='.5'/%3E%3C/pattern%3E%3C/defs%3E%3Crect width='100%25' height='100%25' fill='url(%23g)'/%3E%3C/svg%3E");
}
.heroOverlay {
  position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(to bottom, transparent, rgba(6,8,15,.6));
}
.heroContent { position: relative; z-index: 2; text-align: center; padding: 100px 20px 80px; width: 100%; }
.badge {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 18px; border-radius: 999px;
  background: rgba(255,107,53,.08); backdrop-filter: blur(10px);
  border: 1px solid rgba(255,107,53,.2);
  color: var(--accent); font-weight: 700; font-size: 11px; letter-spacing: .2em; text-transform: uppercase;
  margin-bottom: 28px;
}
.badge::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 12px var(--cyan); animation: pulse 2s infinite; }
@keyframes pulse { 0%,100% { opacity: 1; } 50% { opacity: .4; } }

.heroTitle {
  font-size: clamp(40px, 7vw, 80px); line-height: 1.05; letter-spacing: -0.04em;
  font-weight: 900; margin: 0 0 24px;
  background: linear-gradient(135deg, #fff 0%, rgba(255,255,255,.7) 40%, var(--accent) 100%);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.heroSub { font-size: 18px; color: var(--muted); margin-bottom: 40px; font-weight: 400; max-width: 600px; margin-left: auto; margin-right: auto; }
.heroActions { display: flex; gap: 16px; justify-content: center; margin-bottom: 60px; flex-wrap: wrap; }

/* === BUTTONS === */
.btnPrimary, .btnSecondary {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 14px 32px; border-radius: 14px;
  font-weight: 700; font-size: 14px; letter-spacing: .01em;
  transition: all .3s cubic-bezier(.4,0,.2,1);
  cursor: pointer; border: none; text-decoration: none;
}
.btnPrimary {
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  color: #fff;
  box-shadow: 0 8px 32px var(--accent-glow), inset 0 1px 0 rgba(255,255,255,.15);
}
.btnPrimary:hover { transform: translateY(-3px); box-shadow: 0 16px 48px rgba(255,107,53,.4); }
.btnSecondary {
  background: var(--glass);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,.1);
  color: var(--text);
}
.btnSecondary:hover { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.2); transform: translateY(-2px); }

/* === STATS === */
.stats {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 2px;
  max-width: 800px; margin: 0 auto;
  background: var(--border); border-radius: 20px; overflow: hidden;
  box-shadow: 0 20px 60px rgba(0,0,0,.4);
}
.stat {
  background: var(--surface); backdrop-filter: blur(20px);
  padding: 28px 20px; text-align: center;
  transition: all .3s;
}
.stat:hover { background: rgba(20, 28, 55, .8); }
.stat strong {
  display: block; font-size: 32px; font-weight: 900;
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
  line-height: 1.1;
}
.stat span { display: block; color: var(--muted); font-size: 12px; margin-top: 6px; text-transform: uppercase; letter-spacing: .1em; font-weight: 600; }

/* === REWARD EVENT === */
.rewardEvent { padding: 0 0 90px; background: var(--bg); }
.rewardCard {
  max-width: 960px; margin: 0 auto;
  background: var(--surface); backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 107, 53, 0.2); border-radius: 24px;
  padding: 30px; text-align: center;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35);
}
.rewardCard h2 {
  font-size: clamp(28px, 4vw, 42px); font-weight: 900;
  margin-bottom: 12px; letter-spacing: -0.03em;
  background: linear-gradient(135deg, #fff, var(--accent));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.rewardCard p { color: var(--muted); font-size: 16px; margin-bottom: 10px; }
.rewardCard p strong { color: var(--text); font-weight: 800; }
.rewardCard .rewardHighlight { color: var(--text); font-weight: 700; margin-bottom: 20px; }
.rewardCard img {
  display: block; width: auto; max-width: 100%; height: auto;
  margin: 0 auto;
  border-radius: 16px; border: 1px solid var(--border);
}

/* === SECTIONS === */
.features, .serverInfo { padding: 100px 0; position: relative; }
.features { background: var(--bg2); }
.serverInfo { background: var(--bg); }

.sectionTitle {
  text-align: center; font-size: clamp(28px, 4vw, 44px); font-weight: 900;
  margin: 0 0 16px; letter-spacing: -0.03em;
  background: linear-gradient(135deg, #fff, var(--accent));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.sectionSub { text-align: center; color: var(--muted); font-size: 16px; margin-bottom: 56px; max-width: 600px; margin-left: auto; margin-right: auto; }

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

/* === FEATURE CARDS === */
.featureCard {
  background: var(--surface); backdrop-filter: blur(20px);
  border: 1px solid var(--border); border-radius: 20px;
  padding: 36px 28px; text-align: left;
  transition: all .4s cubic-bezier(.4,0,.2,1);
  position: relative; overflow: hidden;
}
.featureCard::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,107,53,.3), transparent);
  opacity: 0; transition: opacity .4s;
}
.featureCard:hover { transform: translateY(-6px); border-color: rgba(255,107,53,.15); box-shadow: 0 24px 64px rgba(0,0,0,.3); }
.featureCard:hover::before { opacity: 1; }
.featureCard .icon {
  width: 52px; height: 52px; border-radius: 14px;
  background: rgba(255,107,53,.08); border: 1px solid rgba(255,107,53,.12);
  display: flex; align-items: center; justify-content: center;
  font-size: 24px; margin-bottom: 20px;
}
.featureCard h3 { font-size: 18px; font-weight: 800; margin-bottom: 10px; letter-spacing: -0.01em; }
.featureCard p { color: var(--muted); font-size: 14px; line-height: 1.7; }

/* === SERVER INFORMATION GRID === */
.infoGrid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  max-width: 1100px;
  margin: 0 auto;
}
.infoCard {
  display: flex; align-items: center; gap: 16px;
  background: var(--surface); backdrop-filter: blur(20px);
  border: 1px solid var(--border); border-radius: 16px;
  padding: 20px 22px; text-align: left;
  transition: all .3s cubic-bezier(.4,0,.2,1);
  position: relative; overflow: hidden;
}
.infoCard::after {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(circle at 50% 0%, var(--accent-glow), transparent 70%);
  opacity: 0; transition: opacity .3s;
  pointer-events: none;
}
.infoCard:hover {
  border-color: rgba(255,107,53,.2);
  transform: translateY(-4px);
  box-shadow: 0 18px 40px rgba(0,0,0,.3);
}
.infoCard:hover::after { opacity: 1; }
.infoIcon {
  flex-shrink: 0;
  width: 46px; height: 46px; border-radius: 12px;
  background: rgba(255,107,53,.08);
  border: 1px solid rgba(255,107,53,.12);
  display: flex; align-items: center; justify-content: center;
  font-size: 22px;
  position: relative; z-index: 1;
}
.infoBody { min-width: 0; position: relative; z-index: 1; }
.infoLabel {
  color: var(--muted); font-size: 11px; font-weight: 700;
  letter-spacing: .12em; text-transform: uppercase;
  margin-bottom: 4px;
}
.infoValue {
  font-size: 18px; font-weight: 800; color: var(--text);
  letter-spacing: -0.01em; line-height: 1.2;
}

.infoCardHighlight {
  background: linear-gradient(135deg, var(--surface), rgba(255,107,53,.06));
  border-color: rgba(255,107,53,.18);
}
.infoCardHighlight .infoIcon {
  background: rgba(255,107,53,.14);
  border-color: rgba(255,107,53,.25);
}
.infoCardHighlight .infoValue {
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}

/* === PAGE === */
.page { padding: 80px 0 100px; min-height: 70vh; }
.page h1 {
  font-size: clamp(32px, 5vw, 52px); font-weight: 900; margin-bottom: 48px;
  letter-spacing: -0.03em;
  background: linear-gradient(135deg, #fff, var(--accent));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}

/* === CARDS === */
.card {
  background: var(--surface); backdrop-filter: blur(20px);
  border: 1px solid var(--border); border-radius: 20px;
  padding: 32px; margin-bottom: 20px;
  transition: all .3s;
}
.card:hover { border-color: rgba(255,255,255,.08); }
.card h3 { font-size: 18px; font-weight: 800; margin-bottom: 12px; }
.card h4 { font-size: 16px; font-weight: 700; margin-bottom: 8px; }
.card p { color: var(--muted); margin-top: 8px; font-size: 14px; }

/* === DOWNLOAD === */
.downloadBox {
  max-width: 680px; margin: 0 auto;
  background: var(--surface); backdrop-filter: blur(20px);
  border: 1px solid var(--border); border-radius: 24px;
  padding: 48px; text-align: center;
}
.downloadBox .icon { font-size: 56px; margin-bottom: 24px; }
.downloadBox h3 { font-size: 26px; margin-bottom: 12px; font-weight: 900; }
.downloadBox p { color: var(--muted); margin: 6px 0; font-size: 14px; }
.downloadBox h4 { font-size: 16px; font-weight: 700; color: var(--text); }

/* === FORMS === */
.regForm {
  max-width: 480px; margin: 0 auto;
  background: var(--surface); backdrop-filter: blur(20px);
  border: 1px solid var(--border); border-radius: 24px;
  padding: 48px;
}
.regForm h1 { text-align: center; margin-bottom: 8px; }
.regForm .hint { text-align: center; margin-bottom: 28px; }
.hint { color: var(--muted); font-size: 13px; margin-top: 12px; }

.field { margin: 18px 0; }
.field label { display: block; color: var(--muted); font-size: 12px; font-weight: 700; margin-bottom: 8px; text-transform: uppercase; letter-spacing: .05em; }
.field input {
  width: 100%; padding: 14px 16px;
  border: 1px solid rgba(255,255,255,.08); border-radius: 12px;
  background: rgba(0,0,0,.3); color: var(--text);
  font-size: 14px; font-family: inherit; outline: none;
  transition: all .25s;
}
.field input::placeholder { color: rgba(255,255,255,.2); }
.field input:focus { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(255,107,53,.1); background: rgba(0,0,0,.4); }
.regForm .btnPrimary { width: 100%; margin-top: 24px; padding: 16px; font-size: 15px; }

/* === ALERTS === */
.alert { padding: 14px 18px; border-radius: 12px; margin: 0 0 24px; font-size: 13px; font-weight: 600; border: 1px solid; }
.alert.success { background: rgba(6,214,160,.08); border-color: rgba(6,214,160,.2); color: var(--cyan); }
.alert.error { background: rgba(239,68,68,.08); border-color: rgba(239,68,68,.2); color: #EF4444; }

/* === FOOTER === */
.footer {
  background: var(--bg2); border-top: 1px solid var(--border);
  padding: 40px 0; text-align: center;
}
.footer .container { display: flex; flex-direction: column; gap: 8px; }
.footer div:first-child { color: var(--muted); font-size: 14px; font-weight: 600; }
.footer div:last-child { color: rgba(255,255,255,.25); font-size: 12px; }

/* === COMMANDS PAGE === */
.cmdGrid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }

.cmdCard {
  background: var(--surface); backdrop-filter: blur(20px);
  border: 1px solid var(--border); border-radius: 20px;
  padding: 28px; transition: all .4s cubic-bezier(.4,0,.2,1);
  position: relative; overflow: hidden;
}
.cmdCard::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.1), transparent);
  opacity: 0; transition: opacity .4s;
}
.cmdCard:hover { transform: translateY(-4px); border-color: rgba(255,255,255,.1); box-shadow: 0 20px 50px rgba(0,0,0,.3); }
.cmdCard:hover::before { opacity: 1; }

.cmdCardHighlight { border-color: rgba(239,68,68,.2); background: linear-gradient(135deg, var(--surface), rgba(239,68,68,.04)); }
.cmdCardHighlight::before { background: linear-gradient(90deg, transparent, rgba(239,68,68,.3), transparent) !important; }
.cmdCardHighlight:hover { border-color: rgba(239,68,68,.35); box-shadow: 0 20px 50px rgba(239,68,68,.1); }

.cmdHeader { display: flex; align-items: center; gap: 14px; margin-bottom: 14px; }
.cmdHeader h3 { font-size: 18px; font-weight: 800; letter-spacing: -0.01em; font-family: 'JetBrains Mono', ui-monospace, monospace; }

.cmdIcon {
  width: 44px; height: 44px; border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 20px; flex-shrink: 0;
}
.cmdIcon.chat { background: rgba(6,214,160,.1); border: 1px solid rgba(6,214,160,.2); }
.cmdIcon.chat::after { content: '💬'; }
.cmdIcon.visual { background: rgba(168,85,247,.1); border: 1px solid rgba(168,85,247,.2); }
.cmdIcon.visual::after { content: '👗'; }
.cmdIcon.bounty { background: rgba(247,147,30,.1); border: 1px solid rgba(247,147,30,.2); }
.cmdIcon.bounty::after { content: '💰'; }
.cmdIcon.pvp { background: rgba(239,68,68,.1); border: 1px solid rgba(239,68,68,.2); }
.cmdIcon.pvp::after { content: '⚔️'; }

.cmdTag {
  display: inline-block; padding: 2px 10px; border-radius: 6px;
  font-size: 10px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
}
.tagChat { background: rgba(6,214,160,.12); color: #06D6A0; }
.tagVisual { background: rgba(168,85,247,.12); color: #A855F7; }
.tagBounty { background: rgba(247,147,30,.12); color: #F7931E; }
.tagPvp { background: rgba(239,68,68,.12); color: #EF4444; }

.cmdDesc { color: var(--muted); font-size: 13px; line-height: 1.7; margin-bottom: 16px; }
.cmdDesc strong { color: var(--text); }

.cmdSyntax { margin-bottom: 10px; }
.cmdSyntax code {
  display: block; margin-top: 6px; padding: 10px 14px;
  background: rgba(0,0,0,.35); border: 1px solid rgba(255,255,255,.06);
  border-radius: 10px; font-size: 13px; color: var(--cyan);
  font-family: 'JetBrains Mono', ui-monospace, monospace;
}

.cmdLabel {
  font-size: 10px; font-weight: 700; color: var(--muted);
  text-transform: uppercase; letter-spacing: .1em;
}

.cmdDetails { margin-top: 14px; }
.cmdDetails ul { list-style: none; padding: 0; margin: 8px 0 0; }
.cmdDetails li {
  position: relative; padding-left: 18px; margin: 6px 0;
  color: var(--muted); font-size: 13px; line-height: 1.6;
}
.cmdDetails li::before {
  content: ''; position: absolute; left: 0; top: 8px;
  width: 6px; height: 6px; border-radius: 50%;
  background: rgba(239,68,68,.5);
}
.cmdDetails li strong { color: var(--text); }

.cmdReqs {
  display: flex; gap: 8px; flex-wrap: wrap; margin-top: 16px;
  padding-top: 14px; border-top: 1px solid var(--border);
}
.cmdReqs span {
  padding: 4px 12px; border-radius: 8px;
  background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.06);
  font-size: 11px; font-weight: 600; color: var(--muted);
}

.cmdNote {
  margin-top: 32px; padding: 20px 24px; border-radius: 16px;
  background: rgba(255,107,53,.04); border: 1px solid rgba(255,107,53,.12);
  color: var(--muted); font-size: 13px; line-height: 1.7;
}
.cmdNote strong { color: var(--accent); }
.cmdNote code { font-size: 12px; }

@media (max-width: 768px) {
  .cmdGrid { grid-template-columns: 1fr; }
}

/* === SCROLLBAR === */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: rgba(255,107,53,.3); border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: rgba(255,107,53,.5); }

/* === RESPONSIVE === */
@media (max-width: 1024px) {
  .infoGrid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 768px) {
  body { padding-top: 42px; }
  .navbar { top: 42px; }
  .noDonationBanner { padding: 8px 12px; }
  .noDonationBanner .text { font-size: 12px; letter-spacing: 1.5px; }
  .noDonationBanner .subtext { display: none; }
  .menu { display: none; }
  .hero { min-height: auto; }
  .heroContent { padding: 60px 16px 50px; }
  .heroTitle { font-size: 36px; }
  .grid3, .grid2 { grid-template-columns: 1fr; }
  .infoGrid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .infoCard { padding: 16px; gap: 12px; }
  .infoIcon { width: 40px; height: 40px; font-size: 19px; }
  .infoValue { font-size: 16px; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .rewardEvent { padding-bottom: 60px; }
  .rewardCard { padding: 22px 16px; border-radius: 18px; }
  .rewardCard p { font-size: 14px; }
  .regForm, .downloadBox { padding: 28px 20px; }
  .features, .serverInfo { padding: 60px 0; }
}
@media (max-width: 480px) {
  .infoGrid { grid-template-columns: 1fr; }
}
