:root {
  color-scheme: dark;
  --background: #100c20;
  --header: #15102a;
  --panel: #21183d;
  --panel-soft: #19132f;
  --border: #4f3b79;
  --text: #f8f3ff;
  --muted: #b9acd0;
  --primary: #f5c451;
  --accent: #d451a1;
  --accent-dark: #7a2f74;
  --button-text: #1d1024;
  --max: 1280px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; min-width: 320px; background: var(--background); color: var(--text); font-family: Arial, Helvetica, sans-serif; line-height: 1.55; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button, input, textarea { font: inherit; }
.container { width: min(calc(100% - 32px), var(--max)); margin: 0 auto; }
.skip-link { position: fixed; left: 8px; top: -60px; z-index: 100; padding: 8px 12px; color: #111; background: #fff; }
.skip-link:focus { top: 8px; }

.responsible-top { padding: 7px 16px; background: var(--accent-dark); color: #fff; text-align: center; font-size: 13px; font-weight: 700; letter-spacing: .04em; }
.responsible-top a { text-decoration: underline; }
.site-header { position: sticky; top: 0; z-index: 50; border-bottom: 1px solid var(--border); background: var(--header); }
.header-inner { min-height: 60px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; min-width: 0; padding: 4px 8px; border: 1px solid rgba(245,196,81,.42); border-radius: 12px; background: rgba(16,12,32,.7); }
.site-logo { width: 151px; height: 40px; object-fit: contain; }
.nav { display: flex; align-items: center; gap: 32px; }
.nav a { color: var(--text); font-size: 14px; transition: color .2s ease; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--primary); }
.menu-button { display: none; width: 40px; height: 40px; border: 0; border-radius: 8px; background: transparent; color: var(--text); font-size: 22px; cursor: pointer; }

.hero { border-bottom: 1px solid var(--border); background: var(--header); }
.hero-inner { padding-top: 38px; padding-bottom: 16px; }
.hero h1 { margin: 0 0 8px; font-size: clamp(32px, 4vw, 48px); line-height: 1.15; letter-spacing: -.025em; }
.hero p { max-width: 720px; margin: 0 0 16px; color: rgba(248,243,255,.9); font-size: 17px; }
.badge-viewport { overflow: hidden; padding: 8px; border: 1px solid rgba(79,59,121,.55); border-radius: 12px; background: rgba(16,12,32,.55); }
.badge-track { width: max-content; display: flex; gap: 12px; animation: badges 24s linear infinite; }
.hero-badge { flex: 0 0 auto; padding: 8px 16px; border: 1px solid rgba(79,59,121,.75); border-radius: 999px; font-size: 15px; }
@keyframes badges { to { transform: translateX(-50%); } }

.ranking { padding: 10px 0 32px; }
.updated { margin: 0 0 14px; color: var(--muted); font-size: 15px; }
.ranking-title { margin: 0 0 12px; color: var(--text); font-size: 20px; text-align: center; }
.offer-list { display: flex; flex-direction: column; gap: 8px; }
.offer-card-link { display: block; width: 100%; border-radius: 18px; }
.offer-card-link:focus-visible { outline: 2px solid var(--primary); outline-offset: 3px; }
.offer-row { position: relative; overflow: hidden; border: 1px solid rgba(79,59,121,.75); border-radius: 18px; background: var(--panel); box-shadow: 0 8px 32px rgba(8,4,20,.48), inset 0 1px rgba(245,196,81,.07); }
.offer-desktop { display: grid; grid-template-columns: minmax(0,140px) minmax(0,2fr) minmax(0,1fr) 72px minmax(176px,1.15fr); grid-template-areas: "logo offer rating score visit"; align-items: center; gap: 8px 10px; padding: 12px; }
.offer-cell { min-width: 0; }
.logo-cell { grid-area: logo; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; overflow: hidden; }
.logo-cell img { width: 100%; max-width: 150px; height: auto; max-height: 70px; object-fit: contain; object-position: center; }
.offer-ribbon { display: block; width: fit-content; max-width: 100%; padding: 4px 6px; border: 1px solid rgba(245,196,81,.3); border-radius: 5px; background: var(--accent-dark); color: #fff; font-size: 10px; font-weight: 800; line-height: 1.15; text-align: center; }
.bonus-cell { grid-area: offer; display: flex; flex-direction: column; gap: 3px; }
.bonus-cell span, .rating-cell > span { color: var(--muted); font-size: 12px; }
.bonus-cell b { font-size: 14px; }
.bonus-cell strong { color: var(--primary); font-size: 18px; line-height: 1.25; }
.rating-cell { grid-area: rating; display: flex; flex-direction: column; align-items: flex-start; }
.rating-cell small { color: var(--muted); font-size: 11px; }
.stars { color: #f5c451; font-size: 15px; letter-spacing: 1px; white-space: nowrap; }
.rating-cell em { max-width: 180px; color: var(--muted); font-size: 9px; font-style: normal; line-height: 1.2; }
.score-cell { grid-area: score; text-align: center; }
.score-cell strong { font-size: 28px; }
.visit-cell { grid-area: visit; display: flex; flex-direction: column; align-items: center; gap: 4px; }
.claim-button { display: inline-block; width: 100%; max-width: 179px; min-height: 38px; padding: 9px 13px; border: 1px solid rgba(245,196,81,.65); border-radius: 12px; background: linear-gradient(125deg, var(--header), var(--panel) 28%, var(--accent-dark) 58%, var(--primary)); color: var(--button-text); font-size: 13px; font-weight: 800; text-align: center; box-shadow: 0 0 0 1px rgba(245,196,81,.25), 0 4px 14px rgba(8,4,20,.45); }
.claim-button:hover { filter: brightness(1.08); }
.visit-cell small { color: var(--muted); font-size: 10px; }
.visit-link { color: var(--primary); font-size: 11px; text-decoration: underline; }
.desktop-terms { grid-column: 1 / -1; width: 100%; min-width: 0; margin-top: 2px; padding-top: 6px; border-top: 1px solid rgba(79,59,121,.5); color: var(--muted); font-size: .72rem; line-height: 1.35; text-align: left; }
.offer-mobile { display: none; }

.content-section { padding: 48px 0; background: var(--background); }
.section-heading { margin: 0 0 12px; font-size: clamp(26px, 3vw, 34px); line-height: 1.2; }
.section-intro { max-width: 768px; margin: 0 0 32px; color: var(--muted); }
.criteria-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.criteria-card { padding: 24px; border: 1px solid rgba(79,59,121,.5); border-radius: 8px; background: var(--panel); }
.criteria-card h3 { margin: 0 0 8px; font-size: 18px; }
.criteria-card p { margin: 0; color: var(--muted); font-size: 14px; }
.guide { max-width: var(--max); }
.guide h2 { margin: 0 0 32px; font-size: 30px; }
.guide > p { max-width: 768px; margin-bottom: 32px; }
.guide h3 { margin: 27px 0 8px; font-size: 21px; }
.guide p { margin: 0 0 14px; color: var(--muted); }
.important { margin-top: 40px; padding: 16px; border: 1px solid rgba(212,81,161,.3); border-radius: 8px; background: var(--panel); color: var(--muted); }
.important strong { color: var(--text); }
.important a { color: var(--primary); text-decoration: underline; }

.faq-list { width: 100%; display: grid; gap: 8px; }
.faq-item { border: 1px solid var(--border); border-radius: 10px; background: var(--panel); }
.faq-question { width: 100%; display: flex; justify-content: space-between; padding: 16px; border: 0; background: transparent; color: var(--text); font-weight: 700; text-align: left; cursor: pointer; }
.faq-question::after { content: "+"; color: var(--primary); }
.faq-question[aria-expanded="true"]::after { content: "−"; }
.faq-answer { padding: 0 16px 16px; color: var(--muted); }
.faq-answer p { margin: 0; }

.page-main { min-height: 60vh; }
.page-hero { padding: 64px 0; border-bottom: 1px solid rgba(79,59,121,.8); background: var(--header); text-align: center; }
.page-hero-inner { width: min(calc(100% - 32px), 1024px); margin: 0 auto; }
.page-hero-inner.narrow { max-width: 768px; }
.page-hero-inner.medium { max-width: 896px; }
.page-hero h1 { margin: 0 0 16px; font-size: clamp(30px,4vw,48px); line-height: 1.1; letter-spacing: -.025em; }
.page-hero p { max-width: 768px; margin: 0 auto; color: rgba(248,243,255,.9); font-size: 18px; }
.page-content { padding: 64px 0; }
.page-stack { width: min(calc(100% - 32px), 1024px); margin: 0 auto; display: grid; gap: 40px; }
.page-stack.narrow { max-width: 768px; }
.page-stack.medium { max-width: 896px; }
.page-panel { padding: 32px; border: 1px solid rgba(79,59,121,.6); border-radius: 16px; background: var(--panel); }
.page-panel.large { padding: 40px; }
.page-panel.accent { border-color: rgba(212,81,161,.3); }
.page-panel h2 { margin: 0 0 12px; font-size: 23px; }
.page-panel h3 { margin: 0 0 12px; font-size: 20px; }
.page-panel p, .page-panel li { color: rgba(248,243,255,.9); }
.page-panel p { margin: 0; }
.page-panel ul { margin: 12px 0 0; padding-left: 20px; }
.about-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 32px; }
.evaluation-list { display: grid; grid-template-columns: repeat(2,1fr); gap: 12px 32px; }
.legal-sections { display: grid; gap: 40px; color: rgba(248,243,255,.9); }
.legal-sections section h2 { margin: 0 0 12px; font-size: 20px; }
.legal-sections section p { margin: 0; }
.last-updated { padding-top: 24px; border-top: 1px solid rgba(79,59,121,.6); color: rgba(185,172,208,.65); font-size: 12px; }
.privacy-stack { gap: 40px; }
.privacy-stack .last-updated { padding: 24px; border: 1px solid rgba(212,81,161,.3); border-radius: 16px; background: var(--panel); text-align: center; }
.contact-form { max-width: none; display: grid; gap: 24px; }
.field { display: grid; gap: 7px; }
.field label { font-weight: 700; }
.field input, .field textarea { width: 100%; padding: 12px 16px; border: 1px solid rgba(79,59,121,.6); border-radius: 12px; background: var(--background); color: var(--text); outline: none; }
.field textarea { min-height: 160px; resize: vertical; }
.field input:focus, .field textarea:focus { border-color: var(--primary); }
.submit-button { width: 100%; padding: 12px 20px; border: 1px solid var(--accent); border-radius: 12px; background: var(--accent); color: #fff; font-weight: 800; cursor: pointer; }

.site-footer { border-top: 1px solid var(--border); background: var(--header); }
.footer-inner { padding-top: 32px; padding-bottom: 32px; }
.footer-regulation { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 16px; padding-bottom: 24px; border-bottom: 1px solid var(--border); }
.footer-age { padding: 4px 12px; border-radius: 4px; color: var(--primary); background: rgba(245,196,81,.12); font-size: 14px; font-weight: 700; }
.footer-country { color: rgba(248,243,255,.8); font-size: 14px; }
.footer-logos { width: 100%; max-width: 672px; min-width: 0; margin: 0 auto; display: grid; grid-template-columns: repeat(3,1fr); align-items: center; justify-items: center; gap: 24px; }
.footer-logos a { display: flex; align-items: center; justify-content: center; opacity: .9; transition: opacity .2s; }
.footer-logos a:hover { opacity: 1; }
.footer-logos img { width: auto; height: 48px; max-width: 140px; object-fit: contain; }
.footer-logos a:last-child img { max-width: 160px; }
.footer-warning { margin: 16px 0 0; color: rgba(248,243,255,.7); font-size: 12px; text-align: center; }
.footer-brand { width: fit-content; margin: 32px auto 0; display: flex; flex-direction: column; align-items: center; padding: 16px 28px; border: 1px solid rgba(245,196,81,.6); border-radius: 16px; background: linear-gradient(90deg,var(--panel),var(--accent-dark)); }
.footer-brand .brand { padding: 0; border: 0; background: transparent; }
.footer-brand .site-logo { width: 176px; height: 47px; }
.footer-links { margin-top: 24px; display: flex; flex-wrap: wrap; justify-content: center; gap: 24px; }
.footer-links a { color: var(--muted); font-size: 13px; }
.footer-links a:hover { color: var(--primary); }
.footer-help { margin-top: 24px; display: flex; flex-wrap: wrap; justify-content: center; gap: 16px; color: rgba(185,172,208,.75); font-size: 12px; }
.copyright { margin: 24px 0 0; color: rgba(185,172,208,.62); font-size: 12px; text-align: center; }

@media (max-width: 767px) {
  .container { width: min(calc(100% - 24px), var(--max)); }
  .nav { position: absolute; top: 61px; left: 0; right: 0; display: none; flex-direction: column; align-items: stretch; gap: 0; padding: 12px 16px; border-bottom: 1px solid var(--border); background: var(--header); }
  .nav.open { display: flex; }
  .nav a { padding: 12px; border-radius: 8px; }
  .menu-button { display: block; }
  .hero-inner { padding-top: 18px; }
  .hero h1 { font-size: 22px; text-align: center; }
  .hero p { font-size: 14px; text-align: center; }
  .hero-badge { padding: 7px 12px; font-size: 11px; }
  .ranking { padding-top: 8px; }
  .updated { text-align: center; font-size: 12px; }
  .offer-desktop { display: none; }
  .offer-mobile { display: flex; flex-direction: column; gap: 8px; padding: 10px 10px 7px; }
  .mobile-top { display: grid; grid-template-columns: 118px 1fr; align-items: center; gap: 10px; }
  .mobile-logo { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 5px; }
  .mobile-logo img { width: 118px; height: 70px; object-fit: contain; object-position: center; }
  .mobile-logo .offer-ribbon { max-width: 118px; padding: 3px 5px; font-size: 8px; }
  .mobile-bonus { display: flex; flex-direction: column; gap: 4px; }
  .mobile-bonus span { color: var(--muted); font-size: 11px; }
  .mobile-bonus strong { color: var(--primary); font-size: 15px; line-height: 1.2; }
  .mobile-middle { display: grid; grid-template-columns: 1fr 78px 120px; align-items: center; gap: 8px; }
  .mobile-middle .stars { display: block; font-size: 12px; }
  .votes { display: block; color: var(--muted); font-size: 10px; }
  .mobile-score { display: flex; flex-direction: column; align-items: center; }
  .mobile-score strong { font-size: 22px; line-height: 1; }
  .mobile-score span { color: var(--muted); font-size: 8px; }
  .mobile-middle .claim-button { min-height: 34px; padding: 8px; font-size: 10px; }
  .mobile-terms { width: 100%; padding-top: 6px; border-top: 1px solid rgba(79,59,121,.5); color: var(--muted); font-size: .7rem; line-height: 1.4; text-align: left; }
  .content-section { padding: 40px 0; }
  .criteria-grid { grid-template-columns: 1fr; }
  .page-hero { padding: 48px 0; }
  .page-content { padding: 48px 0; }
  .page-stack { width: min(calc(100% - 24px), 1024px); gap: 32px; }
  .page-panel, .page-panel.large { padding: 28px; }
  .about-grid, .evaluation-list { grid-template-columns: 1fr; }
  .footer-logos { gap: 12px; }
  .footer-logos img { height: 32px; max-width: 85px; }
  .footer-logos a:last-child img { max-width: 95px; }
}

@media (max-width: 420px) {
  .mobile-top { grid-template-columns: 100px 1fr; }
  .mobile-logo img { width: 100px; height: 64px; }
  .mobile-middle { grid-template-columns: 1fr 64px 105px; }
  .site-logo { width: 132px; height: 36px; }
}

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