/* ============================================================
   1xBet Partner Landing — brand styles
   Palette: steel blue header (#1a5b96/#1f6aa9), page #0a2740,
   panels #0d2d52/#144a7d, lime CTAs (#b8e53e → #84b818)
   ============================================================ */

:root {
  --blue-900: #07203a;
  --blue-800: #0a2740;
  --blue-700: #0d2d52;
  --blue-600: #144a7d;
  --blue-500: #1a5b96;
  --blue-400: #1f6aa9;
  --blue-300: #5aa7e8;
  --lime-300: #b8e53e;
  --lime-400: #a3e635;
  --lime-500: #9acd32;
  --lime-600: #84b818;
  --ink: #1c2b05;
  --text: #f0f6fc;
  --muted: #9db4cc;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--blue-800);
  color: var(--text);
  font-family: "Inter", system-ui, -apple-system, sans-serif;
  font-size: 16px;
  line-height: 1.6;
}

img { max-width: 100%; height: auto; }

a { color: inherit; }

.xl-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
}
.xl-container--narrow { max-width: 960px; }
.xl-container--article { max-width: 720px; }

.xl-display, .xl-h2, .xl-btn, .xl-kicker, .xl-chip, .xl-slide-title, .xl-step-title,
.xl-news-title, .xl-bonus-title, .xl-sport-name, .xl-footer-title, .xl-page-title,
.xl-article-title, .xl-login, .xl-nav a, .xl-link, .xl-read, .xl-badge {
  font-family: "Barlow Condensed", "Inter", sans-serif;
}

/* ---------------- Buttons ---------------- */

.xl-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 11px 28px;
  border-radius: 8px;
  font-weight: 800;
  font-size: 15px;
  letter-spacing: .08em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--ink) !important;
  background: linear-gradient(to bottom, var(--lime-300), var(--lime-600));
  box-shadow: 0 6px 22px rgba(154,205,50,.4), inset 0 1px 0 rgba(255,255,255,.4);
  transition: transform .2s, filter .2s;
}
.xl-btn:hover { transform: translateY(-2px); filter: brightness(1.08); }
.xl-btn svg { width: 16px; height: 16px; }
.xl-btn--sm { padding: 8px 18px; font-size: 13px; }
.xl-btn--lg { padding: 15px 38px; font-size: 18px; }

/* ---------------- Header ---------------- */

.xl-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  background: linear-gradient(to right, var(--blue-500), var(--blue-400), var(--blue-500));
  border-bottom: 1px solid rgba(255,255,255,.1);
}
.xl-header-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
  height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.xl-logo img { height: 36px; width: auto; display: block; }

