/* === Reset === */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html,
body {
  height: 100%;
}

body {
  font-family: "Space Grotesk", system-ui, sans-serif;
  background-color: #08070d;
  color: #ffffff;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font-family: inherit;
  border: none;
  background: none;
  color: inherit;
  cursor: pointer;
}

ul {
  list-style: none;
}

/* === Hero Section === */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  width: 100%;
  background-image: url("public/bg.webp");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  isolation: isolate;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    #08070dee 0%,
    #08070d55 35%,
    #08070d44 55%,
    #08070dee 100%
  );
  z-index: -1;
}

/* === Navbar === */
.navbar {
  position: absolute;
  top: 20px;
  left: 30px;
  right: 30px;
  width: calc(100% - 60px);
  max-width: 1380px;
  margin: 0 auto;
  height: 60px;
  padding: 0 30px;
  background: #12172280;
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border: 1px solid #ffffff10;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  z-index: 50;
}

.navbar__left {
  display: flex;
  align-items: center;
  gap: 32px;
}

.navbar__logo {
  display: inline-flex;
  align-items: center;
  line-height: 0;
}

.navbar__logo-img {
  display: block;
  height: 32px;
  width: auto;
}

.navbar__nav {
  display: flex;
  align-items: center;
  gap: 24px;
}

.navbar__link {
  font-size: 14px;
  font-weight: 500;
  color: #ffffffcc;
  transition: color 200ms ease;
}

.navbar__link:hover {
  color: #ffe04b;
}

.navbar__link.is-active {
  color: #ffe04b;
  font-weight: 600;
}

.navbar__right {
  display: flex;
  align-items: center;
  gap: 12px;
}

.navbar__login {
  font-size: 14px;
  font-weight: 500;
  color: #ffffffcc;
  padding: 8px 12px;
  transition: color 200ms ease;
}

.navbar__login:hover {
  color: #ffe04b;
}

.navbar__signup {
  font-size: 14px;
  font-weight: 700;
  color: #08070d;
  background: #ffe04b;
  padding: 10px 18px;
  border-radius: 12px;
  transition: filter 200ms ease, transform 200ms ease;
}

.navbar__signup:hover {
  filter: brightness(1.07);
  transform: scale(1.02);
}

/* === Language Select === */
.lang-select {
  position: relative;
}

.lang-select__trigger {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  background: #1f1d30;
  border: 1px solid #ffffff22;
  border-radius: 20px;
  color: #ffffff;
  font-size: 12px;
  font-weight: 600;
  transition: border-color 200ms ease, background 200ms ease;
}

.lang-select__trigger:hover {
  border-color: #ffffff44;
}

.lang-select__icon {
  width: 14px;
  height: 14px;
  color: #94929e;
}

.lang-select__chevron {
  width: 12px;
  height: 12px;
  color: #94929e;
  transition: transform 200ms ease;
}

.lang-select.is-open .lang-select__chevron {
  transform: rotate(180deg);
}

.lang-select__list {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  min-width: 200px;
  max-height: 300px;
  overflow-y: auto;
  background: #1f1d30;
  border: 1px solid #ffffff22;
  border-radius: 12px;
  padding: 8px 0;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.5);
  opacity: 0;
  transform: translateY(-8px);
  pointer-events: none;
  transition: opacity 200ms ease, transform 200ms ease;
  z-index: 1100;
}

.lang-select.is-open .lang-select__list {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.lang-select__option {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 16px;
  font-size: 13px;
  font-weight: 500;
  color: #ffffff;
  cursor: pointer;
  transition: background 150ms ease;
}

.lang-select__option:hover {
  background: #ffffff11;
}

.lang-select__option.is-active {
  color: #ffe04b;
  font-weight: 600;
}

.lang-select__option-check {
  width: 14px;
  height: 14px;
  color: #ffe04b;
  opacity: 0;
}

.lang-select__option.is-active .lang-select__option-check {
  opacity: 1;
}

/* === Hero Content === */
.hero__content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 620px;
  max-width: calc(100% - 60px);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  z-index: 10;
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 18px;
  background: #ffe04b18;
  border: 1px solid #ffe04b44;
  border-radius: 20px;
  color: #ffe04b;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero__badge-icon {
  width: 14px;
  height: 14px;
}

.hero__title {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  text-align: center;
  line-height: 1;
}

.hero__headline-main {
  font-size: 72px;
  font-weight: 800;
  color: #ffffff;
  letter-spacing: -0.02em;
}

.hero__headline-free {
  font-size: 48px;
  font-weight: 800;
  color: #ffe04b;
  letter-spacing: 0.02em;
}

.hero__subline {
  font-size: 18px;
  font-weight: 400;
  color: #ffffffcc;
  text-align: center;
}

