:root {
  color-scheme: dark;
  --bg: #090d0f;
  --surface: #0d1215;
  --surface-hover: #11181b;
  --text: #f5f7f6;
  --muted: #949da2;
  --line: #2a3337;
  --accent: #a7ff3f;
  --accent-strong: #8df51f;
  --radius: 16px;
  --max-width: 1400px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  min-width: 320px;
  background:
    radial-gradient(circle at 88% 4%, rgba(167, 255, 63, 0.035), transparent 28rem),
    var(--bg);
  color: var(--text);
  font-family: Inter, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; }

.page-shell {
  width: min(calc(100% - 64px), var(--max-width));
  margin: 0 auto;
  min-height: 100vh;
}

.site-header {
  min-height: 82px;
  margin-top: 18px;
  padding: 14px 16px 14px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  background: rgba(13, 18, 21, 0.76);
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 18px;
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.24), inset 0 1px 0 rgba(255, 255, 255, 0.035);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 13px;
  text-decoration: none;
}

.brand-mark {
  width: 48px;
  height: 48px;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  color: #0a0d0a;
  background: var(--accent);
  border-radius: 14px;
  box-shadow: 0 8px 26px rgba(167, 255, 63, 0.24);
}

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

.brand-copy { display: grid; gap: 3px; }

.brand-copy strong {
  font-size: 18px;
  line-height: 1.05;
  letter-spacing: -0.045em;
  text-transform: uppercase;
}

.brand-copy em { color: var(--accent); font-style: normal; }

.brand-copy small {
  color: var(--muted);
  font-size: 11px;
  line-height: 1.2;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.header-meta { display: flex; align-items: center; gap: 10px; }

.header-link {
  padding: 11px 15px;
  color: #cbd2cf;
  text-decoration: none;
  font-size: 13px;
  font-weight: 700;
  border-radius: 10px;
  transition: color 160ms ease, background 160ms ease;
}

.header-link:hover { color: var(--text); background: rgba(255, 255, 255, 0.055); }

.age-mark {
  color: #11150f;
  font-size: 13px;
  font-weight: 800;
  background: var(--accent);
  border-radius: 10px;
  padding: 11px 12px;
}

.offers { padding: 56px 0 0; }

h1 {
  margin: 0 0 48px;
  max-width: 1080px;
  font-size: clamp(50px, 6.4vw, 96px);
  line-height: 0.97;
  letter-spacing: -0.07em;
  font-weight: 800;
}

.offer-list {
  display: grid;
  gap: 22px;
}

.offer-card {
  --card-accent: 167, 255, 63;
  min-height: 188px;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(250px, 0.92fr) minmax(380px, 1.6fr) auto;
  align-items: center;
  gap: 36px;
  padding: 38px 34px 38px 42px;
  background:
    radial-gradient(circle at 12% 50%, rgba(var(--card-accent), 0.14), transparent 34%),
    linear-gradient(105deg, rgba(var(--card-accent), 0.055), transparent 46%),
    #0d1215;
  border: 1px solid rgba(var(--card-accent), 0.34);
  border-radius: 22px;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.04), 0 18px 60px rgba(0,0,0,.2);
  transition: transform 240ms ease, border-color 240ms ease, box-shadow 240ms ease;
}

.offer-card::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: -45% -15%;
  background: linear-gradient(105deg, transparent 39%, rgba(var(--card-accent), 0.03) 44%, rgba(var(--card-accent), 0.19) 49%, rgba(255,255,255,0.12) 50%, rgba(var(--card-accent), 0.14) 52%, transparent 59%);
  transform: translateX(-75%);
  animation: sweep 7s ease-in-out infinite;
  pointer-events: none;
}

.offer-card::after {
  content: "";
  position: absolute;
  left: 0;
  top: 24px;
  bottom: 24px;
  width: 4px;
  border-radius: 0 8px 8px 0;
  background: rgb(var(--card-accent));
  box-shadow: 0 0 22px rgba(var(--card-accent), .8);
}

.offer-card--betmatch { --card-accent: 167, 255, 63; }
.offer-card--royal { --card-accent: 38, 194, 255; }
.offer-card--ggbet { --card-accent: 255, 102, 51; }
.offer-card--vavada { --card-accent: 255, 64, 126; }
.offer-card--ivibet { --card-accent: 156, 89, 255; }

.offer-card:nth-child(2)::before { animation-delay: -1.5s; }
.offer-card:nth-child(3)::before { animation-delay: -3s; }
.offer-card:nth-child(4)::before { animation-delay: -4.5s; }
.offer-card:nth-child(5)::before { animation-delay: -6s; }

@keyframes sweep {
  0%, 42% { transform: translateX(-78%); }
  65%, 100% { transform: translateX(78%); }
}

.offer-card:hover,
.offer-card:focus-within {
  transform: translateY(-6px) scale(1.006);
  border-color: rgba(var(--card-accent), 0.86);
  box-shadow: 0 26px 80px rgba(0,0,0,.34), 0 0 38px rgba(var(--card-accent), .1);
}

