/* =====================================================
   SpinBetter Affiliate — Global Styles
   ===================================================== */

/* ---------- Custom Properties ---------- */
:root {
  --bg-primary: #0d2b28;
  --bg-secondary: #0a2020;
  --bg-nav: #0d2b28;
  --bg-hero: #1a4a44;
  --bg-card: #163535;
  --bg-card-hover: #1e4545;
  --accent-yellow: #ccee00;
  --accent-yellow-h: #bbdd00;
  --accent-purple: #9b30d0;
  --accent-purple-h: #8b25c0;
  --text-primary: #ffffff;
  --text-muted: #8ab0a8;
  --border: #1e4040;
  --btn-radius: 24px;
  --card-radius: 10px;
  --transition: 0.2s ease;
}

/* ---------- Reset & Base ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  background: var(--bg-primary);
  color: var(--text-primary);
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  min-width: 1024px;
}

a {
  color: var(--accent-yellow);
  text-decoration: none;
}
a:hover {
  text-decoration: underline;
}

img {
  max-width: 100%;
  height: auto;
  display: inline-block;
}

ul {
  list-style: none;
}

h1,
h2,
h3,
h4,
h5 {
  color: var(--text-primary);
  line-height: 1.25;
}

h1 {
  font-size: 2.4rem;
  font-weight: 700;
}
h2 {
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 1rem;
}
h3 {
  font-size: 1.3rem;
  font-weight: 600;
  margin-bottom: 0.6rem;
}
h4 {
  font-size: 1.05rem;
  font-weight: 600;
}

p {
  margin-bottom: 0.9rem;
  color: var(--text-primary);
}
p:last-child {
  margin-bottom: 0;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

section {
  padding: 60px 0;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 1100;
}

/* ---------- Buttons ---------- */
.cta-btn {
  display: inline-block;
  background: var(--accent-yellow);
  color: #0a1a00;
  font-weight: 700;
  font-size: 16px;
  padding: 14px 36px;
  border-radius: var(--btn-radius);
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition:
    background var(--transition),
    transform var(--transition);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  white-space: nowrap;
}
.cta-btn:hover {
  background: var(--accent-yellow-h);
  text-decoration: none;
  transform: translateY(-1px);
}

section .cta-btn,
section .cta-btn-reg,
section button.cta-btn {
  margin-top: 24px;
}

/* ---------- AI Tools ---------- */
.ai-section {
  padding: 60px 0;
  margin: 0;
  background: transparent;
  border-top: none;
}

.ai-label {
  margin: 0 0 14px;
  font-size: 12px;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: var(--text-muted);
  text-align: center;
}

.ai-buttons {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(168px, 1fr));
  gap: 12px;
}

.ai-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 50px;
  padding: 10px 16px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: #eef9f5;
  text-decoration: none;
  font-size: 16px;
  font-weight: 600;
  transition:
    transform var(--transition),
    filter var(--transition),
    box-shadow var(--transition);
}

.ai-btn:hover {
  text-decoration: none;
  transform: translateY(-1px);
  filter: brightness(1.04);
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.2);
}

.ai-icon {
  width: 18px;
  height: 18px;
  display: inline-block;
  flex: 0 0 18px;
}

.ai-icon-img {
  object-fit: contain;
}

