/* ===========================================================
   Bukmekerlar.uz — Главная страница (прототип)
   =========================================================== */

:root {
  --bg: #0a0d13;
  --bg-soft: #0e121a;
  --surface: #141923;
  --surface-2: #1a2030;
  --border: rgba(255, 255, 255, 0.07);
  --border-strong: rgba(255, 255, 255, 0.14);

  --text: #f4f6fa;
  --text-muted: #9aa3b5;
  --text-faint: #5e6679;

  --orange: #ff7a1a;
  --orange-light: #ffb347;
  --orange-dark: #c95800;
  --gold: #ffc542;
  --green: #2ed573;
  --blue: #5b8def;

  --grad-primary: linear-gradient(
    135deg,
    var(--orange) 0%,
    var(--orange-light) 100%
  );
  --grad-glow: radial-gradient(
    circle,
    rgba(255, 122, 26, 0.35) 0%,
    rgba(255, 122, 26, 0) 70%
  );

  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-pill: 999px;

  --shadow-card: 0 8px 30px rgba(0, 0, 0, 0.35);
  --shadow-glow: 0 0 40px rgba(255, 122, 26, 0.25);

  --container: 1180px;

  --font-display: "Plus Jakarta Sans", system-ui, sans-serif;
  --font-body: "Inter", system-ui, sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  display: block;
}
a {
  color: inherit;
  text-decoration: none;
}
ul {
  list-style: none;
}
button {
  font: inherit;
  cursor: pointer;
  background: none;
  border: none;
  color: inherit;
}
h1,
h2,
h3,
h4 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.15;
}

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

.text-gradient {
  background: var(--grad-primary);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  font-family: var(--font-display);
  border-radius: var(--radius-pill);
  white-space: nowrap;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease,
    background 0.2s ease,
    border-color 0.2s ease;
}
.btn--sm {
  padding: 10px 18px;
  font-size: 0.875rem;
}
.btn--lg {
  padding: 16px 30px;
  font-size: 1rem;
}

.btn--primary {
  background: var(--grad-primary);
  color: #161200;
  box-shadow: var(--shadow-glow);
}
.btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(255, 122, 26, 0.45);
}

.btn--ghost {
  background: var(--surface);
  border: 1px solid var(--border-strong);
  color: var(--text);
}
.btn--ghost:hover {
  background: var(--surface-2);
  border-color: var(--orange);
  transform: translateY(-2px);
}

.btn--outline {
  background: transparent;
  border: 1px solid var(--border-strong);
  color: var(--text);
}
.btn--outline:hover {
  border-color: var(--orange);
  color: var(--orange-light);
}

/* ===== Header ===== */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(14px);
  background: rgba(10, 13, 19, 0.75);
  border-bottom: 1px solid var(--border);
}
.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
}
.logo__mark {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  background: var(--grad-primary);
  color: #161200;
  font-weight: 800;
}
.logo__text {
  font-weight: 700;
  font-size: 1.1rem;
}
.accent-dot {
  color: var(--orange);
}

.nav {
  display: flex;
  gap: 32px;
}
.nav__link {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-muted);
  transition: color 0.2s ease;
}
.nav__link:hover {
  color: var(--text);
}

.header__actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 28px;
}
.burger span {
  display: block;
  height: 2px;
  width: 100%;
  background: var(--text);
  border-radius: 2px;
  transition: all 0.25s ease;
}

/* ===== Hero ===== */
.hero {
  position: relative;
  padding: 72px 0 96px;
  overflow: hidden;
  background:
    radial-gradient(
      ellipse 800px 500px at 80% -10%,
      rgba(255, 122, 26, 0.18),
      transparent
    ),
    radial-gradient(
      ellipse 600px 400px at 0% 100%,
      rgba(91, 141, 239, 0.12),
      transparent
    );
}
.hero__glow {
  position: absolute;
  top: -200px;
  right: -150px;
  width: 600px;
  height: 600px;
  background: var(--grad-glow);
  filter: blur(20px);
  pointer-events: none;
}
.hero__inner {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 56px;
  align-items: center;
  position: relative;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border-radius: var(--radius-pill);
  font-size: 0.825rem;
  font-weight: 600;
  margin-bottom: 22px;
}
.badge--gold {
  background: rgba(255, 197, 66, 0.12);
  color: var(--gold);
  border: 1px solid rgba(255, 197, 66, 0.3);
}

