/* ---------- Tokens ---------- */
:root {
  --bg: #08060d;
  --bg-1: #0d0a18;
  --bg-2: #14102a;
  --bg-card: #15102b;
  --bg-card-2: #1b1539;
  --line: rgba(255, 255, 255, 0.06);
  --line-strong: rgba(255, 255, 255, 0.12);

  --ink: #ffffff;
  --ink-dim: #c8c2dc;
  --ink-mute: #8a83a8;
  --ink-faint: #555072;

  --violet: #b66cff;
  --violet-2: #8a3df0;
  --violet-deep: #4c1d95;
  --pink: #ff5fb3;
  --magenta: #d637c4;
  --blue: #3a6bff;
  --blue-2: #6a8bff;
  --gold: #ffd066;

  --radius: 14px;
  --radius-lg: 20px;
  --container: 1280px;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  background: var(--bg);
  color: var(--ink);
  font-family: "Poppins", system-ui, sans-serif;
  font-size: 14px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { display: block; max-width: 100%; }
button { font-family: inherit; cursor: pointer; border: 0; background: none; color: inherit; }
a { color: inherit; text-decoration: none; }

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 32px;
}

/* ---------- Page bg accents ---------- */
.page {
  position: relative;
  overflow-x: clip;
  isolation: isolate;
}
.page::before, .page::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
  pointer-events: none;
  z-index: -1;
  opacity: .55;
}
.page::before {
  top: -120px; left: -200px;
  width: 700px; height: 700px;
  background: radial-gradient(closest-side, rgba(140,60,240,.55), transparent 70%);
}
.page::after {
  top: 600px; right: -200px;
  width: 600px; height: 600px;
  background: radial-gradient(closest-side, rgba(255,80,180,.35), transparent 70%);
}

/* ---------- Header ---------- */
.header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: #1E1E24;
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.header__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}
.header__right {
  display: flex;
  align-items: center;
  gap: 16px;
}
.flag {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 0 1px rgba(255,255,255,.08);
}
.flag img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  user-select: none;
  -webkit-user-drag: none;
}
.btn-register {
  background: linear-gradient(135deg, #4f7bff, #6a44ff);
  color: #fff;
  font-weight: 700;
  font-size: 12.5px;
  letter-spacing: .08em;
  padding: 11px 22px;
  border-radius: 999px;
  box-shadow: 0 8px 24px rgba(106,68,255,.45), inset 0 1px 0 rgba(255,255,255,.25);
  transition: transform .15s ease, box-shadow .2s ease;
}
.btn-register:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 28px rgba(106,68,255,.65), inset 0 1px 0 rgba(255,255,255,.3);
}

.nav {
  border-top: 1px solid var(--line);
  background: rgba(13, 10, 24, 0.6);
}
.nav__inner {
  display: flex;
  justify-content: center;
  gap: 8px;
  height: 56px;
  align-items: center;
}
.nav__item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 22px;
  font-size: 14px;
  font-weight: 500;
  color: var(--ink-dim);
  border-radius: 999px;
  transition: color .15s ease, background .15s ease;
}
.nav__item:hover { color: var(--ink); }
.nav__item.is-active {
  color: var(--violet);
  font-weight: 600;
}
.nav__chev {
  width: 10px; height: 10px;
  opacity: .7;
}

/* ---------- Logo ---------- */
.logo {
  display: inline-flex;
  align-items: center;
  line-height: 0;
}
.logo__img {
  height: 38px;
  width: auto;
  display: block;
  filter: drop-shadow(0 2px 10px rgba(168, 85, 247, 0.35));
  user-select: none;
  -webkit-user-drag: none;
}
.info-card__head .logo__img { height: 32px; }
.logo--md .logo__img { height: 48px; }
.logo--lg .logo__img { height: 72px; }
.logo--xl .logo__img { height: 92px; }

/* ---------- Hero (Sponsorship banner) ---------- */
.hero {
  position: relative;
  width: 100%;
  line-height: 0;
  background: #06030d;
  border-bottom: 1px solid var(--line);
}
.hero__img {
  display: block;
  width: 100%;
  height: auto;
  user-select: none;
  -webkit-user-drag: none;
}

/* ---------- Section block ---------- */
.section {
  padding: 56px 0;
}
.section--tight { padding: 36px 0; }