/* === Bonus Card === */
.bonus-card {
  width: 480px;
  max-width: 100%;
  background: #121722dd;
  border: 1px solid #ffe04b33;
  border-radius: 16px;
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  overflow: hidden;
}

.bonus-card__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 24px;
  border-bottom: 1px solid #1f1d30;
}

.bonus-card__row:last-child {
  border-bottom: none;
}

.bonus-card__label {
  font-size: 14px;
  font-weight: 500;
  color: #94929e;
}

.bonus-card__value {
  font-size: 20px;
  font-weight: 700;
  color: #ffe04b;
}

/* === CTA === */
.hero__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 480px;
  max-width: 100%;
  padding: 18px 40px;
  background: #ffe04b;
  color: #08070d;
  font-size: 16px;
  font-weight: 800;
  text-transform: uppercase;
  border-radius: 12px;
  box-shadow: 0 4px 24px rgba(255, 224, 75, 0.18);
  transition: filter 200ms ease, transform 200ms ease;
  cursor: pointer;
}

.hero__cta:hover {
  filter: brightness(1.07);
  transform: scale(1.02);
}

.hero__cta-icon {
  width: 18px;
  height: 18px;
}

.hero__tc {
  font-size: 11px;
  color: #94929e88;
  text-align: center;
}

/* === Trust Bar === */
.trust-bar {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 50px;
  padding: 0 clamp(24px, 8vw, 120px);
  background: #08070d99;
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  border-top: 1px solid #ffffff0a;
  display: flex;
  align-items: center;
  justify-content: space-between;
  z-index: 20;
}

.trust-bar__left,
.trust-bar__center,
.trust-bar__right {
  font-size: 11px;
  font-weight: 500;
  color: #94929e66;
}

.trust-bar__center {
  display: flex;
  align-items: center;
  gap: 20px;
}

.trust-bar__right {
  font-size: 14px;
  font-weight: 700;
  color: #94929ea6;
}

/* === Mobile breakpoint === */
@media (max-width: 1023px) {
  .hero {
    background-image: url("public/bg_mob.webp");
    display: flex;
    flex-direction: column;
  }

  .hero::before {
    background: linear-gradient(
      180deg,
      #08070dCC 0%,
      transparent 40%,
      #08070dEE 100%
    );
  }

  .navbar {
    position: relative;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    max-width: none;
    margin: 0;
    height: auto;
    padding: 12px 16px;
    background: transparent;
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
    border: none;
    border-radius: 0;
  }

  .navbar__logo-img {
    height: 26px;
  }

  .navbar__login,
  .navbar__signup {
    display: none;
  }

  .navbar__right {
    gap: 0;
  }

  .lang-select__trigger {
    padding: 6px 12px;
    border-radius: 16px;
  }

  .hero__content {
    position: relative;
    top: auto;
    left: auto;
    transform: none;
    width: 100%;
    max-width: 100%;
    margin-top: auto;
    padding: 0 12px 32px 12px;
    gap: 16px;
    align-items: center;
    justify-content: flex-end;
    flex: 1 1 auto;
  }

  .hero__badge {
    padding: 6px 14px;
    border-radius: 12px;
    background: #ffe04b22;
    font-size: 11px;
    letter-spacing: 0.08em;
  }

  .hero__badge-icon {
    width: 12px;
    height: 12px;
  }

  .hero__headline-main,
  .hero__headline-free {
    font-size: 32px;
    font-weight: 700;
    color: #ffffff;
    line-height: 1.1;
  }

  .hero__title {
    gap: 4px;
  }

  .hero__subline {
    font-size: 14px;
    color: #94929e;
  }

  .bonus-card {
    width: 100%;
    max-width: none;
    background: #121722ee;
  }

  .bonus-card__row {
    padding: 14px 20px;
  }

  .bonus-card__row--desktop-only {
    display: none;
  }

  .bonus-card__label {
    font-size: 13px;
    font-weight: 400;
  }

  .bonus-card__value {
    font-size: 15px;
    font-weight: 700;
  }

  .hero__cta {
    width: 100%;
    max-width: none;
    padding: 16px 0;
    font-size: 16px;
    font-weight: 700;
    text-align: center;
  }

  .hero__tc {
    font-size: 10px;
    color: #94929e;
  }

  .trust-bar {
    display: none;
  }

}

/* Tiny mobile tweak — keep things tight on 360px-ish screens */
@media (max-width: 380px) {
  .hero__headline-main,
  .hero__headline-free {
    font-size: 28px;
  }

  .hero__content {
    padding: 0 8px 24px 8px;
  }
}

/* ============================================================
   Partner mode — co-branding for streamers / affiliate landings
   Activated by `body.landing--partner` (set by JS from CONFIG.partner.enabled)
   ============================================================ */