.hero__title {
  font-size: clamp(2rem, 4vw, 3.1rem);
  letter-spacing: -0.02em;
  margin-bottom: 20px;
}
.hero__bookmaker {
  color: var(--orange-light);
}

.hero__subtitle {
  color: var(--text-muted);
  font-size: 1.05rem;
  max-width: 520px;
  margin-bottom: 28px;
}

.promo-box {
  display: flex;
  align-items: center;
  gap: 14px;
  background: var(--surface);
  border: 1px dashed var(--border-strong);
  border-radius: var(--radius-md);
  padding: 14px 18px;
  max-width: 420px;
  margin-bottom: 28px;
}
.promo-box__label {
  font-size: 0.8rem;
  color: var(--text-faint);
}
.promo-box__code {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: 0.06em;
  font-size: 1.05rem;
  color: var(--orange-light);
  flex: 1;
}
.promo-box__copy {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  background: var(--surface-2);
  border-radius: var(--radius-pill);
  font-size: 0.85rem;
  font-weight: 600;
  border: 1px solid var(--border);
  transition:
    background 0.2s ease,
    color 0.2s ease,
    border-color 0.2s ease;
}
.promo-box__copy:hover {
  border-color: var(--orange);
  color: var(--orange-light);
}
.promo-box__copy.copied {
  background: rgba(46, 213, 115, 0.15);
  color: var(--green);
  border-color: rgba(46, 213, 115, 0.4);
}

.hero__cta {
  display: flex;
  gap: 16px;
  margin-bottom: 26px;
  flex-wrap: wrap;
}

.hero__meta {
  margin-bottom: 22px;
}
.stars {
  display: flex;
  align-items: center;
  gap: 4px;
  color: var(--gold);
  font-size: 0.875rem;
}
.stars span {
  color: var(--text-muted);
  margin-left: 6px;
}

.store-badges {
  display: flex;
  gap: 14px;
  margin-bottom: 18px;
  flex-wrap: wrap;
}
.store-badge {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 16px;
  background: var(--surface);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-sm);
  transition:
    border-color 0.2s ease,
    transform 0.2s ease;
}
.store-badge:hover {
  border-color: var(--orange);
  transform: translateY(-2px);
}
.store-badge__small {
  display: block;
  font-size: 0.65rem;
  color: var(--text-faint);
}
.store-badge strong {
  font-size: 0.9rem;
}

.disclaimer {
  font-size: 0.78rem;
  color: var(--text-faint);
}

