/* =======================================================
   CS2 TOURNAMENTS — PREMIUM ESPORTS THEME (SEPARATE FILE)
   - Proper burger fullscreen menu
   - Premium neon borders
   - Cards + hover
   - Payment block + Registration form
======================================================= */

:root{
  --bg0:#14081f;
  --bg1:#1d0b2e;
  --bg2:#2b0f3a;

  --vio0:#1e0b2e;
  --vio1:#3b1350;
  --vio2:#5a1f6e;
  --vio3:#7c2b82;

  --gold0:#ffb84d;
  --gold1:#ffd98a;

  --text:#ffffff;
  --muted:#cfc7d7;

  --shadow: 0 0 30px rgba(255, 170, 60, 0.18);
  --shadowStrong: 0 0 45px rgba(255, 170, 60, 0.28);

  --radius: 16px;
  --radius2: 20px;
  --border: 1px solid rgba(255, 217, 138, 0.18);

  --max: 1120px;
}

/* RESET */
*{ box-sizing: border-box; }
html, body{ height: 100%; }
body{
  margin: 0;
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Arial, "Noto Sans", "Helvetica Neue", sans-serif;
  background: linear-gradient(180deg, var(--bg0), var(--bg1) 45%, var(--bg2));
  color: var(--text);
  overflow-x: hidden;
}
a{ color: inherit; text-decoration: none; }
img{ max-width: 100%; display: block; }
button, input, select{ font-family: inherit; }

/* HELPERS */
.container{
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 18px;
}
.stack-10 > * + * { margin-top: 10px; }
.stack-14 > * + * { margin-top: 14px; }
.stack-18 > * + * { margin-top: 18px; }

/* PREMIUM WRAPPER */
.neon-wrap{
  position: relative;
  border-radius: var(--radius2);
  overflow: hidden;
  isolation: isolate;
  border: var(--border);
  box-shadow: var(--shadow);
  background: linear-gradient(180deg, rgba(255,255,255,0.04), rgba(255,255,255,0.01));
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

/* animated neon border */
.neon-wrap::before{
  content:"";
  position:absolute;
  inset:-2px;
  background: conic-gradient(
    from 0deg,
    rgba(255,184,77,0.0),
    rgba(255,184,77,0.8),
    rgba(124,43,130,0.9),
    rgba(255,217,138,0.9),
    rgba(90,31,110,0.9),
    rgba(255,184,77,0.85),
    rgba(255,184,77,0.0)
  );
  filter: blur(8px);
  opacity: 0.55;
  z-index: -2;
  animation: spinGlow 6s linear infinite;
}

.neon-wrap::after{
  content:"";
  position:absolute;
  inset:1px;
  border-radius: calc(var(--radius2) - 2px);
  background: linear-gradient(180deg, rgba(20,8,31,0.85), rgba(43,15,58,0.78));
  z-index:-1;
}

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

/* premium hover */
.premium-hover{
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.premium-hover:hover{
  transform: translateY(-6px);
  box-shadow: var(--shadowStrong);
  border-color: rgba(255,217,138,0.28);
}
.premium-hover:hover .sheen::before{
  transform: translateX(160%);
  opacity: 1;
}

.sheen{
  position: relative;
  overflow: hidden;
  border-radius: inherit;
}
.sheen::before{
  content:"";
  position:absolute;
  top:-30%;
  left:-60%;
  width: 50%;
  height: 160%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.16), transparent);
  transform: translateX(0%);
  opacity: 0;
  transition: transform .55s ease, opacity .35s ease;
  pointer-events:none;
}

/* ============================= */
/*             HEADER            */
/* ============================= */
.site-header{
  position: sticky;
  top: 0;
  z-index: 999;
  width: 100%;
  background: linear-gradient(90deg, var(--vio0) 0%, var(--vio1) 35%, var(--vio2) 65%, var(--vio3) 100%);
  box-shadow: 0 10px 40px rgba(0,0,0,0.35);
  border-bottom: 1px solid rgba(255,217,138,0.10);

  overflow: hidden;      /* важно: чтобы блики не “вылазили” */
}