.xl-nav { display: none; gap: 4px; }
.xl-nav a {
  padding: 8px 16px;
  border-radius: 6px;
  font-weight: 600;
  font-size: 17px;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: #d7e6f5;
  text-decoration: none;
}
.xl-nav a:hover { color: #fff; background: rgba(255,255,255,.08); }

.xl-header-cta { display: none; align-items: center; gap: 12px; }
.xl-login {
  padding: 10px 24px;
  border: 1.5px solid rgba(255,255,255,.5);
  border-radius: 8px;
  font-weight: 700;
  font-size: 15px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: #fff !important;
  text-decoration: none;
}
.xl-login:hover { background: rgba(255,255,255,.1); }

.xl-burger {
  display: grid;
  place-items: center;
  width: 42px; height: 42px;
  background: none; border: 0; color: #fff; cursor: pointer;
}
.xl-burger svg { width: 24px; height: 24px; }

.xl-mobile-menu {
  display: none;
  background: var(--blue-500);
  border-top: 1px solid rgba(255,255,255,.1);
  padding: 8px 24px 20px;
}
.xl-mobile-menu.is-open { display: block; }
.xl-mobile-menu a {
  display: block;
  padding: 12px;
  border-radius: 6px;
  font-family: "Barlow Condensed", sans-serif;
  font-weight: 600; font-size: 19px;
  letter-spacing: .04em; text-transform: uppercase;
  color: #e8f1fa; text-decoration: none;
}
.xl-mobile-menu a:hover { background: rgba(255,255,255,.08); }

@media (min-width: 900px) {
  .xl-nav { display: flex; }
  .xl-header-cta { display: flex; }
  .xl-burger { display: none; }
}

/* ---------------- Hero slider ---------------- */

.xl-hero { padding-top: 100px; }

.xl-hero-title {
  margin: 0 0 22px;
  font-weight: 800;
  font-size: clamp(30px, 3.6vw, 46px);
  line-height: 1;
  letter-spacing: .01em;
  text-transform: uppercase;
}
.xl-hero-title span { color: var(--lime-400); }

.xl-slider {
  position: relative;
  overflow: hidden;
  border-radius: 16px;
  border: 1px solid rgba(255,255,255,.1);
  background: linear-gradient(135deg, var(--blue-700) 0%, var(--blue-600) 50%, var(--blue-800) 100%);
}

.xl-slide {
  display: none;
  position: relative;
  min-height: 420px;
  padding: 64px 48px;
}
.xl-slide.is-active { display: flex; align-items: center; animation: xl-slide-in .7s cubic-bezier(.22,1,.36,1) both; }

@keyframes xl-slide-in {
  from { opacity: 0; transform: translateY(28px) scale(.985); }
  to { opacity: 1; transform: none; }
}

.xl-slide-lines {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  opacity: .05;
}

.xl-slide-content { position: relative; z-index: 2; max-width: 640px; }

.xl-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.2);
  background: rgba(255,255,255,.1);
  font-weight: 600; font-size: 13px;
  letter-spacing: .18em; text-transform: uppercase;
  backdrop-filter: blur(4px);
}
.xl-live-dot {
  width: 6px; height: 6px;
  border-radius: 999px;
  background: var(--lime-400);
  box-shadow: 0 0 0 4px rgba(163,230,53,.35);
  animation: xl-ping 1.6s cubic-bezier(0,0,.2,1) infinite;
}
@keyframes xl-ping { 75%,100% { box-shadow: 0 0 0 10px rgba(163,230,53,0); } }

.xl-slide-title {
  margin: 18px 0 0;
  font-weight: 800;
  font-style: italic;
  font-size: clamp(44px, 6vw, 76px);
  line-height: .95;
  letter-spacing: -0.01em;
  text-transform: uppercase;
}
.xl-slide-sub {
  margin: 20px 0 0;
  max-width: 460px;
  color: #c6d9ec;
  font-size: 16px;
}
.xl-slide-cta {
  margin-top: 32px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px;
}