.ai-chatgpt {
  background: linear-gradient(135deg, #4f9c87, #3b7f6d);
}

.ai-perplexity {
  background: linear-gradient(135deg, #4a738d, #345c72);
}

.ai-google {
  background: linear-gradient(135deg, #5b7ce0, #4768cc);
}

.ai-grok {
  background: linear-gradient(135deg, #0f1114, #050607);
}

.ai-claude {
  background: linear-gradient(135deg, #b67a5d, #a76c4f);
}

.ai-deepseek {
  background: linear-gradient(135deg, #0066ff, #0052cc);
}

.detail-page .ai-section {
  padding: 60px 0;
  margin: 0;
}

.cta-btn-reg {
  display: inline-block;
  background: var(--accent-purple);
  color: #ffffff;
  font-weight: 700;
  font-size: 16px;
  padding: 14px 36px;
  border-radius: var(--btn-radius);
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition:
    background var(--transition),
    transform var(--transition);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  white-space: nowrap;
}
.cta-btn-reg:hover {
  background: var(--accent-purple-h);
  text-decoration: none;
  transform: translateY(-1px);
}

/* Centred CTA block between content sections */
.cta-block {
  text-align: center;
  padding: 24px 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}

/* ---------- Navigation ---------- */
.nav-topbar {
  background: var(--bg-secondary);
  border-bottom: 1px solid var(--border);
  padding: 8px 24px;
}

.nav-topbar-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
}

.topbar-link,
.lang-switch {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--bg-card);
  color: var(--text-primary);
  font-size: 13px;
  font-weight: 600;
  line-height: 1;
  white-space: nowrap;
}

.nav-topbar-inner .topbar-link:nth-child(2) {
  background: var(--accent-yellow);
  border-color: #d4f32a;
  color: #0a1a00;
  font-weight: 700;
}

.nav-topbar-inner .topbar-link:nth-child(1)::before {
  content: "🎁";
  margin-right: 6px;
}

.nav-topbar-inner .topbar-link:nth-child(2):hover {
  background: var(--accent-yellow-h);
  color: #0a1a00;
}

.nav-topbar-inner .topbar-link:nth-child(3) {
  background: var(--accent-purple);
  border-color: #a74bdb;
  color: #ffffff;
  font-weight: 700;
}

.nav-topbar-inner .topbar-link:nth-child(3):hover {
  background: var(--accent-purple-h);
  color: #ffffff;
}

.topbar-link:hover,
.lang-switch:hover {
  background: var(--bg-card-hover);
  color: var(--accent-yellow);
  text-decoration: none;
}

.lang-switch {
  gap: 6px;
}

.lang-switch .lang-current {
  color: var(--accent-yellow);
}

.main-nav {
  position: static;
  background: var(--bg-nav);
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  height: 64px;
  padding: 0 24px;
  gap: 32px;
}

.nav-logo img {
  height: 36px;
  width: auto;
  display: block;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 4px;
  flex: 1;
}

.nav-menu li {
  position: relative;
}

.nav-menu a {
  display: block;
  padding: 8px 14px;
  color: var(--text-primary);
  font-size: 15px;
  font-weight: 500;
  border-radius: 6px;
  transition:
    background var(--transition),
    color var(--transition);
  white-space: nowrap;
}
.nav-menu a:hover,
.nav-menu li.active > a {
  background: var(--bg-card);
  color: var(--accent-yellow);
  text-decoration: none;
}
.nav-menu li.active > a {
  color: var(--accent-yellow);
}

.nav-menu .has-dropdown > a::after {
  content: " ▼";
  font-size: 0.75em;
  vertical-align: baseline;
  margin-left: 2px;
}

/* Dropdown */
.nav-menu .has-dropdown {
  position: relative;
}

.nav-menu .dropdown {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 220px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--card-radius);
  padding: 10px 6px 6px;
  z-index: 200;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
}

.nav-menu .has-dropdown:hover .dropdown {
  display: block;
}

.nav-menu .dropdown::before {
  content: "";
  position: absolute;
  top: -12px;
  left: 0;
  right: 0;
  height: 12px;
}

.nav-menu .dropdown li a {
  padding: 9px 14px;
  font-size: 14px;
  border-radius: 6px;
}
.nav-menu .dropdown li a:hover {
  background: var(--bg-card-hover);
  color: var(--accent-yellow);
}

/* Nav right actions */
.nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-left: auto;
  flex-shrink: 0;
}

.nav-bonus {
  display: inline-block;
  padding: 8px 16px;
  color: var(--text-primary);
  font-size: 15px;
  font-weight: 500;
  border-radius: 6px;
  transition: background var(--transition);
  white-space: nowrap;
}
.nav-bonus:hover {
  background: var(--bg-card);
  text-decoration: none;
  color: var(--accent-yellow);
}

.nav-actions .cta-btn {
  padding: 9px 20px;
  font-size: 14px;
}
.nav-actions .cta-btn-reg {
  padding: 9px 20px;
  font-size: 14px;
}

/* ---------- Breadcrumbs ---------- */
.breadcrumbs {
  background: var(--bg-secondary);
  border-bottom: 1px solid var(--border);
  padding: 12px 24px;
  font-size: 13px;
  color: var(--text-muted);
}
.breadcrumbs a {
  color: var(--text-muted);
}
.breadcrumbs a:hover {
  color: var(--accent-yellow);
  text-decoration: none;
}
.breadcrumbs span[aria-current] {
  color: var(--text-primary);
}

/* ---------- Hero ---------- */
.hero {
  background: var(--bg-hero);
  padding: 72px 24px 56px;
  text-align: center;
  border-bottom: 1px solid var(--border);
}

.hero h1 {
  font-size: 2.6rem;
  margin-bottom: 16px;
  color: var(--text-primary);
}

.hero h1 span {
  color: var(--accent-yellow);
}

.hero p {
  font-size: 1.15rem;
  color: var(--text-muted);
  max-width: 640px;
  margin: 0 auto 32px;
}

.hero-media {
  display: block;
  width: min(640px, 100%);
  border-radius: 14px;
  border: 1px solid var(--border);
  margin: 0 auto 24px;
}

.home-hero-media {
  width: min(520px, 100%);
}

.hero-media-wide {
  width: min(700px, 100%);
}

.hero-buttons {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

.hero-context-links {
  margin: 32px auto 0;
  max-width: 760px;
  font-size: 1.05rem;
  line-height: 1.65;
}

.hero-buttons + .hero-context-links {
  margin-top: 36px;
}

.hero-context-links a {
  font-weight: 600;
}

.detail-page .container {
  max-width: 1280px;
}

.detail-page {
  background:
    radial-gradient(circle at top center, rgba(155, 48, 208, 0.14), transparent 28%),
    radial-gradient(circle at 12% 18%, rgba(204, 238, 0, 0.08), transparent 20%), var(--bg-primary);
}

.detail-page section {
  padding: 64px 0;
}

.detail-page .hero {
  padding: 84px 24px 64px;
}

.detail-page .hero p {
  max-width: 880px;
  color: #d4e5df;
}

.detail-page .hero-media {
  width: min(860px, 100%);
  border-radius: 18px;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.28);
}

.detail-page .section-header {
  max-width: 1080px;
  margin: 0 auto 32px;
  padding: 30px 34px;
  text-align: left;
  background: linear-gradient(180deg, rgba(27, 67, 63, 0.94) 0%, rgba(18, 48, 47, 0.94) 100%);
  border: 1px solid #295552;
  border-radius: 18px;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.16);
}

.detail-page .section-header h2 {
  font-size: 2rem;
  margin-bottom: 14px;
}

.detail-page .section-header p {
  max-width: none;
  margin: 0 0 14px;
  color: #d4e5df;
  font-size: 18px;
  line-height: 1.8;
}

.detail-page .section-header p:last-child {
  margin-bottom: 0;
}

.detail-page .specs-table {
  max-width: 1040px;
  margin: 0 auto 40px;
  border: 1px solid #295552;
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.12);
}