.site-header::before{
  content:"";
  position:absolute;
  inset:0;
  background:
    radial-gradient(circle at 18% 50%, rgba(255,190,90,0.18), transparent 60%),
    radial-gradient(circle at 85% 50%, rgba(255,170,60,0.12), transparent 65%);
  pointer-events:none;
  z-index: 0;
}

/* header-inner теперь просто слой контента */
.header-inner{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap: 16px;
  padding: 14px 0;
  position: relative;
  z-index: 1;
}

/* ВАЖНО: это удалить/закомментить */
.header-inner::before{ display:none; }

.brand{
  display:flex;
  align-items:center;
  gap: 10px;
  font-weight: 800;
  letter-spacing: 0.4px;
  color: var(--gold1);
  text-transform: uppercase;
  font-size: 14px;
  position: relative;
  z-index: 1;
}
.brand-badge{
  width: 28px;
  height: 28px;
  border-radius: 10px;
  background: linear-gradient(135deg, rgba(255,184,77,0.95), rgba(124,43,130,0.95));
  box-shadow: 0 0 18px rgba(255,184,77,0.28);
  display:grid;
  place-items:center;
}
.brand-badge span{
  width: 14px;
  height: 14px;
  border-radius: 5px;
  background: rgba(20,8,31,0.75);
  border: 1px solid rgba(255,217,138,0.35);
}

/* nav */
.nav-desktop{
  display:flex;
  align-items:center;
  gap: 22px;
  position: relative;
  z-index: 1;
}
.nav-desktop a{
  color: #f5c96a;
  font-weight: 650;
  font-size: 14px;
  padding: 8px 10px;
  border-radius: 10px;
  transition: .25s ease;
  border: 1px solid transparent;
}
.nav-desktop a:hover{
  color: #fff;
  text-shadow: 0 0 12px rgba(255,190,90,0.65);
  background: rgba(255,217,138,0.08);
  border-color: rgba(255,217,138,0.10);
}
.nav-desktop a.active{
  background: rgba(255,217,138,0.12);
  border-color: rgba(255,217,138,0.18);
  color: #fff;
}

/* actions */
.header-actions{
  display:flex;
  align-items:center;
  gap: 10px;
  position: relative;
  z-index: 1;
}

/* ============================= */
/*            BUTTONS            */
/* ============================= */
.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap: 10px;
  padding: 11px 16px;
  border-radius: 12px;
  font-weight: 750;
  font-size: 14px;
  cursor:pointer;
  border: 1px solid transparent;
  transition: transform .2s ease, box-shadow .2s ease, filter .2s ease, background .2s ease, border-color .2s ease;
  user-select: none;
  white-space: nowrap;
}
.btn:active{ transform: translateY(1px); }

.btn-ghost{
  background: rgba(20,8,31,0.28);
  border-color: rgba(255,217,138,0.14);
  color: #f5c96a;
}
.btn-ghost:hover{
  background: rgba(255,217,138,0.10);
  border-color: rgba(255,217,138,0.24);
  box-shadow: 0 0 22px rgba(255,184,77,0.18);
}

.btn-gold{
  background: linear-gradient(90deg, var(--gold0), var(--gold1));
  color: #2b0f3a;
  box-shadow: 0 0 26px rgba(255,190,90,0.35);
}
.btn-gold:hover{
  filter: brightness(1.02);
  box-shadow: 0 0 36px rgba(255,190,90,0.55);
  transform: translateY(-2px);
}

.btn-violet{
  background: linear-gradient(90deg, var(--vio2), var(--vio3));
  color: #fff;
  box-shadow: 0 0 26px rgba(124,43,130,0.28);
  border-color: rgba(255,217,138,0.10);
}
.btn-violet:hover{
  box-shadow: 0 0 38px rgba(124,43,130,0.45);
  transform: translateY(-2px);
}

.btn-twich {
  background-color: #A544FF;
}
.btn-twich:hover{
  box-shadow: 0 0 38px rgba(192, 66, 201, 0.45);
  transform: translateY(-2px);
}