.xl-link {
  font-weight: 600; font-size: 14px;
  letter-spacing: .08em; text-transform: uppercase;
  color: #d7e6f5 !important;
  text-decoration: underline;
  text-decoration-color: rgba(163,230,53,.6);
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
}
.xl-link:hover { color: #fff !important; }

.xl-slider-nav {
  position: absolute;
  left: 48px; right: 24px; bottom: 22px;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.xl-slider-dots { display: flex; gap: 8px; }
.xl-slider-dots button {
  width: 16px; height: 6px;
  border: 0; border-radius: 999px;
  background: rgba(255,255,255,.25);
  cursor: pointer;
  transition: width .3s, background .3s;
}
.xl-slider-dots button.is-active { width: 36px; background: var(--lime-400); }

.xl-slider-arrows { display: flex; gap: 8px; }
.xl-arrow {
  display: grid; place-items: center;
  width: 42px; height: 42px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.15);
  background: rgba(255,255,255,.1);
  color: #fff; cursor: pointer;
  backdrop-filter: blur(6px);
}
.xl-arrow:hover { background: rgba(255,255,255,.2); }
.xl-arrow svg { width: 20px; height: 20px; }

/* ---------------- Ticker ---------------- */

.xl-ticker {
  margin-top: 24px;
  overflow: hidden;
  border-top: 1px solid rgba(163,230,53,.2);
  border-bottom: 1px solid rgba(163,230,53,.2);
  background: rgba(163,230,53,.06);
}
.xl-ticker-track {
  display: flex;
  width: max-content;
  padding: 11px 0;
  animation: xl-marquee 32s linear infinite;
}
.xl-ticker:hover .xl-ticker-track { animation-play-state: paused; }
@keyframes xl-marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

.xl-ticker-item {
  display: flex;
  align-items: center;
  gap: 12px;
  white-space: nowrap;
  padding: 0 24px;
  font-family: "Barlow Condensed", sans-serif;
  font-weight: 600; font-size: 15px;
  letter-spacing: .08em; text-transform: uppercase;
  color: rgba(190,242,100,.9);
}
.xl-ticker-dot {
  width: 6px; height: 6px;
  transform: rotate(45deg);
  background: rgba(163,230,53,.6);
}

/* ---------------- Sections ---------------- */

.xl-section { padding: 80px 0 24px; }
.xl-section--alt {
  margin-top: 56px;
  padding: 72px 0;
  background: rgba(255,255,255,.015);
  border-top: 1px solid rgba(255,255,255,.05);
  border-bottom: 1px solid rgba(255,255,255,.05);
}

.xl-section-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 40px;
}
.xl-section-note {
  max-width: 380px;
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.xl-kicker {
  margin: 0 0 8px;
  font-weight: 600; font-size: 14px;
  letter-spacing: .2em; text-transform: uppercase;
  color: var(--lime-400);
}
.xl-h2 {
  margin: 0;
  font-weight: 800;
  font-size: clamp(34px, 4.5vw, 52px);
  line-height: 1;
  text-transform: uppercase;
}

/* ---------------- Steps ---------------- */

.xl-steps {
  position: relative;
  overflow: hidden;
  border-radius: 16px;
  border: 1px solid rgba(255,255,255,.1);
  background: linear-gradient(135deg, var(--blue-600) 0%, var(--blue-700) 50%, var(--blue-800) 100%);
  padding: 56px;
}
.xl-steps-lines { position: absolute; inset: 0; width: 100%; height: 100%; opacity: .05; }
.xl-steps-inner { position: relative; }
.xl-steps-grid {
  margin-top: 48px;
  display: grid;
  gap: 40px;
}
@media (min-width: 800px) { .xl-steps-grid { grid-template-columns: repeat(3, 1fr); } }

.xl-step-num {
  margin: 0;
  font-family: "Barlow Condensed", sans-serif;
  font-weight: 800; font-style: italic;
  font-size: 60px; line-height: 1;
  color: rgba(163,230,53,.9);
}
.xl-step-title {
  margin: 16px 0 0;
  font-weight: 700; font-size: 26px;
  letter-spacing: .04em; text-transform: uppercase;
}
.xl-step-text { margin: 10px 0 0; max-width: 320px; color: #c6d9ec; font-size: 14px; }
.xl-steps-cta { margin-top: 44px; }

/* ---------------- News ---------------- */

.xl-news-grid {
  display: grid;
  gap: 16px;
}
@media (min-width: 640px) { .xl-news-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .xl-news-grid { grid-template-columns: repeat(4, 1fr); } }

.xl-news-card {
  display: flex;
  flex-direction: column;
  padding: 24px;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,.1);
  background: rgba(255,255,255,.03);
  text-decoration: none;
  transition: border-color .3s, background .3s;
}
.xl-news-card:hover {
  border-color: rgba(163,230,53,.4);
  background: rgba(163,230,53,.05);
}

.xl-news-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
  font-size: 12px;
  color: var(--muted);
}
.xl-news-meta--single { margin-bottom: 18px; }

.xl-chip {
  padding: 3px 10px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.15);
  font-weight: 600; font-size: 11px;
  letter-spacing: .15em; text-transform: uppercase;
  color: #d7e6f5;
}
.xl-chip--lime {
  border-color: rgba(163,230,53,.3);
  background: rgba(163,230,53,.1);
  color: var(--lime-300);
}

.xl-news-title {
  margin: 0;
  font-weight: 700; font-size: 21px;
  line-height: 1.25; letter-spacing: .02em;
}
.xl-news-card:hover .xl-news-title,
.xl-news-row:hover .xl-news-title { color: var(--lime-300); }

