@font-face {
  font-family: "Playpen Sans";
  src: url("./fonts/PlaypenSans-VariableFont_wght.ttf") format("truetype");
  font-weight: 400 800;
  font-style: normal;
  font-display: swap;
}

* {
  box-sizing: border-box;
}

:root {
  --bg: #f8fafc;
  --surface: #ffffff;
  --surface-soft: #f9fbfd;
  --surface-blue: #f4f8ff;
  --text: #111827;
  --muted: #667085;
  --border: #e5eaf0;
  --line: rgba(17, 24, 39, 0.08);
  --green: #12805c;
  --green-soft: #eaf8f1;
  --blue: #3f7cff;
  --blue-soft: #edf4ff;
  --mint: #7bbf9e;
  --dark: #111827;
  --shadow: 0 18px 54px rgba(15, 23, 42, 0.08);
  --shadow-soft: 0 10px 30px rgba(15, 23, 42, 0.06);
}

html {
  width: 100%;
  overflow-x: hidden;
  scroll-behavior: smooth;
}

body {
  position: relative;
  margin: 0;
  width: 100%;
  min-height: 100vh;
  overflow-x: hidden;
  font-family: "Playpen Sans", Arial, sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 12% 8%, rgba(216, 229, 255, 0.74), transparent 25rem),
    radial-gradient(circle at 90% 10%, rgba(184, 216, 186, 0.44), transparent 26rem),
    linear-gradient(180deg, #ffffff 0%, var(--bg) 44%, #ffffff 100%);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(63, 124, 255, 0.22) 1px, transparent 1px),
    linear-gradient(90deg, rgba(18, 128, 92, 0.16) 1px, transparent 1px);
  background-size: 36px 36px;
  background-position: center top;
  mask-image: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.82),
    rgba(0, 0, 0, 0.44) 70%,
    transparent 100%
  );
}

body::after {
  content: none;
}

#canvas-container {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
  opacity: 1;
}

#canvas-container canvas {
  position: absolute;
  inset: 0;
  width: 100% !important;
  height: 100% !important;
  display: block;
}

.cloud-canvas {
  z-index: 1;
  opacity: 1;
}

@keyframes line-scan {
  from {
    background-position: 0 0;
  }

  to {
    background-position: 72px 0;
  }
}

@keyframes pulse-soft {
  50% {
    transform: scale(1.22);
    opacity: 0.55;
  }
}

@keyframes sun-rays-rotate {
  from {
    transform: translate(-50%, -50%) rotate(0deg);
  }

  to {
    transform: translate(-50%, -50%) rotate(360deg);
  }
}

@keyframes sun-glow-pulse {
  0%,
  100% {
    opacity: 0.50;
    transform: translate(-50%, -50%) scale(0.96);
  }

  50% {
    opacity: 0.86;
    transform: translate(-50%, -50%) scale(1.06);
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
  }
}

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

.wrap {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 1220px;
  margin: 0 auto;
  padding: 26px;
}

.site-header {
  position: relative;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  padding: 14px 16px;
  margin-bottom: 22px;
  border: 1px solid rgba(63, 124, 255, 0.12);
  border-radius: 26px;
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(18px);
  color: var(--text);
  box-shadow: var(--shadow-soft);
}

.logo {
  font-size: 24px;
  font-weight: 800;
  letter-spacing: -0.05em;
  color: var(--dark);
}

.nav {
  display: flex;
  gap: 10px;
  color: var(--muted);
  font-size: 14px;
}

.nav a {
  padding: 9px 12px;
  border-radius: 999px;
  transition: 0.16s background, 0.16s color;
}

.nav a:hover {
  background: var(--blue-soft);
  color: var(--blue);
}

.hero {
  position: relative;
  overflow: hidden;
  border-radius: 34px;
  padding: 38px;
  color: var(--text);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.96), rgba(249, 251, 253, 0.94)),
    radial-gradient(circle at 82% 18%, rgba(216, 229, 255, 0.58), transparent 17rem);
  box-shadow: var(--shadow);
  border: 1px solid rgba(63, 124, 255, 0.12);
  margin-bottom: 26px;
}