/* ---- hero visual: phone mock ---- */
.hero__visual {
  display: flex;
  justify-content: center;
  position: relative;
}
.phone-mock {
  position: relative;
  width: 270px;
  border-radius: 36px;
  background: linear-gradient(160deg, var(--surface-2), var(--surface));
  border: 1px solid var(--border-strong);
  padding: 18px;
  box-shadow:
    var(--shadow-card),
    0 0 60px rgba(255, 122, 26, 0.08);
}
.phone-mock__notch {
  width: 70px;
  height: 8px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 6px;
  margin: 0 auto 16px;
}
.phone-mock__screen {
  background: var(--bg-soft);
  border-radius: 20px;
  padding: 18px;
  border: 1px solid var(--border);
}
.phone-mock__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
}
.phone-mock__logo {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.95rem;
}
.dot--live {
  font-size: 0.65rem;
  font-weight: 700;
  color: #fff;
  background: #e63946;
  padding: 3px 8px;
  border-radius: var(--radius-pill);
}
.phone-mock__match {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--surface);
  border-radius: var(--radius-sm);
  padding: 12px;
  font-size: 0.8rem;
  margin-bottom: 18px;
}
.phone-mock__match strong {
  color: var(--orange-light);
  font-size: 0.95rem;
}
.phone-mock__bars {
  display: flex;
  align-items: flex-end;
  gap: 6px;
  height: 46px;
  margin-bottom: 18px;
}
.phone-mock__bars div {
  flex: 1;
  border-radius: 4px;
  background: linear-gradient(180deg, var(--orange-light), var(--orange));
  opacity: 0.85;
}
.phone-mock__bars div:nth-child(1) {
  height: 40%;
}
.phone-mock__bars div:nth-child(2) {
  height: 70%;
}
.phone-mock__bars div:nth-child(3) {
  height: 100%;
  background: linear-gradient(180deg, var(--blue), #2a4f9c);
}
.phone-mock__bars div:nth-child(4) {
  height: 55%;
}
.phone-mock__bars div:nth-child(5) {
  height: 80%;
}
.phone-mock__btn {
  background: var(--grad-primary);
  color: #161200;
  text-align: center;
  font-weight: 700;
  font-size: 0.85rem;
  padding: 12px;
  border-radius: var(--radius-pill);
}
.floating-badge {
  position: absolute;
  font-size: 0.78rem;
  font-weight: 700;
  padding: 8px 14px;
  border-radius: var(--radius-pill);
  box-shadow: var(--shadow-card);
  animation: float 3.5s ease-in-out infinite;
}
.floating-badge--bonus {
  top: 10%;
  left: -14%;
  background: var(--grad-primary);
  color: #161200;
}
.floating-badge--win {
  bottom: 14%;
  right: -10%;
  background: var(--surface-2);
  border: 1px solid rgba(46, 213, 115, 0.4);
  color: var(--green);
  animation-delay: 1.2s;
}
@keyframes float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

/* ===== Sections (generic) ===== */
.section {
  padding: 96px 0;
}
.section--alt {
  background: var(--bg-soft);
}
.section--tight {
  padding: 0 0 96px;
}

.section__head {
  text-align: center;
  max-width: 620px;
  margin: 0 auto 48px;
}
.eyebrow {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--orange-light);
  margin-bottom: 12px;
}
.section__title {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  margin-bottom: 14px;
  letter-spacing: -0.01em;
}
.section__subtitle {
  color: var(--text-muted);
  font-size: 1.02rem;
}
.section__cta {
  display: flex;
  justify-content: center;
  margin-top: 44px;
}

/* ===== Rating list ===== */
.rating-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.rating-row {
  position: relative;
  display: grid;
  grid-template-columns: 30px 1fr auto auto;
  align-items: center;
  gap: 18px;
  padding: 13px 18px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition:
    border-color 0.2s ease,
    transform 0.2s ease,
    background 0.2s ease,
    box-shadow 0.2s ease;
}
.rating-row:hover {
  border-color: var(--border-strong);
  transform: translateY(-2px) scale(1.005);
  background: var(--surface-2);
  box-shadow: var(--shadow-card);
}
.rating-row--top {
  border-color: rgba(255, 197, 66, 0.4);
  background: linear-gradient(
    135deg,
    rgba(255, 122, 26, 0.1),
    rgba(255, 197, 66, 0.04)
  );
}
.rating-row--top::before {
  content: "";
  position: absolute;
  inset: -2px;
  background: linear-gradient(
    120deg,
    transparent,
    rgba(255, 197, 66, 0.5),
    transparent
  );
  background-size: 200% 100%;
  z-index: -1;
  animation: shimmer 3.2s linear infinite;
  opacity: 0.5;
}
@keyframes shimmer {
  0% {
    background-position: 200% 0;
  }
  100% {
    background-position: -200% 0;
  }
}

