﻿:root {
  --bg: #e9eef8;
  --surface: #ffffff;
  --surface-soft: #f7f9ff;
  --navy-900: #0f1d45;
  --navy-800: #1a2d63;
  --navy-700: #233a7a;
  --ink: #12203f;
  --ink-soft: #5f6f96;
  --line: #d8deee;
  --green: #4caf74;
  --green-dark: #3f9562;
  --orange: #ffba4a;
  --radius-s: 10px;
  --radius-m: 14px;
  --radius-l: 20px;
  --shadow: 0 20px 40px rgba(16, 33, 76, 0.12);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Manrope", "Segoe UI", sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at 10% -10%, rgba(65, 140, 255, 0.22), transparent 35%),
    radial-gradient(circle at 90% 0%, rgba(59, 168, 108, 0.14), transparent 30%),
    var(--bg);
}

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

img {
  max-width: 100%;
  display: block;
}

.eb-wrap {
  width: min(1340px, calc(100% - 2rem));
  margin: 0 auto;
}

.eb-shell {
  min-height: 100vh;
}

.eb-topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  background: linear-gradient(120deg, #0f1d45 0%, #1e356e 65%, #16306f 100%);
  box-shadow: 0 12px 30px rgba(7, 16, 42, 0.35);
}

.eb-topbar__row {
  display: grid;
  grid-template-columns: 44px auto auto;
  align-items: center;
  gap: 1rem;
  min-height: 76px;
}

.eb-icon-btn {
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.08);
  display: grid;
  place-items: center;
  cursor: pointer;
}

.eb-icon-btn img {
  width: 19px;
  opacity: 0.95;
}

.eb-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.eb-brand__full {
  height: 30px;
  width: auto;
}

.eb-brand__mini {
  display: none;
  height: 24px;
  width: auto;
}

.eb-auth {
  justify-self: end;
  display: flex;
  gap: 0.65rem;
}

.eb-btn {
  border: 0;
  border-radius: 999px;
  font-family: "Barlow Condensed", sans-serif;
  font-size: 1.1rem;
  letter-spacing: 0.02em;
  padding: 0.48rem 1.25rem;
  cursor: pointer;
}

.eb-btn--ghost {
  color: #fff;
  background: rgba(255, 255, 255, 0.14);
}

.eb-btn--primary {
  color: #fff;
  background: linear-gradient(90deg, var(--green) 0%, #67c88d 100%);
}

.eb-btn--primary:hover {
  background: linear-gradient(90deg, var(--green-dark) 0%, #58b67d 100%);
}

.eb-menu-strip {
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
}

.eb-menu-strip__inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 1rem;
  align-items: center;
  min-height: 52px;
}

.eb-main-nav {
  display: flex;
  flex-wrap: nowrap;
  gap: 1.1rem;
  overflow-x: auto;
  padding: 0.5rem 0;
  scrollbar-width: thin;
}

.eb-main-nav::-webkit-scrollbar {
  height: 5px;
}

.eb-main-nav a {
  white-space: nowrap;
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.84rem;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.eb-main-nav a:first-child {
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 0.3em;
}

.eb-shortcuts {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.eb-shortcuts a {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: #fff;
  border-radius: 999px;
  padding: 0.22rem 0.6rem;
  background: rgba(255, 255, 255, 0.16);
  font-size: 0.73rem;
  font-weight: 700;
  letter-spacing: 0.03em;
}

.eb-shortcuts img {
  width: 16px;
  height: 16px;
}

main {
  padding: 1rem 0 2.7rem;
}

.eb-hero {
  margin-top: 1rem;
}

.eb-hero__viewport {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-l);
  box-shadow: var(--shadow);
}

.eb-hero__track {
  display: flex;
  transition: transform 420ms ease;
}

.eb-hero-card {
  min-width: 100%;
  position: relative;
  background: #0f1d45;
  color: #fff;
}

.eb-hero-card img {
  width: 100%;
  min-height: 280px;
  max-height: 430px;
  object-fit: cover;
  filter: saturate(1.08);
}

.eb-hero-card__overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: end;
  padding: 1.5rem;
  background: linear-gradient(180deg, rgba(3, 6, 14, 0) 8%, rgba(3, 6, 14, 0.73) 70%, rgba(3, 6, 14, 0.88) 100%);
}

.eb-hero-card__box {
  max-width: min(620px, 86%);
}

.eb-hero-card h2 {
  margin: 0;
  font-family: "Barlow Condensed", sans-serif;
  font-size: clamp(1.55rem, 4vw, 2.9rem);
  line-height: 1;
  letter-spacing: 0.015em;
}

.eb-hero-card p {
  margin: 0.55rem 0 1rem;
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.95rem;
  line-height: 1.42;
}

.eb-link-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 96px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--green) 0%, #70ce95 100%);
  color: #fff;
  font-family: "Barlow Condensed", sans-serif;
  letter-spacing: 0.03em;
  font-size: 1.05rem;
  padding: 0.45rem 1.12rem;
}