.hero::before {
  content: "";
  position: absolute;
  right: -120px;
  top: -120px;
  width: 320px;
  height: 320px;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(184, 216, 186, 0.26), transparent 68%);
  pointer-events: none;
}

.hero::after {
  content: "";
  position: absolute;
  left: 34px;
  bottom: 0;
  width: calc(100% - 68px);
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(63, 124, 255, 0.28),
    rgba(18, 128, 92, 0.20),
    transparent
  );
  background-size: 72px 1px;
  animation: line-scan 8s linear infinite;
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 780px;
}

.eyebrow,
.section-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--blue);
  font-size: 13px;
  font-weight: 800;
}

.section-title-main {
  font-size: 25px;
  line-height: 1.1;
  letter-spacing: -0.045em;
  text-transform: none;
}

.eyebrow {
  padding: 8px 12px;
  border: 1px solid rgba(63, 124, 255, 0.14);
  border-radius: 999px;
  background: rgba(63, 124, 255, 0.055);
  margin-bottom: 16px;
}

.eyebrow::before,
.section-kicker::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--blue), var(--mint));
  box-shadow: 0 0 18px rgba(63, 124, 255, 0.35);
}

.hero h1 {
  margin: 0 0 12px;
  font-size: 50px;
  line-height: 1.02;
  letter-spacing: -0.07em;
  max-width: 760px;
}

.hero p {
  margin: 0 0 24px;
  max-width: 650px;
  font-size: 17px;
  line-height: 1.55;
  color: var(--muted);
}

.hero-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 24px;
}

.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 11px;
  position: relative;
  z-index: 2;
}

.stat {
  padding: 15px;
  border-radius: 19px;
  background: linear-gradient(180deg, #ffffff, var(--surface-soft));
  border: 1px solid rgba(63, 124, 255, 0.10);
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.045);
}

.stat b {
  display: block;
  font-size: 25px;
  line-height: 1;
  letter-spacing: -0.045em;
  color: var(--dark);
}

.stat span {
  display: block;
  margin-top: 6px;
  font-size: 13px;
  color: var(--muted);
}

.current-section {
  margin: 28px 0 34px;
}

.current-head {
  display: grid;
  grid-template-columns: 1fr minmax(240px, 430px);
  gap: 18px;
  align-items: end;
  color: var(--text);
  margin-bottom: 14px;
}

.current-head p {
  margin: 0;
  color: var(--muted);
  line-height: 1.45;
  font-size: 14px;
}

.current-section h2 {
  margin: 5px 0 0;
  font-size: 25px;
  line-height: 1.1;
  letter-spacing: -0.045em;
}

.current-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.sun-hover-wrap {
  position: relative;
  isolation: isolate;
  border-radius: 28px;
  transition: transform 0.24s ease;
}

.sun-hover-wrap:hover {
  transform: translateY(-7px);
}

.sun-hover-wrap::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 158%;
  height: 158%;
  z-index: -2;
  pointer-events: none;
  opacity: 0;
  background:
    conic-gradient(
      from 0deg,
      transparent 0deg,
      rgba(255, 205, 94, 0.50) 12deg,
      transparent 26deg,
      transparent 48deg,
      rgba(255, 236, 166, 0.44) 62deg,
      transparent 80deg,
      transparent 112deg,
      rgba(255, 190, 78, 0.42) 128deg,
      transparent 146deg,
      transparent 188deg,
      rgba(255, 226, 135, 0.40) 204deg,
      transparent 224deg,
      transparent 266deg,
      rgba(255, 205, 94, 0.44) 284deg,
      transparent 304deg,
      transparent 360deg
    );
  filter: blur(9px);
  transform: translate(-50%, -50%) rotate(0deg);
}

.sun-hover-wrap::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 116%;
  height: 116%;
  z-index: -1;
  pointer-events: none;
  opacity: 0;
  border-radius: inherit;
  background:
    radial-gradient(
      circle,
      rgba(255, 238, 168, 0.72) 0%,
      rgba(255, 210, 94, 0.40) 36%,
      rgba(255, 184, 64, 0.20) 58%,
      transparent 78%
    );
  filter: blur(22px);
  transform: translate(-50%, -50%) scale(0.94);
}

