:root{
  --bg:#07090d;
  --bg2:#0d1117;
  --panel:#141920;
  --panel2:#1b222b;
  --steel:#e1e7ec;
  --steel-dark:#737d88;
  --gold:#d7ad63;
  --gold2:#f0d69b;
  --fire:#ff7826;
  --fire2:#ffb35c;
  --blue:#c9efff;
  --green:#55f0a8;
  --text:#f7f3ec;
  --muted:#a9b0b8;
  --line:rgba(255,255,255,.12);
  --orange-line:rgba(255,126,38,.34);
  --shadow:0 30px 80px rgba(0,0,0,.62);
}
*{box-sizing:border-box}
html{scroll-behavior:smooth;background:var(--bg)}
body{
  margin:0;
  min-height:100vh;
  overflow-x:hidden;
  color:var(--text);
  font-family:Inter,Segoe UI,Arial,sans-serif;
  background:
    radial-gradient(circle at 50% -18%,rgba(215,173,99,.13),transparent 34rem),
    radial-gradient(circle at 84% 24%,rgba(155,223,255,.07),transparent 28rem),
    radial-gradient(circle at 20% 70%,rgba(255,108,30,.05),transparent 30rem),
    linear-gradient(180deg,#07090d 0%,#0d1117 46%,#05070a 100%);
}
body::before{
  content:"";
  position:fixed;inset:0;pointer-events:none;z-index:9998;opacity:.05;
  background-image:
    radial-gradient(circle at 20% 20%,#fff 0 1px,transparent 1.2px),
    radial-gradient(circle at 80% 70%,#fff 0 .7px,transparent 1px);
  background-size:19px 19px,27px 27px;
  mix-blend-mode:screen;
}
a{text-decoration:none;color:inherit}
button,input{font:inherit}
img{max-width:100%;display:block}
.container{width:min(1180px,calc(100% - 32px));margin-inline:auto}
.section{padding:90px 0;position:relative;z-index:2}
.eyebrow{
  font-size:11px;font-weight:900;text-transform:uppercase;letter-spacing:.33em;color:#f5a25c
}
.title{
  margin:8px 0 0;
  font-family:Georgia,"Times New Roman",serif;
  font-size:clamp(34px,5vw,60px);
  text-transform:uppercase;
  letter-spacing:.08em;
  text-shadow:0 5px 0 #000,0 0 26px rgba(255,106,0,.16);
}
.forge{
  font-family:Georgia,"Times New Roman",serif;
  font-weight:900;
  color:#e9edf0;
  text-shadow:
    0 2px 0 #000,
    0 5px 12px rgba(0,0,0,.9),
    0 0 22px rgba(215,173,99,.12);
}
@supports (-webkit-background-clip:text) or (background-clip:text){
  .forge{
    background:
      linear-gradient(
        180deg,
        #fffdf7 0%,
        #e7edf1 18%,
        #aeb7bf 36%,
        #f3dca7 51%,
        #8b6a36 61%,
        #d9e0e5 78%,
        #fffaf0 100%
      );
    -webkit-background-clip:text;
    background-clip:text;
    -webkit-text-fill-color:transparent;
    color:transparent;
  }
}
.panel{
  position:relative;
  border:1px solid rgba(226,233,239,.16);
  background:
    radial-gradient(circle at 50% 0,rgba(255,255,255,.055),transparent 42%),
    linear-gradient(180deg,rgba(28,34,42,.97),rgba(9,12,16,.99));
  box-shadow:inset 0 1px 0 rgba(255,255,255,.08),inset 0 -35px 60px rgba(0,0,0,.42),var(--shadow);
  border-radius:24px;
}
.panel::before{
  content:"";position:absolute;inset:7px;border:1px solid rgba(255,126,40,.08);
  border-radius:18px;pointer-events:none
}
.panel::after{
  content:"";position:absolute;left:18%;right:18%;bottom:-1px;height:1px;
  background:linear-gradient(90deg,transparent,rgba(255,106,0,.8),transparent);
  box-shadow:0 0 18px rgba(255,106,0,.45)
}
.metal-btn{
  --lift:0px;
  position:relative;display:inline-flex;align-items:center;justify-content:center;gap:10px;
  min-height:58px;padding:0 28px;border:1px solid rgba(220,228,235,.28);
  color:#fffaf2;font-weight:900;font-size:13px;letter-spacing:.13em;text-transform:uppercase;
  text-shadow:0 2px 0 #000;cursor:pointer;
  background:
    linear-gradient(180deg,#3c434b 0%,#1c2229 38%,#0a0d11 68%,#242b33 100%);
  clip-path:polygon(8% 0,92% 0,100% 22%,96% 78%,88% 100%,12% 100%,4% 78%,0 22%);
  box-shadow:inset 0 1px 0 rgba(255,255,255,.13),inset 0 -12px 20px rgba(0,0,0,.5),0 8px 0 #020304,0 18px 34px rgba(0,0,0,.5);
  transform:translateY(var(--lift)) perspective(600px) rotateX(0);
  transition:transform .18s ease,filter .18s ease,border-color .18s ease
}
.metal-btn:hover{
  --lift:-5px;filter:brightness(1.13);border-color:rgba(255,125,40,.68);
  transform:translateY(var(--lift)) perspective(600px) rotateX(5deg) scale(1.025)
}
.fire-btn{
  border-color:rgba(255,142,52,.55);
  background:
    linear-gradient(180deg,rgba(95,57,23,.98),rgba(34,19,8,.99)),
    radial-gradient(circle at 50% 100%,rgba(255,116,38,.40),transparent 62%);
  box-shadow:inset 0 1px 0 rgba(255,218,185,.22),0 8px 0 #160600,0 18px 34px rgba(0,0,0,.58),0 0 32px rgba(255,91,0,.16)
}

/* ambient */
#fxCanvas{position:fixed;inset:0;z-index:0;pointer-events:none}
.fog{
  position:fixed;z-index:1;left:-20%;right:-20%;bottom:-12%;height:44vh;pointer-events:none;
  filter:blur(38px);opacity:.28;
  background:
   radial-gradient(ellipse at 25% 60%,rgba(170,185,195,.11),transparent 45%),
   radial-gradient(ellipse at 75% 60%,rgba(255,90,0,.08),transparent 46%);
  animation:fog 14s ease-in-out infinite
}
.lightning-screen{
  position:fixed;inset:0;z-index:50;pointer-events:none;opacity:0;
  background:radial-gradient(circle at 50% 15%,rgba(216,244,255,.23),transparent 36%);
  animation:lightflash 11s linear infinite
}
@keyframes fog{0%,100%{transform:translateX(-5%) scale(1)}50%{transform:translateX(5%) scale(1.1)}}
@keyframes lightflash{0%,92%,100%{opacity:0}93%{opacity:.09}93.4%{opacity:.68}94%{opacity:.08}94.5%{opacity:.32}95%{opacity:0}}

/* navbar */
.nav-wrap{position:fixed;left:0;right:0;top:0;z-index:100;padding:12px 0}
.navbar{
  width:min(1210px,calc(100% - 24px));margin:auto;padding:10px 14px;
  display:flex;align-items:center;justify-content:space-between;gap:20px;
  border:1px solid rgba(255,255,255,.12);border-radius:18px;background:rgba(8,11,15,.84);
  backdrop-filter:blur(16px);box-shadow:0 16px 60px rgba(0,0,0,.4)
}
.brand{font-size:23px;letter-spacing:.1em}
.navlinks{display:flex;gap:8px}
.nav-link{
  position:relative;min-width:112px;padding:14px 18px;text-align:center;
  font-size:11px;font-weight:900;letter-spacing:.16em;text-transform:uppercase;color:#979da4;
  border:1px solid rgba(255,255,255,.07);
  background:linear-gradient(180deg,#303741,#171c22 52%,#0b0e12);
  clip-path:polygon(8% 0,92% 0,100% 34%,96% 100%,4% 100%,0 34%);
  box-shadow:inset 0 1px rgba(255,255,255,.07),0 5px 0 #020202;
  transition:.18s ease
}
.nav-link:hover{transform:translateY(-4px) rotateX(6deg);color:white;border-color:rgba(255,124,40,.34)}
.nav-link.active{
  color:#fff;border-color:rgba(255,130,50,.4);
  background:linear-gradient(180deg,#4a3823,#20170d 52%,#0c0a07);
  box-shadow:inset 0 1px rgba(255,255,255,.1),0 5px 0 #020202,0 0 22px rgba(255,106,0,.2)
}
.nav-link.active::after{content:"";position:absolute;left:20px;right:20px;bottom:0;height:1px;background:#ff8334;box-shadow:0 0 12px #ff6a00}
.mobile-toggle{display:none}

/* hero */
.hero{position:relative;min-height:100vh;overflow:hidden;padding-top:100px}
.hero::before{
  content:"";position:absolute;inset:0;z-index:1;
  background:
    radial-gradient(circle at 50% 39%,transparent 0 15rem,rgba(0,0,0,.11) 28rem,rgba(0,0,0,.83) 77%),
    linear-gradient(180deg,rgba(0,0,0,.1),rgba(0,0,0,.45))
}
.hero::after{content:"";position:absolute;z-index:2;left:0;right:0;bottom:0;height:190px;background:linear-gradient(transparent,#030405)}
.hero-stage{position:absolute;inset:0;z-index:0;perspective:1200px;overflow:hidden}
.ring{
  position:absolute;left:50%;top:47%;width:min(62vw,760px);aspect-ratio:1;transform:translate(-50%,-50%) rotateX(70deg);
  border:5px solid rgba(168,177,187,.19);border-radius:50%;
  box-shadow:0 0 0 22px rgba(255,255,255,.012),0 0 60px rgba(255,105,0,.12),inset 0 0 35px rgba(190,234,255,.08);
  animation:ringfloat 7s ease-in-out infinite
}
.ring.r2{width:min(48vw,580px);border-width:2px;border-color:rgba(195,236,255,.18);animation-duration:5s;animation-direction:reverse}
.ring.r3{width:min(74vw,910px);border-width:1px;border-color:rgba(255,106,0,.13);animation-duration:9s}
@keyframes ringfloat{0%,100%{transform:translate(-50%,-50%) rotateX(70deg) rotateZ(0deg)}50%{transform:translate(-50%,-53%) rotateX(70deg) rotateZ(7deg)}}
.fire-glow{
 position:absolute;left:50%;bottom:11%;width:min(880px,90vw);height:200px;transform:translateX(-50%);
 background:radial-gradient(ellipse at bottom,rgba(255,79,0,.52),rgba(255,94,0,.15) 32%,transparent 70%);
 filter:blur(19px);animation:flame 2.4s ease-in-out infinite
}
@keyframes flame{0%,100%{transform:translateX(-50%) scale(.92,.85);opacity:.64}50%{transform:translateX(-50%) scale(1.08,1.08);opacity:.93}}
.lightning-bolt{position:absolute;width:2px;height:42vh;background:linear-gradient(#fff,#aee6ff 35%,transparent);filter:drop-shadow(0 0 6px #bdeaff);opacity:.2;transform-origin:top}
.lb1{left:26%;top:8%;transform:rotate(17deg);animation:bolt 6s infinite}
.lb2{right:25%;top:5%;transform:rotate(-18deg);animation:bolt 8s 2s infinite}
@keyframes bolt{0%,87%,100%{opacity:.05}88%{opacity:.8}88.5%{opacity:.16}89%{opacity:.55}90%{opacity:.08}}
.hero-content{
  min-height:calc(100vh - 100px);position:relative;z-index:8;
  display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;padding:42px 0 80px
}
.hero-kicker{font-size:11px;letter-spacing:.4em;font-weight:900;text-transform:uppercase;color:#777e85}
.hero-logo{
  margin:10px 0 0;font-size:clamp(66px,12vw,150px);line-height:.95;letter-spacing:.025em;
  transform-style:preserve-3d;
  animation:logofloat 5s ease-in-out infinite
}
@keyframes logofloat{0%,100%{transform:translateY(0) rotateX(0deg)}50%{transform:translateY(-8px) rotateX(2deg)}}
.hero-subtitle{margin:22px 0 0;font-family:Georgia,serif;font-size:clamp(18px,3vw,29px);letter-spacing:.14em;color:#d8dade;text-shadow:0 3px 12px #000}
.hero-actions{display:flex;gap:18px;justify-content:center;margin-top:30px;flex-wrap:wrap}
.hero-actions .metal-btn{min-width:230px}

/* vote */
.vote-panel{
  width:min(780px,100%);margin:34px auto 0;padding:4px;border-radius:28px;
  border:1px solid rgba(255,137,53,.26);
  background:rgba(5,6,7,.8);
  box-shadow:0 34px 90px rgba(0,0,0,.65),0 0 34px rgba(255,90,0,.16);
  transform-style:preserve-3d;perspective:900px;
  animation:votefloat 4.2s ease-in-out infinite;
  transition:transform .12s ease
}
@keyframes votefloat{0%,100%{translate:0 0}50%{translate:0 -7px}}
.vote-inner{
  position:relative;overflow:hidden;display:grid;grid-template-columns:1fr auto;gap:24px;align-items:center;
  padding:26px;border-radius:24px;border:1px solid rgba(255,255,255,.09);
  background:
   radial-gradient(circle at var(--mx,70%) var(--my,20%),rgba(191,237,255,.18),transparent 27%),
   radial-gradient(circle at 50% 120%,rgba(255,92,0,.34),transparent 47%),
   linear-gradient(145deg,#292d31,#08090a 60%)
}
.vote-inner::after{
  content:"";position:absolute;left:10%;right:10%;bottom:-20px;height:75px;
  background:radial-gradient(ellipse at bottom,rgba(255,94,0,.65),transparent 65%);filter:blur(18px);animation:flame 2s ease-in-out infinite
}
.vote-copy{position:relative;z-index:2;text-align:left}
.vote-head{font-size:clamp(25px,4.6vw,43px);margin:4px 0 0}
.vote-desc{max-width:560px;color:#a3a7ac;font-size:14px;line-height:1.6}
.vote-tags{display:flex;gap:10px;flex-wrap:wrap;margin-top:14px}
.tag{border:1px solid rgba(255,255,255,.09);background:rgba(255,255,255,.035);padding:9px 11px;border-radius:9px;font-size:11px;font-weight:800;letter-spacing:.09em;text-transform:uppercase;color:#b9bdc2}
.tag.reward{border-color:rgba(255,128,39,.24);background:rgba(255,106,0,.08);color:#f4a76c}
.tag.available{border-color:rgba(60,255,154,.35);background:rgba(60,255,154,.07);color:#66ffb1;box-shadow:0 0 18px rgba(60,255,154,.13)}
.reward-side{position:relative;z-index:2;display:flex;flex-direction:column;align-items:center;gap:12px}
.reward-icon{
  width:82px;height:82px;display:grid;place-items:center;border-radius:20px;
  border:1px solid rgba(255,166,74,.30);background:linear-gradient(145deg,#4e2910,#110803);
  box-shadow:inset 0 1px rgba(255,255,255,.14),0 15px 25px rgba(0,0,0,.55),0 0 25px rgba(255,105,0,.16);
  font-size:42px;animation:coin 5.5s linear infinite;transform-style:preserve-3d
}
@keyframes coin{0%{transform:rotateY(0) rotateX(7deg)}50%{transform:rotateY(180deg) rotateX(-7deg)}100%{transform:rotateY(360deg) rotateX(7deg)}}

/* status/info/cards */
.status-panel{padding:30px}
.status-top{display:flex;align-items:end;justify-content:space-between;gap:20px}
.online-pill{display:flex;align-items:center;gap:12px;padding:13px 16px;border-radius:12px;border:1px solid rgba(60,255,154,.16);background:rgba(60,255,154,.055);font-size:12px;font-weight:900;letter-spacing:.16em;color:#77ffbb}
.online-dot{width:11px;height:11px;background:#34e990;border-radius:50%;box-shadow:0 0 16px #34e990;position:relative}
.online-dot::after{content:"";position:absolute;inset:-5px;border:1px solid #34e990;border-radius:50%;animation:ping 1.4s infinite}
@keyframes ping{0%{transform:scale(.7);opacity:.9}100%{transform:scale(1.7);opacity:0}}
.stats{display:grid;grid-template-columns:repeat(3,1fr);gap:15px;margin-top:26px}
.stat{padding:20px;border:1px solid rgba(255,255,255,.07);border-radius:16px;background:rgba(0,0,0,.28)}
.stat-label{font-size:10px;color:#777e85;letter-spacing:.22em;text-transform:uppercase;font-weight:800}
.stat-value{margin-top:7px;font-size:30px}
.info-grid{display:grid;grid-template-columns:repeat(5,1fr);gap:14px;margin-top:34px}
.info-card{padding:24px 18px;text-align:center;transition:.2s ease;transform-style:preserve-3d}
.info-card:hover{transform:translateY(-9px) rotateX(6deg) scale(1.025);border-color:rgba(255,132,42,.3)}
.info-label{font-size:10px;color:#747b82;font-weight:900;letter-spacing:.23em}
.info-value{font-size:21px;margin-top:11px}

/* news */
.news-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:22px;margin-top:35px}
.news-card{overflow:hidden;transition:.2s ease;transform-style:preserve-3d}
.news-card:hover{transform:translateY(-10px) perspective(800px) rotateX(3deg) rotateY(1.5deg)}
.news-img{height:215px;width:100%;object-fit:cover;border-bottom:1px solid rgba(255,255,255,.06)}
.news-body{padding:23px}
.news-date{font-size:10px;color:#f39c5e;letter-spacing:.19em;font-weight:800}
.news-body h3{font-family:Georgia,serif;font-size:23px;margin:10px 0}
.news-body p{font-size:14px;color:#969ba1;line-height:1.7}

/* page hero */
.page-hero{position:relative;padding:175px 0 78px;text-align:center;overflow:hidden}
.page-hero::before{content:"";position:absolute;inset:0;background:radial-gradient(circle at 50% 0,rgba(255,95,0,.19),transparent 58%);pointer-events:none}
.page-hero p{max-width:680px;margin:18px auto 0;color:#93999f;line-height:1.7}

/* rankings */
.tabs{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;margin-bottom:26px}
.rank-wrap{padding:18px;overflow:hidden}
.rank-scroll{overflow-x:auto}
.rank-table{min-width:790px}
.rank-row{display:grid;grid-template-columns:90px 1.35fr repeat(4,1fr);gap:10px;align-items:center}
.rank-head{padding:13px 16px;border:1px solid rgba(255,255,255,.08);border-radius:12px;background:rgba(255,255,255,.03);font-size:10px;font-weight:900;color:#777e86;letter-spacing:.15em;text-transform:uppercase}
.rank-body{display:grid;gap:9px;margin-top:10px}
.rank-body .rank-row{padding:13px 16px;border:1px solid rgba(255,255,255,.055);border-radius:12px;background:rgba(0,0,0,.28);font-size:14px;color:#c2c5c9;transition:.16s ease}
.rank-body .rank-row:hover{transform:translateX(5px);border-color:rgba(255,129,43,.18);background:rgba(255,106,0,.035)}
.medal{width:42px;height:42px;display:grid;place-items:center;border-radius:12px;font-weight:900}
.gold{background:linear-gradient(145deg,#ffd96a,#95600a);color:#fff0a8;box-shadow:0 0 20px rgba(255,187,42,.18)}
.silver{background:linear-gradient(145deg,#fff,#69717a);color:white;box-shadow:0 0 20px rgba(220,230,240,.13)}
.bronze{background:linear-gradient(145deg,#e6a05a,#66320c);color:#ffd3a1;box-shadow:0 0 20px rgba(194,103,27,.15)}
.normal{background:linear-gradient(145deg,#24282c,#08090a);color:#8d949b}

/* downloads */
.download-hero-btn{display:flex;width:min(780px,100%);margin:0 auto 38px;min-height:84px;font-size:clamp(18px,3vw,30px)}
.download-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}
.download-card{padding:27px}
.download-card h3{font-size:32px;margin:8px 0}
.meta{margin:18px 0;display:grid;gap:11px}
.meta-row{display:flex;justify-content:space-between;padding-bottom:11px;border-bottom:1px solid rgba(255,255,255,.06);font-size:13px;color:#92989e}
.requirements{display:grid;grid-template-columns:1fr 1fr;gap:18px;margin-top:24px}
.req{padding:27px}.req h3{font-family:Georgia,serif;letter-spacing:.08em;text-transform:uppercase}.req p{line-height:2;color:#969ca2}

/* rules */
.rules-grid{display:grid;gap:18px}
.rule-card{padding:30px}
.rule-card h2{margin:0;font-family:Georgia,serif;text-transform:uppercase;letter-spacing:.08em}
.rules-list{display:grid;gap:11px;margin-top:20px}
.rule{display:flex;gap:16px;align-items:flex-start;padding:15px;border:1px solid rgba(255,255,255,.055);border-radius:12px;background:rgba(0,0,0,.25);color:#9da2a7;line-height:1.65;font-size:14px}
.rule-no{font-family:Georgia,serif;font-weight:900;font-size:19px}

/* media */
.media-tabs{display:flex;gap:10px;flex-wrap:wrap;margin-bottom:24px}
.gallery{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}
.media-card{overflow:hidden;cursor:pointer;transition:.2s ease;transform-style:preserve-3d}
.media-card:hover{transform:translateY(-8px) rotateX(4deg) scale(1.015)}
.media-card img{height:260px;width:100%;object-fit:cover;transition:.45s ease}
.media-card:hover img{transform:scale(1.06)}
.media-caption{padding:19px}.media-caption strong{font-family:Georgia,serif;font-size:20px}
.lightbox{
  position:fixed;inset:0;z-index:9999;display:none;align-items:center;justify-content:center;padding:24px;
  background:rgba(0,0,0,.93);backdrop-filter:blur(14px)
}
.lightbox.open{display:flex;animation:fadein .25s ease}
.lightbox img{max-width:94vw;max-height:88vh;border-radius:20px;border:1px solid rgba(255,255,255,.13);box-shadow:0 30px 90px #000}
.lightbox-close{position:absolute;right:25px;top:25px;width:48px;height:48px;border:1px solid rgba(255,255,255,.14);border-radius:12px;background:#111;color:#fff;font-size:24px;cursor:pointer}
@keyframes fadein{from{opacity:0}to{opacity:1}}

/* footer */
.footer{position:relative;z-index:3;margin-top:80px;border-top:1px solid rgba(255,255,255,.08);background:rgba(0,0,0,.72);text-align:center;padding:55px 0}
.footer::after{content:"";position:absolute;left:0;right:0;bottom:0;height:100px;background:radial-gradient(ellipse at bottom,rgba(255,80,0,.18),transparent 65%);pointer-events:none}
.footer-brand{font-size:34px}
.footer-links,.social{display:flex;justify-content:center;gap:18px;flex-wrap:wrap;margin-top:18px;font-size:13px;color:#83898f}
.copyright{margin-top:24px;font-size:10px;color:#60666c;letter-spacing:.16em;text-transform:uppercase}

/* transitions */
body.page-ready .page-fade{animation:pagein .55s ease both}
@keyframes pagein{from{opacity:0;transform:translateY(10px);filter:blur(4px)}to{opacity:1;transform:none;filter:none}}

/* responsive */
@media(max-width:900px){
  .navlinks{display:none}
  .mobile-toggle{display:inline-flex;min-height:44px;padding:0 18px}
  .navbar.open .navlinks{
    display:grid;position:absolute;top:76px;left:12px;right:12px;padding:12px;border:1px solid rgba(255,255,255,.1);
    border-radius:16px;background:rgba(3,4,5,.96);backdrop-filter:blur(16px)
  }
  .nav-link{width:100%}
  .vote-inner{grid-template-columns:1fr;text-align:center}.vote-copy{text-align:center}.vote-tags{justify-content:center}
  .stats{grid-template-columns:1fr}
  .info-grid{grid-template-columns:repeat(2,1fr)}
  .news-grid,.download-grid,.gallery{grid-template-columns:1fr 1fr}
  .status-top{align-items:flex-start;flex-direction:column}
}
@media(max-width:620px){
  .section{padding:65px 0}
  .hero-content{padding-bottom:60px}
  .hero-logo{font-size:clamp(58px,20vw,92px)}
  .hero-actions{width:100%}.hero-actions .metal-btn{width:100%}
  .vote-panel{margin-top:26px}
  .vote-inner{padding:20px 15px}
  .vote-head{font-size:25px}
  .reward-side .metal-btn{width:100%}
  .info-grid,.news-grid,.download-grid,.requirements,.gallery,.tabs{grid-template-columns:1fr}
  .status-panel{padding:22px}
  .page-hero{padding-top:145px}
}


/* ===== AsteriaKaL Premium Contrast Pass ===== */
body, p, li, td, th, label, input, button, a { color: var(--text); }

.hero-kicker,
.stat-label,
.info-label,
.rank-head,
.meta-row,
.copyright,
.footer-links,
.social,
.news-body p,
.rule,
.req p,
.page-hero p,
.vote-desc {
  color: var(--muted);
}

.eyebrow,
.news-date {
  color: var(--gold2);
  text-shadow: 0 0 16px rgba(215,173,99,.15);
}

.title,
.news-body h3,
.rule-card h2,
.req h3,
.media-caption strong {
  color: #f8f2e8;
}

.hero-subtitle {
  color: #eee8de;
  text-shadow: 0 3px 16px #000, 0 0 18px rgba(215,173,99,.10);
}

.nav-link {
  color: #bdc5cd;
}
.nav-link:hover,
.nav-link.active {
  color: #fff8ed;
}

.tag {
  color: #d9dee3;
}
.tag.reward {
  color: #f3ce8c;
}

.online-pill {
  color: #82ffc3;
}

.stat-value,
.info-value {
  color: #f4f0e8;
}

.rank-body .rank-row {
  color: #d6dbe0;
}
.rank-body .rank-row b {
  color: #fff7e9;
}

.download-card .eyebrow {
  color: #efc67d;
}
.meta-row b {
  color: #f1f4f6;
}

.media-caption {
  background: linear-gradient(180deg, rgba(18,23,29,.96), rgba(8,10,14,.98));
}

.footer {
  background: linear-gradient(180deg, rgba(7,9,12,.88), rgba(2,3,5,.97));
}
.footer-links a:hover,
.social a:hover {
  color: var(--gold2);
}

/* More visible metallic borders */
.panel,
.navbar,
.nav-link,
.metal-btn,
.tag,
.online-pill {
  border-color: rgba(226,233,239,.15);
}

.panel:hover {
  border-color: rgba(215,173,99,.22);
}

/* premium inner rim */
.panel::before {
  border-color: rgba(215,173,99,.075);
}

/* custom scrollbar */
::-webkit-scrollbar{width:10px;height:10px}
::-webkit-scrollbar-track{background:#080b0f}
::-webkit-scrollbar-thumb{
  background:linear-gradient(#7f663a,#343a41);
  border:2px solid #080b0f;
  border-radius:999px;
}
::-webkit-scrollbar-thumb:hover{background:linear-gradient(#b69254,#49525b)}

input{
  background:#0c1015;
  border-color:rgba(255,255,255,.14);
  color:#fff;
}
input::placeholder{color:#6f7882}


/* ==========================================================
   ASTERIAKAL FINAL TEXT COLOR OVERRIDE
   NO BLACK / TRANSPARENT TEXT ANYWHERE
   Palette:
   - Platinum/Silver: #E8EDF2 / #C9D1D9
   - Antique Gold:    #D8B36A / #F0D496
   - Fire Orange:     #FF7A28 / #FFB05A
   - Lightning Blue:  #C9F1FF / #84D8FF
   ========================================================== */

:root{
  --platinum:#e8edf2;
  --silver:#c9d1d9;
  --silver-dark:#9da8b3;
  --antique-gold:#d8b36a;
  --antique-gold-light:#f0d496;
  --fire-orange:#ff7a28;
  --fire-orange-light:#ffb05a;
  --lightning-blue:#c9f1ff;
  --lightning-blue-strong:#84d8ff;
}

/* Base: absolutely no dark/black text */
html, body{
  color:var(--platinum) !important;
}

/* Remove any inherited dark text from all visible typography */
h1,h2,h3,h4,h5,h6,
p,span,small,strong,b,em,i,
a,button,label,input,textarea,select,option,
li,ol,ul,dt,dd,th,td,
div[class*="label"],div[class*="value"],
div[class*="text"],div[class*="caption"],
div[class*="title"],div[class*="desc"],
div[class*="date"],div[class*="meta"],
div[class*="rule"],div[class*="rank"],
div[class*="footer"],div[class*="hero"],
div[class*="vote"],div[class*="stat"],
div[class*="info"],div[class*="news"]{
  color:var(--platinum) !important;
}

/* Metallic text: NEVER transparent */
.forge{
  color:var(--platinum) !important;
  background:none !important;
  -webkit-background-clip:border-box !important;
  background-clip:border-box !important;
  -webkit-text-fill-color:var(--platinum) !important;
  text-shadow:
    0 1px 0 #ffffff,
    0 2px 0 #6f7882,
    0 4px 0 #111820,
    0 8px 18px rgba(0,0,0,.85),
    0 0 18px rgba(201,241,255,.12),
    0 0 26px rgba(216,179,106,.12) !important;
}

/* Main logo / major page titles: bright platinum */
.hero-logo,
.title,
.footer-brand,
.vote-head{
  color:var(--platinum) !important;
  -webkit-text-fill-color:var(--platinum) !important;
}

/* Premium antique-gold accents */
.eyebrow,
.news-date,
.info-label,
.stat-label,
.download-card .eyebrow,
.footer-links a:hover,
.social a:hover{
  color:var(--antique-gold-light) !important;
  -webkit-text-fill-color:var(--antique-gold-light) !important;
  text-shadow:0 0 14px rgba(216,179,106,.18) !important;
}

/* Hero subtitle / softer premium silver */
.hero-subtitle,
.page-hero p,
.news-body p,
.vote-desc,
.req p,
.rule{
  color:var(--silver) !important;
  -webkit-text-fill-color:var(--silver) !important;
}

/* Navigation: silver, gold when active */
.nav-link{
  color:var(--silver) !important;
  -webkit-text-fill-color:var(--silver) !important;
}
.nav-link:hover{
  color:var(--platinum) !important;
  -webkit-text-fill-color:var(--platinum) !important;
}
.nav-link.active{
  color:var(--antique-gold-light) !important;
  -webkit-text-fill-color:var(--antique-gold-light) !important;
  text-shadow:0 0 12px rgba(216,179,106,.22) !important;
}

/* Buttons: bright and obvious */
.metal-btn{
  color:var(--platinum) !important;
  -webkit-text-fill-color:var(--platinum) !important;
}
.fire-btn{
  color:#fff6e9 !important;
  -webkit-text-fill-color:#fff6e9 !important;
  text-shadow:
    0 2px 0 #4a1800,
    0 0 10px rgba(255,122,40,.22) !important;
}

/* Vote panel */
.vote-copy .eyebrow{
  color:var(--antique-gold-light) !important;
}
.vote-tags .tag{
  color:var(--silver) !important;
  -webkit-text-fill-color:var(--silver) !important;
}
.vote-tags .tag.reward,
.vote-tags .tag.reward b{
  color:var(--fire-orange-light) !important;
  -webkit-text-fill-color:var(--fire-orange-light) !important;
}
.vote-tags .tag.available{
  color:#7dffc0 !important;
  -webkit-text-fill-color:#7dffc0 !important;
}

/* Lightning-blue values */
.stat-value,
.info-value,
.rank-body .rank-row b,
.meta-row b{
  color:var(--lightning-blue) !important;
  -webkit-text-fill-color:var(--lightning-blue) !important;
  text-shadow:0 0 13px rgba(132,216,255,.14) !important;
}

/* Server online remains green */
.online-pill,
.online-pill span{
  color:#79ffc1 !important;
  -webkit-text-fill-color:#79ffc1 !important;
}

/* News / section titles */
.news-body h3,
.rule-card h2,
.req h3,
.media-caption strong{
  color:var(--platinum) !important;
  -webkit-text-fill-color:var(--platinum) !important;
}

/* Ranking colors */
.rank-head,
.rank-head div{
  color:var(--antique-gold-light) !important;
  -webkit-text-fill-color:var(--antique-gold-light) !important;
}
.rank-body .rank-row,
.rank-body .rank-row div{
  color:var(--silver) !important;
  -webkit-text-fill-color:var(--silver) !important;
}
.medal.gold{
  color:#fff3bd !important;
  -webkit-text-fill-color:#fff3bd !important;
}
.medal.silver{
  color:#ffffff !important;
  -webkit-text-fill-color:#ffffff !important;
}
.medal.bronze{
  color:#ffd3a3 !important;
  -webkit-text-fill-color:#ffd3a3 !important;
}
.medal.normal{
  color:var(--lightning-blue) !important;
  -webkit-text-fill-color:var(--lightning-blue) !important;
}

/* Rule numbers: fire-orange */
.rule-no{
  color:var(--fire-orange-light) !important;
  -webkit-text-fill-color:var(--fire-orange-light) !important;
  text-shadow:0 0 13px rgba(255,122,40,.18) !important;
}

/* Download metadata */
.meta-row{
  color:var(--silver-dark) !important;
  -webkit-text-fill-color:var(--silver-dark) !important;
}
.meta-row span{
  color:var(--silver-dark) !important;
  -webkit-text-fill-color:var(--silver-dark) !important;
}

/* Media captions */
.media-caption .eyebrow{
  color:var(--fire-orange-light) !important;
}
.media-caption strong{
  color:var(--platinum) !important;
}

/* Footer */
.footer,
.footer a,
.footer-links,
.social,
.copyright{
  color:var(--silver) !important;
  -webkit-text-fill-color:var(--silver) !important;
}
.footer-brand{
  color:var(--platinum) !important;
  -webkit-text-fill-color:var(--platinum) !important;
}
.copyright{
  color:#8f9aa5 !important;
  -webkit-text-fill-color:#8f9aa5 !important;
}

/* Form safety */
input,textarea,select{
  color:var(--platinum) !important;
  -webkit-text-fill-color:var(--platinum) !important;
  background:#0b1016 !important;
}
input::placeholder,
textarea::placeholder{
  color:#7f8a95 !important;
  opacity:1 !important;
}

/* Avoid browser visited-link darkening */
a:visited{
  color:inherit;
}

/* Keep contrast even if browser disables fancy effects */
@media (forced-colors: active){
  .forge{
    color:CanvasText !important;
    -webkit-text-fill-color:CanvasText !important;
  }
}


/* ==========================================================
   ASTERIAKAL HERO GIF BACKGROUND
   Uploaded animated background
   ========================================================== */

.hero-stage{
  background-image:
    linear-gradient(
      180deg,
      rgba(2,4,7,.18) 0%,
      rgba(3,5,8,.28) 35%,
      rgba(3,5,8,.58) 72%,
      rgba(3,5,8,.92) 100%
    ),
    radial-gradient(
      circle at 50% 42%,
      rgba(0,0,0,.05) 0%,
      rgba(0,0,0,.18) 42%,
      rgba(0,0,0,.62) 100%
    ),
    url("../media/asteriakal-hero-background.gif") !important;
  background-size:cover !important;
  background-position:center center !important;
  background-repeat:no-repeat !important;
  background-color:#05070a !important;
}

/* Extra cinematic vignette over the GIF, while keeping the character visible */
.hero::before{
  background:
    linear-gradient(
      90deg,
      rgba(1,2,4,.55) 0%,
      rgba(1,2,4,.14) 28%,
      rgba(1,2,4,.10) 52%,
      rgba(1,2,4,.34) 78%,
      rgba(1,2,4,.66) 100%
    ),
    radial-gradient(
      circle at 50% 38%,
      rgba(0,0,0,.00) 0 12rem,
      rgba(0,0,0,.15) 30rem,
      rgba(0,0,0,.72) 82%
    ) !important;
}

/* Keep forged rings subtle so they enhance, not cover, the GIF */
.ring{
  opacity:.46 !important;
}
.ring.r2{
  opacity:.38 !important;
}
.ring.r3{
  opacity:.30 !important;
}

/* More cinematic logo readability over bright GIF frames */
.hero-logo{
  filter:
    drop-shadow(0 8px 12px rgba(0,0,0,.95))
    drop-shadow(0 0 18px rgba(255,122,40,.10));
}

.hero-subtitle{
  text-shadow:
    0 3px 10px rgba(0,0,0,1),
    0 0 20px rgba(0,0,0,.85),
    0 0 14px rgba(216,179,106,.12) !important;
}

/* Slight glass treatment for the hero action area */
.hero-actions .metal-btn{
  backdrop-filter:blur(2px);
}

.vote-panel{
  backdrop-filter:blur(5px);
}

/* Mobile: keep the warrior centered and background cinematic */
@media(max-width:620px){
  .hero-stage{
    background-position:50% center !important;
  }
}


/* ==========================================================
   ASTERIAKAL CLEAN GIF HERO
   GIF only — no fog, no lightning, no rings, no canvas,
   no vignette, no gradients over the GIF.
   ========================================================== */

/* Disable all old ambient/background effects */
#fxCanvas,
.fog,
.lightning-screen,
.ring,
.fire-glow,
.lightning-bolt{
  display:none !important;
}

/* Hero itself: no pseudo overlays */
.hero::before,
.hero::after{
  content:none !important;
  display:none !important;
}

/* The background container holds only the actual GIF image */
.hero-stage{
  position:absolute !important;
  inset:0 !important;
  z-index:0 !important;
  overflow:hidden !important;
  background:none !important;
  background-image:none !important;
  opacity:1 !important;
  filter:none !important;
  transform:none !important;
}

/* Real animated GIF element: most reliable with file:// and VS Code */
.hero-gif-bg{
  position:absolute !important;
  inset:0 !important;
  width:100% !important;
  height:100% !important;
  min-width:100% !important;
  min-height:100% !important;
  object-fit:cover !important;
  object-position:center center !important;
  display:block !important;
  opacity:1 !important;
  filter:none !important;
  transform:none !important;
  animation:none !important;
}

/* Keep UI clearly above the GIF */
.hero-content{
  position:relative !important;
  z-index:5 !important;
}

/* No extra hero fire/light effects */
.hero .fire-glow,
.hero .lightning-bolt,
.hero .ring{
  display:none !important;
}

/* Keep the logo readable, but do not modify the GIF itself */
.hero-logo{
  filter:none !important;
}

/* Vote panel remains UI, not a background effect */
.vote-panel{
  backdrop-filter:none !important;
}

/* Mobile */
@media(max-width:620px){
  .hero-gif-bg{
    object-position:center center !important;
  }
}


/* ==========================================================
   ASTERIAKAL HERO VIDEO BACKGROUND
   Uses local MP4 for reliable playback
   ========================================================== */

/* Hide old ambient/background effects */
#fxCanvas,
.fog,
.lightning-screen,
.ring,
.fire-glow,
.lightning-bolt,
.hero-gif-bg{
  display:none !important;
}

/* No pseudo overlays on hero background */
.hero::before,
.hero::after{
  content:none !important;
  display:none !important;
}

.hero-stage{
  position:absolute !important;
  inset:0 !important;
  z-index:0 !important;
  overflow:hidden !important;
  background:none !important;
  background-image:none !important;
  opacity:1 !important;
  filter:none !important;
  transform:none !important;
}

.hero-video-bg{
  position:absolute !important;
  inset:0 !important;
  width:100% !important;
  height:100% !important;
  min-width:100% !important;
  min-height:100% !important;
  object-fit:cover !important;
  object-position:center center !important;
  display:block !important;
  opacity:1 !important;
  filter:none !important;
  transform:none !important;
  background:#05070a !important;
}

.hero-content{
  position:relative !important;
  z-index:5 !important;
}

/* Preserve text readability without overlaying the video */
.hero-logo,
.hero-subtitle,
.hero-kicker{
  position:relative;
}

.vote-panel{
  backdrop-filter:none !important;
}

@media(max-width:620px){
  .hero-video-bg{
    object-position:center center !important;
  }
}


/* ==========================================================
   FULL HOME VIDEO BACKGROUND
   Video stays behind the entire homepage while scrolling.
   ========================================================== */

.home-video-layer{
  position:fixed;
  inset:0;
  z-index:0;
  overflow:hidden;
  pointer-events:none;
  background:#05070a;
}

.home-video-bg{
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  min-width:100%;
  min-height:100%;
  object-fit:cover;
  object-position:center center;
  display:block;
  background:#05070a;
  filter:none;
  opacity:1;
}

.home-page{
  position:relative;
  z-index:2;
}

.home-page .hero,
.home-page .section{
  background:transparent !important;
}

.home-page .hero-stage{
  display:none !important;
}

.home-page .hero{
  min-height:100vh;
  position:relative;
}

.home-page .hero-content{
  position:relative;
  z-index:3;
}

.home-page .hero-content::before{
  content:"";
  position:absolute;
  inset:-30px -20px;
  z-index:-1;
  background:radial-gradient(circle at center, rgba(5,7,10,.28), rgba(5,7,10,.06) 45%, transparent 72%);
  pointer-events:none;
}

.home-page .panel,
.home-page .vote-panel{
  background:
    radial-gradient(circle at 50% 0, rgba(255,255,255,.05), transparent 42%),
    linear-gradient(180deg, rgba(16,20,25,.82), rgba(7,10,13,.90)) !important;
  backdrop-filter: blur(2px);
}

.footer{
  position:relative;
  z-index:3;
}

@media(max-width:620px){
  .home-video-bg{
    object-position:center center;
  }
}


/* ==========================================================
   VIDEO BACKGROUND FOR DOWNLOAD / RULES / MEDIA / DONATION
   Ranking intentionally stays without video.
   ========================================================== */

.page-video-layer{
  position:fixed;
  inset:0;
  z-index:0;
  overflow:hidden;
  pointer-events:none;
  background:#05070a;
}

.page-video-bg{
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  min-width:100%;
  min-height:100%;
  object-fit:cover;
  object-position:center center;
  display:block;
  opacity:1;
  filter:none;
  transform:none;
}

.video-page{
  position:relative;
  z-index:2;
}

.video-page .page-hero,
.video-page .section{
  background:transparent !important;
}

.video-page .panel{
  background:
    radial-gradient(circle at 50% 0, rgba(255,255,255,.05), transparent 42%),
    linear-gradient(180deg, rgba(16,20,25,.84), rgba(7,10,13,.91)) !important;
  backdrop-filter:blur(3px);
}

/* Donation */
.donation-intro{
  padding:30px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:24px;
  margin-bottom:24px;
}

.donation-main-title{
  margin:8px 0 0;
  font-size:clamp(34px,5vw,58px);
}

.donation-copy{
  max-width:700px;
  margin:14px 0 0;
  color:var(--silver) !important;
  line-height:1.75;
}

.donation-emblem{
  width:100px;
  height:100px;
  display:grid;
  place-items:center;
  flex:0 0 auto;
  border-radius:26px;
  border:1px solid rgba(216,179,106,.34);
  background:
    radial-gradient(circle at 50% 35%,rgba(255,176,90,.28),transparent 46%),
    linear-gradient(145deg,#4d3217,#120b05);
  color:var(--antique-gold-light) !important;
  font-size:52px;
  box-shadow:
    inset 0 1px rgba(255,255,255,.14),
    0 18px 34px rgba(0,0,0,.48),
    0 0 30px rgba(255,122,40,.13);
}

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

.donation-card{
  padding:30px;
  text-align:center;
  position:relative;
  transition:transform .2s ease,border-color .2s ease;
}

.donation-card:hover{
  transform:translateY(-9px);
  border-color:rgba(216,179,106,.28);
}

.donation-card.featured{
  border-color:rgba(255,122,40,.34);
  box-shadow:
    inset 0 1px rgba(255,255,255,.08),
    0 30px 80px rgba(0,0,0,.62),
    0 0 30px rgba(255,122,40,.11);
}

.donation-badge{
  display:inline-flex;
  margin:-8px auto 18px;
  padding:8px 12px;
  border-radius:999px;
  border:1px solid rgba(255,122,40,.32);
  background:rgba(255,122,40,.10);
  color:var(--fire-orange-light) !important;
  font-size:10px;
  font-weight:900;
  letter-spacing:.16em;
}

.donation-tier{
  color:var(--antique-gold-light) !important;
  font-size:12px;
  font-weight:900;
  letter-spacing:.20em;
  text-transform:uppercase;
}

.donation-price{
  margin-top:12px;
  font-size:50px;
  color:var(--platinum) !important;
  -webkit-text-fill-color:var(--platinum) !important;
}

.donation-reward{
  margin-top:4px;
  color:var(--lightning-blue) !important;
  font-weight:900;
  letter-spacing:.06em;
}

.donation-list{
  list-style:none;
  padding:0;
  margin:22px 0;
  display:grid;
  gap:10px;
}

.donation-list li{
  padding:11px;
  border-radius:10px;
  border:1px solid rgba(255,255,255,.055);
  background:rgba(0,0,0,.22);
  color:var(--silver) !important;
  font-size:13px;
}

.donation-card .metal-btn{
  width:100%;
}

.donation-note{
  padding:28px;
  margin-top:24px;
}

.donation-note h3{
  margin:8px 0 0;
  font-family:Georgia,serif;
  font-size:26px;
  color:var(--platinum) !important;
}

.donation-note p{
  color:var(--silver) !important;
  line-height:1.75;
}

@media(max-width:900px){
  .donation-grid{grid-template-columns:1fr}
}

@media(max-width:620px){
  .donation-intro{
    align-items:flex-start;
    flex-direction:column;
  }
  .page-video-bg{
    object-position:center center;
  }
}


/* WEBM optimized background override */
.home-gif-layer,.page-gif-layer,.home-gif-bg,.page-gif-bg{display:none !important;}
.home-video-layer,.page-video-layer{display:block !important;position:fixed;inset:0;z-index:0;overflow:hidden;pointer-events:none;background:#05070a;}
.home-video-bg,.page-video-bg{position:absolute;inset:0;width:100%;height:100%;min-width:100%;min-height:100%;object-fit:cover;object-position:center center;display:block;background:#05070a;opacity:1;filter:none;transform:none;}
.home-page,.video-page{position:relative;z-index:2;}
.home-page .hero,.home-page .section,.video-page .page-hero,.video-page .section{background:transparent !important;}
.home-page .hero-stage{display:none !important;}
.home-page .panel,.home-page .vote-panel,.video-page .panel{background:radial-gradient(circle at 50% 0, rgba(255,255,255,.05), transparent 42%), linear-gradient(180deg, rgba(16,20,25,.84), rgba(7,10,13,.91)) !important;backdrop-filter:blur(2px);}


/* ==========================================================
   RANKING PAGE WEBM BACKGROUND
   Dedicated WebM for ranking page
   ========================================================== */

.ranking-page{
  position:relative;
  z-index:2;
}

.ranking-page .page-hero,
.ranking-page .section{
  background:transparent !important;
}

.ranking-page .panel{
  background:
    radial-gradient(circle at 50% 0, rgba(255,255,255,.05), transparent 42%),
    linear-gradient(180deg, rgba(16,20,25,.84), rgba(7,10,13,.91)) !important;
  backdrop-filter: blur(2px);
}

.ranking-video-layer{
  display:block !important;
  position:fixed;
  inset:0;
  z-index:0;
  overflow:hidden;
  pointer-events:none;
  background:#05070a;
}

.ranking-video-bg{
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  min-width:100%;
  min-height:100%;
  object-fit:cover;
  object-position:center center;
  display:block;
  background:#05070a;
  opacity:1;
  filter:none;
}