.xl-news-excerpt {
  margin: 10px 0 0;
  flex: 1;
  color: var(--muted);
  font-size: 14px;
}

.xl-read {
  margin-top: 20px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 600; font-size: 13px;
  letter-spacing: .08em; text-transform: uppercase;
  color: var(--lime-400);
}
.xl-read svg { width: 14px; height: 14px; }

/* ---------------- Sports grid ---------------- */

.xl-sports-grid {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(2, 1fr);
}
@media (min-width: 700px) { .xl-sports-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1100px) { .xl-sports-grid { grid-template-columns: repeat(4, 1fr); } }

.xl-sport-card {
  position: relative;
  padding: 20px;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,.1);
  background: rgba(255,255,255,.03);
  text-decoration: none;
  transition: border-color .3s, background .3s;
}
.xl-sport-card:hover {
  border-color: rgba(163,230,53,.4);
  background: rgba(163,230,53,.06);
}
.xl-sport-card > svg {
  width: 32px; height: 32px;
  margin-bottom: 16px;
  color: var(--muted);
  transition: color .3s;
}
.xl-sport-card:hover > svg { color: var(--lime-400); }
.xl-sport-name {
  margin: 0;
  font-weight: 700; font-size: 21px;
  letter-spacing: .04em; text-transform: uppercase;
}
.xl-sport-tag { margin: 4px 0 0; font-size: 12px; color: var(--muted); }
.xl-sport-arrow {
  position: absolute;
  top: 16px; right: 16px;
  color: #5a7391;
  transition: color .3s, transform .3s;
}
.xl-sport-card:hover .xl-sport-arrow { color: var(--lime-400); transform: translateX(3px); }
.xl-sport-arrow svg { width: 16px; height: 16px; }

/* ---------------- Bonuses ---------------- */

.xl-bonus-grid {
  display: grid;
  gap: 16px;
}
@media (min-width: 640px) { .xl-bonus-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .xl-bonus-grid { grid-template-columns: repeat(3, 1fr); } }

.xl-bonus-card {
  position: relative;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  padding: 24px;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,.1);
  background: linear-gradient(to bottom, rgba(255,255,255,.045), transparent);
  transition: border-color .3s, background .3s;
}
.xl-bonus-card:hover {
  border-color: rgba(163,230,53,.4);
  background: linear-gradient(to bottom, rgba(163,230,53,.07), transparent);
}
.xl-bonus-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 16px;
}
.xl-bonus-hl {
  font-family: "Barlow Condensed", sans-serif;
  font-weight: 800; font-size: 19px;
  letter-spacing: .04em; text-transform: uppercase;
}
.xl-bonus-title {
  margin: 0;
  font-weight: 700; font-size: 25px;
  line-height: 1.15; letter-spacing: .03em; text-transform: uppercase;
}
.xl-bonus-desc { margin: 10px 0 0; flex: 1; color: var(--muted); font-size: 14px; }
.xl-bonus-cta { margin-top: 22px; }

/* ---------------- Pages (news archive / article) ---------------- */

.xl-page { padding: 130px 0 100px; }

.xl-page-title {
  margin: 0 0 48px;
  font-weight: 800;
  font-size: clamp(40px, 6vw, 64px);
  line-height: 1;
  text-transform: uppercase;
}

.xl-news-list { display: flex; flex-direction: column; gap: 16px; }

.xl-news-row {
  display: block;
  padding: 28px;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,.1);
  background: rgba(255,255,255,.03);
  text-decoration: none;
  transition: border-color .3s, background .3s;
}
.xl-news-row:hover {
  border-color: rgba(163,230,53,.4);
  background: rgba(163,230,53,.05);
}
.xl-news-row .xl-news-title { font-size: 28px; }

.xl-back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 32px;
  font-family: "Barlow Condensed", sans-serif;
  font-weight: 600; font-size: 14px;
  letter-spacing: .08em; text-transform: uppercase;
  color: var(--muted) !important;
  text-decoration: none;
}
.xl-back:hover { color: var(--lime-300) !important; }
.xl-back svg { width: 16px; height: 16px; }