.rating-rank {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1rem;
  color: var(--text-faint);
  text-align: center;
}
.rating-rank--gold {
  color: var(--gold);
}

.rating-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}
.brand-mark {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 0.78rem;
  color: #fff;
  background: var(--grad-primary);
  flex-shrink: 0;
  transition: transform 0.2s ease;
}
.brand-mark img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.rating-row:hover .brand-mark {
  transform: scale(1.08) rotate(-3deg);
}

.rating-info {
  min-width: 0;
}
.rating-name-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 4px;
}
.rating-name {
  font-weight: 700;
  font-family: var(--font-display);
  font-size: 0.95rem;
}

.trend {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 2px 6px;
  border-radius: var(--radius-pill);
}
.trend svg {
  width: 10px;
  height: 10px;
}
.trend--up {
  color: var(--green);
  background: rgba(46, 213, 115, 0.12);
}
.trend--down {
  color: #ff5c7c;
  background: rgba(255, 92, 124, 0.12);
}
.trend--flat {
  color: var(--text-faint);
  background: rgba(255, 255, 255, 0.06);
}
.badge-new {
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  color: var(--blue);
  background: rgba(91, 141, 239, 0.14);
  padding: 2px 7px;
  border-radius: var(--radius-pill);
}

.pick-badge {
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  color: #161200;
  background: var(--grad-primary);
  padding: 2px 7px;
  border-radius: var(--radius-pill);
}

.rating-score-row {
  display: flex;
  align-items: center;
  gap: 8px;
}
.rating-score {
  display: flex;
  align-items: center;
  gap: 3px;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--gold);
  flex-shrink: 0;
}
.rating-score svg {
  width: 12px;
  height: 12px;
}
.score-bar {
  flex: 1;
  max-width: 90px;
  height: 4px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-pill);
  overflow: hidden;
}
.score-bar__fill {
  height: 100%;
  width: 0;
  border-radius: var(--radius-pill);
  background: var(--grad-primary);
  transition: width 1.1s cubic-bezier(0.22, 1, 0.36, 1);
}
.reveal.is-visible .score-bar__fill {
  width: var(--fill);
}

.tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.78rem;
  color: var(--text-muted);
  background: var(--bg-soft);
  border: 1px solid var(--border);
  padding: 7px 12px;
  border-radius: var(--radius-pill);
  white-space: nowrap;
}
.tag svg {
  width: 13px;
  height: 13px;
  flex-shrink: 0;
}
.tag--gold {
  color: var(--gold);
  border-color: rgba(255, 197, 66, 0.3);
  background: rgba(255, 197, 66, 0.08);
}

@media (max-width: 768px) {
  .rating-row {
    grid-template-columns: 24px 1fr;
    row-gap: 12px;
  }
  .tag {
    grid-column: 1 / -1;
    width: fit-content;
  }
  .rating-row > .btn {
    grid-column: 1 / -1;
    justify-self: stretch;
    justify-content: center;
  }
}