.eb-hero__controls {
  margin-top: 0.7rem;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.55rem;
}

.eb-ctrl {
  width: 32px;
  height: 32px;
  border: 1px solid #cfd7ec;
  border-radius: 999px;
  background: #fff;
  color: #29458d;
  cursor: pointer;
}

.eb-hero__dots {
  display: flex;
  gap: 0.38rem;
}

.eb-dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  border: 0;
  background: #b8c4e3;
  cursor: pointer;
}

.eb-dot.is-active {
  background: #4f70c8;
}

.eb-quick-links {
  margin-top: 1rem;
}

.eb-quick-links__rail {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(132px, 1fr));
  gap: 0.62rem;
}

.eb-quick-chip {
  position: relative;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 0.58rem 0.62rem;
  min-height: 52px;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.eb-quick-chip:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 20px rgba(19, 40, 93, 0.09);
}

.eb-quick-chip img {
  width: 20px;
  height: 20px;
}

.eb-quick-chip span {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--navy-800);
  line-height: 1.15;
}

.eb-badge {
  position: absolute;
  top: -7px;
  right: -7px;
  border-radius: 999px;
  background: #f12d6c;
  color: #fff;
  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 0.18rem 0.45rem;
}

.eb-badge[data-kind="in esclusiva"] {
  background: #1f4ff5;
}

.eb-badge[data-kind="hot"] {
  background: #ff7f24;
}

.eb-section {
  margin-top: 1.3rem;
}

.eb-section__head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.64rem;
  gap: 0.7rem;
}

.eb-section__head h2 {
  margin: 0;
  font-family: "Barlow Condensed", sans-serif;
  font-weight: 700;
  letter-spacing: 0.015em;
  color: var(--navy-900);
  font-size: clamp(1.35rem, 2vw, 2rem);
}

.eb-section__head a {
  color: #3158b5;
  font-weight: 700;
  font-size: 0.86rem;
}

.eb-card-grid {
  display: grid;
  gap: 0.75rem;
}

.eb-card-grid--promo {
  grid-template-columns: repeat(auto-fill, minmax(196px, 1fr));
}

.eb-card-grid--games {
  grid-template-columns: repeat(auto-fill, minmax(188px, 1fr));
}

.eb-tile {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-m);
  overflow: hidden;
  box-shadow: 0 8px 20px rgba(17, 32, 75, 0.08);
}

.eb-tile img {
  width: 100%;
  height: 122px;
  object-fit: cover;
}

.eb-tile__body {
  padding: 0.7rem 0.75rem 0.85rem;
}

.eb-tile h3 {
  margin: 0;
  font-size: 0.94rem;
  color: var(--navy-800);
}

.eb-tile p {
  margin: 0.42rem 0 0;
  color: var(--ink-soft);
  font-size: 0.77rem;
  line-height: 1.3;
}

.eb-live-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(206px, 1fr));
  gap: 0.75rem;
}