.xl-article-title {
  margin: 0;
  font-weight: 800;
  font-size: clamp(34px, 5vw, 52px);
  line-height: 1.08;
  letter-spacing: -0.01em;
}
.xl-article-lead { margin: 16px 0 0; font-size: 19px; color: #c6d9ec; }

.xl-divider {
  margin: 32px 0;
  border: 0;
  height: 1px;
  background: linear-gradient(to right, rgba(163,230,53,.5), rgba(255,255,255,.1), transparent);
}

.xl-content { color: #c6d9ec; font-size: 17px; }
.xl-content p { margin: 0 0 20px; }

.xl-article-cta {
  margin-top: 48px;
  padding: 32px;
  border-radius: 12px;
  border: 1px solid rgba(163,230,53,.25);
  background: linear-gradient(135deg, rgba(163,230,53,.08), transparent);
  text-align: center;
}
.xl-article-cta-title {
  margin: 0;
  font-family: "Barlow Condensed", sans-serif;
  font-weight: 800; font-size: 32px;
  letter-spacing: -0.01em; text-transform: uppercase;
}
.xl-article-cta-text {
  margin: 8px auto 0;
  max-width: 420px;
  color: var(--muted);
  font-size: 14px;
}
.xl-article-cta .xl-btn { margin-top: 24px; }

.xl-pagination { margin-top: 40px; }
.xl-pagination .page-numbers {
  display: inline-block;
  padding: 8px 14px;
  border-radius: 6px;
  border: 1px solid rgba(255,255,255,.15);
  color: #d7e6f5;
  text-decoration: none;
}
.xl-pagination .page-numbers.current {
  background: var(--lime-500);
  border-color: var(--lime-500);
  color: var(--ink);
}

.xl-empty { padding: 80px 0; text-align: center; color: var(--muted); }

/* ---------------- Footer ---------------- */

.xl-footer {
  border-top: 1px solid rgba(255,255,255,.1);
  background: var(--blue-900);
}
.xl-footer-grid {
  display: grid;
  gap: 40px;
  padding-top: 56px;
  padding-bottom: 56px;
}
@media (min-width: 900px) { .xl-footer-grid { grid-template-columns: 1.4fr 1fr 1fr; } }

.xl-footer-text { margin: 20px 0 0; max-width: 380px; color: var(--muted); font-size: 14px; }

.xl-age { margin-top: 24px; display: flex; align-items: center; gap: 12px; }
.xl-age-badge {
  display: grid;
  place-items: center;
  width: 38px; height: 38px;
  border-radius: 999px;
  border: 1px solid rgba(248,113,113,.5);
  font-family: "Barlow Condensed", sans-serif;
  font-weight: 700; font-size: 14px;
  color: #f87171;
  flex-shrink: 0;
}
.xl-age p { margin: 0; max-width: 320px; font-size: 12px; color: var(--muted); }

.xl-footer-title {
  margin: 0 0 16px;
  font-weight: 600; font-size: 14px;
  letter-spacing: .2em; text-transform: uppercase;
  color: var(--muted);
}
.xl-footer-links { margin: 0; padding: 0; list-style: none; }
.xl-footer-links li { margin-bottom: 10px; }
.xl-footer-links a {
  font-size: 14px;
  color: #d7e6f5 !important;
  text-decoration: none;
}
.xl-footer-links a:hover { color: var(--lime-300) !important; }

.xl-footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-top: 24px;
  padding-bottom: 24px;
  border-top: 1px solid rgba(255,255,255,.05);
  font-size: 12px;
  color: var(--muted);
}
.xl-footer-bottom p { margin: 0; }

/* ---------------- Responsive tweaks ---------------- */

@media (max-width: 640px) {
  .xl-slide { padding: 48px 24px 80px; }
  .xl-slider-nav { left: 24px; }
  .xl-steps { padding: 36px 24px; }
  .xl-hero { padding-top: 84px; }
}