/* ===== Predictions ===== */
.predictions {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.predict-card {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 22px;
  overflow: hidden;
  transition:
    transform 0.25s ease,
    border-color 0.25s ease,
    box-shadow 0.25s ease;
}
.predict-card:hover {
  transform: translateY(-6px);
  border-color: var(--border-strong);
  box-shadow: var(--shadow-card);
}
.predict-card--hot {
  border-color: rgba(255, 122, 26, 0.4);
  background: linear-gradient(
    160deg,
    rgba(255, 122, 26, 0.07),
    var(--surface) 55%
  );
}

.flame-ribbon {
  position: absolute;
  top: 0;
  right: 0;
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  color: #1a0e00;
  background: var(--grad-primary);
  padding: 7px 14px 7px 12px;
  border-radius: 0 var(--radius-md) 0 var(--radius-md);
}
.flame-ribbon svg {
  width: 12px;
  height: 12px;
}

.predict-card__head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
  flex-wrap: wrap;
}
.league-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: var(--blue);
  background: rgba(91, 141, 239, 0.12);
  padding: 5px 10px;
  border-radius: var(--radius-pill);
}
.league-tag svg {
  width: 12px;
  height: 12px;
}
.predict-time {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.78rem;
  color: var(--text-faint);
}
.predict-time--live {
  color: #ff8a6b;
  font-weight: 600;
}
.live-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #e63946;
  box-shadow: 0 0 0 0 rgba(230, 57, 70, 0.6);
  animation: pulse-dot 1.6s ease-out infinite;
}
@keyframes pulse-dot {
  0% {
    box-shadow: 0 0 0 0 rgba(230, 57, 70, 0.55);
  }
  70% {
    box-shadow: 0 0 0 7px rgba(230, 57, 70, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(230, 57, 70, 0);
  }
}

.predict-teams {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 18px;
}
.predict-teams .team {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  flex: 1;
  min-width: 0;
}
.predict-teams .team span:last-child {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.85rem;
  text-align: center;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%;
}
.team-badge {
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 0.7rem;
  color: #fff;
  background: linear-gradient(135deg, var(--c1), var(--c2));
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.3);
}
.predict-teams .vs {
  color: var(--text-faint);
  font-size: 0.7rem;
  font-weight: 700;
  flex-shrink: 0;
}

.confidence {
  margin-bottom: 16px;
}
.confidence__row {
  display: flex;
  justify-content: space-between;
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-bottom: 6px;
}
.confidence__row strong {
  color: var(--text);
}
.confidence__bar {
  height: 6px;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.07);
  overflow: hidden;
}
.confidence__fill {
  height: 100%;
  width: 0;
  border-radius: var(--radius-pill);
  background: linear-gradient(90deg, var(--blue), var(--green));
  transition: width 1.2s cubic-bezier(0.22, 1, 0.36, 1);
}
.reveal.is-visible .confidence__fill {
  width: var(--fill);
}

.predict-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--bg-soft);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  margin-bottom: 16px;
  gap: 10px;
}
.predict-pick__label {
  display: block;
  font-size: 0.7rem;
  color: var(--text-faint);
  margin-bottom: 2px;
}
.predict-pick strong {
  font-size: 0.88rem;
}
.predict-odd-wrap {
  text-align: center;
  flex-shrink: 0;
}
.predict-odd-label {
  display: block;
  font-size: 0.62rem;
  color: var(--text-faint);
  margin-bottom: 3px;
}
.predict-odd {
  position: relative;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.05rem;
  color: var(--orange-light);
  background: rgba(255, 122, 26, 0.1);
  padding: 6px 14px;
  border-radius: var(--radius-sm);
  overflow: hidden;
}
.predict-card:hover .predict-odd {
  background: rgba(255, 122, 26, 0.18);
}

.predict-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--orange-light);
  transition: gap 0.2s ease;
}
.predict-link:hover {
  gap: 10px;
}

@media (max-width: 900px) {
  .predictions {
    grid-template-columns: 1fr;
  }
}

/* ===== Articles mosaic ===== */
.mosaic {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 190px;
  gap: 20px;
}
.post {
  position: relative;
  border-radius: var(--radius-md);
  padding: 22px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  overflow: hidden;
  background: linear-gradient(155deg, var(--g1), var(--g2));
  isolation: isolate;
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
}
/* Featured image fills the tile; sits below the readability overlay and text. */
.post__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  z-index: -2;
}
.post::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(10, 13, 19, 0) 20%,
    rgba(10, 13, 19, 0.85) 100%
  );
  z-index: -1;
}
.post:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-card);
}
.post__tag {
  align-self: flex-start;
  font-size: 0.7rem;
  font-weight: 700;
  background: rgba(0, 0, 0, 0.35);
  backdrop-filter: blur(4px);
  padding: 5px 12px;
  border-radius: var(--radius-pill);
  margin-bottom: auto;
}
.post__title {
  font-size: 1.02rem;
  line-height: 1.3;
  margin-bottom: 8px;
}
.post__meta {
  font-size: 0.76rem;
  color: rgba(255, 255, 255, 0.75);
}