.eb-live-card {
  background: linear-gradient(170deg, #1a2f66 0%, #19376e 100%);
  color: #fff;
  border-radius: var(--radius-m);
  padding: 0.72rem;
  box-shadow: 0 12px 24px rgba(12, 28, 65, 0.25);
}

.eb-live-meta {
  display: flex;
  justify-content: space-between;
  font-size: 0.68rem;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 0.52rem;
}

.eb-live-teams {
  font-size: 0.82rem;
  font-weight: 700;
  line-height: 1.32;
  min-height: 42px;
}

.eb-live-quotes {
  margin-top: 0.55rem;
  display: flex;
  gap: 0.35rem;
}

.eb-live-quote {
  flex: 1;
  text-align: center;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.13);
  padding: 0.28rem 0.15rem;
}

.eb-live-quote b {
  display: block;
  font-size: 0.65rem;
  color: #d7e3ff;
}

.eb-live-quote span {
  display: block;
  margin-top: 0.1rem;
  font-size: 0.72rem;
  font-weight: 700;
}

.eb-virtual-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(148px, 1fr));
  gap: 0.62rem;
}

.eb-virtual-card {
  display: flex;
  align-items: center;
  gap: 0.58rem;
  border-radius: 11px;
  border: 1px solid var(--line);
  background: var(--surface);
  padding: 0.55rem;
}

.eb-virtual-card img {
  width: 30px;
  height: 30px;
}

.eb-virtual-card h3 {
  margin: 0;
  font-size: 0.83rem;
}

.eb-virtual-card p {
  margin: 0.05rem 0 0;
  color: #2f5cc0;
  font-size: 0.74rem;
  font-weight: 700;
}

.eb-editorial {
  margin-bottom: 1.1rem;
}

.eb-editorial__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 0.75rem;
}

.eb-editorial .eb-tile img {
  height: 148px;
}

.eb-single-promo {
  margin-top: 1.4rem;
  border-radius: var(--radius-l);
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  display: grid;
  grid-template-columns: 43% 57%;
  overflow: hidden;
}

.eb-single-promo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 240px;
}

.eb-single-promo__body {
  padding: 1rem 1.1rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.eb-single-promo__kicker {
  margin: 0;
  color: #5370bb;
  font-size: 0.83rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.07em;
}

.eb-single-promo h2 {
  margin: 0.35rem 0;
  font-family: "Barlow Condensed", sans-serif;
  font-size: clamp(1.7rem, 2vw, 2.4rem);
  color: var(--navy-900);
}

.eb-single-promo p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--ink-soft);
  line-height: 1.42;
}

.eb-single-promo__terms {
  margin-top: 0.65rem;
  color: #4061b2;
  font-size: 0.8rem;
}

.eb-single-promo__cta {
  margin-top: 0.8rem;
}

.eb-app-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(290px, 1fr));
  gap: 0.75rem;
}

.eb-app-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-m);
  padding: 0.75rem;
  display: grid;
  grid-template-columns: 70px 1fr auto;
  align-items: center;
  gap: 0.8rem;
}

.eb-app-card img {
  width: 64px;
  height: 64px;
  border-radius: 13px;
}

.eb-app-card h3 {
  margin: 0;
  font-size: 1rem;
}

.eb-safe {
  margin-top: 1.4rem;
  border-radius: var(--radius-l);
  overflow: hidden;
  border: 1px solid var(--line);
  background: #0e2b5f;
  display: grid;
  grid-template-columns: minmax(0, 41%) minmax(0, 59%);
  box-shadow: var(--shadow);
}

.eb-safe img {
  width: 100%;
  height: 100%;
  min-height: 220px;
  object-fit: cover;
}

.eb-safe__body {
  padding: 1rem 1.1rem;
  color: #e8eefc;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.eb-safe__body h2 {
  margin: 0;
  font-family: "Barlow Condensed", sans-serif;
  font-size: 2rem;
  color: #fff;
}

.eb-safe__body p {
  margin: 0.55rem 0 0;
  line-height: 1.46;
  font-size: 0.88rem;
}

