:root {
  --ink: #14213d;
  --muted: #64748b;
  --line: #e4e9f2;
  --soft: #f6f8fc;
  --blue: #1769e0;
  --blue-dark: #0b3f91;
  --yellow: #ffd84d;
  --orange: #f97316;
  --green: #16a34a;
  --surface: #ffffff;
  --shadow: 0 16px 40px rgba(20, 33, 61, 0.1);
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: #fff;
}

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

button,
input,
select {
  font: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(18px);
}

.top-strip {
  display: flex;
  justify-content: center;
  gap: 14px;
  padding: 8px 20px;
  color: #fff;
  background: linear-gradient(90deg, var(--blue-dark), var(--blue));
  font-size: 13px;
  font-weight: 600;
}

.top-strip a {
  color: var(--yellow);
}

.nav-shell,
.hero-section,
.category-band,
.content-shell,
.telegram-band,
.site-footer {
  width: min(calc(100% - 32px), 1180px);
  margin: 0 auto;
}

.nav-shell {
  display: grid;
  grid-template-columns: auto minmax(280px, 1fr) auto;
  align-items: center;
  gap: 22px;
  padding: 15px 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 22px;
  font-weight: 800;
  letter-spacing: 0;
}

.brand-mark {
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  color: var(--ink);
  background: var(--yellow);
  border: 2px solid var(--ink);
  border-radius: 8px;
  box-shadow: 4px 4px 0 var(--ink);
}

.brand-mark svg {
  width: 25px;
  height: 25px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.search {
  display: grid;
  grid-template-columns: 22px 1fr auto;
  align-items: center;
  gap: 10px;
  min-height: 46px;
  padding: 5px 5px 5px 14px;
  background: #fff;
  border: 2px solid var(--ink);
  border-radius: 8px;
  box-shadow: 5px 5px 0 rgba(20, 33, 61, 0.12);
}

.search svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: var(--muted);
  stroke-linecap: round;
  stroke-width: 2;
}

.search input {
  min-width: 0;
  border: 0;
  outline: 0;
  color: var(--ink);
  font-size: 14px;
}

.search button,
.subscribe-form button {
  min-height: 34px;
  padding: 0 16px;
  color: #111827;
  background: var(--yellow);
  border: 0;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 800;
  cursor: pointer;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 18px;
  color: #334155;
  font-size: 14px;
  font-weight: 700;
}

.telegram-link {
  padding: 10px 14px;
  color: #fff;
  background: var(--blue);
  border-radius: 7px;
}

.hero-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(400px, 0.92fr);
  gap: 38px;
  align-items: center;
  padding: 54px 0 28px;
}

.hero-copy h1 {
  max-width: 590px;
  margin: 0;
  font-size: clamp(44px, 7vw, 82px);
  line-height: 0.95;
  font-weight: 800;
  letter-spacing: 0;
}

.hero-copy p {
  max-width: 590px;
  margin: 22px 0 0;
  color: #45556f;
  font-size: 18px;
  line-height: 1.7;
}

.hero-actions,
.hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 26px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 48px;
  padding: 0 20px;
  border-radius: 8px;
  font-weight: 800;
}

.btn svg,
.deal-btn svg,
.store-cta + svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2.2;
}

.btn-primary {
  color: #fff;
  background: var(--blue);
  box-shadow: 0 14px 30px rgba(23, 105, 224, 0.24);
}

.btn-secondary {
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--line);
}

.hero-stats span {
  display: inline-flex;
  align-items: baseline;
  gap: 6px;
  min-height: 38px;
  padding: 0 13px;
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: 8px;
  color: #526173;
  font-size: 13px;
  font-weight: 700;
}

.hero-stats strong {
  color: var(--ink);
  font-size: 18px;
}