.post--xl {
  grid-column: span 2;
  grid-row: span 2;
}
.post--xl .post__title {
  font-size: 1.4rem;
}
.post--wide {
  grid-column: span 2;
}

@media (max-width: 980px) {
  .mosaic {
    grid-template-columns: repeat(2, 1fr);
  }
  .post--xl,
  .post--wide {
    grid-column: span 2;
  }
}
@media (max-width: 600px) {
  .mosaic {
    grid-template-columns: 1fr;
    grid-auto-rows: 220px;
  }
  .post--xl,
  .post--wide {
    grid-column: span 1;
    grid-row: span 1;
  }
}

/* ===== Telegram banner ===== */
.tg-banner {
  background: linear-gradient(135deg, #2aabee 0%, #1f86c9 100%);
  padding: 52px 0;
  position: relative;
  overflow: hidden;
}
.tg-banner::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
    circle at top right,
    rgba(255, 255, 255, 0.24),
    transparent 38%
  );
  pointer-events: none;
}
.tg-banner__inner {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  flex-wrap: wrap;
  padding: 28px 32px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.24);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.16);
  backdrop-filter: blur(6px);
}
.tg-banner__left {
  display: flex;
  align-items: center;
  gap: 20px;
}
.tg-banner__icon {
  width: 64px;
  height: 64px;
  background: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #2aabee;
  flex-shrink: 0;
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.16);
}
.tg-banner__title {
  display: block;
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 6px;
}
.tg-banner__sub {
  color: rgba(255, 255, 255, 0.86);
  font-size: 0.93rem;
}
.tg-banner__btn {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  background: #fff;
  color: #1f86c9;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.96rem;
  padding: 15px 32px;
  border-radius: var(--radius-pill);
  white-space: nowrap;
  flex-shrink: 0;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease,
    color 0.2s ease;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.14);
}
.tg-banner__btn:hover {
  transform: translateY(-2px);
  color: #126899;
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.2);
}