.offer-card--featured { border-color: var(--accent); }

.offer-card--featured:hover,
.offer-card--featured:focus-within { border-color: var(--accent); }

.partner {
  min-height: 86px;
  display: flex;
  align-items: center;
  padding-right: 36px;
  border-right: 1px solid rgba(var(--card-accent), 0.28);
}

.partner img {
  display: block;
  width: min(100%, 250px);
  max-height: 82px;
  object-fit: contain;
  object-position: left center;
  filter: drop-shadow(0 8px 22px rgba(var(--card-accent), .18));
  transition: transform 240ms ease, filter 240ms ease;
}

.offer-card:hover .partner img { transform: scale(1.045); filter: drop-shadow(0 10px 30px rgba(var(--card-accent), .3)); }
.offer-card--royal .partner img { width: min(100%, 280px); }
.offer-card--ggbet .partner img { width: min(100%, 230px); }
.offer-card--ivibet .partner img { width: min(100%, 240px); }

.offer-copy { font-size: clamp(18px, 1.65vw, 25px); line-height: 1.45; letter-spacing: -0.025em; }
.offer-copy p { margin: 0; }
.offer-copy strong { color: rgb(var(--card-accent)); font-weight: 800; }
.offer-note { color: var(--muted); font-size: 0.7em; margin-top: 5px !important; }

.offer-button {
  min-width: 230px;
  min-height: 68px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  padding: 0 24px;
  border-radius: 12px;
  background: rgb(var(--card-accent));
  color: #0a0d0a;
  text-decoration: none;
  font-size: 17px;
  font-weight: 800;
  box-shadow: 0 10px 28px rgba(var(--card-accent), .18);
  animation: buttonPulse 2.8s ease-in-out infinite;
  transition: filter 160ms ease, transform 160ms ease, box-shadow 160ms ease;
}

.offer-button:hover { filter: brightness(1.12); transform: translateX(4px) scale(1.02); box-shadow: 0 14px 38px rgba(var(--card-accent), .34); }
.offer-button:focus-visible { outline: 3px solid var(--text); outline-offset: 4px; }
.offer-button svg { width: 23px; height: 23px; fill: none; stroke: currentColor; stroke-width: 2.25; stroke-linecap: round; stroke-linejoin: round; }

@keyframes buttonPulse {
  0%, 100% { box-shadow: 0 10px 28px rgba(var(--card-accent), .16); }
  50% { box-shadow: 0 12px 36px rgba(var(--card-accent), .34); }
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 34px 0 40px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.5;
}

.site-footer p { margin: 0; }
.site-footer p:first-child { color: #c7cecb; font-weight: 700; }

@media (max-width: 980px) {
  .page-shell { width: min(calc(100% - 40px), var(--max-width)); }
  .offer-card { grid-template-columns: 1fr auto; gap: 22px; }
  .partner { grid-column: 1 / 2; border: 0; padding: 0; min-height: auto; }
  .offer-copy { grid-column: 1 / 2; }
  .offer-button { grid-column: 2; grid-row: 1 / span 2; }
}

@media (max-width: 680px) {
  .page-shell { width: min(calc(100% - 28px), var(--max-width)); }
  .site-header { min-height: 72px; margin-top: 12px; padding: 11px 12px; border-radius: 15px; }
  .brand { gap: 10px; }
  .brand-mark { width: 42px; height: 42px; border-radius: 12px; }
  .brand-mark svg { width: 27px; height: 27px; }
  .brand-copy strong { font-size: 14px; }
  .brand-copy small { font-size: 9px; letter-spacing: 0.055em; }
  .header-link { display: none; }
  .age-mark { padding: 9px 10px; }
  .offers { padding-top: 38px; }
  h1 { margin-bottom: 34px; max-width: 100%; font-size: clamp(44px, 13.2vw, 64px); overflow-wrap: anywhere; }
  .offer-list { gap: 12px; }
  .offer-card { min-height: 0; display: flex; flex-direction: column; align-items: stretch; gap: 20px; padding: 30px 24px 24px; border-radius: 18px; }
  .partner { min-height: 70px; }
  .partner img { max-height: 68px; }
  .offer-copy { width: 100%; min-width: 0; font-size: 18px; min-height: 58px; overflow-wrap: anywhere; }
  .offer-copy p { max-width: 100%; }
  .offer-button { width: 100%; min-width: 0; min-height: 58px; }
  .site-footer { flex-direction: column; padding-top: 28px; }
}

@media (max-width: 410px) {
  .page-shell { width: calc(100% - 24px); }
  h1 { font-size: 46px; letter-spacing: -0.065em; }
  .offer-card { padding-inline: 22px; }
  .offer-copy { font-size: 17px; }
  .partner img { width: min(100%, 230px); }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; }
}