.hero-visual {
  position: relative;
  min-height: 450px;
  padding: 26px;
  overflow: hidden;
  background:
    radial-gradient(circle at 18% 22%, rgba(255, 216, 77, 0.9), transparent 26%),
    radial-gradient(circle at 78% 16%, rgba(23, 105, 224, 0.22), transparent 28%),
    linear-gradient(145deg, #f9fbff, #eef5ff);
  border: 1px solid #d9e5f7;
  border-radius: 8px;
}

.hero-visual::before {
  position: absolute;
  inset: 16px;
  content: "";
  background-image:
    linear-gradient(rgba(20, 33, 61, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(20, 33, 61, 0.05) 1px, transparent 1px);
  background-size: 28px 28px;
  mask-image: linear-gradient(135deg, #000, transparent 68%);
}

.deal-spotlight,
.coupon-tile {
  position: relative;
  z-index: 1;
}

.deal-spotlight {
  margin-top: 48px;
  background: #fff;
  border: 2px solid var(--ink);
  border-radius: 8px;
  box-shadow: 12px 14px 0 rgba(20, 33, 61, 0.12);
}

.spotlight-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 13px 16px;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.spotlight-header strong {
  color: var(--green);
}

.spotlight-body {
  display: grid;
  grid-template-columns: 190px 1fr;
  gap: 18px;
  align-items: center;
  padding: 22px;
}

.product-stack {
  position: relative;
  min-height: 200px;
}

.product-card {
  position: absolute;
  border-radius: 8px;
  border: 1px solid rgba(20, 33, 61, 0.1);
  box-shadow: 0 20px 35px rgba(20, 33, 61, 0.15);
}

.phone-card {
  inset: 0 auto auto 34px;
  width: 90px;
  height: 178px;
  background:
    linear-gradient(145deg, #111827, #334155),
    linear-gradient(#fff, #fff);
  border: 7px solid #111827;
}

.phone-card::after {
  position: absolute;
  inset: 18px 12px;
  content: "";
  background: linear-gradient(180deg, var(--yellow), #fff3a3 52%, #2b77e7 53%);
  border-radius: 6px;
}

.buds-card {
  right: 0;
  bottom: 10px;
  width: 112px;
  height: 88px;
  background:
    radial-gradient(circle at 38% 46%, #fff 0 17px, #111827 18px 20px, transparent 21px),
    radial-gradient(circle at 62% 46%, #fff 0 17px, #111827 18px 20px, transparent 21px),
    linear-gradient(145deg, #1769e0, #7db5ff);
}

.box-card {
  left: 0;
  bottom: 3px;
  width: 92px;
  height: 72px;
  background:
    linear-gradient(90deg, transparent 45%, rgba(20, 33, 61, 0.15) 46% 54%, transparent 55%),
    linear-gradient(145deg, #ffd84d, #ffb020);
}

.spotlight-body h2 {
  margin: 0;
  font-size: 28px;
  line-height: 1.1;
}

.spotlight-body p {
  margin: 10px 0 14px;
  color: var(--muted);
  line-height: 1.55;
}

.price-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 9px;
}

.price-row strong {
  font-size: 25px;
}

.price-row del {
  color: #94a3b8;
}

.price-row span {
  padding: 5px 8px;
  color: #fff;
  background: var(--green);
  border-radius: 6px;
  font-size: 12px;
  font-weight: 800;
}

.store-cta {
  display: inline-flex;
  margin-top: 18px;
  padding: 11px 14px;
  color: #fff;
  background: var(--orange);
  border-radius: 7px;
  font-size: 14px;
  font-weight: 800;
}

.coupon-tile {
  position: absolute;
  top: 26px;
  right: 26px;
  display: grid;
  gap: 2px;
  min-width: 118px;
  padding: 12px;
  background: var(--yellow);
  border: 2px dashed var(--ink);
  border-radius: 8px;
  transform: rotate(4deg);
}

.coupon-tile span {
  font-size: 12px;
  font-weight: 800;
}

.coupon-tile strong {
  font-size: 22px;
}

.category-band {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  padding: 24px 0 36px;
}

.category-chip {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-height: 46px;
  white-space: nowrap;
  padding: 0 16px 0 10px;
  color: #334155;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  font-size: 14px;
  font-weight: 800;
  cursor: pointer;
}

.category-chip.is-active {
  color: var(--ink);
  border-color: var(--ink);
  box-shadow: 4px 4px 0 rgba(20, 33, 61, 0.11);
}

.chip-icon {
  display: grid;
  width: 28px;
  height: 28px;
  place-items: center;
  color: #fff;
  background: var(--blue);
  border-radius: 7px;
  font-size: 12px;
}

.content-shell {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 28px;
  align-items: start;
  padding: 8px 0 54px;
}

.main-column,
.side-rail {
  min-width: 0;
}

.section-heading {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: end;
  margin-bottom: 16px;
}

.section-heading h2,
.telegram-band h2 {
  margin: 0;
  font-size: clamp(28px, 4vw, 42px);
  line-height: 1.05;
  letter-spacing: 0;
}

.section-heading p,
.telegram-band p,
.rail-panel p,
.site-footer p {
  margin: 8px 0 0;
  color: var(--muted);
  line-height: 1.55;
}

.section-heading select {
  min-height: 42px;
  padding: 0 14px;
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 7px;
  font-size: 14px;
  font-weight: 700;
}

.store-tabs {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 18px;
}

.store-tab {
  min-height: 38px;
  padding: 0 15px;
  color: #45556f;
  background: var(--soft);
  border: 1px solid transparent;
  border-radius: 7px;
  font-size: 14px;
  font-weight: 800;
  cursor: pointer;
}

.store-tab.is-active {
  color: #fff;
  background: var(--blue);
}

.deal-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.deal-card {
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 10px 22px rgba(20, 33, 61, 0.05);
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.deal-card:hover {
  border-color: #cbd5e1;
  box-shadow: var(--shadow);
  transform: translateY(-3px);
}

.deal-image {
  position: relative;
  display: grid;
  min-height: 174px;
  place-items: center;
  overflow: hidden;
  background: linear-gradient(145deg, #f8fbff, #edf4ff);
}

.deal-image::before {
  position: absolute;
  inset: 0;
  content: "";
  background-image: radial-gradient(circle at 20% 18%, rgba(255, 216, 77, 0.6), transparent 28%);
}

.store-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 1;
  padding: 6px 9px;
  color: #fff;
  background: var(--ink);
  border-radius: 6px;
  font-size: 12px;
  font-weight: 800;
}

.product-art {
  position: relative;
  width: 112px;
  height: 112px;
  border-radius: 8px;
  background: var(--art-bg, linear-gradient(145deg, #1769e0, #7db5ff));
  background-position: center;
  background-size: cover;
  box-shadow: 0 22px 40px rgba(20, 33, 61, 0.18);
}

.product-art::after {
  position: absolute;
  inset: 18px;
  content: "";
  border: 10px solid rgba(255, 255, 255, 0.86);
  border-radius: 999px;
}

.product-art.has-image::after {
  display: none;
}

.deal-body {
  padding: 14px;
}

.deal-meta,
.pricing,
.coupon-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.store-name,
.rating {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.deal-card h3 {
  min-height: 48px;
  margin: 9px 0 12px;
  font-size: 16px;
  line-height: 1.35;
}

.pricing {
  justify-content: flex-start;
  flex-wrap: wrap;
}

.pricing strong {
  font-size: 20px;
}

.pricing del {
  color: #94a3b8;
  font-size: 13px;
}

.pricing span {
  color: var(--green);
  font-size: 12px;
  font-weight: 900;
}

.coupon-row {
  margin-top: 13px;
  padding: 8px;
  background: #fff8dc;
  border: 1px dashed #eab308;
  border-radius: 7px;
}

.coupon-row code {
  color: #8a4a00;
  font-size: 13px;
  font-weight: 900;
}

.copy-btn {
  min-height: 28px;
  padding: 0 10px;
  color: #fff;
  background: var(--ink);
  border: 0;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 800;
  cursor: pointer;
}

.copy-btn.is-copied {
  background: var(--green);
}

.deal-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 42px;
  margin-top: 12px;
  color: #fff;
  background: var(--orange);
  border-radius: 7px;
  font-size: 14px;
  font-weight: 900;
}

.empty-state {
  padding: 30px;
  text-align: center;
  color: var(--muted);
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.side-rail {
  display: grid;
  gap: 16px;
  position: sticky;
  top: 102px;
}

.rail-panel {
  padding: 18px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 10px 25px rgba(20, 33, 61, 0.05);
}

.rail-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.rail-panel h3 {
  margin: 0;
  font-size: 18px;
}

.rail-heading span {
  color: var(--green);
  font-size: 11px;
  font-weight: 900;
}

.trend-list {
  display: grid;
  gap: 12px;
  margin: 16px 0 0;
  padding-left: 20px;
  color: var(--blue);
  font-size: 14px;
  font-weight: 800;
}

.deal-submit {
  background: linear-gradient(145deg, #14213d, #0b3f91);
  color: #fff;
}

.deal-submit p {
  color: #d7e5ff;
}

.deal-submit a {
  display: inline-flex;
  margin-top: 16px;
  padding: 10px 13px;
  background: var(--yellow);
  border-radius: 7px;
  color: var(--ink);
  font-size: 14px;
  font-weight: 900;
}

.telegram-band {
  display: grid;
  grid-template-columns: 1fr minmax(320px, 0.62fr);
  gap: 24px;
  align-items: center;
  margin-bottom: 56px;
  padding: 28px;
  color: #fff;
  background: linear-gradient(135deg, var(--blue-dark), var(--blue));
  border-radius: 8px;
}

.telegram-band p {
  color: #dbeafe;
}

.subscribe-form {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px;
  padding: 7px;
  background: #fff;
  border-radius: 8px;
}

.subscribe-form input {
  min-width: 0;
  border: 0;
  outline: 0;
  padding: 0 12px;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 28px 0 42px;
  border-top: 1px solid var(--line);
}

.footer-brand {
  font-size: 19px;
}

.footer-links {
  display: flex;
  gap: 16px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
}

@media (max-width: 980px) {
  .nav-shell {
    grid-template-columns: 1fr;
  }

  .nav-actions {
    justify-content: space-between;
  }

  .hero-section,
  .content-shell,
  .telegram-band {
    grid-template-columns: 1fr;
  }

  .hero-visual {
    min-height: 390px;
  }

  .side-rail {
    position: static;
  }

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

@media (max-width: 640px) {
  .top-strip {
    flex-direction: column;
    gap: 4px;
    text-align: center;
  }

  .nav-shell,
  .hero-section,
  .category-band,
  .content-shell,
  .telegram-band,
  .site-footer {
    width: min(calc(100% - 22px), 1180px);
  }

  .search {
    grid-template-columns: 20px 1fr;
  }

  .search button {
    grid-column: 1 / -1;
    width: 100%;
  }

  .hero-section {
    gap: 26px;
    padding-top: 34px;
  }

  .hero-copy p {
    font-size: 16px;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .hero-visual {
    min-height: auto;
    padding: 16px;
  }

  .deal-spotlight {
    margin-top: 54px;
  }

  .spotlight-body {
    grid-template-columns: 1fr;
  }

  .product-stack {
    min-height: 160px;
  }

  .phone-card {
    left: 72px;
    width: 78px;
    height: 146px;
  }

  .section-heading,
  .site-footer {
    align-items: stretch;
    flex-direction: column;
  }

  .deal-grid {
    grid-template-columns: 1fr;
  }

  .telegram-band {
    padding: 22px;
  }

  .subscribe-form {
    grid-template-columns: 1fr;
  }

  .subscribe-form input {
    min-height: 42px;
  }
}