.store-badge--footer {
  background: linear-gradient(135deg, #2aabee 0%, #1f86c9 100%);
  color: #fff;
  border-color: transparent;
  box-shadow: 0 12px 24px rgba(31, 134, 201, 0.24);
}
.store-badge--footer:hover {
  box-shadow: 0 16px 28px rgba(31, 134, 201, 0.3);
}
.store-badge--footer svg {
  background: rgba(255, 255, 255, 0.18);
  border-radius: 50%;
  padding: 3px;
}

/* ===== About ===== */
.about-top {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 56px;
  align-items: center;
}
.about__text {
  color: var(--text-muted);
  margin-top: 16px;
  max-width: 560px;
  line-height: 1.7;
}

.about-visual {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 28px;
  background: linear-gradient(160deg, var(--surface-2), var(--surface));
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-lg);
  padding: 38px 28px;
  box-shadow: var(--shadow-card);
  overflow: hidden;
}
.about-visual__glow {
  position: absolute;
  top: -120px;
  left: -80px;
  width: 320px;
  height: 320px;
  background: var(--grad-glow);
  filter: blur(10px);
  pointer-events: none;
}
.verified-ribbon {
  position: absolute;
  top: 0;
  right: 0;
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  color: #07150e;
  background: linear-gradient(135deg, var(--green), #7be8a8);
  padding: 8px 16px 8px 14px;
  border-radius: 0 var(--radius-lg) 0 var(--radius-md);
}
.verified-ribbon svg {
  width: 13px;
  height: 13px;
  flex-shrink: 0;
}

.trust-ring {
  position: relative;
  width: 150px;
  height: 150px;
}
.trust-ring__svg {
  width: 100%;
  height: 100%;
  transform: rotate(-90deg);
}
.trust-ring__track {
  fill: none;
  stroke: rgba(255, 255, 255, 0.08);
  stroke-width: 9;
}
.trust-ring__fill {
  fill: none;
  stroke: var(--orange-light);
  stroke-width: 9;
  stroke-linecap: round;
  stroke-dasharray: 327;
  stroke-dashoffset: 327;
  transition: stroke-dashoffset 1.4s cubic-bezier(0.22, 1, 0.36, 1);
}
.reveal.is-visible .trust-ring__fill {
  stroke-dashoffset: 13;
}
.trust-ring__label {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.trust-ring__label strong {
  font-family: var(--font-display);
  font-size: 1.9rem;
  font-weight: 800;
  color: var(--orange-light);
  line-height: 1;
}
.trust-ring__label span {
  font-size: 0.7rem;
  color: var(--text-faint);
  margin-top: 4px;
}

.trust-stats {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.trust-stats li {
  display: flex;
  align-items: center;
  gap: 14px;
}
.trust-stats__icon {
  width: 38px;
  height: 38px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 11px;
  background: rgba(255, 122, 26, 0.12);
  color: var(--orange-light);
}
.trust-stats__icon svg {
  width: 18px;
  height: 18px;
}
.trust-stats li strong {
  display: block;
  font-family: var(--font-display);
  font-size: 0.95rem;
}
.trust-stats li span {
  font-size: 0.78rem;
  color: var(--text-muted);
}

@media (max-width: 980px) {
  .about-top {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .about-visual {
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
  }
}

.about-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 56px;
}
.about-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 24px;
  transition:
    transform 0.2s ease,
    border-color 0.2s ease;
}
.about-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-strong);
}
.about-card__icon {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 122, 26, 0.12);
  color: var(--orange-light);
  margin-bottom: 16px;
}
.about-card h3 {
  font-size: 1rem;
  margin-bottom: 8px;
}
.about-card p {
  font-size: 0.875rem;
  color: var(--text-muted);
}

@media (max-width: 980px) {
  .about-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 560px) {
  .about-grid {
    grid-template-columns: 1fr;
  }
}

/* ===== Footer ===== */
.footer {
  background: var(--bg-soft);
  border-top: 1px solid var(--border);
  padding-top: 64px;
}
.footer__top {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 48px;
}
.footer__brand p {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin: 16px 0 20px;
  max-width: 320px;
}
.footer__col h4 {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-faint);
  margin-bottom: 18px;
}
.footer__col a {
  display: block;
  color: var(--text-muted);
  font-size: 0.92rem;
  margin-bottom: 12px;
  transition: color 0.2s ease;
}
.footer__col a:hover {
  color: var(--orange-light);
}

.store-badge--footer {
  padding: 10px 14px;
  width: fit-content;
  gap: 8px;
  margin-bottom: 12px;
}

.footer__bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  padding: 24px 0;
  border-top: 1px solid var(--border);
  font-size: 0.82rem;
  color: var(--text-faint);
}
.container.footer__bottom {
  padding-top: 24px;
  padding-bottom: 24px;
}

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

/* ===== Shared components: breadcrumbs, trust chips, criteria grid, FAQ ===== */
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.nav__link.is-active {
  color: var(--orange-light);
}

.breadcrumbs {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  color: var(--text-faint);
}
.breadcrumbs a {
  color: var(--text-muted);
  transition: color 0.2s ease;
}
.breadcrumbs a:hover {
  color: var(--orange-light);
}
.breadcrumbs__sep {
  color: var(--text-faint);
}
.breadcrumbs [aria-current="page"] {
  color: var(--text);
}

.trust-chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}
.trust-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.84rem;
  font-weight: 500;
  color: var(--text-muted);
  background: var(--surface);
  border: 1px solid var(--border);
  padding: 9px 16px;
  border-radius: var(--radius-pill);
}
.trust-chip svg {
  color: var(--orange-light);
  flex-shrink: 0;
}

