:root{
  --bg:#04070d;
  --bg-2:#081018;
  --panel:rgba(8,12,20,.84);
  --panel-2:rgba(11,17,27,.94);
  --line:rgba(56,255,151,.18);
  --line-2:rgba(26,218,199,.18);
  --green:#45b649;
  --green-2:#5eea67;
  --green-3:#1be2ab;
  --yellow:#f2c623;
  --white:#f5f7fa;
  --muted:#9aa4b6;
  --muted-2:#6d7687;
  --danger:#ff784b;
  --radius:22px;
  --radius-lg:30px;
  --shadow:0 24px 80px rgba(0,0,0,.46);
  --max:1600px;
  --font-main:Inter,Segoe UI,Arial,sans-serif;
  --font-display:Georgia,"Times New Roman",serif;
}

*{box-sizing:border-box}
html{scroll-behavior:smooth}
body {
  margin: 0;
  font-family: var(--font-main);
  color: var(--white);
  background: #0a0a0f url('./img/login-bg.jpg') top center / cover no-repeat fixed;
  overflow-x: hidden;
  position: relative;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background:
    linear-gradient(to bottom,
      rgba(10,10,15,0.15) 0%,
      rgba(10,10,15,0.35) 35%,
      rgba(10,10,15,0.65) 70%,
      #0a0a0f 100%
    );
}

body > * {
  position: relative;
  z-index: 1;
}
.page{position:relative;z-index:1}
.container{width:min(calc(100% - 56px), var(--max));margin:0 auto}
.section{padding:76px 0}
.section-tight{padding:42px 0}
.divider{
  height:2px;
  background:linear-gradient(90deg, transparent, rgba(27,226,171,.5), rgba(69,182,73,.5), transparent);
  opacity:.42;
}
a{color:inherit}

.topbar-wrap{
  position:sticky;
  top:14px;
  z-index:100;
  padding-top:14px;
}
.topbar{
  min-height:74px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:24px;
  padding:0 22px;
  border-radius:18px;
  background:rgba(7,10,16,.84);
  border:1px solid rgba(255,255,255,.06);
  backdrop-filter:blur(14px);
  box-shadow:var(--shadow);
}
.brand-row,.actions{display:flex;align-items:center}
.brand-row{gap:22px;min-width:280px}
.brand-menu{
  position:relative;
}

.brand-trigger{
  height:52px;
  display:flex;
  align-items:center;
  gap:12px;
  padding:0 16px;
  border:none;
  cursor:pointer;
  border-radius:14px;

  background:linear-gradient(180deg, rgba(255,255,255,.05), rgba(255,255,255,.025));
  border:1px solid rgba(255,255,255,.08);
  color:#fff;

  font-weight:900;
  font-size:15px;
  letter-spacing:.08em;
  text-transform:uppercase;

  box-shadow:
    inset 0 -3px rgba(0,0,0,.22),
    0 8px 24px rgba(0,0,0,.26);

  backdrop-filter:blur(10px);
  transition:
    transform .22s ease,
    border-color .22s ease,
    background .22s ease,
    box-shadow .22s ease;
}

.brand-trigger:hover{
  /*transform:translateY(-2px);*/
  border-color:rgba(107,255,123,.28);
  background:linear-gradient(180deg, rgba(255,255,255,.075), rgba(255,255,255,.035));
  box-shadow:
    inset 0 -3px rgba(0,0,0,.22),
    0 12px 28px rgba(0,0,0,.34),
    0 0 18px rgba(107,255,123,.08);
}

.brand-icon{
  width:35px;
  height:35px;
  object-fit:contain;
  border-radius:8px;
  filter: drop-shadow(0 0 2px rgba(107,255,123,.35));  
  transition: transform .25s ease, filter .25s ease;
}
.brand-trigger:hover .brand-icon{
  /*transform: scale(1.1);*/
  filter: drop-shadow(0 0 8px rgba(107,255,123,.6));
}

.brand-label{
  margin-left: -5px;
  white-space:nowrap;
  line-height:1;
}

.brand-caret{
  font-size:12px;
  opacity:.8;
  transition:transform .22s ease, opacity .22s ease;
}

.brand-menu:hover .brand-caret{
  transform:translateY(1px) rotate(180deg);
  opacity:1;
}

.brand-dropdown{
  position:absolute;
  top:calc(100% + 12px);
  left:0;
  min-width:220px;
  padding:10px;
  border-radius:18px;

  background:rgba(7,10,16,.94);
  border:1px solid rgba(255,255,255,.07);
  box-shadow:
    0 20px 50px rgba(0,0,0,.45),
    0 0 24px rgba(107,255,123,.06);

  backdrop-filter:blur(14px);

  opacity:0;
  visibility:hidden;
  transform:translateY(10px) scale(.98);
  transition:
    opacity .22s ease,
    visibility .22s ease,
    transform .22s ease;
  z-index:200;
}

.brand-menu:hover .brand-dropdown{
  opacity:1;
  visibility:visible;
  transform:translateY(0) scale(1);
}

.brand-dropdown::before{
  content:"";
  position:absolute;
  top:-7px;
  left:24px;
  width:14px;
  height:14px;
  background:rgba(7,10,16,.94);
  border-left:1px solid rgba(255,255,255,.07);
  border-top:1px solid rgba(255,255,255,.07);
  transform:rotate(45deg);
}

.brand-dropdown a{
  display:flex;
  align-items:center;
  min-height:46px;
  padding:0 14px;
  border-radius:12px;

  color:rgba(255,255,255,.92);
  text-decoration:none;
  text-transform:uppercase;
  font-size:12px;
  font-weight:900;
  letter-spacing:.08em;

  transition:
    background .2s ease,
    color .2s ease,
    transform .2s ease,
    box-shadow .2s ease;
}

.brand-dropdown a:hover{
  color:#8dffad;
  background:linear-gradient(90deg, rgba(107,255,123,.12), rgba(107,255,123,.03));
  transform:translateX(3px);
  box-shadow:inset 0 0 0 1px rgba(107,255,123,.08);
}
.sep{width:1px;height:36px;background:rgba(255,255,255,.08)}
.logo{
  display:inline-flex;
  flex-direction:column;
  align-items:flex-start;
  line-height:1;
  text-decoration:none;
}

.logo{
  font-weight:900;
  font-size:40px;
  letter-spacing:-.05em;

  background: linear-gradient(
    120deg,
    #6bff7b 0%,
    #6bff7b 40%,
    #ffffff 50%,
    #6bff7b 60%,
    #6bff7b 100%
  );
  background-size:200%;

  -webkit-background-clip:text;
  -webkit-text-fill-color:transparent;

  animation: logoShine 3.5s ease-in-out infinite;
}

.logo span{
  margin-top:4px;
  font-size:12px;
  font-weight:800;
  letter-spacing:.22em;
  text-transform:uppercase;

  color:rgba(255,255,255,.78);
  -webkit-text-fill-color:initial;
  background:none;
  text-shadow:none;
}