.detail-page .specs-table + .section-header {
  margin-top: 42px;
}

.detail-page .steps-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 18px;
  margin-top: 32px;
}

.detail-page .step {
  height: 100%;
  margin-bottom: 0;
  background: linear-gradient(180deg, rgba(24, 58, 56, 0.98), rgba(18, 45, 45, 0.98));
  border-color: #295552;
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.12);
}

.detail-page .step-body p,
.detail-page .faq-a p {
  color: #d1e2dc;
  font-size: 15px;
  line-height: 1.72;
}

.detail-page .faq-list {
  max-width: 1040px;
}

.detail-page .faq-item,
.detail-page .provider-card {
  border-color: #295552;
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.1);
}

.detail-page .providers-grid {
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 18px;
  margin-top: 32px;
}

.detail-page .provider-card {
  min-height: 168px;
  background: linear-gradient(180deg, rgba(24, 58, 56, 0.98), rgba(18, 45, 45, 0.98));
}

.detail-page .provider-card span {
  color: #d4e5df;
  font-size: 14px;
}

/* ---------- Content Cards ---------- */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 24px;
}

.card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--card-radius);
  padding: 28px 24px;
  transition:
    background var(--transition),
    transform var(--transition),
    border-color var(--transition);
}
.card:hover {
  background: var(--bg-card-hover);
  border-color: var(--accent-yellow);
  transform: translateY(-2px);
}
.card-icon {
  font-size: 2rem;
  margin-bottom: 12px;
  display: block;
}
.card h3 {
  margin-bottom: 8px;
}
.card p {
  color: var(--text-muted);
  font-size: 14px;
}

.card-sub {
  color: #9ebbb3;
  margin-bottom: 12px;
}

.card-list {
  margin: 0 0 18px;
  padding-left: 0;
  list-style: none;
}

.card-list li {
  margin-bottom: 6px;
  line-height: 1.45;
}

#ongoing-promos .card {
  display: flex;
  flex-direction: column;
}

#ongoing-promos .card-cta {
  margin-top: auto;
}

/* Two-column layout */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
}