/* ---------- Partnership banner (image) ---------- */
.partner-banner {
  width: 100%;
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  overflow: hidden;
  line-height: 0;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.55), 0 0 0 1px rgba(255, 255, 255, 0.06);
}
.partner-banner img {
  display: block;
  width: 100%;
  height: auto;
  user-select: none;
  -webkit-user-drag: none;
}

/* ---------- Partnership featured card (legacy, unused) ---------- */
.partner-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 16 / 8;
  background:
    radial-gradient(ellipse 60% 100% at 80% 60%, rgba(180,40,80,.55), transparent 60%),
    radial-gradient(ellipse 70% 100% at 15% 50%, rgba(80,40,180,.55), transparent 65%),
    linear-gradient(135deg, #1a0d2e 0%, #0c0820 100%);
  box-shadow: 0 30px 80px rgba(0,0,0,.55), inset 0 0 0 1px rgba(255,255,255,.06);
}
.partner-card__streaks {
  position: absolute; inset: 0;
  background:
    repeating-linear-gradient(115deg,
      rgba(255,255,255,0) 0,
      rgba(255,255,255,0) 30px,
      rgba(255,80,160,.06) 30px,
      rgba(255,80,160,.06) 60px);
  mix-blend-mode: screen;
  opacity: .8;
}
.partner-card__left {
  position: absolute;
  top: 44px;
  left: 56px;
  max-width: 46%;
  z-index: 2;
}
.partner-card__brands {
  display: flex; align-items: center; gap: 20px;
  margin-bottom: 18px;
}
.partner-card__brand-x {
  font-size: 26px; color: var(--ink-mute); font-weight: 300;
}
.partner-card__title {
  font-family: "Rajdhani", sans-serif;
  font-weight: 700;
  font-style: italic;
  font-size: 56px;
  line-height: 1.02;
  letter-spacing: 0.01em;
  text-shadow: 0 4px 24px rgba(0,0,0,.7);
  margin: 0 0 10px;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.partner-card__title-row {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  line-height: 1;
}
.partner-card__title em {
  font-style: italic;
  background: linear-gradient(180deg, #e3b8ff, #a258ff 60%, #6a1fcf);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.partner-card__cross {
  display: inline-flex;
  align-items: center;
  color: var(--ink);
  font-size: 44px;
  font-style: normal;
  font-weight: 300;
  line-height: 1;
  opacity: .9;
}
.partner-card__sub {
  margin-top: 14px;
  font-family: "Rajdhani", sans-serif;
  font-weight: 600;
  letter-spacing: 0.2em;
  font-size: 16px;
  background: linear-gradient(90deg, #ffd066, #ffa64b);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.partner-card__year {
  font-family: "Rajdhani", sans-serif;
  font-weight: 700;
  font-style: italic;
  font-size: 44px;
  line-height: 1;
  margin: 4px 0 0;
  text-shadow: 0 4px 22px rgba(0,0,0,.6);
}
.partner-card__tag {
  margin-top: 14px;
  font-family: "Rajdhani", sans-serif;
  font-size: 15px;
  letter-spacing: 0.32em;
  color: var(--ink-dim);
}
.partner-card__right {
  position: absolute;
  inset: 0 0 0 50%;
  background:
    radial-gradient(ellipse 80% 70% at 50% 60%, rgba(190,40,90,.7), rgba(60,20,120,.3) 60%, transparent 75%);
}
.partner-card__photo {
  position: absolute;
  inset: 4% 4% 18% 50%;
  border-radius: 12px;
  background: linear-gradient(135deg, #2a1247, #4a1d6b 60%, #6b1d50);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.partner-card__photo::after {
  content: "";
  position: absolute; inset: 0;
  background: repeating-linear-gradient(90deg, rgba(255,255,255,.03) 0 14px, transparent 14px 28px);
}
.placeholder-label {
  position: relative;
  z-index: 2;
  font-family: "JetBrains Mono", monospace;
  font-size: 12px;
  color: rgba(255,255,255,.55);
  letter-spacing: 0.08em;
  text-align: center;
  padding: 8px 14px;
  background: rgba(0,0,0,.35);
  border: 1px dashed rgba(255,255,255,.18);
  border-radius: 6px;
}

.partner-card__footer {
  position: absolute;
  left: 8%; right: 4%; bottom: 22px;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 0;
  padding: 14px 22px;
  background: linear-gradient(90deg, rgba(80,30,170,.55), rgba(160,40,140,.55));
  border: 1px solid rgba(255,255,255,.15);
  border-radius: 10px;
  box-shadow: 0 10px 28px rgba(0,0,0,.45);
  backdrop-filter: blur(6px);
}
.partner-stat {
  display: flex; align-items: center; gap: 14px;
  padding: 0 18px;
  border-right: 1px solid rgba(255,255,255,.15);
}
.partner-stat:last-child { border-right: 0; }
.partner-stat__icon {
  width: 32px; height: 32px;
  display: grid; place-items: center;
  color: #fff;
  opacity: .9;
}
.partner-stat__label {
  font-family: "Rajdhani", sans-serif;
  font-weight: 700;
  letter-spacing: 0.12em;
  font-size: 12px;
  line-height: 1.25;
  color: var(--ink-dim);
}
.partner-stat__label strong { display: block; color: #fff; font-size: 13px; }

/* ---------- Carousel ---------- */
.carousel {
  position: relative;
  margin-top: 28px;
}
.carousel__track {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.thumb {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  aspect-ratio: 16 / 7.2;
  background: linear-gradient(135deg, #1a0d2e 0%, #0c0820 100%);
  border: 1px solid rgba(255,255,255,.08);
  cursor: pointer;
  transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}
.thumb__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  user-select: none;
  -webkit-user-drag: none;
}
.thumb:hover,
.video-thumb:hover {
  transform: translateY(-3px);
  border-color: rgba(168, 85, 247, 0.55);
  box-shadow: 0 14px 30px rgba(106, 68, 255, 0.35);
}
.thumb:hover .thumb__play,
.video-thumb:hover .thumb__play {
  background: rgba(168, 85, 247, 0.7);
  border-color: rgba(255, 255, 255, 0.85);
  transform: scale(1.08);
}
.thumb__play {
  position: absolute;
  inset: 0; margin: auto;
  width: 44px; height: 44px;
  display: grid; place-items: center;
  background: rgba(0,0,0,.55);
  border: 1px solid rgba(255,255,255,.5);
  border-radius: 50%;
  z-index: 3;
  transition: background .18s ease, border-color .18s ease, transform .18s ease;
}
.thumb__play svg { width: 16px; height: 16px; fill: #fff; margin-left: 2px; }
.thumb__label {
  position: absolute;
  left: 12px; bottom: 12px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .04em;
  z-index: 3;
}
.thumb--coming { background: linear-gradient(135deg, #251735, #15102b); }
.thumb--coming .thumb__big {
  position: absolute; inset: 0;
  display: grid; place-items: center;
  font-family: "Rajdhani", sans-serif;
  font-weight: 700;
  font-style: italic;
  font-size: 28px;
  letter-spacing: 0.06em;
  color: #fff;
  text-shadow: 0 2px 12px rgba(0,0,0,.6);
}

.carousel__arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 36px; height: 36px;
  border-radius: 50%;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.15);
  display: grid; place-items: center;
  transition: background .15s ease;
  z-index: 4;
}
.carousel__arrow:hover { background: rgba(168,85,247,.25); }
.carousel__arrow--prev { left: -50px; }
.carousel__arrow--next { right: -50px; }
.carousel__arrow svg { width: 14px; height: 14px; fill: #fff; }

/* ---------- Info card (textual block under cards) ---------- */
.info-card {
  margin-top: 36px;
  padding: 30px 32px 32px;
  border-radius: var(--radius-lg);
  background: #25252B;
  border: 1px solid rgba(255,255,255,.06);
}
.info-card__head {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 14px;
}
.info-card__cross {
  color: var(--ink-mute);
  font-size: 20px;
}
.info-card__crest {
  width: 40px; height: 40px;
  border-radius: 8px;
  background: linear-gradient(135deg, #2a1247, #6b1d50);
  display: grid; place-items: center;
  font-family: "JetBrains Mono", monospace;
  font-size: 9px;
  color: rgba(255,255,255,.7);
  border: 1px dashed rgba(255,255,255,.2);
}
.info-card__crest--img {
  width: 48px;
  height: 48px;
  background: transparent;
  border: 0;
  padding: 0;
}
.info-card__crest--img img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  user-select: none;
  -webkit-user-drag: none;
}
.info-card__kicker {
  font-size: 16px;
  font-weight: 600;
  color: var(--ink);
}
.info-card__title {
  font-size: 24px;
  font-weight: 700;
  letter-spacing: -0.01em;
  margin: 0 0 14px;
  color: #fff;
}
.info-card__body { color: var(--ink-dim); line-height: 1.7; max-width: 100ch; }
/* Combined card: hugs the partner banner above & wraps the carousel + text */
.info-card--combined {
  margin-top: -8px;
  padding-top: 32px;
  border-radius: 0 0 var(--radius-lg) var(--radius-lg);
}
.info-card--combined .carousel--inset,
.info-card--combined .video-row--inset {
  margin: 0 0 28px;
}
.info-card--combined .video-row--inset {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 18px;
}
.info-card__subtitle {
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.16em;
  color: var(--violet);
  margin: 4px 0 10px;
}
.info-card__body p { margin: 0 0 12px; }
.info-card__body strong { color: #fff; }
.info-card__body .brand { color: var(--violet); font-weight: 700; }

/* ---------- Influencer banner (image) ---------- */
.influencer-banner {
  width: 100%;
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  overflow: hidden;
  line-height: 0;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.55), 0 0 0 1px rgba(255, 255, 255, 0.06);
}
.influencer-banner img {
  display: block;
  width: 100%;
  height: auto;
  user-select: none;
  -webkit-user-drag: none;
}

/* ---------- Influencer card (legacy, unused) ---------- */
.influencer-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 16 / 7;
  background:
    radial-gradient(ellipse 50% 80% at 75% 50%, rgba(180,40,150,.55), transparent 65%),
    radial-gradient(ellipse 60% 90% at 25% 70%, rgba(110,40,200,.45), transparent 60%),
    linear-gradient(135deg, #1a0a2a, #0c0518);
  box-shadow: 0 30px 80px rgba(0,0,0,.55), inset 0 0 0 1px rgba(255,255,255,.06);
}
.influencer-card__left {
  position: absolute;
  top: 50%;
  left: 56px;
  transform: translateY(-50%);
  z-index: 3;
  max-width: 46%;
}
.influencer-card__head {
  font-family: "Poppins", sans-serif;
  font-style: italic;
  font-weight: 600;
  font-size: 28px;
  color: #fff;
  margin: 4px 0 6px;
}
.influencer-card__title {
  font-family: "Rajdhani", sans-serif;
  font-style: italic;
  font-weight: 700;
  font-size: 58px;
  line-height: 1;
  margin: 0;
  background: linear-gradient(180deg, #f3d4ff, #c98aff 55%, #8a3df0);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  border-bottom: 4px solid;
  border-image: linear-gradient(90deg, #ff5fb3, #b66cff) 1;
  padding-bottom: 6px;
  display: inline-block;
}
.influencer-card__year {
  font-family: "Rajdhani", sans-serif;
  font-weight: 700;
  font-style: italic;
  font-size: 48px;
  margin-top: 8px;
  color: #fff;
}
.influencer-card__right {
  position: absolute;
  inset: 0 0 0 48%;
  z-index: 2;
}
.portrait-row {
  position: absolute;
  inset: 8% 4% 14% 0;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 10px;
}
.portrait {
  position: relative;
  border-radius: 8px;
  overflow: hidden;
  background: linear-gradient(160deg, #3b1a4d, #6a226b);
  border: 1px solid rgba(255,255,255,.08);
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 6px;
}
.portrait::after {
  content: "";
  position: absolute; inset: 0;
  background: repeating-linear-gradient(0deg, rgba(255,255,255,.03) 0 10px, transparent 10px 20px);
}
.portrait__name {
  position: relative;
  z-index: 2;
  font-family: "Rajdhani", sans-serif;
  font-weight: 700;
  font-style: italic;
  font-size: 16px;
  color: #fff;
  text-shadow: 0 2px 8px rgba(0,0,0,.7);
}
.portrait__signature {
  position: absolute;
  top: 8px; left: 8px; right: 8px;
  font-family: "Brush Script MT", cursive;
  font-size: 18px;
  color: rgba(255,255,255,.7);
  z-index: 2;
  font-style: italic;
}

.video-row {
  margin-top: 18px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  position: relative;
}
.video-thumb {
  position: relative;
  aspect-ratio: 16 / 7.2;
  border-radius: 12px;
  overflow: hidden;
  background: linear-gradient(135deg, #2a1247 0%, #5a1e6b 50%, #1f0b30 100%);
  border: 1px solid rgba(255,255,255,.08);
  cursor: pointer;
  transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}
.video-thumb__bg {
  position: absolute; inset: 0;
  opacity: .35;
  background: repeating-linear-gradient(45deg, rgba(255,255,255,.04) 0 8px, transparent 8px 16px);
}

/* ---------- Why choose ---------- */
.why-card {
  width: 1177px;
  max-width: 100%;
  margin: 0 auto;
  min-height: 441px;
  border-radius: var(--radius-lg);
  padding: 44px 56px;
  background-image:
    linear-gradient(90deg, rgba(8,4,18,.78) 0%, rgba(8,4,18,.55) 45%, rgba(8,4,18,.35) 75%, rgba(8,4,18,.55) 100%),
    url("assets/why-choose-bg.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  border: 1px solid rgba(255,255,255,.08);
  box-shadow: 0 30px 60px rgba(0,0,0,.5);
  position: relative;
  overflow: hidden;
}
.why-card::before {
  content: none;
}
.why-card h3 {
  margin: 0 0 18px;
  font-size: 22px;
  font-weight: 700;
}
.why-card p { color: rgba(255,255,255,.88); margin: 0 0 14px; line-height: 1.75; }
.why-card .brand { color: #fff; font-weight: 800; }

/* ---------- Footer ---------- */
.footer {
  margin-top: 60px;
  border-top: 1px solid var(--line);
  background: rgba(8,6,13,.9);
  padding: 50px 0 28px;
}
.footer__grid {
  display: grid;
  grid-template-columns: 1.2fr 1.2fr 1fr;
  gap: 40px;
  align-items: flex-start;
}
.footer h4 {
  font-size: 14px;
  font-weight: 600;
  margin: 0 0 16px;
  color: #fff;
}
.footer__row {
  display: flex; align-items: center; gap: 18px; flex-wrap: wrap;
}
.badge {
  height: 36px;
  padding: 0 14px;
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 8px;
  display: inline-flex; align-items: center; gap: 8px;
  font-family: "JetBrains Mono", monospace;
  font-size: 11px;
  color: var(--ink-mute);
  letter-spacing: 0.04em;
  cursor: pointer;
  transition: transform .18s ease, color .18s ease, background .18s ease, border-color .18s ease, box-shadow .18s ease;
}
.badge:hover {
  transform: translateY(-2px);
  color: #fff;
  background: rgba(168, 85, 247, 0.18);
  border-color: rgba(168, 85, 247, 0.55);
  box-shadow: 0 10px 24px rgba(106, 68, 255, 0.35);
}

/* Logo-image badge: shows monotone (inactive) by default, full-color (active) on hover */
.logo-badge.has-img {
  position: relative;
  height: 36px;
  padding: 0;
  background: transparent;
  border-color: transparent;
  box-shadow: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
}
.logo-badge--square.has-img { width: 50px; }
.logo-badge--wide.has-img { width: 110px; }
.logo-badge.has-img:hover {
  background: transparent;
  border-color: transparent;
  box-shadow: none;
  transform: translateY(-2px);
}
.logo-badge__img {
  position: absolute;
  inset: 0;
  margin: auto;
  display: block;
  width: 100%;
  height: 100%;
  max-height: 36px;
  object-fit: contain;
  pointer-events: none;
  user-select: none;
  -webkit-user-drag: none;
  transition: opacity .2s ease;
}
.logo-badge__img--inactive { opacity: 1; }
.logo-badge__img--active { opacity: 0; }
.logo-badge:hover .logo-badge__img--inactive { opacity: 0; }
.logo-badge:hover .logo-badge__img--active { opacity: 1; }
.logo-badge__label {
  display: inline-block;
  padding: 0 2px;
}
.social-circle {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: rgba(180, 100, 240, 0.18);
  display: grid; place-items: center;
  color: #fff;
  transition: background .15s ease, transform .15s ease;
}
.social-circle:hover { background: var(--violet-2); transform: translateY(-1px); }
.footer__bottom {
  margin-top: 36px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
  display: flex; justify-content: center;
  color: var(--ink-mute);
  font-size: 12px;
}

/* ---------- Modal ---------- */
.modal-backdrop {
  position: fixed; inset: 0;
  background: rgba(8, 6, 13, 0.85);
  backdrop-filter: blur(8px);
  display: grid; place-items: center;
  z-index: 100;
  padding: 24px;
}
.modal {
  width: 100%;
  max-width: 440px;
  background: linear-gradient(180deg, #1a1233, #0d0a18);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 16px;
  padding: 36px 32px 28px;
  position: relative;
}
.modal__close {
  position: absolute; top: 14px; right: 14px;
  width: 28px; height: 28px; border-radius: 50%;
  background: rgba(255,255,255,.06);
  display: grid; place-items: center;
  color: var(--ink-dim);
}
.modal h2 {
  margin: 0 0 8px;
  font-size: 22px;
}
.modal p { color: var(--ink-mute); font-size: 13px; margin: 0 0 22px; }
.field {
  display: block;
  margin-bottom: 14px;
}
.field label {
  display: block;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: .12em;
  color: var(--ink-mute);
  margin-bottom: 6px;
}
.field input {
  width: 100%;
  height: 44px;
  border-radius: 10px;
  border: 1px solid rgba(255,255,255,.1);
  background: rgba(255,255,255,.04);
  padding: 0 14px;
  color: #fff;
  font-size: 14px;
  font-family: inherit;
  outline: none;
  transition: border-color .15s ease;
}
.field input:focus { border-color: var(--violet); }
.modal__submit {
  width: 100%;
  height: 46px;
  margin-top: 6px;
  border-radius: 999px;
  background: linear-gradient(135deg, #4f7bff, #6a44ff);
  font-weight: 700;
  letter-spacing: .08em;
  color: #fff;
  font-size: 13px;
  transition: transform .15s ease, box-shadow .2s ease;
}
.modal__submit:hover { transform: translateY(-1px); box-shadow: 0 12px 30px rgba(106,68,255,.55); }

/* ---------- Video modal (popup player) ---------- */
.video-modal {
  position: fixed;
  inset: 0;
  background: rgba(4, 2, 10, 0.88);
  backdrop-filter: blur(10px);
  display: grid;
  place-items: center;
  z-index: 120;
  padding: 32px;
  animation: fade-in .18s ease;
}
@keyframes fade-in {
  from { opacity: 0; }
  to   { opacity: 1; }
}
@keyframes pop-in {
  from { opacity: 0; transform: scale(.96); }
  to   { opacity: 1; transform: scale(1); }
}
.video-modal__inner {
  position: relative;
  width: 100%;
  max-width: 1024px;
  animation: pop-in .25s cubic-bezier(.2, .9, .3, 1.1);
}
.video-modal__close {
  position: absolute;
  top: -44px;
  right: 0;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #fff;
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: background .15s ease, transform .15s ease;
}
.video-modal__close:hover {
  background: rgba(168, 85, 247, 0.4);
  transform: rotate(90deg);
}
.video-modal__frame {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #06030d;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.7), 0 0 0 1px rgba(255, 255, 255, 0.08);
}
.video-modal__frame iframe,
.video-modal__frame video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  background: #000;
}
.video-modal__placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 18px;
  background:
    radial-gradient(ellipse 70% 70% at 50% 50%, rgba(120, 50, 200, 0.45), transparent 70%),
    linear-gradient(135deg, #1a0d2e 0%, #0c0820 100%);
}
.video-modal__placeholder-icon { opacity: .8; }
.video-modal__placeholder-text {
  text-align: center;
  color: rgba(255, 255, 255, 0.9);
  font-weight: 600;
  font-size: 18px;
  letter-spacing: 0.01em;
}
.video-modal__placeholder-text span {
  display: block;
  margin-top: 6px;
  font-size: 13px;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.55);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.video-modal__caption {
  margin-top: 14px;
  text-align: center;
  color: rgba(255, 255, 255, 0.8);
  font-size: 13px;
  letter-spacing: 0.04em;
}
@media (max-width: 820px) {
  .video-modal { padding: 16px; }
  .video-modal__close { top: -36px; width: 32px; height: 32px; }
}

/* ---------- Utilities ---------- */

/* Animations */
@keyframes pulse-glow {
  0%, 100% { opacity: .8; transform: scale(1); }
  50%     { opacity: 1;   transform: scale(1.04); }
}
.hero__art-inner { animation: pulse-glow 4s ease-in-out infinite; }

/* ============================================
   RESPONSIVE — refined mobile layout
   Breakpoints: 1100 (tablet), 768 (mobile), 480 (small)
   ============================================ */

@media (max-width: 1100px) {
  .container { padding: 0 24px; }

  /* Pull carousel arrows inside the row (default -50px clips on tablet) */
  .carousel__arrow--prev { left: 6px; }
  .carousel__arrow--next { right: 6px; }
  .carousel__arrow {
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
  }

  /* Why-Choose: drop fixed 1177×441 */
  .why-card {
    width: 100%;
    min-height: 0 !important;
    height: auto !important;
    padding: 36px 40px;
  }

  /* Long paragraphs lose their inline 1050px width */
  .info-card__body p {
    width: 100% !important;
    max-width: 100% !important;
  }

  /* Influencer fixed-width tiles become fluid */
  .info-card--combined .video-thumb {
    width: calc((100% - 36px) / 3) !important;
    min-width: 0;
  }
}

@media (max-width: 768px) {
  :root { --radius-lg: 14px; }

  .container { padding: 0 16px; }
  .section { padding: 36px 0; }

  /* ---- Header ---- */
  .header__top { height: 68px; gap: 10px; }
  .logo__img { height: 34px !important; }
  .btn-register {
    padding: 11px 16px;
    font-size: 11.5px;
    letter-spacing: 0.06em;
  }
  .flag { width: 32px; height: 32px; }

  /* ---- Banner images: keep visible but downscale corner-rounding ---- */
  .partner-banner,
  .influencer-banner {
    border-radius: 10px 10px 0 0;
  }

  /* ---- Combined info-card ---- */
  .info-card {
    padding: 22px 18px 24px;
    border-radius: 0 0 10px 10px;
  }
  .info-card--combined {
    margin-top: -4px;
    padding-top: 22px;
  }
  .info-card__head {
    flex-wrap: wrap;
    gap: 12px;
    margin: 0 0 12px !important;
    align-items: center;
    justify-content: flex-start;
  }
  .info-card__head .logo {
    margin: 0;
    padding: 0;
    line-height: 0;
    display: inline-flex;
    align-items: center;
  }
  .info-card__head .logo__img { height: 32px !important; vertical-align: middle; display: block; }
  .info-card__head .info-card__cross {
    line-height: 1;
    font-size: 22px;
    align-self: center;
    display: inline-flex;
    align-items: center;
  }
  .info-card__head .info-card__crest--img {
    width: 32px !important;
    height: 32px !important;
    margin: 0;
    padding: 0;
    align-self: center;
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }
  .info-card__head .info-card__crest--img img {
    width: 32px !important;
    height: 32px !important;
    object-fit: contain;
    display: block;
  }
  .info-card__cross { font-size: 18px; }
  .info-card__crest--img { width: 40px !important; height: 40px !important; }
  .info-card__crest--img img { width: 48px !important; height: 38px !important; }
  .info-card__subtitle {
    font-size: 16px !important;
    margin-bottom: 8px;
  }
  .info-card__title {
    font-size: 28px;
    line-height: 1.22;
    margin-bottom: 14px;
  }
  .info-card__body p {
    font-size: 13px !important;
    line-height: 1.65;
    margin-bottom: 10px;
  }

  /* ---- Carousel: native horizontal scroll-snap on mobile ---- */
  .carousel--inset,
  .info-card--combined .video-row--inset {
    margin: 0 -18px 22px !important;
    padding: 0 18px 4px;
  }
  .carousel--inset .carousel__arrow,
  .info-card--combined .video-row--inset .carousel__arrow {
    display: none;
  }
  .carousel__track {
    display: flex !important;
    grid-template-columns: none !important;
    gap: 12px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 4px;
    scrollbar-width: none;
  }
  .carousel__track::-webkit-scrollbar { display: none; }
  .carousel__track > * {
    flex: 0 0 78%;
    scroll-snap-align: center;
    aspect-ratio: 16 / 9;
  }
  .info-card--combined .video-row--inset {
    display: flex !important;
    flex-wrap: nowrap !important;
    justify-content: flex-start !important;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  .info-card--combined .video-row--inset::-webkit-scrollbar { display: none; }
  .info-card--combined .video-thumb {
    flex: 0 0 78% !important;
    width: 78% !important;
    height: auto !important;
    aspect-ratio: 16 / 9 !important;
    scroll-snap-align: center;
  }

  /* ---- Why Choose ---- */
  .why-card {
    padding: 28px 22px;
    background-position: center;
    border-radius: 12px;
    height: auto !important;
    min-height: 0 !important;
  }
  .why-card h3 { font-size: 28px; margin-bottom: 14px; }
  .why-card p { font-size: 13px; line-height: 1.7; margin-bottom: 10px; }

  /* ---- Footer: stack, centered, ordered, active-logos only ---- */
  .footer {
    padding: 36px 0 24px;
    margin-top: 40px;
  }
  .footer__grid {
    display: flex !important;
    flex-direction: column;
    align-items: center;
    gap: 32px;
  }
  .footer__col {
    width: 100% !important;
    display: contents;
  }
  .footer__section {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  .footer__section h4 {
    margin: 0 0 14px !important;
    font-size: 18px;
    color: #fff;
  }
  .footer__section .footer__row {
    width: auto !important;
    justify-content: center !important;
    gap: 14px !important;
    row-gap: 14px !important;
  }
  /* Reorder: Security → Responsible Gaming → Payment → Certified → Socials */
  .footer__section--security    { order: 1; }
  .footer__section--responsible { order: 2; }
  .footer__section--payment     { order: 3; }
  .footer__section--certified   { order: 4; }
  .footer__section--social      { order: 5; }

  /* Show only the active (full-color) logo on mobile */
  .logo-badge .logo-badge__img--inactive { opacity: 0 !important; }
  .logo-badge .logo-badge__img--active   { opacity: 1 !important; }
  .logo-badge.has-img { transform: none !important; }

  .footer__bottom {
    margin-top: 24px;
    padding-top: 18px;
    font-size: 11px;
    text-align: center;
  }

  /* ---- Modals ---- */
  .modal { padding: 28px 22px; }
  .modal h2 { font-size: 19px; }
  .video-modal { padding: 14px; }
  .video-modal__close { top: -34px; width: 30px; height: 30px; }

  /* ---- Page background blobs: less aggressive on mobile ---- */
  .page::before {
    width: 360px; height: 360px;
    top: -100px; left: -160px;
  }
  .page::after {
    width: 320px; height: 320px;
    top: 400px; right: -160px;
  }
}

@media (max-width: 480px) {
  .container { padding: 0 14px; }

  .header__top { height: 62px; }
  .logo__img { height: 30px !important; }
  .btn-register {
    padding: 10px 14px;
    font-size: 10.5px;
    letter-spacing: 0.04em;
  }
  .flag { width: 28px; height: 28px; }

  .info-card { padding: 20px 14px 22px; }
  .info-card__head .logo__img { height: 26px !important; }
  .info-card__crest--img { width: 36px !important; height: 36px !important; }
  .info-card__crest--img img { width: 42px !important; height: 34px !important; }
  .info-card__subtitle { font-size: 14px !important; }
  .info-card__title { font-size: 24px; }
  .info-card__body p { font-size: 12.5px !important; }

  .carousel__track > *,
  .info-card--combined .video-thumb {
    flex-basis: 84% !important;
    width: 84% !important;
  }

  .why-card { padding: 24px 16px; }
  .why-card h3 { font-size: 24px; }
  .why-card p { font-size: 12.5px; }

  /* Footer logo sizing — slightly compressed */
  .logo-badge--wide.has-img { width: 96px; }
  .logo-badge--square.has-img { width: 44px; }
  .social-circle { width: 32px; height: 32px; }
  .footer h4 { font-size: 16px; }
}