.eb-accordion {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-m);
  padding: 0.82rem 0.9rem;
}

.eb-accordion summary {
  list-style: none;
  cursor: pointer;
  font-family: "Barlow Condensed", sans-serif;
  font-size: 1.42rem;
  font-weight: 600;
  color: var(--navy-900);
}

.eb-accordion summary::-webkit-details-marker {
  display: none;
}

.eb-accordion__content {
  margin-top: 0.8rem;
  color: #334971;
  font-size: 0.93rem;
  line-height: 1.55;
}

.eb-accordion__content h1,
.eb-accordion__content h2 {
  font-family: "Barlow Condensed", sans-serif;
  color: var(--navy-900);
  letter-spacing: 0.01em;
  margin: 1rem 0 0.5rem;
}

.eb-accordion__content h1 {
  font-size: 1.7rem;
}

.eb-accordion__content h2 {
  font-size: 1.42rem;
}

.eb-accordion__content p {
  margin: 0.45rem 0;
}

.eb-prefooter {
  margin-top: 1.4rem;
  margin-bottom: 1.2rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 0.75rem;
}

.eb-prefooter details {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 0.7rem 0.75rem;
}

.eb-prefooter summary {
  font-weight: 800;
  color: var(--navy-800);
  cursor: pointer;
}

.eb-prefooter ul {
  margin: 0.6rem 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.34rem;
}

.eb-prefooter li a {
  font-size: 0.82rem;
  color: #3f5a9b;
}

.eb-footer {
  background: linear-gradient(170deg, #0f1d45 0%, #111f46 50%, #1a2b5e 100%);
  color: #e3ebff;
  padding: 1.35rem 0 1.6rem;
}

.eb-footer__cols {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 0.9rem;
}

.eb-foot-col h3 {
  margin: 0 0 0.55rem;
  font-family: "Barlow Condensed", sans-serif;
  font-size: 1.25rem;
  letter-spacing: 0.03em;
}

.eb-logo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(64px, 1fr));
  gap: 0.44rem;
}

.eb-logo-box {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 8px;
  min-height: 44px;
  display: grid;
  place-items: center;
  padding: 0.3rem;
}

.eb-logo-box img {
  max-width: 100%;
  max-height: 34px;
  object-fit: contain;
}

.eb-footer__adults,
.eb-footer__legal {
  margin: 0.92rem 0 0;
  font-size: 0.81rem;
  line-height: 1.5;
  color: rgba(235, 241, 255, 0.88);
}

@media (max-width: 1024px) {
  .eb-menu-strip__inner {
    grid-template-columns: 1fr;
  }

  .eb-shortcuts {
    padding-bottom: 0.6rem;
  }

  .eb-single-promo,
  .eb-safe {
    grid-template-columns: 1fr;
  }

  .eb-single-promo img,
  .eb-safe img {
    min-height: 180px;
    max-height: 260px;
  }
}

@media (max-width: 740px) {
  .eb-topbar__row {
    grid-template-columns: 44px 1fr auto;
    min-height: 66px;
  }

  .eb-brand__full {
    display: none;
  }

  .eb-brand__mini {
    display: block;
  }

  .eb-btn {
    font-size: 0.98rem;
    padding: 0.42rem 0.9rem;
  }

  .eb-auth {
    gap: 0.45rem;
  }

  .eb-btn--ghost {
    display: none;
  }

  .eb-hero-card__overlay {
    padding: 0.95rem;
  }

  .eb-hero-card p {
    font-size: 0.83rem;
  }

  .eb-quick-links__rail {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .eb-card-grid--promo,
  .eb-card-grid--games,
  .eb-live-grid,
  .eb-editorial__grid,
  .eb-app-grid {
    grid-template-columns: 1fr;
  }

  .eb-app-card {
    grid-template-columns: 64px 1fr;
  }

  .eb-app-card .eb-link-btn {
    grid-column: 1 / -1;
    width: max-content;
  }

  .eb-prefooter {
    grid-template-columns: 1fr;
  }
}