/* ---------- Advantages / Comparison Table ---------- */
.advantages-section {
  background: var(--bg-secondary);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.advantages-section h2 {
  text-align: center;
  margin-bottom: 32px;
}
.advantages-section > .container > .cta-btn,
.advantages-section > .container > .cta-block {
  margin-top: 32px;
}

.advantages-table {
  border-radius: var(--card-radius);
  overflow: hidden;
  border: 1px solid var(--border);
  width: 100%;
}

.adv-row {
  display: grid;
  grid-template-columns: 2fr 1.5fr 1.5fr;
  align-items: center;
}

.adv-row span {
  padding: 14px 20px;
  font-size: 14px;
  border-right: 1px solid var(--border);
}
.adv-row span:last-child {
  border-right: none;
}

.adv-header {
  background: var(--bg-card);
  font-weight: 700;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--text-muted);
}

.adv-row:not(.adv-header) {
  background: var(--bg-primary);
  border-top: 1px solid var(--border);
}
.adv-row:not(.adv-header):hover {
  background: var(--bg-card);
}

.adv-row .check {
  color: var(--accent-yellow);
  font-weight: 600;
}
.adv-row .cross {
  color: #cc4444;
}

/* ---------- Section headers helper ---------- */
.section-header {
  text-align: center;
  margin-bottom: 40px;
}
.section-header h2 {
  margin-bottom: 12px;
}
.section-header p {
  color: var(--text-muted);
  max-width: 600px;
  margin: 0 auto;
}

/* ---------- Steps list (APK install) ---------- */
.steps-list {
  margin-top: 24px;
}

.step {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--card-radius);
  padding: 24px;
  margin-bottom: 16px;
}

.step-num {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  background: var(--accent-yellow);
  color: #0a1a00;
  font-weight: 800;
  font-size: 18px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.step-body h3 {
  margin-bottom: 6px;
}
.step-body p {
  color: var(--text-muted);
  font-size: 14px;
  margin: 0;
}

/* ---------- Specs Table ---------- */
.specs-table {
  width: 100%;
  border-collapse: collapse;
  border-radius: var(--card-radius);
  overflow: hidden;
  background: var(--bg-card);
}
.specs-table th,
.specs-table td {
  padding: 14px 20px;
  text-align: left;
  border-bottom: 1px solid var(--border);
  font-size: 14px;
}
.specs-table th {
  background: var(--bg-secondary);
  color: var(--text-muted);
  font-weight: 600;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.4px;
}
.specs-table td:first-child {
  color: var(--text-muted);
  width: 40%;
}
.specs-table td:last-child {
  color: var(--text-primary);
  font-weight: 500;
}
.specs-table tr:last-child td {
  border-bottom: none;
}

/* ---------- Reviews ---------- */
.reviews-section {
  background: var(--bg-secondary);
}
.reviews-section h2 {
  text-align: center;
  margin-bottom: 8px;
}

.rating-summary {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-bottom: 32px;
}
.rating-score {
  font-size: 3rem;
  font-weight: 800;
  color: var(--accent-yellow);
  line-height: 1;
}
.stars-display {
  color: var(--accent-yellow);
  font-size: 1.4rem;
}
.rating-count {
  color: var(--text-muted);
  font-size: 0.95rem;
}

.reviews-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-bottom: 24px;
}

.review-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--card-radius);
  padding: 20px;
}
.review-hidden {
  display: none;
}

.review-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
  flex-wrap: wrap;
}
.reviewer-name {
  font-weight: 700;
  font-size: 15px;
}
.review-date {
  color: var(--text-muted);
  font-size: 12px;
  margin-left: auto;
}
.review-stars {
  color: var(--accent-yellow);
  font-size: 14px;
}
.review-device {
  color: var(--text-muted);
  font-size: 12px;
}
.review-card p {
  color: var(--text-muted);
  font-size: 14px;
  line-height: 1.55;
  margin: 0;
}

.btn-show-reviews {
  display: block;
  width: 100%;
  max-width: 340px;
  margin: 0 auto;
  background: transparent;
  border: 2px solid var(--accent-yellow);
  color: var(--accent-yellow);
  font-weight: 700;
  font-size: 15px;
  padding: 14px 24px;
  border-radius: var(--btn-radius);
  cursor: pointer;
  transition:
    background var(--transition),
    color var(--transition);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.btn-show-reviews:hover {
  background: var(--accent-yellow);
  color: #0a1a00;
}

/* ---------- FAQ ---------- */
.faq-section {
  background: var(--bg-secondary);
}
.faq-section h2 {
  text-align: center;
  margin-bottom: 32px;
}

.faq-list {
  max-width: 820px;
  margin: 0 auto;
}

.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--card-radius);
  margin-bottom: 10px;
  overflow: hidden;
}