.criteria-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 18px;
  margin-top: 44px;
}
.criteria-card {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 22px 20px 20px;
  transition:
    transform 0.2s ease,
    border-color 0.2s ease;
}
.criteria-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-strong);
}
.criteria-card__weight {
  position: absolute;
  top: 18px;
  right: 18px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 0.85rem;
  color: var(--c);
}
.criteria-card__icon {
  width: 42px;
  height: 42px;
  border-radius: 11px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: color-mix(in srgb, var(--c) 16%, transparent);
  color: var(--c);
  margin-bottom: 14px;
}
.criteria-card h3 {
  font-size: 0.92rem;
  margin-bottom: 8px;
}
.criteria-card p {
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.55;
}

.update-note {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 36px;
  font-size: 0.86rem;
  color: var(--text-muted);
}
.update-note svg {
  color: var(--orange-light);
  flex-shrink: 0;
}
.update-note strong {
  color: var(--text);
}

@media (max-width: 980px) {
  .criteria-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 560px) {
  .criteria-grid {
    grid-template-columns: 1fr;
  }
}

.faq-list {
  max-width: 820px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.faq-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 4px 22px;
  transition: border-color 0.2s ease;
}
.faq-item[open] {
  border-color: var(--border-strong);
}
.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  list-style: none;
  cursor: pointer;
  padding: 18px 0;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.96rem;
}
.faq-item summary::-webkit-details-marker {
  display: none;
}
.faq-item__icon {
  position: relative;
  flex-shrink: 0;
  width: 18px;
  height: 18px;
}
.faq-item__icon::before,
.faq-item__icon::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  background: var(--orange-light);
  transform: translate(-50%, -50%);
  transition: transform 0.25s ease;
}
.faq-item__icon::before {
  width: 12px;
  height: 2px;
}
.faq-item__icon::after {
  width: 2px;
  height: 12px;
}
.faq-item[open] .faq-item__icon::after {
  transform: translate(-50%, -50%) rotate(90deg) scale(0);
}
.faq-item p {
  color: var(--text-muted);
  font-size: 0.88rem;
  line-height: 1.65;
  padding-bottom: 20px;
  max-width: 680px;
}

/* ===== Reveal on scroll ===== */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition:
    opacity 0.7s ease,
    transform 0.7s ease;
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ===== Responsive: hero & nav ===== */
@media (max-width: 980px) {
  .hero__inner {
    grid-template-columns: 1fr;
  }
  .hero__visual {
    order: -1;
    margin-bottom: 12px;
  }
  .phone-mock {
    width: 220px;
  }
}

@media (max-width: 860px) {
  .nav {
    display: none;
  }
  .header__actions .btn--primary.btn--sm {
    display: none;
  }
  .burger {
    display: flex;
  }
}

@media (max-width: 520px) {
  .container {
    padding: 0 18px;
  }
  .section {
    padding: 64px 0;
  }
  .promo-box {
    flex-wrap: wrap;
  }
  .hero__cta .btn {
    flex: 1;
    justify-content: center;
  }
  .ad-banner {
    padding: 28px 22px;
    justify-content: center;
    text-align: center;
  }
}

/* ===== Mobile nav drawer ===== */
.nav.nav--open {
  display: flex;
  flex-direction: column;
  position: absolute;
  top: 76px;
  left: 0;
  right: 0;
  background: var(--bg-soft);
  border-bottom: 1px solid var(--border);
  padding: 20px 24px 28px;
  gap: 18px;
}
.burger.is-active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.burger.is-active span:nth-child(2) {
  opacity: 0;
}
.burger.is-active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

@media (max-width: 600px) {
  .tg-banner {
    padding: 40px 0;
  }
  .tg-banner__inner {
    flex-direction: column;
    text-align: center;
    align-items: center;
    background: none;
    box-shadow: none;
    border: none;
  }
  .tg-banner__left {
    flex-direction: column;
    align-items: center;
  }
  .tg-banner__btn {
    width: 100%;
    justify-content: center;
  }
}