/* ============================= */
/*     BURGER + FULLSCREEN MENU  */
/* ============================= */
.burger{
  display: none;
  width: 44px;
  height: 44px;
  border-radius: 14px;
  border: 1px solid rgba(255,217,138,0.14);
  background: rgba(20,8,31,0.28);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  position: relative;
  z-index: 1001;
  cursor: pointer;
  transition: .2s ease;
}
.burger:hover{
  border-color: rgba(255,217,138,0.28);
  box-shadow: 0 0 22px rgba(255,184,77,0.16);
  transform: translateY(-1px);
}
.burger span{
  position: absolute;
  left: 11px;
  right: 11px;
  height: 2px;
  border-radius: 99px;
  background: linear-gradient(90deg, var(--gold1), var(--gold0));
  box-shadow: 0 0 12px rgba(255,190,90,0.22);
  transition: transform .22s ease, top .22s ease, opacity .18s ease;
}
.burger span:nth-child(1){ top: 14px; }
.burger span:nth-child(2){ top: 21px; }
.burger span:nth-child(3){ top: 28px; }

/* превращаем в X */
.is-menu-open .burger span:nth-child(1){ top: 21px; transform: rotate(45deg); }
.is-menu-open .burger span:nth-child(2){ opacity: 0; }
.is-menu-open .burger span:nth-child(3){ top: 21px; transform: rotate(-45deg); }

.mobile-menu{
  position: fixed;
  inset: 0;
  z-index: 99999; /* было 2000 */
  display: none;
  padding: 16px;
}
.is-menu-open .mobile-menu{ display: block; }