.faq-q {
  list-style: none;
  padding: 18px 24px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: background var(--transition);
}
.faq-q::after {
  content: "+";
  font-size: 20px;
  font-weight: 400;
  color: var(--accent-yellow);
  flex-shrink: 0;
  margin-left: 16px;
  transition: transform var(--transition);
}
.faq-item[open] .faq-q {
  background: var(--bg-card-hover);
}
.faq-item[open] .faq-q::after {
  content: "−";
}
.faq-q:hover {
  background: var(--bg-card-hover);
}

/* Remove default marker in all browsers */
.faq-q::-webkit-details-marker {
  display: none;
}

.faq-a {
  padding: 0 24px 20px;
  border-top: 1px solid var(--border);
}
.faq-a p {
  color: var(--text-muted);
  font-size: 14px;
  line-height: 1.65;
  margin-top: 16px;
  margin-bottom: 0;
}
.faq-a a {
  color: var(--accent-yellow);
}

/* ---------- Bonus / Info Table ---------- */
.info-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--bg-card);
  border-radius: var(--card-radius);
  overflow: hidden;
  margin: 20px 0;
}
.info-table th,
.info-table td {
  padding: 13px 18px;
  border-bottom: 1px solid var(--border);
  font-size: 14px;
  text-align: left;
}
.info-table th {
  background: var(--bg-secondary);
  color: var(--text-muted);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.4px;
}
.info-table tr:last-child td {
  border-bottom: none;
}
.info-table td.highlight {
  color: var(--accent-yellow);
  font-weight: 600;
}

/* ---------- Highlight boxes ---------- */
.highlight-box {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-left: 4px solid var(--accent-yellow);
  border-radius: var(--card-radius);
  padding: 20px 24px;
  margin: 20px 0;
}
.highlight-box p {
  color: var(--text-muted);
  font-size: 14px;
  margin: 0;
}
.highlight-box strong {
  color: var(--text-primary);
}

/* ---------- Login / Registration form shell ---------- */
.form-section {
  background: var(--bg-secondary);
}
.form-card {
  max-width: 480px;
  margin: 0 auto;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--card-radius);
  padding: 40px;
}
.form-card h2 {
  text-align: center;
  margin-bottom: 8px;
}
.form-card .sub {
  text-align: center;
  color: var(--text-muted);
  margin-bottom: 32px;
  font-size: 14px;
}
.form-group {
  margin-bottom: 18px;
}
.form-group label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-muted);
  margin-bottom: 6px;
  text-transform: uppercase;
  letter-spacing: 0.4px;
}
.form-group input,
.form-group select {
  width: 100%;
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  border-radius: 8px;
  color: var(--text-primary);
  padding: 12px 16px;
  font-size: 15px;
  font-family: "Inter", sans-serif;
  transition: border-color var(--transition);
}
.form-group input:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--accent-yellow);
}
.form-group input::placeholder {
  color: var(--text-muted);
}
.form-submit {
  width: 100%;
  margin-top: 8px;
}
.form-footer-note {
  text-align: center;
  color: var(--text-muted);
  font-size: 13px;
  margin-top: 20px;
}
.form-footer-note a {
  color: var(--accent-yellow);
}

/* ---------- Login / Registration guide pages ---------- */
.auth-guide-page .hero {
  padding-bottom: 52px;
}

.auth-guide-page .hero p {
  max-width: 880px;
}

.auth-guide-page .cards-grid,
.auth-guide-page .steps-list {
  align-items: stretch;
}

.auth-guide-page .card,
.auth-guide-page .step {
  height: 100%;
}

.auth-guide-page .card p,
.auth-guide-page .highlight-box p,
.auth-guide-page .faq-a p {
  color: #d1e2dc;
  font-size: 15px;
  line-height: 1.72;
}

.auth-guide-page .card ul {
  list-style: disc;
  padding-left: 20px;
  color: #d1e2dc;
}

.auth-guide-page .card li {
  margin-bottom: 8px;
}

.auth-guide-page .faq-list {
  max-width: 1000px;
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--bg-secondary);
  border-top: 2px solid var(--border);
  padding-top: 56px;
  padding-bottom: 40px;
}

.footer-top {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px 40px;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
}

.footer-col img {
  display: block;
  margin-bottom: 16px;
}
.footer-col > p {
  color: var(--text-muted);
  font-size: 13px;
  line-height: 1.6;
  margin: 0;
}
.footer-col h4 {
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--text-muted);
  margin-bottom: 14px;
}
.footer-col ul li {
  margin-bottom: 8px;
}
.footer-col ul li a {
  color: var(--text-muted);
  font-size: 14px;
  transition: color var(--transition);
}
.footer-col ul li a:hover {
  color: var(--accent-yellow);
  text-decoration: none;
}