@keyframes logoShine{
  0%{
    background-position:0%;
  }
  100%{
    background-position:200%;
  }
}
.nav{display:flex;justify-content:center;flex:1}
.nav ul{
  list-style:none;margin:0;padding:0;
  display:flex;gap:32px;align-items:center;
}
.nav a{
  text-decoration:none;
  text-transform:uppercase;
  font-size:14px;
  font-weight:900;
  letter-spacing:.04em;
  color:rgba(255,255,255,.95);
}
.nav a:hover,.nav a.active{color:#72ff9d}
.actions{gap:14px}
.icon-btn{
  width:40px;height:40px;border-radius:50%;
  display:grid;place-items:center;
  border:1px solid rgba(255,255,255,.08);
  background:rgba(255,255,255,.03);
  color:#fff;
  text-decoration:none;
  transition: all .25s ease;
}

.icon-btn img {
  width:18px;
  height:18px;
  transition: transform .25s ease, filter .25s ease;
}

.icon-btn:hover {
  background: rgba(155, 89, 182, 0.12);
  border-color: rgba(155, 89, 182, 0.35);
}

.icon-btn:hover img {
  transform: scale(1.12);
  filter: drop-shadow(0 0 6px rgba(155, 89, 182, 0.6));
}
.lang{display:flex;align-items:center;gap:7px;font-weight:800}
.btn{
  border:none;
  cursor:pointer;
  text-transform:uppercase;
  letter-spacing:.06em;
  font-weight:900;
  border-radius:14px;
  padding:16px 28px;
  transition:transform .2s ease, box-shadow .2s ease, opacity .2s ease;
  text-decoration:none;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:10px;
}
.btn:hover{transform:translateY(-2px)}
.btn-primary {
  height: 58px;
  letter-spacing: .12em;
  text-transform: uppercase;
  text-align: center;
  cursor: pointer;
  background: linear-gradient(180deg, #46b84a 0%, #2e7d32 100%);
  border: none;
  padding: 13px 16px;
  font-size: 13px;
  font-weight: 950;
  text-decoration: none;
  color: #fff !important;
  border-radius: 12px;
  position: relative;
  overflow: hidden;
  transition: all .25s cubic-bezier(.175, .885, .32, 1.275);
  box-shadow:
    inset 0 -4px rgba(0,0,0,0.25),
    0 6px 18px rgba(60,158,63,0.35);
}
.btn-primary::after {
  content: "";
  position: absolute;
  top: 0;
  left: -80%;
  width: 50%;
  height: 100%;
  background: linear-gradient(
    120deg,
    transparent,
    rgba(255,255,255,0.5),
    transparent);
  transform: skewX(-25deg);
  transition: 0.6s;
}
.btn-primary:hover {
  transform: translateY(-3px) scale(1.02);
  background: linear-gradient(180deg, #4fdc55 0%, #38a83c 100%);
  box-shadow:
    inset 0 -4px rgba(0,0,0,0.25),
    0 10px 25px rgba(60,158,63,0.55),
    0 0 18px rgba(60,158,63,0.7);
}
.btn-primary:hover::after {
  left: 130%;
}
.btn-primary:active {
  transform: translateY(1px) scale(0.98);
  box-shadow:
    inset 0 4px rgba(0,0,0,0.35),
    0 3px 10px rgba(0,0,0,0.3);
}
.btn-secondary {
  height: 58px;
  letter-spacing: .12em;
  text-transform: uppercase;
  text-align: center;
  cursor: pointer;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.08);
  padding: 13px 16px;
  font-size: 13px;
  font-weight: 950;
  text-decoration: none;
  color: #fff !important;
  border-radius: 12px;
  backdrop-filter: blur(6px);
  transition: all .25s cubic-bezier(.175, .885, .32, 1.275);
  box-shadow:
    inset 0 -4px rgba(0,0,0,0.25),
    0 4px 12px rgba(0,0,0,0.25);
}
.btn-secondary:hover {
  transform: translateY(-2px) scale(1.01);
  background: rgba(255,255,255,0.08);
  border-color: rgba(255,255,255,0.2);
  box-shadow:
    inset 0 -4px rgba(0,0,0,0.25),
    0 8px 20px rgba(0,0,0,0.4),
    0 0 10px rgba(255,255,255,0.15);
}
.btn-secondary:active {
  transform: translateY(1px) scale(0.98);
  box-shadow:inset 0 4px rgba(0,0,0,0.4),
    0 2px 6px rgba(0,0,0,0.3);
}
.btn-secondary {
  position: relative;
  overflow: hidden;
}
.btn-secondary::after {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 60%;
  height: 100%;
  background: linear-gradient(120deg,transparent,rgba(255,255,255,0.2),transparent);
  transform: skewX(-25deg);
  transition: 0.6s;
}
.btn-secondary:hover::after {
  left: 130%;
}
.discord-float{
  position:fixed;
  right:22px;
  bottom:96px;
  z-index:95;
  display:inline-flex;
  align-items:center;
  gap:12px;
  min-height:58px;
  padding:10px 10px 10px 10px;
  border-radius:18px;
  text-decoration:none;
  color:#fff;
  background:
    radial-gradient(circle at top left, rgba(255,255,255,.14), transparent 34%),
    linear-gradient(135deg, rgba(114,137,218,.9), rgba(74,88,205,.88));
  border:1px solid rgba(199,210,255,.28);
  box-shadow:
    0 18px 40px rgba(24,32,96,.34),
    0 0 0 1px rgba(255,255,255,.04);
  backdrop-filter:blur(12px);
  transition:transform .22s ease, box-shadow .22s ease, filter .22s ease;
}
.discord-float:hover{
  transform:translateY(-3px);
  box-shadow:
    0 22px 46px rgba(24,32,96,.4),
    0 0 26px rgba(114,137,218,.24);
  filter:saturate(1.08);
}
.discord-float-badge{
  width:38px;
  height:38px;
  border-radius:14px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  background:rgba(255,255,255,.16);
  border:1px solid rgba(255,255,255,.22);
  font-size:18px;
  font-weight:900;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.18);
  flex:0 0 38px;
}
.discord-float-badge img{
  width:20px;
  height:20px;
  object-fit:contain;
  display:block;
}
.discord-float-text{
  font-size:12px;
  font-weight:900;
  letter-spacing:.08em;
  text-transform:uppercase;
  white-space:nowrap;
}
.btn-yellow{background:var(--yellow);color:#141414;box-shadow:0 12px 28px rgba(242,198,35,.22)}
.btn-wide{min-width:210px}
.badge{
  display:inline-flex;align-items:center;gap:8px;
  padding:8px 13px;border-radius:999px;
  background:rgba(27,226,171,.12);
  color:#4dffc9;
  font-size:12px;font-weight:900;
  text-transform:uppercase;letter-spacing:.13em;
}
.page-hero{
  text-align:center;
  padding:54px 0 18px;
}
.page-hero .eyebrow,.hero-copy .eyebrow{
  text-transform:uppercase;
  letter-spacing:.32em;
  font-size:13px;
  color:#23d799;
  font-weight:900;
}
.page-hero h1{
  font-family:var(--font-display);
  font-size:clamp(40px,5vw,72px);
  line-height:.96;
  margin:12px 0 8px;
  text-transform:uppercase;
  letter-spacing:-.04em;
}
.page-hero p{
  margin:0 auto;
  max-width:680px;
  color:var(--muted);
  font-size:17px;
}

.hero{
  min-height:calc(100vh - 120px);
  display:grid;
  grid-template-columns:1.04fr .96fr;
  align-items:center;
  gap:24px;
  padding:78px 0 30px;
  position:relative;
}
.hero::before{
  content:"";
  position:absolute;inset:40px 0 0;
  pointer-events:none;
  background:
    radial-gradient(circle at 25% 42%, rgba(40,47,83,.48), transparent 30%),
    radial-gradient(circle at 67% 45%, rgba(255,174,66,.16), transparent 24%),
    radial-gradient(circle at 70% 52%, rgba(255,255,255,.07), transparent 14%);
  filter:blur(10px);
}
.hero-copy h1{
  margin:0 0 20px;
  font-size:clamp(54px,7vw,98px);
  line-height:.95;
  letter-spacing:-.055em;
}
.hero-copy p{
  margin:0;
  max-width:680px;
  font-size:clamp(19px,2vw,31px);
  line-height:1.42;
  font-weight:750;
  color:#eef1f4;
}
.hero-cta{display:flex;gap:16px;flex-wrap:wrap;margin:34px 0 40px}
.stats{display:flex;gap:28px;flex-wrap:wrap}
.stat{position:relative;padding-right:28px}
.stat:not(:last-child)::after{
  content:"";position:absolute;right:0;top:8px;width:1px;height:58px;background:rgba(255,255,255,.12);
}
.stat strong{
  display:block;
  font-size:42px;
  letter-spacing:-.03em;
  margin-bottom:6px;
}
.stat span{
  color:var(--muted-2);
  text-transform:uppercase;
  font-size:12px;
  font-weight:900;
  letter-spacing:.12em;
}
.dot{
  display:inline-block;
  width:11px;
  height:11px;
  border-radius:50%;
  background:#32ff8f;
  margin-right:10px;

  animation: pulseDot 1.6s ease-in-out infinite;
}

@keyframes pulseDot {
  0% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(50,255,143,0.7);
  }
  70% {
    transform: scale(1.2);
    box-shadow: 0 0 0 8px rgba(50,255,143,0);
  }
  100% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(50,255,143,0);
  }
}
.hero-art{
  position:relative;
  min-height:760px;
  border-radius:34px;
  overflow:hidden;
  border:1px solid rgba(255,255,255,.06);
  box-shadow:var(--shadow);
  background:
    radial-gradient(circle at 54% 40%, rgba(255,195,105,.27), transparent 14%),
    radial-gradient(circle at 56% 38%, rgba(255,255,255,.12), transparent 22%),
    linear-gradient(180deg, rgba(255,177,69,.05), transparent 25%),
    linear-gradient(135deg, rgba(13,18,29,.65), rgba(29,20,11,.3)),
    linear-gradient(180deg, #221910 0%, #151722 34%, #0b0e16 100%);
}
.hero-art::before{
  content:"";
  position:absolute;
  width:340px;height:340px;
  right:70px;top:150px;border-radius:50%;
  background:radial-gradient(circle, rgba(255,240,214,.18), rgba(255,174,88,.08), transparent 72%);
  filter:blur(10px);
}
.hero-art::after{
  content:"";
  position:absolute;
  width:460px;height:460px;
  left:30px;bottom:-70px;border-radius:50%;
  background:radial-gradient(circle, rgba(69,182,73,.13), transparent 72%);
}
.stairs{
  position:absolute;inset:auto 70px 70px auto;
  width:530px;height:320px;
  transform:skewY(-12deg) rotate(-10deg);
  clip-path:polygon(0 78%, 100% 0, 100% 100%, 25% 100%);
  background:linear-gradient(180deg, rgba(122,108,93,.92), rgba(67,58,50,.96));
  box-shadow:0 22px 40px rgba(0,0,0,.38);
  opacity:.82;
}
.stairs::before{
  content:"";position:absolute;inset:0;
  background:repeating-linear-gradient(180deg, rgba(255,255,255,.11) 0 16px, rgba(0,0,0,0) 16px 40px);
  opacity:.45;
}
.portal{
  position:absolute;right:190px;top:150px;
  width:170px;height:250px;
  border-radius:48% 48% 18% 18% / 22% 22% 12% 12%;
  background:linear-gradient(180deg,#0d0d11,#010103);
  border:10px solid rgba(117,98,80,.62);
  box-shadow:0 0 0 10px rgba(255,188,113,.06), 0 0 44px rgba(255,179,90,.1);
}
.portal .eyes{
  position:absolute;inset:0;
  background:
    radial-gradient(circle at 45% 28%, #ff6a00 0 6px, transparent 7px),
    radial-gradient(circle at 66% 33%, #ff7b17 0 6px, transparent 7px),
    radial-gradient(circle at 50% 47%, #ff6a00 0 7px, transparent 8px),
    radial-gradient(circle at 70% 53%, #ff7b17 0 8px, transparent 9px),
    radial-gradient(circle at 38% 58%, #ff6a00 0 8px, transparent 9px);
  filter:drop-shadow(0 0 10px rgba(255,102,0,.55));
}
.character{
  position:absolute;border-radius:30px;
  filter:drop-shadow(0 14px 16px rgba(0,0,0,.38));
}
.character::before{
  content:"";display:block;width:100%;height:100%;border-radius:inherit;
  background:linear-gradient(180deg, rgba(255,255,255,.32), rgba(255,255,255,.02));
  mask:radial-gradient(circle at 50% 28%, #000 0 18%, transparent 19%), linear-gradient(#000,#000);
  -webkit-mask:radial-gradient(circle at 50% 28%, #000 0 18%, transparent 19%), linear-gradient(#000,#000);
}
.c1{right:120px;top:170px;width:96px;height:220px;background:linear-gradient(180deg,#f6a54d,#8b4d18)}
.c2{right:48px;top:320px;width:90px;height:170px;background:linear-gradient(180deg,#d6e6ff,#466ac8)}
.c3{right:250px;bottom:94px;width:92px;height:160px;background:linear-gradient(180deg,#ff7b32,#c93811)}
.c4{right:330px;bottom:130px;width:76px;height:126px;background:linear-gradient(180deg,#7be35f,#2ea33a)}
.c5{right:18px;top:260px;width:86px;height:190px;background:linear-gradient(180deg,#9c8a69,#5e4f38)}

.section-head{
  display:flex;align-items:center;justify-content:space-between;gap:18px;margin-bottom:34px;
}
.section-title{
  display:flex;align-items:center;gap:14px;
  font-size:clamp(28px,2.5vw,50px);
  text-transform:uppercase;
  letter-spacing:.04em;
  font-weight:900;
}
.section-title::after{
  content:"";width:72px;height:4px;border-radius:999px;
  background:linear-gradient(90deg,#18d7b8,#5cff5f);
  opacity:.8;
  margin-left:8px;
}
.section-link{
  text-decoration:none;
  color:#19d7b8;
  text-transform:uppercase;
  letter-spacing:.08em;
  font-weight:900;
}
.grid-news{
  display:grid;
  grid-template-columns:1.95fr 1.05fr;
  gap:24px;
}
.card{
  position:relative;
  overflow:hidden;
  border-radius:28px;
  border:1px solid rgba(255,255,255,.06);
  background:linear-gradient(180deg, rgba(15,20,31,.86), rgba(9,12,20,.96));
  box-shadow:var(--shadow);
}
.media{
  min-height:90px;
  position:relative;

}
.card-content{padding:22px 26px 28px}
.card h3{font-size:42px;margin:14px 0 10px;letter-spacing:-.03em}
.card p{margin:0;color:#bcc3d2;font-size:18px}
.news-side{
  display:grid;place-items:center;min-height:100%;
  background:
    radial-gradient(circle at 20% 50%, rgba(255,188,89,.18), transparent 22%),
    linear-gradient(180deg, rgba(255,255,255,.03), rgba(255,255,255,.015));
}
.floating{
  width:min(90%, 360px);
  display:flex;align-items:center;gap:16px;
  padding:18px;
  border-radius:20px;
  background:rgba(255,255,255,.04);
  border:1px solid rgba(255,255,255,.06);
  backdrop-filter:blur(12px);
}
.thumb{
  width:74px;height:74px;border-radius:18px;
  flex:0 0 auto;
  background:radial-gradient(circle at 30% 30%, #c8f8ff, #5dd0ff 40%, #0a3a63 100%);
  box-shadow:0 10px 24px rgba(0,0,0,.28);
}
.meta small{
  display:block;margin-bottom:7px;
  color:#28f5b3;
  text-transform:uppercase;
  letter-spacing:.14em;
  font-size:12px;font-weight:900;
}
.meta strong{display:block;font-size:24px;margin-bottom:6px}
.meta span{color:var(--muted);font-weight:700}

.shop-layout{
  display:grid;
  grid-template-columns:1.35fr .95fr;
  gap:28px;
  align-items:stretch;
}
.shop-grid{
  display:grid;
  grid-template-columns:repeat(2, minmax(0,1fr));
  gap:22px;
}
.product{
  overflow:hidden;
  border-radius:24px;
  background:linear-gradient(180deg, rgba(255,255,255,.04), rgba(255,255,255,.015));
  border:1px solid rgba(255,255,255,.06);
  box-shadow:var(--shadow);
}
.product .visual {
  height: 420px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-bottom: 0;
  background: linear-gradient(180deg, rgba(255,255,255,.06), rgba(255,255,255,.02));
  overflow: hidden;
}
.product .visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: .3s;
}
.ogrines {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100%;
  position: relative;
}
.ogrines img {
  max-width: 100%;
  height: auto;
  pointer-events: none;
}
.product .info{padding:18px 18px 0}
.product .type{
  color:#31f0b0;
  text-transform:uppercase;
  letter-spacing:.12em;
  font-size:12px;
  font-weight:900;
}
.product h4{font-size:34px;margin:10px 0 10px;letter-spacing:-.03em}
.price{font-size:30px;color:#3eff90;font-weight:900}
.price small{font-size:15px;color:#8a92a4;margin-left:8px}
.discover{
  width:100%;margin-top:18px;border:none;
  background:var(--green);color:#fff;
  padding:18px;
  font-weight:900;text-transform:uppercase;
  letter-spacing:.08em;
  cursor: pointer;
}
.discover:hover {
  transition: 0.3s;
  transform: translateY(-2px) scale(1.01);
  background: linear-gradient(180deg, #4fdc55 0%, #38a83c 100%);
  box-shadow:
    inset 0 -4px rgba(0,0,0,0.25),
    0 10px 22px rgba(60,158,63,0.5),
    0 0 12px rgba(60,158,63,0.6);
}
.shop-side{
  display:flex;flex-direction:column;justify-content:center;
  padding:32px;
  min-height:100%;
  border-radius:28px;
  border:1px solid rgba(255,255,255,.06);
  box-shadow:var(--shadow);
  background:
    radial-gradient(circle at 75% 50%, rgba(255,255,255,.08), transparent 28%),
    linear-gradient(180deg, rgba(255,255,255,.03), rgba(255,255,255,.02));
}
.shop-side h3{
  margin:0 0 16px;
  font-size:clamp(42px,3.3vw,62px);
  line-height:.98;
  text-transform:uppercase;
  letter-spacing:-.03em;
}
.shop-side p{margin:0 0 24px;color:#b6bdcc;font-size:20px;max-width:520px}
.tags{display:flex;gap:10px;flex-wrap:wrap;margin-bottom:24px}
.tag{
  padding:10px 16px;border-radius:999px;
  background:rgba(255,255,255,.05);
  border:1px solid rgba(255,255,255,.06);
  color:#d1d7e3;
  text-transform:uppercase;
  font-size:12px;font-weight:800;letter-spacing:.1em;
}
.items-count{
  margin-top:20px;
  color:#7f8798;
  text-transform:uppercase;
  font-weight:900;
  letter-spacing:.08em;
}

.cards-3{
  display:grid;
  grid-template-columns:repeat(3, minmax(0,1fr));
  gap:22px;
}
.news-card,.shop-card{
  overflow:hidden;
  border-radius:24px;
  border:1px solid rgba(255,255,255,.06);
  background:linear-gradient(180deg, rgba(13,19,29,.92), rgba(8,12,20,.98));
  box-shadow:var(--shadow);
}
.news-card .cover,.shop-card .cover{
  height:220px;
  background:
    radial-gradient(circle at 70% 20%, rgba(255,211,89,.2), transparent 24%),
    linear-gradient(145deg, rgba(58,85,26,.9), rgba(22,26,37,.94));
}
.shop-card .cover.alt{
  background:
    radial-gradient(circle at 50% 50%, rgba(57,241,255,.2), transparent 18%),
    linear-gradient(145deg, rgba(16,48,54,.95), rgba(22,26,37,.94));
}
.news-card .body,.shop-card .body{padding:20px}
.news-card h3,.shop-card h3{margin:12px 0 8px;font-size:30px}
.news-card p,.shop-card p{margin:0;color:var(--muted)}
.news-card .meta-row,.shop-card .meta-row{
  margin-top:18px;display:flex;align-items:center;justify-content:space-between;gap:10px;
}
.price-row{font-size:26px;color:#4dff92;font-weight:900}

.footer{
  padding:84px 0 40px;
  background:linear-gradient(180deg, rgba(5,8,14,0), rgba(5,8,14,.45));
}
.footer-top{
  display:flex;align-items:center;justify-content:center;gap:20px;
  margin-bottom:42px;
  color:#4cff77;
  font-weight:900;
  text-transform:uppercase;
  letter-spacing:.2em;
}
.social{display:flex;gap:14px}
.social .icon-btn{
  border-color:rgba(69,182,73,.2);
  box-shadow:0 0 0 1px rgba(69,182,73,.06) inset;
}
.social .icon-btn:hover {
  background: linear-gradient(135deg, #3fb24d26, #3fb24d0d);
}
.footer-grid{
  display:grid;
  grid-template-columns:1fr 1fr 1fr;
  gap:32px;
  align-items:center;
  padding:48px 0;
  border-top:1px solid rgba(69,182,73,.16);
  border-bottom:1px solid rgba(255,255,255,.06);
}
.footer-col h5{
  margin:0 0 20px;
  color:#66ff70;
  font-size:16px;
  text-transform:uppercase;
  letter-spacing:.14em;
}
.footer-col a{
  display:block;
  text-decoration:none;
  margin:14px 0;
  text-transform:uppercase;
  font-weight:800;
}
.footer-download{display:flex;justify-content:flex-end}
.footer-bottom{
  padding-top:28px;
  display:flex;align-items:center;justify-content:space-between;gap:20px;
  color:#717a8e;font-size:14px;font-weight:700;
}
.footer-logo{
  position: relative;
  display: inline-flex;
  align-items: center;
  overflow: hidden;
  line-height: 0;
}

.footer-logo img{
  display: block;
  width: auto;
  height: 60px;
  position: relative;
  z-index: 1;
}

.register-card{
  overflow:hidden;
  border-radius:28px;
  border:1px solid rgba(255,255,255,.06);
  box-shadow:var(--shadow);
  background:linear-gradient(180deg, rgba(7,11,18,.90), rgba(5,8,14,.98));
}
.register-header{
  padding:34px 30px 24px;
  text-align:center;
  border-bottom:1px solid rgba(255,255,255,.06);
}
.register-header h1{
  margin:12px 0 0;
  font-family:var(--font-display);
  font-size:clamp(42px,5vw,72px);
  line-height:.95;
  text-transform:uppercase;
  letter-spacing:-.05em;
}
.register-header p{
  margin:14px auto 0;
  color:#9aa4b7;
  font-size:18px;
  max-width:760px;
}
.register-layout{
  display:grid;
  grid-template-columns:minmax(0,1.28fr) minmax(320px,.72fr);
  gap:22px;
  padding:24px;
}
.register-main{display:grid;gap:20px}
.register-sections{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:20px;
}
.reg-col{
  padding:28px;
  border:1px solid rgba(255,255,255,.06);
  border-radius:24px;
  background:rgba(255,255,255,.025);
}
.reg-sidebar{
  padding:28px;
  border:1px solid rgba(36,232,212,.18);
  border-radius:24px;
  background:linear-gradient(180deg, rgba(13,20,31,.96), rgba(7,11,18,.98));
  box-shadow:0 0 0 1px rgba(36,232,212,.05) inset;
}
.reg-title{
  display:flex;align-items:center;gap:14px;margin-bottom:22px;
}
.reg-icon{
  width:42px;height:42px;border-radius:14px;
  display:grid;place-items:center;
  border:1px solid rgba(255,255,255,.08);
  background:rgba(255,255,255,.03);
  color:#42ff9f;font-weight:900;
}
.reg-title h2,.reg-title h3,.reg-title h4{
  margin:0;font-size:26px;text-transform:uppercase;letter-spacing:.03em;
}
.reg-title span{
  display:block;margin-top:4px;
  color:#7a8394;
  text-transform:uppercase;
  letter-spacing:.12em;
  font-size:12px;font-weight:900;
}
.field{margin-bottom:18px}
.field label{
  display:block;margin-bottom:8px;
  color:#27e4b6;
  text-transform:uppercase;
  letter-spacing:.14em;
  font-size:11px;font-weight:900;
}
.input,.select{
  width:100%;height:56px;padding:0 16px;
  border-radius:14px;border:1px solid rgba(255,255,255,.08);
  background:#060910;color:#f5f7fa;
  font-size:16px;font-weight:700;
  outline:none;
  box-shadow:inset 0 0 0 1px rgba(255,255,255,.02);
}
.input:focus,.select:focus{
  border-color:rgba(36,232,212,.38);
  box-shadow:0 0 0 3px rgba(36,232,212,.08), inset 0 0 0 1px rgba(255,255,255,.02);
}
.benefits{
  display:grid;
  grid-template-columns:repeat(2, minmax(0,1fr));
  gap:10px;
  margin-top:10px;
}
.benefit{
  min-height:52px;
  display:flex;align-items:center;justify-content:center;
  text-align:center;
  padding:8px 12px;
  border-radius:14px;
  background:rgba(255,255,255,.03);
  border:1px solid rgba(255,255,255,.06);
  color:#cdd4e0;
  font-weight:800;
  font-size:14px;
}
.captcha-box{
  padding:18px;
  border-radius:20px;
  border:1px solid rgba(36,232,212,.32);
  box-shadow:0 0 0 1px rgba(36,232,212,.07) inset;
  background:rgba(255,255,255,.02);
  margin-bottom:16px;
}
.captcha-box p{margin:0 0 12px;color:#cfd5e1;font-size:17px;font-weight:700}
.captcha-grid{
  display:grid;
  grid-template-columns:repeat(3, 1fr);
  gap:10px;
}
.mob{
  aspect-ratio:1;
  border-radius:14px;
  border:1px solid rgba(255,255,255,.08);
  background:linear-gradient(180deg, rgba(255,255,255,.05), rgba(255,255,255,.02));
  display:grid;place-items:center;
  overflow:hidden;
}
.mob::before{
  content:"";
  width:56%;height:56%;
  border-radius:45% 55% 48% 52%;
  background:radial-gradient(circle at 35% 35%, #f7e5b7, #6d5d3f 70%, #312616 100%);
  box-shadow:0 8px 16px rgba(0,0,0,.24);
}
.mob.active{
  outline:3px solid #32ff8f;
  box-shadow:0 0 0 2px rgba(50,255,143,.15) inset;
}
.check{
  display:flex;align-items:flex-start;gap:12px;
  margin:14px 0 16px;
  color:#d4dae6;
  font-weight:700;
  font-size:15px;
}
.check input{margin-top:4px;width:18px;height:18px;accent-color:var(--green)}
.check a{color:#25e4ba;text-decoration:none;font-weight:900}
.register-submit{
  display:grid;
  grid-template-columns:1fr auto;
  gap:14px;
  align-items:center;
  padding:4px 2px 0;
}
.notice{
  color:#7f899c;
  font-size:14px;
  line-height:1.5;
}
.login-link{
  text-align:right;
  color:#aab2c2;
  font-weight:700;
  font-size:16px;
}
.login-link a{
  color:#28f3bd;
  text-decoration:none;
  text-transform:uppercase;
  letter-spacing:.06em;
  font-weight:900;
}

.back-top {
  position: fixed;
  right: 24px;
  bottom: 24px;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 22px;
  color: #fff;
  text-decoration: none;
  background: linear-gradient(180deg, #46b84a 0%, #2e7d32 100%);
  z-index: 90;
  cursor: pointer;
  position: fixed;
  overflow: hidden;
  transition: all .25s cubic-bezier(.175, .885, .32, 1.275);
  line-height: 60px;
}
.back-top:hover {
  transform: translateY(-6px) scale(1.08);
  box-shadow:
    0 0px 8px rgba(69,182,73,.45),
    0 0 5px rgba(69,182,73,.6),
    inset 0 -4px rgba(0,0,0,0.25);
}
.back-top:active {
  transform: translateY(2px) scale(0.95);
  box-shadow:
    inset 0 4px rgba(0,0,0,0.4),
    0 5px 12px rgba(0,0,0,0.3);
}
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-4px); }
}
.back-top {
  animation: float 3s ease-in-out infinite;
}
.notice{
  margin-top:18px;
  padding:14px 16px;
  border-radius:16px;
  background:rgba(255,120,75,.08);
  border:1px solid rgba(255,120,75,.18);
  color:#ffc2ae;
  font-weight:700;
}

@media (max-width: 1380px){
  .nav ul{gap:22px}
  .hero{grid-template-columns:1fr}
  .hero-art{min-height:620px}
  .grid-news,.shop-layout,.footer-grid,.cards-3{grid-template-columns:1fr}
  .register-layout,.register-sections,.register-submit{grid-template-columns:1fr}
  .login-link{text-align:left}
  .footer-download{justify-content:flex-start}
}
@media (max-width: 980px){
  .container{width:min(calc(100% - 28px), var(--max))}
  .topbar{padding:16px;flex-wrap:wrap;justify-content:center}
  .brand-row{justify-content:center;width:100%}
  .nav{width:100%;overflow:auto}
  .nav ul{min-width:max-content}
  .actions{width:100%;justify-content:center;flex-wrap:wrap}
  .discord-float{bottom:84px}
  .hero{padding-top:42px}
  .hero-art{min-height:500px}
  .stairs{width:360px;height:210px;right:28px;bottom:48px}
  .portal{right:126px;top:108px;width:120px;height:180px}
  .c1{right:76px;top:122px;width:72px;height:176px}
  .c2{right:22px;top:248px;width:70px;height:140px}
  .c3{right:170px;bottom:64px;width:70px;height:128px}
  .c4{right:246px;bottom:94px;width:60px;height:100px}
  .c5{display:none}
  .shop-grid{grid-template-columns:1fr}
  .captcha-grid{grid-template-columns:repeat(3,1fr)}
  .footer-bottom{flex-direction:column;align-items:flex-start}
}
@media (max-width: 640px){
  .discord-float{
    right:14px;
    left:14px;
    bottom:78px;
    justify-content:center;
  }
  .hero-copy h1{font-size:56px}
  .section-title{font-size:28px}
  .card h3,.news-card h3,.shop-card h3{font-size:28px}
  .register-header h1{font-size:44px}
  .register-header p{font-size:17px}
  .benefits{grid-template-columns:1fr}
  .captcha-grid{grid-template-columns:repeat(2,1fr)}
}
::-webkit-scrollbar {
  width: 10px;
}
::-webkit-scrollbar-track {
  background: #0a0a0f;
}
::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, #46b84a, #2e7d32);
  border-radius: 10px;

  border: 2px solid #0a0a0f;
}
::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(180deg, #4fdc55, #38a83c);
}
::selection {
  background: rgba(70, 184, 74, 0.35);
  color: #fff;
}

::-moz-selection {
  background: rgba(70, 184, 74, 0.35);
  color: #fff;
}

/* ===== Internal pages ===== */
.page-shell{padding:18px 0 72px}
.content-grid{display:grid;grid-template-columns:1.18fr .82fr;gap:24px}
.panel{
  border-radius:28px;
  border:1px solid rgba(255,255,255,.06);
  background:linear-gradient(180deg, rgba(9,13,21,.88), rgba(6,9,15,.96));
  box-shadow:var(--shadow);
  overflow:hidden;
}
.panel-body{padding:28px}
.panel-head{
  padding:22px 28px;
  border-bottom:1px solid rgba(255,255,255,.06);
  display:flex;align-items:center;justify-content:space-between;gap:16px;
}
.panel-head h2,.panel-head h3{margin:0;font-size:28px;text-transform:uppercase;letter-spacing:.04em}
.panel-head p{margin:4px 0 0;color:var(--muted)}
.muted{color:var(--muted)}
.stack{display:grid;gap:18px}
.kpi-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:18px}
.kpi{
  padding:20px;border-radius:22px;
  border:1px solid rgba(255,255,255,.06);
  background:rgba(255,255,255,.03);
}
.kpi strong{display:block;font-size:30px;margin-bottom:8px}
.kpi span{color:var(--muted);text-transform:uppercase;font-size:12px;font-weight:900;letter-spacing:.12em}
.hero-mini{
  padding:34px 32px;
  border-radius:30px;
  background:linear-gradient(135deg, rgba(27,226,171,.13), rgba(69,182,73,.08));
  border:1px solid rgba(94,234,103,.18);
}
.hero-mini h2{margin:12px 0 10px;font-size:44px;letter-spacing:-.04em;text-transform:uppercase}
.hero-mini p{margin:0;color:#d4d9e3;font-size:18px;max-width:760px}
.split{display:grid;grid-template-columns:1fr 1fr;gap:18px}
.table-wrap{overflow:auto}
.rank-table{width:100%;border-collapse:collapse;min-width:720px}
.rank-table th,.rank-table td{padding:16px 14px;text-align:left;border-bottom:1px solid rgba(255,255,255,.06)}
.rank-table th{font-size:12px;text-transform:uppercase;letter-spacing:.12em;color:#65ff9a}
.rank-table td{font-weight:700;color:#eef2f7}
.rank-table tr:hover td{background:rgba(255,255,255,.02)}
.rank-badge,.status-pill,.tag-soft{
  display:inline-flex;align-items:center;justify-content:center;gap:8px;
  padding:8px 14px;border-radius:999px;font-size:12px;
  font-weight:900;text-transform:uppercase;letter-spacing:.1em;
}
.rank-badge{background:rgba(242,198,35,.14);color:#ffd966}
.status-pill{background:rgba(27,226,171,.12);color:#55ffc8}
.tag-soft{background:rgba(255,255,255,.05);color:#d4d9e2}
.vote-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}
.vote-card,.news-list-card,.profile-card,.feature-card{
  padding:22px;border-radius:24px;border:1px solid rgba(255,255,255,.06);
  background:rgba(255,255,255,.03);
}
.vote-card h3,.news-list-card h3,.profile-card h3,.feature-card h3{margin:12px 0 10px;font-size:28px}
.vote-card p,.news-list-card p,.profile-card p,.feature-card p{margin:0;color:var(--muted)}
.vote-points{margin-top:18px;font-size:34px;color:#56ff91;font-weight:900}
.news-list{display:grid;gap:18px}
.news-item{
  display:grid;grid-template-columns:260px 1fr;gap:20px;
  padding:18px;border-radius:24px;border:1px solid rgba(255,255,255,.06);
  background:rgba(255,255,255,.03);
}
.news-item .cover{
  min-height:190px;border-radius:20px;
  background:url('../img/articles/1.jpg') center/cover no-repeat;
}
.news-item h3{margin:10px 0 12px;font-size:34px}
.news-meta{display:flex;flex-wrap:wrap;gap:10px;margin-bottom:14px}
.news-item p{margin:0;color:#c8ceda;font-size:17px}
.sidebar-list{display:grid;gap:14px}
.sidebar-link{
  display:block;padding:16px 18px;border-radius:18px;text-decoration:none;
  border:1px solid rgba(255,255,255,.06);background:rgba(255,255,255,.03);font-weight:800;
}
.sidebar-link small{display:block;margin-top:6px;color:var(--muted);font-weight:700}
.article-cover{
  height:430px;border-radius:26px;background:url('../img/articles/1.jpg') center/cover no-repeat;
  border:1px solid rgba(255,255,255,.06);
}
.article-content{font-size:18px;line-height:1.8;color:#d4dae5}
.article-content h2,.article-content h3{font-size:34px;margin:32px 0 12px;color:#fff}
.article-content p{margin:0 0 18px}
.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:18px;margin-top:-15px;}
.form-grid .field.full{grid-column:1/-1}
.helper{margin-top:10px;color:var(--muted);font-size:14px;font-weight:700}
.form-actions{display:flex;gap:14px;flex-wrap:wrap;margin-top:12px}
.profile-layout{display:grid;grid-template-columns:.78fr 1.22fr;gap:24px}
.profile-banner{
  padding:26px;border-radius:26px;
  background:linear-gradient(135deg, rgba(94,234,103,.12), rgba(27,226,171,.08));
  border:1px solid rgba(94,234,103,.16);
}
.avatar-xl{
  width:96px;height:96px;border-radius:26px;
  background:url('../img/avatars/icon.svg') center/54px no-repeat, linear-gradient(180deg, rgba(255,255,255,.08), rgba(255,255,255,.02));
  border:1px solid rgba(255,255,255,.08);
  box-shadow:var(--shadow);
}
.profile-stats{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;margin-top:18px}
.profile-stat{
  padding:16px;border-radius:18px;background:rgba(255,255,255,.04);border:1px solid rgba(255,255,255,.06);
}
.profile-stat strong{display:block;font-size:28px;margin-bottom:6px}
.profile-stat span{color:var(--muted);text-transform:uppercase;font-size:12px;font-weight:900;letter-spacing:.11em}
.quick-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
.quick-actions a{text-decoration:none}
.timeline{display:grid;gap:14px}
.timeline-item{padding:18px;border-radius:18px;background:rgba(255,255,255,.03);border:1px solid rgba(255,255,255,.06)}
.timeline-item strong{display:block;margin-bottom:6px}
.login-shell{max-width:1120px;margin:0 auto}
.login-grid{display:grid;grid-template-columns:1fr .9fr;gap:0}
.login-panel{padding:34px}
.login-side{
  padding:34px;
  border-left:1px solid rgba(255,255,255,.06);
  background:radial-gradient(circle at 75% 20%, rgba(94,234,103,.14), transparent 30%), rgba(255,255,255,.02);
}
.inline-list{display:flex;flex-wrap:wrap;gap:10px}
.center{text-align:center}

@media (max-width: 1180px){
  .content-grid,.profile-layout,.login-grid{grid-template-columns:1fr}
  .login-side{border-left:none;border-top:1px solid rgba(255,255,255,.06)}
  .kpi-grid,.vote-grid,.split,.form-grid{grid-template-columns:1fr 1fr}
  .news-item{grid-template-columns:1fr}
}
@media (max-width: 900px){
  .kpi-grid,.vote-grid,.split,.form-grid,.profile-stats,.quick-actions{grid-template-columns:1fr}
  .container{width:min(calc(100% - 28px), var(--max))}
  .panel-head{padding:18px 20px}
  .panel-body{padding:20px}
  .hero-mini{padding:24px}
  .hero-mini h2{font-size:34px}
  .news-item h3{font-size:28px}
  .article-cover{height:280px}
}

@media (max-width: 1120px){
  .register-layout,.register-sections{grid-template-columns:1fr}
}
@media (max-width: 720px){
  .register-header{padding:28px 20px 22px}
  .register-layout{padding:16px}
  .reg-col,.reg-sidebar{padding:20px}
  .benefits{grid-template-columns:1fr}
}



/* --- FIX TOPBAR LOGO --- */
.brand-trigger{
  display:flex;
  align-items:center;
  justify-content:center;
}
.brand-icon{
  width:42px !important;
  height:42px !important;
  object-fit:contain !important;
  display:block !important;
  flex:0 0 42px;
  opacity:1 !important;
  visibility:visible !important;
}
.brand-label{
  margin-left:0 !important;
}

/* --- FIX BOUTIQUE CARDS / BUTTONS --- */
.shop-grid{
  align-items:stretch;
}
.product{
  display:flex;
  flex-direction:column;
  height:100%;
}
.product .info{
  display:flex;
  flex-direction:column;
  flex:1 1 auto;
  padding:18px 18px 0;
}
.product h4{
  margin:10px 0 8px;
}
.price{
  margin-bottom:0;
}
.discover{
  width:calc(100% + 36px) !important;
  margin:18px -18px 0 !important;
  display:flex !important;
  align-items:center;
  justify-content:center;
  text-decoration:none !important;
  border-radius:0 0 24px 24px;
  min-height:72px;
  line-height:1;
  margin-top:auto !important;
  box-sizing:border-box;
}
.discover:hover{
  text-decoration:none !important;
}
.product .visual img{
  display:block;
}


.hero-404{
  min-height: calc(100vh - 180px);
  display:flex;
  align-items:center;
  justify-content:center;
  padding: 56px 0 72px;
}

.hero-404-card{
  position:relative;
  width:100%;
  max-width:760px;
  margin:0 auto;
  padding:56px 34px 42px;
  text-align:center;
  overflow:hidden;
  border-radius:28px;
  background:
    linear-gradient(180deg, rgba(255,255,255,.07), rgba(255,255,255,.03));
  border:1px solid rgba(255,255,255,.09);
  box-shadow:
    0 22px 70px rgba(0,0,0,.34),
    inset 0 1px 0 rgba(255,255,255,.05);
  backdrop-filter: blur(12px);
}

.hero-404-card::before{
  content:"";
  position:absolute;
  inset:0;
  border-radius:inherit;
  padding:1px;
  background: linear-gradient(135deg,
    rgba(168,85,247,.45),
    rgba(255,255,255,.05),
    rgba(99,102,241,.24));
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
          mask-composite: exclude;
  pointer-events:none;
}

.hero-404-orb{
  position:absolute;
  border-radius:50%;
  filter: blur(10px);
  pointer-events:none;
}

.hero-404-orb-1{
  width:220px;
  height:220px;
  top:-70px;
  left:-60px;
  background: radial-gradient(circle, rgba(168,85,247,.24), transparent 70%);
}

.hero-404-orb-2{
  width:260px;
  height:260px;
  right:-90px;
  bottom:-90px;
  background: radial-gradient(circle, rgba(59,130,246,.16), transparent 72%);
}

.hero-404-badge{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:8px 16px;
  border-radius:999px;
  margin-bottom:20px;
  background: rgba(168,85,247,.14);
  border:1px solid rgba(168,85,247,.28);
  color:#f3e8ff;
  font-size:12px;
  font-weight:900;
  text-transform:uppercase;
  letter-spacing:.14em;
  box-shadow:0 0 20px rgba(168,85,247,.16);
}

.hero-404-code{
  font-size: clamp(74px, 12vw, 138px);
  font-weight:1000;
  line-height:.92;
  letter-spacing:-.05em;
  margin-bottom:10px;
  color:#fff;
  text-shadow:
    0 10px 30px rgba(0,0,0,.25),
    0 0 26px rgba(168,85,247,.18);
}

.hero-404-card h1{
  margin:0 0 14px;
  font-size: clamp(30px, 4vw, 48px);
  line-height:1.05;
  font-weight:900;
  color:#fff;
}

.hero-404-card h1 span{
  background: linear-gradient(90deg, #c084fc, #ffffff);
  -webkit-background-clip:text;
  -webkit-text-fill-color:transparent;
          background-clip:text;
}

.hero-404-card p{
  max-width:560px;
  margin:0 auto;
  color:rgba(255,255,255,.78);
  font-size:16px;
  line-height:1.75;
}

.hero-404-actions{
  margin-top:28px;
  display:flex;
  justify-content:center;
  gap:12px;
  flex-wrap:wrap;
}

.btn-404{
  min-width:230px;
  justify-content:center;
  position:relative;
  overflow:hidden;
}

.btn-404::before{
  content:"";
  position:absolute;
  inset:0;
  background: linear-gradient(120deg,
    transparent 0%,
    rgba(255,255,255,.16) 50%,
    transparent 100%);
  transform: translateX(-140%);
  transition: transform .6s ease;
}

.btn-404:hover::before{
  transform: translateX(140%);
}

@media (max-width: 768px){
  .hero-404{
    min-height:auto;
    padding:26px 0 50px;
  }

  .hero-404-card{
    padding:38px 20px 30px;
    border-radius:22px;
  }

  .hero-404-card p{
    font-size:15px;
  }

  .btn-404{
    min-width:100%;
  }
}
.rankings-grid{
  align-items:start;
}

.rank-table th:last-child,
.rank-table td:last-child{
  text-align:left;
}

.ladder-pagination{
  display:grid;
  grid-template-columns:minmax(170px,1fr) auto minmax(170px,1fr);
  gap:18px;
  align-items:center;
  padding-top:6px;
}

.ladder-pagination-side{
  display:flex;
}

.ladder-pagination-side-prev{
  justify-content:flex-start;
}

.ladder-pagination-side-next{
  justify-content:flex-end;
}

.ladder-pagination .btn{
  min-width:190px;
}

.ladder-pagination .tag-soft{
  min-width:230px;
  min-height:60px;
  padding:14px 22px;
  border-radius:20px;
  text-align:center;
  background:
    radial-gradient(circle at top, rgba(94,234,103,.14), transparent 65%),
    linear-gradient(180deg, rgba(255,255,255,.05), rgba(255,255,255,.025));
  border:1px solid rgba(94,234,103,.16);
  color:#fff;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.04),
    0 12px 30px rgba(0,0,0,.18);
}

.empty-row{
  text-align:center;
  color:rgba(255,255,255,.65);
  padding:22px 16px !important;
}

.split{
  display:grid;
  grid-template-columns:repeat(2, minmax(0, 1fr));
  gap:18px;
}

.feature-card,
.vote-card{
  position:relative;
  padding:22px;
  border-radius:20px;
  background:
    linear-gradient(180deg, rgba(255,255,255,.05), rgba(255,255,255,.025));
  border:1px solid rgba(255,255,255,.08);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.03),
    0 10px 30px rgba(0,0,0,.18);
}

.feature-card h3,
.vote-card h3{
  margin:12px 0 10px;
  font-size:22px;
  line-height:1.15;
  color:#fff;
}

.feature-card p,
.vote-card p{
  margin:0;
  color:rgba(255,255,255,.72);
  line-height:1.65;
}

.badge,
.tag-soft{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:32px;
  padding:6px 12px;
  border-radius:999px;
  background:rgba(53, 215, 138, .12);
  border:1px solid rgba(53, 215, 138, .22);
  color:#57f0a9;
  font-size:12px;
  font-weight:900;
  text-transform:uppercase;
  letter-spacing:.10em;
}

.vote-grid{
  display:grid;
  grid-template-columns:1fr;
  gap:18px;
}

.vote-points{
  margin-top:16px;
  font-size:20px;
  font-weight:900;
  color:#fff;
}

.form-actions{
  display:flex;
  gap:12px;
  margin-top:18px;
}

.form-actions .btn{
  width:100%;
  justify-content:center;
}

.reward-stack{
  gap:14px;
}

.sidebar-link{
  display:flex;
  flex-direction:column;
  gap:4px;
  padding:18px 18px;
  border-radius:16px;
  background:rgba(255,255,255,.035);
  border:1px solid rgba(255,255,255,.07);
  color:#fff;
  font-weight:800;
  line-height:1.35;
}

.sidebar-link small{
  color:rgba(255,255,255,.65);
  font-size:13px;
  font-weight:600;
}

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

  .ladder-pagination{
    grid-template-columns:1fr;
  }

  .ladder-pagination-side,
  .ladder-pagination-side-prev,
  .ladder-pagination-side-next{
    justify-content:center;
  }

  .ladder-pagination .btn,
  .ladder-pagination .tag-soft{
    width:100%;
    min-width:0;
  }
}

@media (max-width: 768px){
  .feature-card,
  .vote-card{
    padding:18px;
    border-radius:18px;
  }

  .feature-card h3,
  .vote-card h3{
    font-size:19px;
  }

  .sidebar-link{
    padding:15px 14px;
  }
}
.rank-table th:last-child,
.rank-table td:last-child{
  text-align:right;
}

.rank-table th:nth-child(4){
  text-align:right;
}

.rank-table td{
  vertical-align:middle;
}

.rank-badge{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-width:46px;
  height:32px;
  padding:0 12px;
  border-radius:999px;
  font-size:14px;
  font-weight:900;
  letter-spacing:.02em;
  color:#fff;
  background:linear-gradient(180deg, #3a3212 0%, #221c09 100%);
  border:1px solid rgba(255, 214, 92, .16);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.05),
    0 6px 16px rgba(0,0,0,.22);
}

.rank-table tbody tr:nth-child(1) .rank-badge{
  color:#1a1403;
  background:linear-gradient(180deg, #ffe07a 0%, #c89b22 100%);
  border-color:rgba(255, 223, 116, .55);
  box-shadow:
    0 0 0 1px rgba(255,223,116,.14),
    0 10px 24px rgba(200,155,34,.22),
    inset 0 1px 0 rgba(255,255,255,.35);
}

.rank-table tbody tr:nth-child(2) .rank-badge{
  color:#10151b;
  background:linear-gradient(180deg, #dce4ee 0%, #8e9aaa 100%);
  border-color:rgba(220, 228, 238, .45);
  box-shadow:
    0 0 0 1px rgba(220,228,238,.10),
    0 10px 24px rgba(142,154,170,.18),
    inset 0 1px 0 rgba(255,255,255,.30);
}

.rank-table tbody tr:nth-child(3) .rank-badge{
  color:#1a120c;
  background:linear-gradient(180deg, #e7b27d 0%, #9a5d2e 100%);
  border-color:rgba(231, 178, 125, .42);
  box-shadow:
    0 0 0 1px rgba(231,178,125,.10),
    0 10px 24px rgba(154,93,46,.18),
    inset 0 1px 0 rgba(255,255,255,.24);
}
.news-open-grid{
  align-items: start;
}

.download-panel,
.side-panel {
  overflow: hidden;
}

.download-cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
}

.download-card {
  position: relative;
  padding: 24px;
  border-radius: 22px;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.04), rgba(255,255,255,0.02));
  border: 1px solid rgba(255,255,255,0.08);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.04);
  transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease;
}

.download-card:hover {
  transform: translateY(-3px);
  border-color: rgba(79, 226, 114, 0.28);
  box-shadow: 0 18px 40px rgba(0,0,0,0.24);
}

.download-card.featured {
  background:
    radial-gradient(circle at top right, rgba(72, 255, 133, 0.10), transparent 35%),
    linear-gradient(180deg, rgba(255,255,255,0.05), rgba(255,255,255,0.025));
  border-color: rgba(72, 255, 133, 0.18);
}

.download-card-top h3 {
  margin: 10px 0 10px;
  font-size: 30px;
  line-height: 1.1;
  text-transform: uppercase;
}

.download-card-top p {
  margin: 0;
  color: rgba(255,255,255,0.72);
  font-size: 16px;
  line-height: 1.65;
  max-width: 720px;
}

.download-card-actions {
  margin-top: 20px;
}

.download-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: #9affb7;
  background: rgba(72, 255, 133, 0.12);
  border: 1px solid rgba(72, 255, 133, 0.18);
}

.download-badge.alt {
  color: #d6d9e8;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.10);
}

.btn-big {
  min-height: 56px;
  padding: 16px 24px;
  font-size: 14px;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.download-note {
  margin-top: 18px;
  padding: 16px 18px;
  border-radius: 16px;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.07);
  color: rgba(255,255,255,0.74);
  line-height: 1.6;
}

.side-highlight {
  min-height: auto;
  border-radius: 22px;
  background:
    radial-gradient(circle at top right, rgba(72, 255, 133, 0.08), transparent 35%),
    linear-gradient(180deg, rgba(255,255,255,0.045), rgba(255,255,255,0.02));
  border: 1px solid rgba(255,255,255,0.08);
}

.download-bottom-intro {
  padding-top: 10px;
}

.section-mini-title {
  display: inline-block;
  margin-bottom: 10px;
  color: rgba(255,255,255,0.68);
  font-size: 14px;
  font-weight: 700;
}

.download-bottom-intro h2 {
  margin: 0 0 10px;
  font-size: 48px;
  line-height: 1.05;
}

.download-bottom-intro p {
  margin: 0;
  color: rgba(255,255,255,0.72);
  font-size: 18px;
  line-height: 1.7;
  max-width: 760px;
}

@media (max-width: 980px) {
  .download-card-top h3 {
    font-size: 24px;
  }

  .download-bottom-intro h2 {
    font-size: 36px;
  }

  .btn-big {
    width: 100%;
    justify-content: center;
  }
}
.shop-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px,1fr));
  gap: 20px;
}

.product-card {
  padding: 22px;
  border-radius: 20px;
  background:
    radial-gradient(circle at top right, rgba(72,255,133,.08), transparent 40%),
    rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.08);
  transition: all .25s ease;
}

.product-card:hover {
  transform: translateY(-4px);
  border-color: rgba(72,255,133,.3);
  box-shadow: 0 20px 50px rgba(0,0,0,.25);
}

.product-icon {
  font-size: 28px;
}

.product-tag {
  font-size: 11px;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(72,255,133,.15);
  color: #9affb7;
  font-weight: 700;
}

.product-bottom {
  margin-top: 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.price {
  font-size: 22px;
  font-weight: 900;
  color: #4eff91;
}

/* SOLDE */
.balance-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px,1fr));
  gap: 16px;
}

.balance-card {
  padding: 18px;
  border-radius: 16px;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.07);
}

.balance-card.highlight {
  border-color: rgba(89, 203, 255, 0.3);
  box-shadow: 0 0 25px rgba(89, 203, 255, 0.15);
}

.balance-card strong {
  font-size: 28px;
  color: #00e8ed;
}

.balance-card strong span {
  font-size: 15px;
  line-height: -10px;
  color: #00e8ed;
}


.balance-card.warning {
  border-color: rgba(255,120,120,.25);
}
.vote-reward {
  padding: 16px 20px;
  border-radius: 14px;
  background:
    radial-gradient(circle at top right, rgba(94,234,103,.16), transparent 48%),
    linear-gradient(180deg, rgba(16,36,28,.92), rgba(8,18,14,.96));
  border: 1px solid rgba(94,234,103,.24);
  color: #d8ffe3;
  font-weight: 600;
  box-shadow: 0 18px 36px rgba(0,0,0,.18);
}

.vote-action {
  margin-top: 20px;
}

.vote-btn {
  min-height: 56px;
  font-size: 14px;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.vote-cooldown {
  padding: 14px 18px;
  border-radius: 12px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(94,234,103,.14);
}

/* FEATURES */
.vote-features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px,1fr));
  gap: 16px;
  margin-top: 24px;
}

.feature-card {
  padding: 18px;
  border-radius: 16px;
  background: linear-gradient(180deg, rgba(13,28,22,.88), rgba(8,18,15,.96));
  border: 1px solid rgba(94,234,103,.12);
  transition: .25s;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.03);
}

.feature-card:hover {
  transform: translateY(-3px);
  border-color: rgba(72,255,133,.3);
}

.feature-card span {
  font-size: 20px;
}

.feature-card h3 {
  margin: 10px 0 6px;
}

/* INFOS */
.vote-infos {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px,1fr));
  gap: 16px;
  margin-top: 24px;
}

.info-box {
  padding: 18px;
  border-radius: 14px;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.08);
}

.info-box.highlight {
  border-color: rgba(72,255,133,.3);
  box-shadow: 0 0 20px rgba(72,255,133,.1);
}

.info-box strong {
  font-size: 22px;
  color: #4eff91;
}

/* LOGIN */
.vote-locked {
  text-align: center;
  padding: 30px;
}

.card-content p {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.news-open-cover {
  width: 100%;
  height: 320px; /* taille fixe propre */
  object-fit: cover; /* coupe propre */
  border-radius: 18px;
  display: block;
}

.news-open-content {
  white-space: normal;        /* autorise les retours à la ligne */
  word-break: break-word;     /* coupe les longs mots */
  overflow-wrap: break-word;  /* fallback propre */
}

.news-meta-open {
  margin-top: 18px;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.logout-panel {
  text-align: center;
  padding: 40px;
}

.logout-center {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}

.logout-icon {
  font-size: 42px;
  background: rgba(72,255,133,0.1);
  border: 1px solid rgba(72,255,133,0.2);
  width: 80px;
  height: 80px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  box-shadow: 0 0 30px rgba(72,255,133,0.15);
}

/* loader */
.logout-loader {
  width: 36px;
  height: 36px;
  border: 3px solid rgba(255,255,255,0.1);
  border-top: 3px solid #4eff91;
  border-radius: 50%;
  animation: spin 1s linear infinite;
  margin-top: 10px;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

.login-status-panel {
  overflow: hidden;
}

.login-status-box {
  min-height: 320px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 32px 20px;
  border-radius: 22px;
  background: linear-gradient(180deg, rgba(255,255,255,0.035), rgba(255,255,255,0.02));
  border: 1px solid rgba(255,255,255,0.08);
}

.login-status-box.is-success {
  box-shadow: 0 0 0 1px rgba(72,255,133,0.10), 0 18px 50px rgba(72,255,133,0.08);
}

.login-status-box.is-error {
  box-shadow: 0 0 0 1px rgba(255,110,110,0.10), 0 18px 50px rgba(255,110,110,0.08);
}

.login-status-icon {
  width: 84px;
  height: 84px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  margin-bottom: 18px;
  font-size: 38px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.08);
}

.login-status-box.is-success .login-status-icon {
  background: rgba(72,255,133,0.10);
  border-color: rgba(72,255,133,0.18);
  box-shadow: 0 0 28px rgba(72,255,133,0.12);
}

.login-status-box.is-error .login-status-icon {
  background: rgba(255,110,110,0.10);
  border-color: rgba(255,110,110,0.18);
  box-shadow: 0 0 28px rgba(255,110,110,0.10);
}

.login-status-box h2 {
  margin: 0 0 10px;
  font-size: 34px;
  line-height: 1.1;
  text-transform: uppercase;
}

.login-status-box p {
  margin: 0;
  max-width: 700px;
  color: rgba(255,255,255,0.72);
  font-size: 17px;
  line-height: 1.7;
}

.login-status-loader {
  width: 38px;
  height: 38px;
  margin-top: 22px;
  border-radius: 999px;
  border: 3px solid rgba(255,255,255,0.10);
  border-top-color: #4eff91;
  animation: loginSpin 1s linear infinite;
}

.login-status-box.is-error .login-status-loader {
  border-top-color: #ff7b7b;
}

.login-status-actions {
  margin-top: 22px;
}

@keyframes loginSpin {
  to {
    transform: rotate(360deg);
  }
}

.vip-flash-wrap{
  margin: 4px 0 8px;
}

.vip-flash{
  position: relative;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 18px;
  border-radius: 18px;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(8,16,34,0.78), rgba(5,10,24,0.88));
  border: 1px solid rgba(255,255,255,0.08);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.04),
    0 14px 34px rgba(0,0,0,0.28);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.vip-flash::before{
  content:"";
  position:absolute;
  inset:0;
  pointer-events:none;
  background: linear-gradient(90deg, rgba(255,255,255,0.03), rgba(255,255,255,0));
}

.vip-flash-badge{
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  font-weight: 900;
  border: 1px solid rgba(255,255,255,0.08);
  background: rgba(255,255,255,0.04);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.04);
}

.vip-flash-body{
  min-width: 0;
}

.vip-flash-label{
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .12em;
  text-transform: uppercase;
  margin-bottom: 3px;
  color: #ffffff;
}

.vip-flash-message{
  font-size: 15px;
  line-height: 1.4;
  color: rgba(255,255,255,0.82);
}

/* erreur : légère touche rouge seulement */
.vip-flash-error{
  border-color: rgba(255, 90, 110, 0.18);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.04),
    0 14px 34px rgba(0,0,0,0.28),
    0 0 0 1px rgba(255, 70, 90, 0.03);
}

.vip-flash-error .vip-flash-badge{
  color: #ff7d8d;
  background: linear-gradient(180deg, rgba(255,80,110,0.10), rgba(255,80,110,0.04));
  border-color: rgba(255,90,110,0.20);
}

.vip-flash-error::after{
  content:"";
  position:absolute;
  left:0;
  top:0;
  bottom:0;
  width:4px;
  border-radius: 18px 0 0 18px;
  background: linear-gradient(180deg, #ff7589, #ff4d6d);
  opacity: .85;
}

/* succès */
.vip-flash-success{
  border-color: rgba(70, 230, 150, 0.18);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.04),
    0 14px 34px rgba(0,0,0,0.28),
    0 0 0 1px rgba(70, 230, 150, 0.03);
}

.vip-flash-success .vip-flash-badge{
  color: #63f0ad;
  background: linear-gradient(180deg, rgba(70,230,150,0.10), rgba(70,230,150,0.04));
  border-color: rgba(70,230,150,0.20);
}

.vip-flash-success::after{
  content:"";
  position:absolute;
  left:0;
  top:0;
  bottom:0;
  width:4px;
  border-radius: 18px 0 0 18px;
  background: linear-gradient(180deg, #56f0a4, #2fd07e);
  opacity: .9;
}

@media (max-width: 640px){
  .vip-flash{
    padding: 13px 14px;
    gap: 12px;
    border-radius: 16px;
  }

  .vip-flash-badge{
    width: 38px;
    height: 38px;
    flex-basis: 38px;
    border-radius: 12px;
    font-size: 16px;
  }

  .vip-flash-label{
    font-size: 11px;
  }

  .vip-flash-message{
    font-size: 14px;
  }
}

.product-card{
  overflow: hidden;
}

.product-top{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  margin-bottom:14px;
}

.product-icon{
  width: 100%;
  height: 180px;
  display:flex;
  align-items:center;
  justify-content:center;
  margin: 8px 0 14px;
  overflow:hidden;
}

.product-icon img{
  max-width: 220px;
  max-height: 220px;
  width: auto;
  height: auto;
  object-fit: contain;
  display:block;
  transition: transform .25s ease;
  filter: drop-shadow(0 10px 22px rgba(0,0,0,0.30));
}

.product-card:hover .product-icon img{
  transform: scale(1.05);
}

.balance-card-wallet{
  display:flex;
  flex-direction:column;
  justify-content:center;
  gap:10px;
  min-height:108px;
}

.balance-card-wallet .balance-label{
  font-size:13px;
  font-weight:700;
  text-transform:uppercase;
  letter-spacing:.08em;
  color:rgba(255,255,255,0.58);
}

.balance-card-wallet .balance-value{
  display:flex;
  align-items:center;
  gap:12px;
}

.balance-card-wallet .balance-icon{
  width:42px;
  height:42px;
  border-radius:12px;
  display:flex;
  align-items:center;
  justify-content:center;
  background:linear-gradient(180deg, rgba(0,255,220,0.10), rgba(0,255,220,0.04));
  border:1px solid rgba(0,255,220,0.14);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.05);
  flex:0 0 42px;
}

.balance-card-wallet .balance-icon img{
  width:22px;
  height:22px;
  display:block;
}

.balance-card-wallet .balance-value strong{
  font-size:42px;
  line-height:1;
  font-weight:900;
  color:#19f0ff;
  letter-spacing:-0.03em;
}

.balance-card-wallet .balance-subtext{
  font-size:14px;
  color:rgba(255,255,255,0.72);
}

@media (max-width: 768px){
  .balance-card-wallet .balance-value strong{
    font-size:34px;
  }
}

.balance-card-wallet.highlight{
  background:
    radial-gradient(circle at top left, rgba(0,255,220,0.08), transparent 45%),
    linear-gradient(180deg, rgba(8,18,34,0.88), rgba(6,12,24,0.96));
  border:1px solid rgba(0,255,220,0.16);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.04),
    0 10px 28px rgba(0,0,0,0.24);
}

.balance-grid{
  display:grid;
  grid-template-columns:repeat(3, minmax(0, 1fr));
  gap:16px;
}

.balance-card{
  min-height:132px;
  padding:18px;
  border-radius:18px;
  display:flex;
  flex-direction:column;
  justify-content:center;
  gap:12px;
  border:1px solid rgba(255,255,255,0.08);
  background:linear-gradient(180deg, rgba(8,18,34,0.82), rgba(6,12,24,0.94));
  box-shadow:inset 0 1px 0 rgba(255,255,255,0.03);
}

.balance-label{
  font-size:13px;
  font-weight:800;
  text-transform:uppercase;
  letter-spacing:.08em;
  color:rgba(255,255,255,0.55);
}

.balance-value,
.balance-inline{
  display:flex;
  align-items:center;
  gap:12px;
}

.balance-icon{
  width:42px;
  height:42px;
  border-radius:12px;
  display:flex;
  align-items:center;
  justify-content:center;
  background:rgba(255,255,255,0.04);
  border:1px solid rgba(255,255,255,0.08);
  flex:0 0 42px;
  font-size:20px;
}

.balance-icon img{
  width:22px;
  height:22px;
  display:block;
}

.balance-card strong{
  font-size:18px;
  line-height:1.25;
  font-weight:900;
  color:#fff;
}

.balance-subtext{
  font-size:14px;
  color:rgba(255,255,255,0.68);
  line-height:1.45;
}

/* Solde */
.balance-card-wallet.highlight{
  background:
    radial-gradient(circle at top left, rgba(0,255,220,0.08), transparent 45%),
    linear-gradient(180deg, rgba(8,18,34,0.86), rgba(6,12,24,0.96));
  border-color:rgba(0,255,220,0.18);
}

.balance-card-wallet .balance-icon{
  background:linear-gradient(180deg, rgba(0,255,220,0.10), rgba(0,255,220,0.04));
  border-color:rgba(0,255,220,0.16);
}

.balance-card-wallet .balance-value strong{
  font-size:42px;
  line-height:1;
  color:#19f0ff;
  letter-spacing:-0.03em;
}

/* Statut */
.balance-card-status.is-active{
  border-color:rgba(80,255,160,0.14);
}

.balance-card-status.is-active .balance-icon{
  background:linear-gradient(180deg, rgba(80,255,160,0.10), rgba(80,255,160,0.04));
  border-color:rgba(80,255,160,0.16);
}

.balance-card-status.is-active strong{
  color:#7dffb7;
}

.balance-card-status.is-inactive{
  border-color:rgba(255,255,255,0.08);
}

/* Expiration */
.balance-card-expiry{
  border-color:rgba(255,210,120,0.10);
}

.balance-card-expiry .balance-icon{
  background:linear-gradient(180deg, rgba(255,210,120,0.10), rgba(255,210,120,0.04));
  border-color:rgba(255,210,120,0.16);
}

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

  .balance-card-wallet .balance-value strong{
    font-size:36px;
  }
}

.balance-grid{
  display:grid;
  grid-template-columns:repeat(3, minmax(0, 1fr));
  gap:22px;
  margin-top:0px;
  padding: 15px;
}


/* Vote tiers */
.vote-tier-panel .panel-body{display:flex;flex-direction:column;gap:18px}
.vote-tier-topcards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}
.vote-tier-panel,
.vote-main{
  position:relative;
  overflow:hidden;
}
.vote-tier-panel::before,
.vote-main::before{
  content:"";
  position:absolute;
  inset:-1px auto auto -1px;
  width:220px;
  height:220px;
  background:radial-gradient(circle, rgba(94,234,103,.18), transparent 70%);
  pointer-events:none;
}
.vote-tier-info-card{border:1px solid rgba(94,234,103,.16);background:linear-gradient(180deg, rgba(14,30,24,.92), rgba(8,19,15,.98));border-radius:16px;padding:14px 16px;min-height:88px;display:flex;flex-direction:column;justify-content:center;box-shadow:inset 0 1px 0 rgba(255,255,255,.03)}
.vote-tier-info-card span{font-size:12px;text-transform:uppercase;letter-spacing:.08em;opacity:.72;color:#a7b6ad}
.vote-tier-info-card strong{font-size:18px;margin-top:6px;color:#effff3}
.vote-tier-info-card.accent{background:linear-gradient(135deg, rgba(41,109,63,.38), rgba(14,31,22,.98))}
.vote-tier-info-card.accent strong{color:#7dff9d}
.vote-tier-progress-wrap{border:1px solid rgba(94,234,103,.16);border-radius:16px;background:linear-gradient(180deg, rgba(9,22,18,.9), rgba(7,15,12,.98));padding:14px 16px}
.vote-tier-progress-head{display:flex;justify-content:space-between;gap:12px;flex-wrap:wrap;font-size:14px;margin-bottom:10px}
.vote-tier-progress-bar{height:8px;border-radius:999px;background:rgba(255,255,255,.07);overflow:hidden;box-shadow:inset 0 0 0 1px rgba(94,234,103,.08)}
.vote-tier-progress-bar span{display:block;height:100%;border-radius:999px;background:linear-gradient(90deg,#45b649 0%,#5eea67 45%,#1be2ab 100%);box-shadow:0 0 22px rgba(94,234,103,.25)}
.vote-tier-progress-foot{margin-top:8px;font-size:14px;color:rgba(255,255,255,.76)}
.vote-tier-table-wrap{padding-top:0}
.vote-tier-table thead th{color:#cdf7d5}
.vote-tier-table tbody tr td{background:rgba(255,255,255,.02)}
.vote-tier-table .is-current-tier td{background:rgba(69,182,73,.16)}
.vote-badge-pill{display:inline-flex;align-items:center;justify-content:center;padding:8px 14px;border-radius:999px;border:1px solid rgba(94,234,103,.26);background:linear-gradient(180deg, rgba(69,182,73,.2), rgba(27,226,171,.12));font-weight:700;color:#dcffe6}
.vote-action.double{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;align-items:stretch}
.vote-cooldown.subtle{display:flex;align-items:center;justify-content:center;text-align:center;min-height:58px;border:1px dashed rgba(94,234,103,.18);border-radius:14px;color:rgba(255,255,255,.7);padding:12px;background:rgba(255,255,255,.02)}
.compact-kpi-grid{grid-template-columns:repeat(4,minmax(0,1fr))}
.vote-locked,
.vote-locked.compact{
  padding:20px;
  border:1px dashed rgba(94,234,103,.18);
  border-radius:18px;
  background:linear-gradient(180deg, rgba(12,24,19,.78), rgba(8,16,13,.9));
}
.alert{padding:14px 16px;border-radius:14px;border:1px solid transparent}
.alert-success{background:rgba(33,180,110,.12);border-color:rgba(33,180,110,.3);color:#d8ffe9}
.alert-error{background:rgba(220,83,83,.12);border-color:rgba(220,83,83,.3);color:#ffdcdc}

@media (max-width: 980px){
  .vote-tier-topcards,.vote-action.double,.compact-kpi-grid{grid-template-columns:1fr}
}

.vote-cooldown strong {
    color: #00ff88;
    font-weight: bold;
}