.mobile-menu::before{
  content:"";
  position:absolute;
  inset:0;
  background:
    radial-gradient(circle at 25% 20%, rgba(255,190,90,0.18), transparent 55%),
    radial-gradient(circle at 85% 60%, rgba(124,43,130,0.25), transparent 60%),
    linear-gradient(180deg, rgba(20,8,31,0.72), rgba(20,8,31,0.92));
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.mobile-menu__panel{
  position: relative;
  max-width: 680px;
  margin: 0 auto;
  height: calc(100dvh - 32px);
  padding: 18px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.mobile-menu__top{
  display:flex;
  align-items:center;
  justify-content: space-between;
  gap: 12px;
}

.mobile-close{
  width: 44px;
  height: 44px;
  border-radius: 14px;
  border: 1px solid rgba(255,217,138,0.18);
  background: rgba(255,217,138,0.08);
  color: rgba(255,255,255,0.92);
  font-weight: 900;
  cursor: pointer;
  transition: .2s ease;
}
.mobile-close:hover{
  box-shadow: 0 0 26px rgba(255,190,90,0.16);
  transform: translateY(-1px);
}

.mobile-menu__links{
  display: grid;
  gap: 12px;
  margin-top: 18px;
}
.mobile-menu__links a{
  padding: 14px 14px;
  border-radius: 16px;
  border: 1px solid rgba(255,217,138,0.14);
  background: rgba(20,8,31,0.28);
  font-weight: 850;
  letter-spacing: 0.2px;
  color: rgba(255,255,255,0.92);
  transition: .22s ease;
}
.mobile-menu__links a:hover{
  border-color: rgba(255,217,138,0.28);
  box-shadow: 0 0 28px rgba(255,190,90,0.14);
  transform: translateY(-2px);
}

.mobile-menu__actions{
  display: grid;
  gap: 10px;
  margin-top: 14px;
}
.mobile-menu__actions .btn{
  width: 100%;
  justify-content: center;
  padding: 14px 16px;
  border-radius: 16px;
}

.tiny{
  font-size: 12px;
  color: rgba(255,255,255,0.66);
  line-height: 1.5;
}

/* lock scroll */
.no-scroll{ overflow: hidden; }

/* ============================= */
/*             HERO              */
/* ============================= */
.hero{
  position: relative;
  padding: 70px 0 40px;
}
.hero-bg{
  position:absolute;
  inset:0;
  background: url("../img/hero.jpg");
  background-size: cover;
  background-position: center;
  filter: saturate(1.05) contrast(1.05);
  z-index:-2;
}
.hero::after{
  content:"";
  position:absolute;
  inset:0;
  background: transparent; /* ✅ убрали второй градиент */
  z-index:-1;
}
.hero-grid{
  display:grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 22px;
  align-items: center;
}
.hero-title{
  font-size: clamp(30px, 5vw, 54px);
  line-height: 1.05;
  margin: 0;
  letter-spacing: -0.5px;
}
.hero-title .grad{
  background: linear-gradient(90deg, var(--gold1), var(--gold0));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-shadow: 0 0 16px rgba(255,190,90,0.15);
}
.hero-sub{
  color: var(--muted);
  font-size: 16px;
  line-height: 1.6;
  max-width: 58ch;
}
.hero-cta{
  display:flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 18px;
}
.hero-side{ padding: 18px; }
.hero-side__row{ display:flex; justify-content:space-between; gap:12px; align-items:center; }
.hero-side__title{ font-weight: 900; color: rgba(255,255,255,0.92); }
.hero-side__desc{ color: rgba(255,255,255,0.72); font-size: 13px; line-height: 1.6; }

.kpi{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 12px;
}
.kpi .box{
  border-radius: 14px;
  border: 1px solid rgba(255,217,138,0.14);
  background: rgba(20,8,31,0.35);
  padding: 12px;
}
.kpi .n{
  font-weight: 900;
  font-size: 20px;
  color: var(--gold1);
}
.kpi .t{
  font-size: 12px;
  color: rgba(255,255,255,0.78);
}

.pill{
  padding: 5px 9px;
  border-radius: 999px;
  border: 1px solid rgba(255,217,138,0.14);
  background: rgba(20,8,31,0.35);
  color: rgba(255,255,255,0.85);
  font-size: 12px;
  white-space: nowrap;
}
.online{
  display:inline-flex;
  align-items:center;
  gap: 8px;
}
.offline{
  display:inline-flex;
  align-items:center;
  gap: 8px;
}
.online .g{
  width: 8px; height: 8px; border-radius: 50%;
  background: #38ff8a;
  box-shadow: 0 0 14px rgba(56,255,138,0.35);
}
.offline .g{
  width: 8px; height: 8px; border-radius: 50%;
  background: #ff3863;
  box-shadow: 0 0 14px rgba(56,255,138,0.35);
}

/* banner */
.banner{ margin-top: 22px; padding: 18px; }
.banner-grid{
  display:grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 18px;
  align-items:center;
}
.banner h2{
  margin: 0;
  font-size: 18px;
  color: rgba(255,255,255,0.92);
  font-weight: 800;
  letter-spacing: 0.2px;
}
.prize{
  font-size: 44px;
  line-height: 1;
  font-weight: 950;
  letter-spacing: -1px;
  background: linear-gradient(90deg, var(--gold1), var(--gold0));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin: 8px 0 0;
  text-shadow: 0 0 18px rgba(255,190,90,0.10);
}
.banner-meta{
  display:flex;
  align-items:center;
  gap: 10px;
  margin-top: 10px;
  color: rgba(255,255,255,0.78);
  font-size: 13px;
}
.dot{
  width: 6px; height: 6px;
  border-radius: 50%;
  background: rgba(255,217,138,0.8);
  box-shadow: 0 0 10px rgba(255,190,90,0.55);
}
.banner-actions{
  display:flex;
  gap: 10px;
  justify-content: flex-end;
  flex-wrap: wrap;
}

/* features */
.features{
  margin-top: 18px;
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
.feature{ padding: 16px; }
.feature .icon{
  width: 42px;
  height: 42px;
  border-radius: 14px;
  border: 1px solid rgba(255,217,138,0.18);
  background: rgba(20,8,31,0.35);
  display:grid;
  place-items:center;
  box-shadow: 0 0 18px rgba(255,184,77,0.12);
}
.feature .icon svg{ width: 22px; height: 22px; opacity: 0.95; }
.feature h3{
  margin: 10px 0 6px;
  font-size: 14px;
  color: var(--gold1);
  letter-spacing: 0.2px;
}
.feature p{
  margin: 0;
  font-size: 12.8px;
  color: rgba(255,255,255,0.78);
  line-height: 1.55;
}

/* sections */
.section{ padding: 34px 0; }
.section-title{
  text-align:center;
  margin: 0 0 16px;
  font-size: 22px;
  color: var(--gold1);
  letter-spacing: 0.3px;
}
.section-sub{
  text-align:center;
  margin: 0 auto 18px;
  color: rgba(255,255,255,0.72);
  max-width: 72ch;
  font-size: 14px;
  line-height: 1.6;
}

/* cards */
.cards{
  display:grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}
.card{
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid rgba(255,217,138,0.14);
  background: linear-gradient(180deg, rgba(43,15,58,0.78), rgba(29,11,46,0.78));
}
.thumb{
  height: 110px;
  background-size: cover;
  background-position: center;
  background-image:
    linear-gradient(180deg, rgba(20,8,31,0.10), rgba(20,8,31,0.75)),
    radial-gradient(circle at 30% 30%, rgba(255,190,90,0.12), transparent 55%),
    url("../img/tornamens-first-5.png");
}
.thumb.t2{ background-image:
  linear-gradient(180deg, rgba(20,8,31,0.10), rgba(20,8,31,0.75)),
  radial-gradient(circle at 30% 30%, rgba(255,190,90,0.12), transparent 55%),
  url("../img/tornamens-city-1.png");
}
.thumb.t3{ background-image:
  linear-gradient(180deg, rgba(20,8,31,0.10), rgba(20,8,31,0.75)),
  radial-gradient(circle at 30% 30%, rgba(255,190,90,0.12), transparent 55%),
  url("https://images.unsplash.com/photo-1598550476439-6847785fcea6?auto=format&fit=crop&w=1200&q=60");
}
.thumb.t4{ background-image:
  linear-gradient(180deg, rgba(20,8,31,0.10), rgba(20,8,31,0.75)),
  radial-gradient(circle at 30% 30%, rgba(255,190,90,0.12), transparent 55%),
  url("https://images.unsplash.com/photo-1511512578047-dfb367046420?auto=format&fit=crop&w=1200&q=60");
}

.content{ padding: 14px; }
.card h4{
  margin: 0 0 8px;
  font-size: 14px;
  color: rgba(255,255,255,0.92);
  letter-spacing: 0.2px;
}
.meta{
  display:flex;
  flex-direction: column;
  gap: 8px;
  color: rgba(255,255,255,0.70);
  font-size: 12.5px;
}
.row{
  display:flex;
  align-items:center;
  justify-content: space-between;
  gap: 10px;
}
.section-actions{
  display:flex;
  justify-content:center;
  margin-top: 16px;
}

/* payment + form */
.pay-grid{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  align-items: start;
  margin-top: 14px;
}
.pay-card, .form-card{ padding: 18px; }

.pay-title{
  display:flex;
  align-items:center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 10px;
}
.pay-title h3{
  margin: 0;
  font-size: 16px;
  color: var(--gold1);
  letter-spacing: 0.2px;
}
.secure-badge{
  display:inline-flex;
  align-items:center;
  gap: 8px;
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid rgba(255,217,138,0.16);
  background: rgba(20,8,31,0.35);
  color: rgba(255,255,255,0.78);
  font-size: 12px;
  white-space: nowrap;
}
.secure-badge .lock{
  width: 10px; height: 10px;
  border-radius: 3px;
  background: rgba(255,217,138,0.85);
  box-shadow: 0 0 12px rgba(255,190,90,0.35);
}
.pay-options{
  display:grid;
  grid-template-columns: 1fr;
  gap: 10px;
  margin-top: 12px;
}
.option{
  border-radius: 14px;
  border: 1px solid rgba(255,217,138,0.14);
  background: rgba(20,8,31,0.35);
  padding: 12px;
  display:flex;
  align-items:center;
  justify-content: space-between;
  gap: 12px;
  transition: .25s ease;
}
.option:hover{
  border-color: rgba(255,217,138,0.26);
  box-shadow: 0 0 26px rgba(255,190,90,0.14);
  transform: translateY(-2px);
}
.option .left{
  display:flex;
  gap: 12px;
  align-items:center;
}
.logo-mini{
  width: 44px; height: 34px;
  border-radius: 12px;
  border: 1px solid rgba(255,217,138,0.16);
  background: linear-gradient(135deg, rgba(255,184,77,0.25), rgba(124,43,130,0.25));
  display:grid;
  place-items:center;
  color: rgba(255,255,255,0.9);
  font-weight: 900;
  letter-spacing: 0.2px;
  font-size: 12px;
}
.option .name{
  display:flex;
  flex-direction: column;
  gap: 3px;
}
.option .name b{ font-size: 13px; color: rgba(255,255,255,0.92); }
.option .name span{ font-size: 12px; color: rgba(255,255,255,0.70); }
.price{
  font-weight: 900;
  color: var(--gold1);
  text-shadow: 0 0 12px rgba(255,190,90,0.15);
  white-space: nowrap;
}
.pay-note{
  margin-top: 10px;
  color: rgba(255,255,255,0.72);
  font-size: 13px;
  line-height: 1.6;
}
.divider{
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,217,138,0.18), transparent);
  margin: 18px 0;
}
.pay-bottom{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
  align-items:center;
  justify-content: space-between;
}

/* form */
.form-title{
  display:flex;
  align-items:flex-end;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 10px;
}
.form-title h3{
  margin: 0;
  font-size: 16px;
  color: var(--gold1);
  letter-spacing: 0.2px;
}
.form-title p{
  margin: 0;
  font-size: 12px;
  color: rgba(255,255,255,0.70);
}
.register-form{ display:grid; gap: 10px; margin-top: 12px; }
.grid-2{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.field{ display:flex; flex-direction: column; gap: 6px; }
label{
  font-size: 12px;
  color: rgba(255,255,255,0.78);
}
input, select{
  width: 100%;
  padding: 12px 12px;
  border-radius: 12px;
  border: 1px solid rgba(255,217,138,0.14);
  outline: none;
  background: rgba(20,8,31,0.40);
  color: rgba(255,255,255,0.92);
  transition: .2s ease;
}
input::placeholder{ color: rgba(255,255,255,0.40); }
input:focus, select:focus{
  border-color: rgba(255,217,138,0.32);
  box-shadow: 0 0 24px rgba(255,190,90,0.16);
}
.form-actions{
  display:flex;
  gap: 10px;
  flex-wrap: wrap;
  align-items:center;
  justify-content: space-between;
  margin-top: 4px;
}
.form-buttons{
  display:flex;
  gap: 10px;
  flex-wrap: wrap;
}

/* footer */
.footer{
  padding: 30px 0 50px;
  border-top: 1px solid rgba(255,217,138,0.10);
  margin-top: 26px;
  background: linear-gradient(90deg, rgba(30,11,46,0.45), rgba(43,15,58,0.35));
}
.footer-grid{
  display:flex;
  gap: 14px;
  justify-content: space-between;
  align-items:center;
  flex-wrap: wrap;
  color: rgba(255,255,255,0.68);
  font-size: 13px;
}

@media (max-width: 860px) {
  .footer-grid{
    flex-direction: column;
  }
}

.footer-links{
  display:flex;
  gap: 16px;
  flex-wrap: wrap;
}
.footer-links a{ color: rgba(255,217,138,0.85); }
.footer-links a:hover{
  color: #fff;
  text-shadow: 0 0 12px rgba(255,190,90,0.50);
}

/* ============================= */
/*           RESPONSIVE          */
/* ============================= */
@media (max-width: 980px){
  .hero-grid{ grid-template-columns: 1fr; }
  .cards{ grid-template-columns: repeat(2, 1fr); }
  .features{ grid-template-columns: 1fr; }
  .banner-grid{ grid-template-columns: 1fr; }
  .banner-actions{ justify-content: flex-start; }
  .pay-grid{ grid-template-columns: 1fr; }

  .nav-desktop{ display: none; }
  .header-actions-desktop{ display: none; }
  .burger{ display: inline-flex; }
}

@media (max-width: 520px){
  .grid-2{ grid-template-columns: 1fr; }
  .cards{ grid-template-columns: 1fr; }
}

/* ============================= */
/*          AUTH PAGES           */
/* ============================= */
.auth-page{
  padding: 34px 0 50px;
  position: relative;
}

.auth-grid{
  display:grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 14px;
  align-items: stretch;
}

.auth-promo{ padding: 18px; }
.auth-promo__inner{ height: 100%; display:flex; flex-direction: column; justify-content: space-between; gap: 14px; }

.auth-title{
  margin: 0;
  font-size: clamp(28px, 4.2vw, 44px);
  line-height: 1.05;
  letter-spacing: -0.5px;
  background: linear-gradient(90deg, var(--gold1), var(--gold0));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.auth-sub{
  margin: 0;
  color: rgba(255,255,255,0.76);
  line-height: 1.6;
  max-width: 60ch;
}

.auth-badges{
  display:grid;
  gap: 10px;
  margin-top: 6px;
}
.auth-badge{
  display:flex;
  align-items:center;
  gap: 10px;
  padding: 12px 12px;
  border-radius: 16px;
  border: 1px solid rgba(255,217,138,0.14);
  background: rgba(20,8,31,0.28);
  color: rgba(255,255,255,0.86);
  font-weight: 750;
}
.auth-promo__hint{ margin-top: 8px; }

.auth-card{ padding: 18px; }
.auth-card__top{
  display:flex;
  align-items:flex-end;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 10px;
}
.auth-card__top h2{
  margin: 0;
  font-size: 18px;
  color: var(--gold1);
  letter-spacing: 0.2px;
}

.auth-form{
  display:grid;
  gap: 10px;
  margin-top: 12px;
}

.auth-row{
  display:flex;
  align-items:center;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
}

.auth-check{
  display:flex;
  align-items:center;
  gap: 10px;
  user-select: none;
  cursor: pointer;
  color: rgba(255,255,255,0.78);
  font-size: 12.5px;
}
.auth-check input{
  width: 16px;
  height: 16px;
  accent-color: #ffd98a;
}

.auth-link{
  color: rgba(255,217,138,0.9);
  font-weight: 800;
}
.auth-link:hover{
  color: #fff;
  text-shadow: 0 0 12px rgba(255,190,90,0.50);
}

.auth-submit{
  width: 100%;
  padding: 14px 16px;
  border-radius: 16px;
}

.auth-bottom{
  text-align:center;
}

@media (max-width: 980px){
  .auth-grid{ grid-template-columns: 1fr; }
}
/* ============================= */
/*     IL PHONE (FIXED +972)     */
/* ============================= */

.field-hint{
  margin-top: 6px;
  color: rgba(255,255,255,0.62);
}

.phone-il{
  display:flex;
  align-items: stretch;
  gap: 0;
  border-radius: 16px;
  border: 1px solid rgba(255,217,138,0.16);
  background: rgba(20,8,31,0.40);
  overflow: hidden;
  position: relative;
  transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}

/* premium sheen */
.phone-il::before{
  content:"";
  position:absolute;
  inset:0;
  background: radial-gradient(circle at 25% 30%, rgba(255,217,138,0.10), transparent 55%);
  pointer-events:none;
}

/* focus ring like Stripe */
.phone-il:focus-within{
  border-color: rgba(255,217,138,0.34);
  box-shadow: 0 0 0 3px rgba(255,190,90,0.10), 0 0 26px rgba(255,190,90,0.14);
  transform: translateY(-1px);
}

.phone-il__prefix{
  display:flex;
  align-items:center;
  gap: 8px;
  padding: 12px 12px;
  min-width: 118px;
  font-weight: 900;
  letter-spacing: 0.2px;
  color: rgba(255,255,255,0.92);

  background: linear-gradient(180deg, rgba(255,255,255,0.06), rgba(255,255,255,0.02));
  border-right: 1px solid rgba(255,217,138,0.12);
  user-select: none;
}

.phone-il__input{
  flex: 1;
  border: 0 !important;
  outline: none;
  background: transparent;
  color: rgba(255,255,255,0.92);
  padding: 12px 12px;
  font-weight: 650;
  letter-spacing: 0.2px;
  border-radius: 0;
}

.phone-il__input::placeholder{
  color: rgba(255,255,255,0.40);
}

.phone-il:hover{
  border-color: rgba(255,217,138,0.24);
  box-shadow: 0 0 18px rgba(255,184,77,0.10);
}

@media (max-width: 520px){
  .phone-il__prefix{ min-width: 108px; }
}
#recaptcha-container{
  margin-top: 10px;
  transform: scale(.92);
  transform-origin: left top;
  filter: saturate(.9);
}

.sort-th {
  cursor: pointer;
  user-select: none;
  white-space: nowrap;
}

.sort-arrow {
  display: inline-block;
  margin-left: 6px;
  opacity: .85;
  font-size: 12px;
  transform: translateY(-1px);
}

.sort-th:hover .sort-arrow {
  opacity: 1;
}

.fx-canvas{
  width: 100%;
  height: 100%;
  display: block;
}

/* вариант “на весь сайт” */
.fx-canvas--full{
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  z-index: 0;            /* поставь ниже контента */
  pointer-events: none;
}

/* чтобы контент был выше (если надо) */
.site-header, main{
  position: relative;
  z-index: 1;
}

.about-hero-right_buttons-container {
  display: flex;
  justify-content: space-between;
  gap: 20px;
}

.footer-socialmedia {
  position: relative;
  display: flex;
  gap: 20px;
}

.twich-btn {
  position: absolute;
  width: 40px;
  top: -5px;

}

.telegram-btn {
  width: 35px;
}

/* ===== ADMIN INLINE EDIT ===== */
.admin-input{
  width: 100%;
  max-width: 280px;
  padding: 8px 10px;
  border-radius: 10px;
  border: 1px solid rgba(255,255,255,.18);
  background: rgba(0,0,0,.25);
  color: #fff;
}
.admin-input:focus{
  border-color: rgba(255,217,138,0.32);
  box-shadow: 0 0 18px rgba(255,190,90,0.16);
  outline: none;
}

/* intl-tel-input fix */
.iti { width: 100%; }
.iti__country-list { z-index: 99999; } /* чтобы список был поверх всего */
.iti__dropdown-content { z-index: 99999; }

/* ===== intl-tel-input FIX for dark theme ===== */

/* Открытый список стран */
.iti__country-list {
  background: #ffffff !important;
  color: #000000 !important;
}

/* Обычные элементы списка */
.iti__country {
  color: #000000 !important;
}

/* При наведении */
.iti__country:hover {
  background-color: #f2f2f2 !important;
}

/* Выбранная страна */
.iti__country.iti__highlight {
  background-color: #e6e6e6 !important;
}

/* Поле поиска страны */
.iti__search-input {
  color: #000 !important;
  background: #fff !important;
}

/* Текст в верхней части (selected country) */
.iti__selected-flag {
  color: #000 !important;
}

/* Фикс z-index (если меню перекрывается) */
.iti__country-list {
  z-index: 99999 !important;
}

textarea{
  width: 100%;
  padding: 12px 12px;
  border-radius: 12px;
  border: 1px solid rgba(255,217,138,0.14);
  outline: none;
  background: rgba(20,8,31,0.40);
  color: rgba(255,255,255,0.92);
  transition: .2s ease;
  resize: vertical;
  min-height: 140px;
}

textarea:focus{
  border-color: rgba(255,217,138,0.32);
  box-shadow: 0 0 24px rgba(255,190,90,0.16);
}