.social-icon-links {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}

.social-icon-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border: 1px solid var(--border);
  border-radius: 50%;
  background: var(--bg-card);
  transition:
    transform var(--transition),
    border-color var(--transition),
    background var(--transition);
}

.social-icon-link img {
  width: 16px;
  height: 16px;
  margin: 0;
  filter: none;
}

.social-icon-link:hover {
  text-decoration: none;
  transform: translateY(-1px);
  border-color: var(--accent-yellow);
  background: var(--bg-card-hover);
}

.trustpilot-link {
  display: inline-block;
  margin-top: 16px;
  color: #00b67a;
  font-size: 13px;
  font-weight: 600;
}
.trustpilot-link:hover {
  color: #00d68a;
  text-decoration: none;
}

.footer-apps {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 16px;
}

.app-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 14px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--bg-card);
  color: var(--text-muted);
  font-size: 13px;
  font-weight: 600;
}

.app-link:hover {
  color: var(--accent-yellow);
  background: var(--bg-card-hover);
  text-decoration: none;
}

.app-link svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
}

.footer-cta {
  text-align: center;
  padding: 32px 24px;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.footer-bottom {
  max-width: 920px;
  margin: 22px auto 0;
  padding: 20px 24px 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 10px;
}

.payment-icons {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-bottom: 10px;
  padding: 0;
  background: transparent;
  border: 0;
  border-radius: 0;
  flex-wrap: wrap;
}
.payment-icons img {
  height: 34px;
  width: auto;
  padding: 8px 12px;
  background: rgba(255, 255, 255, 0.11);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 12px;
  opacity: 1;
  filter: brightness(1.08) contrast(1.1);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
}
.payment-icons img:hover {
  filter: brightness(1.16) contrast(1.16);
  background: rgba(255, 255, 255, 0.16);
  border-color: rgba(204, 238, 0, 0.28);
}

/* ---------- Provider Logos ---------- */
.providers-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 24px;
}

.provider-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--card-radius);
  padding: 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.provider-card img {
  max-width: 140px;
  max-height: 52px;
  width: auto;
  height: auto;
  object-fit: contain;
  margin: 0;
}

.provider-card span {
  font-size: 13px;
  color: var(--text-muted);
  text-align: center;
}

.dmca-badge {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid #295552;
  color: var(--text-muted);
  padding: 4px 10px;
  border-radius: 4px;
  margin: 0 0 4px;
}
.dmca-badge:hover {
  color: var(--text-primary);
  text-decoration: none;
}

.footer-legal {
  font-size: 12px;
  color: #c0d2cc;
  line-height: 1.7;
  margin: 0;
  max-width: 920px;
}
.footer-legal a {
  color: #d7ebe5;
  text-decoration: underline;
}
.footer-legal a:hover {
  color: var(--accent-yellow);
}

.footer-responsible {
  font-size: 12px;
  line-height: 1.6;
  margin: 2px 0 0;
  color: #d7ebe5;
}

.footer-responsible a {
  color: #d7ebe5;
  text-decoration: underline;
}

.footer-responsible a:hover {
  color: var(--accent-yellow);
}

/* ---------- Promo Code block ---------- */
.promo-code-box {
  background: var(--bg-card);
  border: 2px dashed var(--accent-yellow);
  border-radius: var(--card-radius);
  padding: 28px 32px;
  text-align: center;
  margin: 24px 0;
}
.promo-code-value {
  font-size: 2rem;
  font-weight: 800;
  color: var(--accent-yellow);
  letter-spacing: 4px;
  font-family: monospace;
  margin: 8px 0;
}
.promo-code-box p {
  color: var(--text-muted);
  font-size: 14px;
  margin: 0;
}

/* ---------- Utility ---------- */
.mt-24 {
  margin-top: 24px;
}

/* bg alternation */
.bg-alt {
  background: var(--bg-secondary);
}

/* ---------- Mobile Nav Actions (hidden on desktop) ---------- */
.nav-mobile-actions {
  display: none;
}

.nav-mob-bonuses {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 24px;
  border-radius: var(--btn-radius);
  border: 1px solid var(--border);
  background: var(--bg-card);
  color: var(--text-primary);
  font-weight: 700;
  font-size: 15px;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition:
    background var(--transition),
    color var(--transition);
  white-space: nowrap;
}
.nav-mob-bonuses:hover {
  background: var(--bg-card-hover);
  color: var(--accent-yellow);
  text-decoration: none;
}