.sun-hover-wrap:hover::before {
  opacity: 1;
  animation: sun-rays-rotate 5.5s linear infinite;
}

.sun-hover-wrap:hover::after {
  opacity: 1;
  animation: sun-glow-pulse 2.8s ease-in-out infinite;
}

.current-card {
  position: relative;
  overflow: hidden;
  padding: 18px;
  min-height: 250px;
  border-radius: 28px;
  cursor: pointer;
  background:
    linear-gradient(135deg, #ffffff, #f8fbff),
    radial-gradient(circle at 96% 12%, rgba(216, 229, 255, 0.72), transparent 11rem);
  border: 1px solid rgba(63, 124, 255, 0.13);
  box-shadow: var(--shadow-soft);
  transition:
    box-shadow 0.24s ease,
    border-color 0.24s ease;
}

.current-card:hover {
  border-color: rgba(255, 190, 78, 0.34);
  box-shadow:
    0 22px 52px rgba(15, 23, 42, 0.11),
    0 0 34px rgba(255, 196, 87, 0.22);
}

.current-card-top {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 48px 1fr auto;
  gap: 12px;
  align-items: center;
  margin-bottom: 18px;
}

.current-logo {
  width: 48px;
  height: 48px;
  border-radius: 9px;
  box-shadow: 0 10px 22px rgba(15, 23, 42, 0.10);
}

.current-bank {
  font-weight: 800;
  font-size: 17px;
}

.current-product {
  margin-top: 3px;
  color: var(--muted);
  font-size: 14px;
}

.current-label {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 7px 10px;
  border-radius: 999px;
  color: #1f4d3b;
  background: linear-gradient(135deg, #e8f7ff, #eaf8f1);
  border: 1px solid rgba(18, 128, 92, 0.12);
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  white-space: nowrap;
}

.current-reward {
  position: relative;
  z-index: 1;
  color: var(--green);
  font-size: 30px;
  line-height: 1.12;
  font-weight: 800;
  letter-spacing: -0.05em;
  margin-bottom: 10px;
  max-width: 520px;
}

.current-text {
  position: relative;
  z-index: 1;
  margin: 0 0 16px;
  color: var(--muted);
  line-height: 1.5;
}

.current-meta {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.meta-item {
  padding: 11px;
  border-radius: 15px;
  background: rgba(63, 124, 255, 0.045);
  border: 1px solid rgba(63, 124, 255, 0.07);
}

.meta-item span {
  display: block;
  color: var(--muted);
  font-size: 12px;
  margin-bottom: 4px;
}

.meta-item b {
  font-size: 13px;
}

.current-bottom {
  position: relative;
  z-index: 1;
  margin-top: 15px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.current-more {
  color: var(--blue);
  font-size: 14px;
  font-weight: 800;
}

.spark {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--blue), var(--mint));
  box-shadow: 0 0 18px rgba(63, 124, 255, 0.34);
  animation: pulse-soft 2.8s ease-in-out infinite;
}

.section {
  margin: 32px 0;
}

.section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 14px;
  color: var(--text);
}

.summary {
  color: var(--muted);
  font-size: 14px;
  text-align: right;
}

.card,
.desktop-table {
  background: linear-gradient(
    135deg,
    rgba(63, 124, 255, 0.62),
    rgba(18, 128, 92, 0.48)
  );
  border: 0;
  border-radius: 24px;
  padding: 1px;
  overflow-x: auto;
  overflow-y: hidden;
  max-width: 100%;
  box-shadow: var(--shadow-soft);
  backdrop-filter: blur(14px);
  -webkit-overflow-scrolling: touch;
}

.desktop-table {
  display: block;
}

.desktop-table table {
  background: rgba(255, 255, 255, 0.96);
  border-radius: 23px;
  overflow: hidden;
}

.desktop-table::-webkit-scrollbar {
  height: 10px;
}

.desktop-table::-webkit-scrollbar-track {
  background: #eef4fb;
  border-radius: 999px;
}

.desktop-table::-webkit-scrollbar-thumb {
  background: linear-gradient(90deg, rgba(63, 124, 255, 0.38), rgba(18, 128, 92, 0.28));
  border-radius: 999px;
}

.mobile-offers {
  display: none;
}

table {
  width: 100%;
  min-width: 1060px;
  border-collapse: collapse;
  font-size: 14px;
}

th,
td {
  padding: 15px 14px;
  border-bottom: 1px solid rgba(17, 24, 39, 0.075);
  text-align: left;
  vertical-align: top;
  overflow-wrap: break-word;
}

th {
  background: #f5faff;
  color: var(--muted);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  white-space: nowrap;
}

tbody tr {
  cursor: pointer;
  transition:
    transform 0.18s ease,
    background 0.18s ease,
    box-shadow 0.18s ease;
}

tbody tr:hover {
  position: relative;
  z-index: 2;
  transform: translateY(-3px);
  background:
    linear-gradient(
      90deg,
      rgba(255, 241, 194, 0.42),
      rgba(255, 255, 255, 0.96),
      rgba(232, 247, 255, 0.52)
    );
  box-shadow:
    0 12px 26px rgba(15, 23, 42, 0.08),
    0 0 26px rgba(255, 205, 94, 0.24);
}

.highlight-row {
  background:
    linear-gradient(90deg, rgba(216, 229, 255, 0.46), rgba(184, 216, 186, 0.18));
}

.highlight-row:hover {
  background:
    linear-gradient(
      90deg,
      rgba(255, 241, 194, 0.50),
      rgba(216, 229, 255, 0.60),
      rgba(184, 216, 186, 0.24)
    );
}

tr:last-child td {
  border-bottom: 0;
}

th:nth-child(1),
td:nth-child(1) {
  width: 178px;
}

th:nth-child(2),
td:nth-child(2) {
  width: 150px;
}

th:nth-child(3),
td:nth-child(3) {
  width: 170px;
}

th:nth-child(4),
td:nth-child(4) {
  width: 150px;
}

th:nth-child(5),
td:nth-child(5) {
  width: 165px;
}

th:nth-child(6),
td:nth-child(6) {
  width: 185px;
}

th:nth-child(7),
td:nth-child(7) {
  width: 120px;
}

th:nth-child(8),
td:nth-child(8) {
  width: 110px;
}

.bank-cell {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  font-weight: 800;
}

.bank-logo {
  width: 34px;
  height: 34px;
  border-radius: 7px;
  flex: 0 0 auto;
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.08);
}