/* Hidden by default — only revealed in partner mode */
.navbar__partner,
.navbar__nav,
.partner-zone {
  display: none;
}

/* === Navbar co-branding === */
.landing--partner .navbar__partner {
  display: flex;
  align-items: center;
  gap: 12px;
}

.navbar__partner-x {
  font-size: 14px;
  font-weight: 500;
  color: #94929e;
  letter-spacing: 0.04em;
}

.navbar__partner-block {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 32px;
  padding: 4px 12px;
  background: #ffffff08;
  border: 1px solid #ffffff22;
  border-radius: 8px;
}

.navbar__partner-name {
  font-size: 14px;
  font-weight: 700;
  color: #ffe04b;
  letter-spacing: 0.04em;
  white-space: nowrap;
}

.navbar__partner-logo-img {
  display: block;
  max-height: 28px;
  width: auto;
}

.landing--partner .navbar__left {
  gap: 12px;
}

.landing--partner .navbar__nav {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-left: 4px;
}

/* === Partner zone (between navbar and hero content) === */
.landing--partner .partner-zone {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  width: 100%;
  padding: 20px;
}

.partner-zone__logo {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 320px;
  height: 180px;
  max-width: 100%;
  border-radius: 16px;
}

.partner-zone__logo--placeholder {
  flex-direction: column;
  gap: 8px;
  background: #1f1d3033;
  border: 2px dashed #ffffff33;
}

.partner-zone__logo-img {
  display: block;
  max-width: 320px;
  max-height: 180px;
  width: auto;
  height: auto;
  object-fit: contain;
}

.partner-zone__icon {
  width: 48px;
  height: 48px;
  color: #94929e66;
}

.partner-zone__label {
  font-size: 14px;
  font-weight: 500;
  color: #94929e99;
}

.partner-zone__tagline {
  font-size: 14px;
  font-weight: 600;
  color: #94929e55;
  letter-spacing: 4px;
  text-transform: uppercase;
  text-align: center;
}

/* === Partner mode layout (desktop) — hero becomes flex column === */
.landing--partner .hero {
  display: flex;
  flex-direction: column;
  background-image: url("public/bg-desktop-partner.png"), url("public/bg.webp");
  padding-top: 100px;
  padding-bottom: 60px;
}

.landing--partner .hero::before {
  background: linear-gradient(
    180deg,
    #08070dee 0%,
    #08070d44 25%,
    #08070d33 40%,
    #08070d44 60%,
    #08070dee 85%,
    #08070dff 100%
  );
}

.landing--partner .hero__content {
  position: static;
  top: auto;
  left: auto;
  transform: none;
  margin: 0 auto;
  gap: 16px;
  padding-bottom: 10px;
}

.landing--partner .hero__headline-main {
  font-size: 56px;
}

.landing--partner .hero__headline-free {
  font-size: 36px;
}

.landing--partner .hero__subline {
  font-size: 15px;
}

.landing--partner .bonus-card__row {
  padding: 14px 24px;
}

.landing--partner .bonus-card__value {
  font-size: 18px;
}

.landing--partner .hero__cta {
  padding: 16px 40px;
}

.landing--partner .trust-bar {
  padding: 0 clamp(24px, 6vw, 90px);
}

/* === Partner mode — mobile overrides === */
@media (max-width: 1023px) {
  .landing--partner .hero {
    background-image: url("public/bg-mobile-partner.png"), url("public/bg_mob.webp");
    padding-top: 0;
    padding-bottom: 0;
  }

  .landing--partner .hero::before {
    background: linear-gradient(
      180deg,
      transparent 0%,
      #08070d33 25%,
      #08070d99 45%,
      #08070dcc 58%,
      #08070dF5 70%,
      #08070dFF 80%
    );
  }

  /* Hide navlinks on mobile partner — only co-brand stays */
  .landing--partner .navbar__nav {
    display: none;
  }

  .landing--partner .navbar__partner {
    gap: 8px;
  }

  .navbar__partner-x {
    font-size: 12px;
  }

  .navbar__partner-block {
    min-height: 24px;
    padding: 2px 10px;
  }

  .landing--partner .navbar__left {
    gap: 8px;
  }

  /* Partner zone — sits below navbar, fixed-height block */
  .landing--partner .partner-zone {
    flex: 0 0 auto;
    padding: 40px 0;
  }

  .partner-zone__logo {
    width: 200px;
    height: 200px;
  }

  .partner-zone__logo-img {
    max-width: 200px;
    max-height: 200px;
  }

  .partner-zone__icon {
    width: 40px;
    height: 40px;
  }

  .landing--partner .hero__headline-main,
  .landing--partner .hero__headline-free {
    font-size: 28px;
    font-weight: 700;
  }

  .landing--partner .hero__content {
    margin-top: 0;
  }
}