/* =====================================================
   RESPONSIVE — Stage 5 Mobile Adaptation
   ===================================================== */

/* ---------- Hamburger Button (hidden on desktop) ---------- */
.nav-hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  background: none;
  border: 1px solid var(--border);
  border-radius: 8px;
  cursor: pointer;
  padding: 8px;
  flex-shrink: 0;
}
.nav-hamburger span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition:
    transform var(--transition),
    opacity var(--transition);
}
.main-nav.nav-open .nav-hamburger span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.main-nav.nav-open .nav-hamburger span:nth-child(2) {
  opacity: 0;
}
.main-nav.nav-open .nav-hamburger span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ---------- Tablet (≤1023px) ---------- */
@media (max-width: 1023px) {
  body {
    min-width: 0;
  }

  .main-nav {
    gap: 12px;
    padding: 0 16px;
  }

  .nav-menu a {
    padding: 8px 10px;
    font-size: 14px;
  }

  .nav-actions .cta-btn,
  .nav-actions .cta-btn-reg {
    padding: 8px 14px;
    font-size: 13px;
  }

  .footer-top {
    grid-template-columns: 1fr 1fr;
    gap: 28px;
  }

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

  .two-col {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .advantages-table {
    overflow-x: auto;
    display: block;
  }

  .detail-page .steps-list {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ---------- Mobile (≤767px) ---------- */
@media (max-width: 767px) {
  body {
    min-width: 0;
  }

  h1 {
    font-size: 1.75rem;
  }
  h2 {
    font-size: 1.4rem;
  }
  h3 {
    font-size: 1.15rem;
  }

  .container {
    padding: 0 16px;
  }
  section {
    padding: 40px 0;
  }

  /* Topbar hidden on mobile */
  .nav-topbar {
    display: none;
  }

  /* Nav — mobile layout */
  .main-nav {
    position: relative;
    flex-wrap: wrap;
    height: auto;
    min-height: 56px;
    padding: 8px 16px;
    gap: 0;
    align-items: center;
  }

  /* Keep mobile nav content reachable on shorter viewports. */
  .main-nav.nav-open {
    max-height: calc(100vh - 8px);
    max-height: calc(100dvh - 8px);
    overflow-y: auto;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
    padding-bottom: calc(8px + env(safe-area-inset-bottom));
  }

  .nav-logo {
    order: 1;
    flex: 1;
    display: flex;
    align-items: center;
  }
  .nav-logo img {
    height: 30px;
  }

  .nav-hamburger {
    order: 2;
    display: flex;
  }

  /* Hide menu until open */
  .nav-menu {
    order: 3;
    flex-basis: 100%;
    display: none;
    flex-direction: column;
    width: 100%;
    padding: 4px 0 0;
    border-top: 1px solid var(--border);
    gap: 0;
    background: var(--bg-nav);
  }
  .main-nav.nav-open .nav-menu {
    display: flex;
  }

  /* Mobile CTA buttons below menu links */
  .main-nav.nav-open .nav-mobile-actions {
    order: 4;
    flex-basis: 100%;
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 10px 14px 14px;
    background: var(--bg-nav);
    border-top: 1px solid var(--border);
  }
  .nav-mobile-actions .nav-mob-bonuses,
  .nav-mobile-actions .cta-btn,
  .nav-mobile-actions .cta-btn-reg {
    width: 100%;
    text-align: center;
    min-height: 44px;
    padding: 10px 16px;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .nav-menu li {
    width: 100%;
  }

  .nav-menu a {
    padding: 10px 14px;
    font-size: 15px;
    border-radius: 0;
    width: 100%;
    display: block;
  }

  /* Accordion arrow indicator */
  .nav-menu .has-dropdown > a::after {
    content: " +";
    float: right;
  }
  .nav-menu .has-dropdown.open > a::after {
    content: " \2212";
  }

  /* Mobile accordion dropdown */
  .nav-menu .has-dropdown:hover .dropdown {
    display: none;
  }
  .nav-menu .dropdown {
    display: none;
    position: static;
    min-width: auto;
    width: 100%;
    box-shadow: none;
    border-radius: 0;
    border: none;
    border-left: 3px solid var(--accent-yellow);
    padding: 4px 0 4px 0;
    background: rgba(0, 0, 0, 0.15);
  }
  .nav-menu .has-dropdown.open .dropdown {
    display: block;
  }
  .nav-menu .dropdown::before {
    display: none;
  }
  .nav-menu .dropdown li a {
    padding: 10px 20px;
    font-size: 14px;
  }

  /* Touch-friendly: min height + full-width centering for standalone CTAs */
  .cta-btn,
  .cta-btn-reg {
    min-height: 48px;
  }

  .btn-show-reviews {
    min-height: 48px;
  }

  /* All standalone CTA buttons inside sections: full-width on mobile */
  section .cta-btn,
  section .cta-btn-reg,
  .cta-block .cta-btn,
  .cta-block .cta-btn-reg {
    display: block;
    width: 100%;
    box-sizing: border-box;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
  }

  /* Card-level CTA buttons: centered within the card */
  .card .cta-btn,
  .card .cta-btn-reg {
    display: block;
    width: 100%;
    text-align: center;
    margin-left: 0;
    margin-right: 0;
  }

  /* CTA block always centered */
  .cta-block {
    text-align: center;
    padding: 24px 0;
  }
  /* When cta-block doubles as the container, restore side padding */
  .cta-block.container {
    padding-left: 16px;
    padding-right: 16px;
  }

  /* Hero buttons stay flex, override the block rule above */
  .hero-buttons .cta-btn,
  .hero-buttons .cta-btn-reg {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    box-sizing: border-box;
    margin-left: auto;
    margin-right: auto;
  }

  /* Nav mobile action buttons — already handled, ensure no margin override */
  .nav-mobile-actions .cta-btn,
  .nav-mobile-actions .cta-btn-reg {
    display: flex;
    width: 100%;
    margin-left: 0;
    margin-right: 0;
  }

  /* Mobile lang switch — centered, full-width */
  .nav-mob-lang {
    display: flex;
    justify-content: center;
    width: 100%;
    min-height: 48px;
    font-size: 15px;
    font-weight: 700;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--btn-radius);
    padding: 12px 24px;
    gap: 8px;
  }
  .nav-mob-lang:hover {
    background: var(--bg-card-hover);
    color: var(--accent-yellow);
    text-decoration: none;
  }
  .nav-mob-lang .lang-current {
    color: var(--accent-yellow);
  }

  /* Breadcrumbs scroll */
  .breadcrumbs {
    padding: 10px 16px;
    font-size: 12px;
    white-space: nowrap;
    overflow-x: auto;
  }

  /* Hero */
  .hero {
    padding: 48px 16px 40px;
  }
  .hero h1 {
    font-size: 1.75rem;
  }
  .hero p {
    font-size: 1rem;
  }
  .hero-buttons {
    flex-direction: column;
    align-items: center;
    gap: 12px;
  }
  .hero-context-links {
    margin-top: 24px;
    font-size: 0.98rem;
    line-height: 1.6;
  }
  .hero-buttons + .hero-context-links {
    margin-top: 28px;
  }
  .hero-buttons .cta-btn,
  .hero-buttons .cta-btn-reg {
    width: 100%;
    box-sizing: border-box;
    min-height: 48px;
  }

  .detail-page .hero {
    padding: 48px 16px 36px;
  }
  .detail-page section {
    padding: 40px 0;
  }

  /* Cards */
  .cards-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  /* Advantages table — horizontal scroll */
  .advantages-table {
    overflow-x: auto;
    display: block;
    -webkit-overflow-scrolling: touch;
  }

  /* Two-col stack */
  .two-col {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  /* Reviews — 1 column */
  .reviews-list {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  /* Providers — 3 per row */
  .providers-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
  }
  .detail-page .providers-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  /* AI buttons — 2 columns */
  .ai-buttons {
    grid-template-columns: repeat(2, 1fr);
  }

  /* Steps — 1 column */
  .detail-page .steps-list {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  /* Specs table */
  .specs-table th,
  .specs-table td {
    padding: 10px 14px;
    font-size: 13px;
  }

  /* Detail section header */
  .detail-page .section-header {
    padding: 20px;
  }
  .detail-page .section-header h2 {
    font-size: 1.5rem;
  }
  .detail-page .section-header p {
    font-size: 15px;
  }

  /* Footer stacked */
  .footer-top {
    grid-template-columns: 1fr;
    gap: 28px;
    padding-bottom: 28px;
  }
  .footer-bottom {
    padding: 16px;
  }
  .payment-icons {
    gap: 8px;
  }
  .payment-icons img {
    height: 28px;
  }

  /* Form */
  .form-card {
    padding: 24px 16px;
  }

  /* Promo code */
  .promo-code-box {
    padding: 20px 16px;
  }
  .promo-code-value {
    font-size: 1.5rem;
  }
}