.bonus {
  color: var(--green);
  font-weight: 800;
  line-height: 1.3;
  white-space: normal;
}

.badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 6px 10px;
  border-radius: 999px;
  background: #ecfdf3;
  color: #027a48;
  font-size: 12px;
  font-weight: 800;
  white-space: nowrap;
}

.badge.medium {
  background: #fff6de;
  color: #9a5b00;
}

.badge.hard {
  background: #ffe9e4;
  color: #a62716;
}

.offer-card {
  position: relative;
  overflow: hidden;
  background: #ffffff;
  border: 1px solid rgba(63, 124, 255, 0.11);
  border-radius: 24px;
  padding: 18px;
  box-shadow: var(--shadow-soft);
  cursor: pointer;
  transition:
    box-shadow 0.24s ease,
    border-color 0.24s ease;
}

.offer-card:hover {
  border-color: rgba(255, 190, 78, 0.34);
  box-shadow:
    0 22px 52px rgba(15, 23, 42, 0.11),
    0 0 34px rgba(255, 196, 87, 0.22);
}

.offer-card.is-highlighted {
  border-color: rgba(18, 128, 92, 0.24);
  background:
    linear-gradient(135deg, #ffffff, #f8fbff);
}

.offer-card-top {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}

.offer-card-logo {
  width: 46px;
  height: 46px;
  border-radius: 9px;
  flex: 0 0 auto;
  box-shadow: 0 10px 20px rgba(15, 23, 42, 0.10);
}

.offer-card-bank {
  font-weight: 800;
  font-size: 16px;
}

.offer-card-product {
  margin-top: 3px;
  color: var(--muted);
  font-size: 14px;
}

.mobile-hot {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-left: auto;
  padding: 7px 9px;
  border-radius: 999px;
  background: linear-gradient(135deg, #e8f7ff, #eaf8f1);
  color: #1f4d3b;
  border: 1px solid rgba(18, 128, 92, 0.12);
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  white-space: nowrap;
}

.offer-card-reward {
  position: relative;
  z-index: 1;
  color: var(--green);
  font-size: 22px;
  line-height: 1.15;
  font-weight: 800;
  margin-bottom: 15px;
  letter-spacing: -0.035em;
}

.offer-card-details {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 10px;
}

.offer-card-row {
  display: grid;
  grid-template-columns: 112px minmax(0, 1fr);
  gap: 10px;
  font-size: 14px;
  line-height: 1.35;
}

.offer-card-row span {
  color: var(--muted);
}

.offer-card-row b {
  font-weight: 600;
}

.offer-card-bottom {
  position: relative;
  z-index: 1;
  margin-top: 15px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}

.offer-card-more {
  color: var(--blue);
  font-size: 14px;
  font-weight: 800;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 11px 15px;
  border-radius: 14px;
  border: 0;
  background: linear-gradient(135deg, #245df2, #12805c);
  color: white;
  font-weight: 800;
  font-size: 14px;
  box-shadow: 0 12px 24px rgba(63, 124, 255, 0.14);
}

.btn.secondary,
.btn.ghost {
  background: #ffffff;
  color: var(--dark);
  box-shadow: none;
  border: 1px solid rgba(63, 124, 255, 0.12);
}

.panel .btn.secondary {
  background: rgba(17, 24, 39, 0.045);
  color: var(--dark);
  border: 0;
}

.panel {
  background: #ffffff;
  border: 1px solid rgba(63, 124, 255, 0.11);
  border-radius: 30px;
  padding: 32px;
  box-shadow: var(--shadow-soft);
}

.offer-main-panel {
  padding: 34px;
}

.side-panel {
  padding: 30px;
}

.offer-page-highlight {
  border-color: rgba(18, 128, 92, 0.24);
  background:
    linear-gradient(135deg, #ffffff, #f8fbff);
}

.offer-page-header {
  margin-top: 26px;
  margin-bottom: 30px;
  padding-bottom: 24px;
  border-bottom: 1px solid rgba(17, 24, 39, 0.07);
}

.offer-page-header .offer-card-top {
  margin-bottom: 0;
}

.offer-page-bank {
  gap: 14px;
}

.page-hot {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: max-content;
  margin-top: 18px;
  padding: 8px 11px;
  border-radius: 999px;
  background: linear-gradient(135deg, #e8f7ff, #eaf8f1);
  color: #1f4d3b;
  border: 1px solid rgba(18, 128, 92, 0.12);
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.grid {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(300px, 0.75fr);
  gap: 24px;
  align-items: start;
}

.panel h1 {
  margin: 0 0 16px;
  font-size: 38px;
  line-height: 1.08;
  letter-spacing: -0.055em;
}

.panel h2 {
  margin: 34px 0 12px;
  font-size: 21px;
  letter-spacing: -0.035em;
}

.side-panel h2 {
  margin-top: 0;
  margin-bottom: 14px;
}

.text,
.note,
.list {
  line-height: 1.68;
}

.note {
  padding: 16px;
  border-radius: 18px;
  background: rgba(63, 124, 255, 0.045);
  border: 1px solid rgba(63, 124, 255, 0.08);
  color: var(--muted);
}

.list {
  margin: 0;
  padding-left: 19px;
}

.row {
  display: grid;
  grid-template-columns: 120px minmax(0, 1fr);
  gap: 18px;
  padding: 15px 0;
  border-bottom: 1px solid rgba(17, 24, 39, 0.065);
}

.row span {
  color: var(--muted);
  font-size: 13px;
}

.row b {
  text-align: left;
  font-weight: 500;
  line-height: 1.45;
  color: var(--text);
}

.side-actions {
  margin-top: 20px;
  display: grid;
  gap: 10px;
}

.big {
  font-size: 34px;
  letter-spacing: -0.05em;
}

.error {
  background: white;
  border-radius: 22px;
  padding: 24px;
}

.site-footer {
  color: var(--muted);
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 22px 4px 10px;
  font-size: 14px;
}

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

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

  .current-head {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 900px) {
  .wrap {
    max-width: 100%;
    padding: 14px;
  }

  .site-header,
  .site-footer,
  .section-head {
    display: block;
  }

  .site-header {
    border-radius: 22px;
  }

  .nav {
    margin-top: 12px;
    flex-wrap: wrap;
  }

  .hero {
    padding: 24px 20px;
    border-radius: 28px;
  }

  .hero::before {
    width: 220px;
    height: 220px;
    right: -110px;
    top: -110px;
    opacity: 0.75;
  }

  .hero h1 {
    font-size: 34px;
  }

  .hero p {
    font-size: 15px;
  }

  .hero-actions {
    margin-bottom: 18px;
  }

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

  .summary {
    text-align: left;
    margin-top: 8px;
    line-height: 1.42;
  }

  .section-title-main {
    font-size: 24px;
  }

  .current-card {
    min-height: 0;
  }

  .current-card-top {
    grid-template-columns: 48px 1fr;
  }

  .current-label {
    grid-column: 1 / -1;
    width: max-content;
  }

  .current-meta {
    grid-template-columns: 1fr;
  }

  .desktop-table {
    display: none;
  }

  .mobile-offers {
    display: grid;
    gap: 13px;
  }

  .grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .panel,
  .offer-main-panel,
  .side-panel {
    padding: 22px;
    border-radius: 24px;
  }

  .offer-page-header {
    margin-top: 22px;
    margin-bottom: 24px;
    padding-bottom: 20px;
  }

  .panel h1 {
    font-size: 28px;
  }

  .row {
    display: grid;
    grid-template-columns: 1fr;
    gap: 6px;
    padding: 14px 0;
  }

  .row b {
    text-align: left;
    font-weight: 500;
  }

  .site-footer a {
    display: block;
    margin-top: 8px;
  }
}

@media (max-width: 520px) {
  .wrap {
    padding: 12px;
  }

  .hero {
    padding: 21px 18px;
  }

  .hero h1 {
    font-size: 29px;
  }

  .hero::after {
    left: 18px;
    width: calc(100% - 36px);
  }

  .stat b {
    font-size: 24px;
  }

  .current-reward {
    font-size: 25px;
  }

  .sun-hover-wrap:hover {
    transform: translateY(-4px);
  }

  .offer-card {
    padding: 16px;
    border-radius: 21px;
  }

  .offer-card-reward {
    font-size: 20px;
  }

  .offer-card-row {
    grid-template-columns: 1fr;
    gap: 3px;
  }

  .offer-card-bottom {
    align-items: flex-start;
    flex-direction: column;
  }

  .mobile-hot {
    width: 100%;
    margin-left: 0;
    margin-top: 8px;
  }

  .offer-card-top {
    flex-wrap: wrap;
  }

  .big {
    font-size: 28px;
  }

  .seo-text-section {
  margin: 34px 0 20px;
  padding: 24px;
  border-radius: 26px;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(63, 124, 255, 0.10);
  box-shadow: var(--shadow-soft);
}

.seo-text-section h2 {
  margin: 0 0 10px;
  font-size: 24px;
  line-height: 1.15;
  letter-spacing: -0.045em;
}

.seo-text {
  margin: 0;
  max-width: 900px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.65;
}

.footer-links {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.footer-links a {
  color: var(--blue);
  text-decoration: none;
  font-weight: 700;
}

.footer-links a:hover {
  text-decoration: underline;
}

.legal-section {
  margin-top: 28px;
}

.legal-section h2 {
  margin-bottom: 12px;
}

.legal-section .text + .text {
  margin-top: 12px;
}
}
/* Owner and legal information */
.site-footer .footer-about {
  display: flex;
  flex-direction: column;
  gap: 7px;
  max-width: 610px;
}

.site-footer .footer-owner {
  font-size: 12px;
  line-height: 1.55;
}

.site-footer .footer-owner a {
  color: var(--blue);
  font-weight: 700;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  align-content: flex-start;
  gap: 8px 14px;
  max-width: 500px;
}

@media (max-width: 900px) {
  .site-footer .footer-about {
    max-width: none;
    margin-bottom: 14px;
  }

  .footer-links {
    justify-content: flex-start;
    max-width: none;
  }
}


/* ОСАГО page */
.osago-page {
  margin: 0 0 34px;
}

.osago-hero {
  position: relative;
  overflow: hidden;
  padding: 34px;
  margin-bottom: 18px;
  border: 1px solid rgba(63, 124, 255, 0.12);
  border-radius: 34px;
  background: rgba(255, 255, 255, 0.88);
  box-shadow: var(--shadow);
}

.osago-hero h1 {
  margin: 8px 0 12px;
  max-width: 780px;
  font-size: 46px;
  line-height: 1.04;
  letter-spacing: -0.06em;
}

.osago-hero p {
  margin: 0;
  max-width: 760px;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.6;
}

.osago-widget-panel {
  padding: 18px;
  border: 1px solid rgba(63, 124, 255, 0.12);
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: var(--shadow-soft);
  overflow: hidden;
}

.osago-widget {
  width: 100%;
  min-height: 540px;
}

.osago-note {
  margin: 14px 4px 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.55;
}

@media (max-width: 720px) {
  .osago-hero {
    padding: 24px 20px;
    border-radius: 26px;
  }

  .osago-hero h1 {
    font-size: 32px;
  }

  .osago-widget-panel {
    padding: 8px;
    border-radius: 22px;
  }
}

/* MegaChess-inspired scroll reveal motion */
.reveal-block {
  --reveal-delay: 0ms;
  opacity: 0;
  transform: translate3d(0, 54px, 0) scale(0.975);
  clip-path: inset(0 0 18% 0 round 28px);
  filter: blur(4px);
  transform-origin: 50% 100%;
  will-change: transform, opacity, clip-path, filter;
  transition:
    opacity 560ms cubic-bezier(0.16, 1, 0.3, 1) var(--reveal-delay),
    transform 700ms cubic-bezier(0.16, 1, 0.3, 1) var(--reveal-delay),
    clip-path 700ms cubic-bezier(0.16, 1, 0.3, 1) var(--reveal-delay),
    filter 520ms ease var(--reveal-delay);
}

.reveal-block.is-visible {
  opacity: 1;
  transform: translate3d(0, 0, 0) scale(1);
  clip-path: inset(0 0 0 0 round 0);
  filter: blur(0);
}

.reveal-head {
  opacity: 0;
  transform: translate3d(0, 24px, 0);
  transition:
    opacity 500ms cubic-bezier(0.16, 1, 0.3, 1),
    transform 620ms cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-head.is-visible {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

.reveal-stagger {
  opacity: 0;
  transform: translate3d(0, 32px, 0) scale(0.985);
  transition:
    opacity 500ms cubic-bezier(0.16, 1, 0.3, 1) var(--item-delay, 0ms),
    transform 620ms cubic-bezier(0.16, 1, 0.3, 1) var(--item-delay, 0ms);
}

.reveal-stagger.is-visible {
  opacity: 1;
  transform: translate3d(0, 0, 0) scale(1);
}

/* Hero arrives immediately, like the opening MegaChess composition. */
.hero.reveal-block {
  transform: translate3d(0, 34px, 0) scale(0.985);
  clip-path: inset(0 0 10% 0 round 34px);
}

.hero.reveal-block.is-visible {
  transform: translate3d(0, 0, 0) scale(1);
  clip-path: inset(0 0 0 0 round 34px);
}

/* Give dense tables a cleaner reveal without disturbing row hover transforms. */
.desktop-table.reveal-block {
  transform: translate3d(0, 42px, 0) scale(0.99);
  clip-path: inset(0 0 14% 0 round 24px);
}

.desktop-table.reveal-block.is-visible {
  transform: translate3d(0, 0, 0) scale(1);
  clip-path: inset(0 0 0 0 round 24px);
}

@media (prefers-reduced-motion: reduce) {
  .reveal-block,
  .reveal-head,
  .reveal-stagger {
    opacity: 1 !important;
    transform: none !important;
    clip-path: none !important;
    filter: none !important;
    transition: none !important;
  }
}
