﻿/* SkyCrown Casino AU — Main Stylesheet */
/* Brand palette: deep navy #0A0E1A, mid navy #0D1529, electric blue #00AAFF, cyan #00D4FF, gold #FFD700, white #FFFFFF */

:root {
  --bg-dark: #0A0E1A;
  --bg-mid: #0D1529;
  --bg-card: #111827;
  --bg-card2: #0F1E35;
  --blue: #00AAFF;
  --cyan: #00D4FF;
  --gold: #FFD700;
  --gold-dim: #C8A400;
  --white: #FFFFFF;
  --text-muted: #8899BB;
  --border: rgba(0, 170, 255, .18);
  --border2: rgba(255, 215, 0, .18);
  --radius: 12px;
  --radius-lg: 20px;
  --shadow: 0 4px 32px rgba(0, 170, 255, .12);
  --shadow-gold: 0 4px 24px rgba(255, 215, 0, .15);
  --font: 'Segoe UI', 'Inter', Arial, sans-serif;
  --tracker: https: //adminclick.org/sRFLL5;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  font-family: var(--font);
  background: var(--bg-dark);
  color: var(--white);
  overflow-x: hidden;
  min-height: 100vh;
}

/* ── TYPOGRAPHY ── */
h1 {
  font-size: clamp(2rem, 5vw, 3.4rem);
  font-weight: 800;
  line-height: 1.15;
}

h2 {
  font-size: clamp(1.5rem, 3.5vw, 2.4rem);
  font-weight: 700;
}

h3 {
  font-size: clamp(1.1rem, 2.5vw, 1.5rem);
  font-weight: 600;
}

h4 {
  font-size: 1.1rem;
  font-weight: 600;
}

p {
  line-height: 1.75;
  color: #C8D8F0;
}

a {
  color: var(--cyan);
  text-decoration: none;
  transition: color .2s;
}

a:hover {
  color: var(--gold);
}

.gradient-text {
  background: linear-gradient(90deg, var(--blue), var(--cyan), var(--gold));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ── LAYOUT ── */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 80px 0;
}

.section-sm {
  padding: 48px 0;
}

.section-alt {
  background: var(--bg-mid);
}

/* ── HEADER ── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(10, 14, 26, .92);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  gap: 16px;
}

.logo-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  flex-shrink: 0;
}

.logo-wrap svg {
  width: 38px;
  height: 38px;
}

.logo-text {
  font-size: 1.4rem;
  font-weight: 800;
  letter-spacing: .5px;
}

.logo-text span {
  color: var(--cyan);
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 4px;
}

.main-nav a {
  color: #C8D8F0;
  font-size: .9rem;
  font-weight: 500;
  padding: 8px 14px;
  border-radius: 8px;
  transition: background .2s, color .2s;
}

.main-nav a:hover,
.main-nav a.active {
  background: rgba(0, 170, 255, .12);
  color: var(--cyan);
}

.header-cta {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

/* Mobile tracker CTA in header */
.header-tracker-btn {
  display: none;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, var(--blue), var(--cyan));
  color: var(--bg-dark) !important;
  font-weight: 700;
  font-size: .95rem;
  padding: 10px 20px;
  border-radius: 50px;
  box-shadow: 0 0 18px rgba(0, 212, 255, .4);
  text-decoration: none;
}

.header-tracker-btn:hover {
  transform: translateY(-1px);
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
  background: none;
  border: none;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: .3s;
}

/* ── BUTTONS ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  font-size: .95rem;
  border-radius: 50px;
  padding: 13px 32px;
  cursor: pointer;
  border: none;
  transition: transform .2s, box-shadow .2s;
  text-decoration: none;
}

.btn:active {
  transform: scale(.97);
}

.btn-primary {
  background: linear-gradient(135deg, var(--blue) 0%, var(--cyan) 100%);
  color: var(--bg-dark);
  box-shadow: 0 0 24px rgba(0, 212, 255, .4);
}

.btn-primary:hover {
  box-shadow: 0 0 36px rgba(0, 212, 255, .65);
  transform: translateY(-2px);
  color: var(--bg-dark);
}

.btn-gold {
  background: linear-gradient(135deg, var(--gold) 0%, #FFA500 100%);
  color: var(--bg-dark);
  box-shadow: var(--shadow-gold);
}

.btn-gold:hover {
  box-shadow: 0 0 36px rgba(255, 215, 0, .5);
  transform: translateY(-2px);
  color: var(--bg-dark);
}

.btn-outline {
  background: transparent;
  border: 2px solid var(--blue);
  color: var(--blue);
}

.btn-outline:hover {
  background: var(--blue);
  color: var(--bg-dark);
}

.btn-lg {
  padding: 16px 44px;
  font-size: 1.1rem;
}

.btn-sm {
  padding: 9px 22px;
  font-size: .85rem;
}

/* ── CARDS ── */
.card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  transition: transform .25s, box-shadow .25s;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.card-gold {
  border-color: var(--border2);
}

.card-gold:hover {
  box-shadow: var(--shadow-gold);
}

/* ── GRID SYSTEMS ── */
.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.grid-auto {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 24px;
}

/* ── HERO ── */
.hero {
  position: relative;
  overflow: hidden;
  background: var(--bg-dark);
  padding: 100px 0 80px;
  min-height: 620px;
  display: flex;
  align-items: center;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 60% at 60% 40%, rgba(0, 170, 255, .12) 0%, transparent 70%),
    radial-gradient(ellipse 50% 50% at 20% 80%, rgba(255, 215, 0, .07) 0%, transparent 60%);
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 620px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(0, 170, 255, .12);
  border: 1px solid var(--border);
  color: var(--cyan);
  font-size: .82rem;
  font-weight: 700;
  padding: 6px 16px;
  border-radius: 50px;
  margin-bottom: 20px;
  letter-spacing: .5px;
  text-transform: uppercase;
}

.hero h1 {
  margin-bottom: 20px;
}

.hero p {
  font-size: 1.1rem;
  margin-bottom: 36px;
  color: #B8CCE8;
}

.hero-btns {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.hero-visual {
  position: absolute;
  right: -20px;
  top: 50%;
  transform: translateY(-50%);
  width: 500px;
  pointer-events: none;
  opacity: .85;
}

/* ── STATS BAR ── */
.stats-bar {
  display: flex;
  gap: 0;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.stat-item {
  flex: 1;
  text-align: center;
  padding: 24px 16px;
  border-right: 1px solid var(--border);
}

.stat-item:last-child {
  border-right: none;
}

.stat-num {
  font-size: 2rem;
  font-weight: 800;
  color: var(--cyan);
  display: block;
}

.stat-label {
  font-size: .82rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: .5px;
  margin-top: 4px;
}

/* ── TABLES ── */
.table-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border-radius: var(--radius);
}

table {
  width: 100%;
  min-width: 580px;
  border-collapse: collapse;
}

thead tr {
  background: linear-gradient(90deg, rgba(0, 170, 255, .15), rgba(0, 212, 255, .08));
}

th {
  padding: 14px 18px;
  text-align: left;
  font-size: .8rem;
  text-transform: uppercase;
  letter-spacing: .8px;
  color: var(--cyan);
  white-space: nowrap;
}

td {
  padding: 14px 18px;
  font-size: .9rem;
  border-bottom: 1px solid rgba(255, 255, 255, .06);
  white-space: nowrap;
}

tr:last-child td {
  border-bottom: none;
}

tr:hover td {
  background: rgba(0, 170, 255, .05);
}

.badge {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 50px;
  font-size: .75rem;
  font-weight: 700;
}

.badge-green {
  background: rgba(0, 200, 100, .18);
  color: #00C864;
}

.badge-blue {
  background: rgba(0, 170, 255, .18);
  color: var(--cyan);
}

.badge-gold {
  background: rgba(255, 215, 0, .18);
  color: var(--gold);
}

.badge-purple {
  background: rgba(160, 100, 255, .18);
  color: #A864FF;
}

/* ── CHARTS ── */
.chart-wrap {
  padding: 24px 0;
  overflow-x: auto;
}

/* Bar chart */
.bar-chart {
  display: flex;
  align-items: flex-end;
  gap: 12px;
  height: 220px;
}

.bar-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  min-width: 48px;
}

.bar-fill {
  width: 100%;
  border-radius: 8px 8px 0 0;
  background: linear-gradient(180deg, var(--cyan), var(--blue));
  transition: height .6s ease;
  position: relative;
}

.bar-fill.gold-bar {
  background: linear-gradient(180deg, var(--gold), #FFA500);
}

.bar-fill.purple-bar {
  background: linear-gradient(180deg, #A864FF, #6432CC);
}

.bar-val {
  position: absolute;
  top: -24px;
  left: 50%;
  transform: translateX(-50%);
  font-size: .75rem;
  font-weight: 700;
  color: var(--cyan);
  white-space: nowrap;
}

.bar-label {
  font-size: .72rem;
  color: var(--text-muted);
  text-align: center;
}

/* Donut chart */
.donut-wrap {
  display: flex;
  align-items: center;
  gap: 32px;
  flex-wrap: wrap;
}

.donut-svg {
  flex-shrink: 0;
}

.donut-legend {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.legend-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: .88rem;
}

.legend-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  flex-shrink: 0;
}

/* Horizontal bar */
.hbar-chart {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.hbar-row {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.hbar-label {
  min-width: 130px;
  font-size: .85rem;
  color: #C8D8F0;
  flex-shrink: 0;
}

.hbar-track {
  flex: 1;
  min-width: 120px;
  height: 22px;
  background: rgba(255, 255, 255, .07);
  border-radius: 50px;
  overflow: hidden;
}

.hbar-fill {
  height: 100%;
  border-radius: 50px;
  background: linear-gradient(90deg, var(--blue), var(--cyan));
  transition: width .8s ease;
}

.hbar-pct {
  min-width: 40px;
  text-align: right;
  font-size: .8rem;
  font-weight: 700;
  color: var(--cyan);
}

/* Progress circle */
.progress-ring-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.progress-ring-wrap span {
  font-size: .8rem;
  color: var(--text-muted);
  text-align: center;
}

/* Gauge */
.gauge-chart {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}

.gauge-chart span {
  font-size: .8rem;
  color: var(--text-muted);
}

/* Line sparkline */
.sparkline-wrap {
  overflow-x: auto;
}

/* ── FEATURE ICONS ── */
.feature-icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(0, 170, 255, .18), rgba(0, 212, 255, .08));
  border: 1px solid var(--border);
  margin-bottom: 14px;
  font-size: 1.6rem;
}

/* ── BONUS CARD ── */
.bonus-card {
  background: linear-gradient(135deg, var(--bg-card2), var(--bg-card));
  border: 1px solid var(--border2);
  border-radius: var(--radius-lg);
  padding: 32px;
  position: relative;
  overflow: hidden;
}

.bonus-card::before {
  content: '';
  position: absolute;
  top: -60px;
  right: -60px;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 215, 0, .12), transparent 70%);
}

.bonus-amount {
  font-size: 2.5rem;
  font-weight: 900;
  color: var(--gold);
  margin: 10px 0 6px;
}

.bonus-tag {
  position: absolute;
  top: 16px;
  right: 16px;
  background: var(--gold);
  color: var(--bg-dark);
  font-size: .7rem;
  font-weight: 800;
  padding: 4px 12px;
  border-radius: 50px;
  text-transform: uppercase;
}

/* ── GAME CARD ── */
.game-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform .25s, box-shadow .25s;
  cursor: pointer;
}

.game-card:hover {
  transform: translateY(-6px) scale(1.02);
  box-shadow: 0 8px 40px rgba(0, 170, 255, .2);
}

.game-thumb {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  display: block;
}

.game-thumb-svg {
  width: 100%;
  aspect-ratio: 4/3;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  background: linear-gradient(135deg, var(--bg-card2), var(--bg-mid));
}

.game-info {
  padding: 14px 16px;
}

.game-info h4 {
  font-size: .95rem;
  margin-bottom: 4px;
}

.game-info span {
  font-size: .78rem;
  color: var(--text-muted);
}

/* ── PAYMENT ICONS ── */
.pay-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.pay-item {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 14px 22px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: .9rem;
  font-weight: 600;
  transition: border-color .2s, background .2s;
}

.pay-item:hover {
  border-color: var(--cyan);
  background: rgba(0, 170, 255, .07);
}

/* ── TESTIMONIALS ── */
.review-card {
  background: var(--bg-card2);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
}

.stars {
  color: var(--gold);
  font-size: 1rem;
  letter-spacing: 2px;
}

.reviewer {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 16px;
}

.reviewer-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--blue), var(--cyan));
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1rem;
  color: var(--bg-dark);
  flex-shrink: 0;
}

.reviewer-name {
  font-weight: 600;
  font-size: .9rem;
}

.reviewer-loc {
  font-size: .78rem;
  color: var(--text-muted);
}

/* ── BREADCRUMB ── */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: .82rem;
  color: var(--text-muted);
  margin-bottom: 32px;
  flex-wrap: wrap;
}

.breadcrumb a {
  color: var(--text-muted);
}

.breadcrumb a:hover {
  color: var(--cyan);
}

.breadcrumb .sep {
  opacity: .5;
}

.breadcrumb .current {
  color: var(--cyan);
}

/* ── SECTION HEADER ── */
.sec-header {
  text-align: center;
  margin-bottom: 52px;
}

.sec-header p {
  max-width: 680px;
  margin: 12px auto 0;
}

.eyebrow {
  display: inline-block;
  font-size: .75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--cyan);
  margin-bottom: 10px;
}

/* ── FAQ ACCORDION ── */
.faq-item {
  border-bottom: 1px solid var(--border);
}

.faq-q {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 0;
  font-size: 1rem;
  font-weight: 600;
  color: var(--white);
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  gap: 16px;
}

.faq-q:hover {
  color: var(--cyan);
}

.faq-icon {
  font-size: 1.2rem;
  color: var(--cyan);
  flex-shrink: 0;
  transition: transform .3s;
}

.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height .4s ease;
}

.faq-a p {
  padding-bottom: 16px;
  color: #B8CCE8;
}

.faq-item.open .faq-icon {
  transform: rotate(45deg);
}

.faq-item.open .faq-a {
  max-height: 300px;
}

/* ── AUTHOR BOX ── */
.author-box {
  display: flex;
  gap: 28px;
  align-items: flex-start;
  background: var(--bg-card2);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
}

.author-photo {
  width: 110px;
  height: 110px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
  border: 3px solid var(--cyan);
}

.author-photo-placeholder {
  width: 110px;
  height: 110px;
  border-radius: 50%;
  flex-shrink: 0;
  border: 3px solid var(--cyan);
  background: linear-gradient(135deg, var(--blue), var(--cyan));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
}

.author-name {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 4px;
}

.author-role {
  font-size: .82rem;
  color: var(--cyan);
  margin-bottom: 10px;
}

/* ── FOOTER ── */
.site-footer {
  background: var(--bg-mid);
  border-top: 1px solid var(--border);
  padding: 60px 0 30px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 48px;
}

.footer-brand p {
  margin-top: 14px;
  font-size: .88rem;
  color: var(--text-muted);
  line-height: 1.7;
}

.footer-col h5 {
  font-size: .82rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--text-muted);
  margin-bottom: 16px;
}

.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-col ul li a {
  font-size: .88rem;
  color: #99AABB;
  transition: color .2s;
}

.footer-col ul li a:hover {
  color: var(--cyan);
}

.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-bottom p {
  font-size: .8rem;
  color: var(--text-muted);
}

.footer-badges {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.footer-badge {
  background: rgba(255, 255, 255, .07);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 5px 14px;
  font-size: .72rem;
  color: var(--text-muted);
  font-weight: 600;
}

.resp-msg {
  font-size: .78rem;
  color: var(--text-muted);
  margin-top: 16px;
  line-height: 1.6;
}

/* ── MOBILE NAV DRAWER ── */
.mobile-nav {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: rgba(0, 0, 0, .7);
  backdrop-filter: blur(6px);
}

.mobile-nav.open {
  display: flex;
}

.mobile-nav-panel {
  width: 280px;
  height: 100%;
  background: var(--bg-mid);
  border-right: 1px solid var(--border);
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  overflow-y: auto;
}

.mobile-nav-close {
  align-self: flex-end;
  background: none;
  border: none;
  color: var(--white);
  font-size: 1.5rem;
  cursor: pointer;
  margin-bottom: 8px;
}

.mobile-nav-panel a {
  display: block;
  color: #C8D8F0;
  font-size: 1rem;
  font-weight: 500;
  padding: 12px 16px;
  border-radius: 10px;
  transition: background .2s;
}

.mobile-nav-panel a:hover {
  background: rgba(0, 170, 255, .12);
  color: var(--cyan);
}

.mobile-nav-cta {
  margin-top: 16px;
}

.mobile-nav-cta .btn {
  width: 100%;
  justify-content: center;
}

/* ── GLOW DIVIDER ── */
.glow-divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--blue), var(--cyan), transparent);
  margin: 0;
  opacity: .5;
}

/* ── FORMS ── */
.form-wrap {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 44px 40px;
  max-width: 520px;
  margin: 0 auto;
}

.form-title {
  font-size: 1.8rem;
  font-weight: 800;
  margin-bottom: 6px;
  text-align: center;
}

.form-sub {
  text-align: center;
  color: var(--text-muted);
  font-size: .9rem;
  margin-bottom: 30px;
}

.form-group {
  margin-bottom: 18px;
}

.form-group label {
  display: block;
  font-size: .82rem;
  font-weight: 600;
  color: #99AABB;
  margin-bottom: 7px;
  text-transform: uppercase;
  letter-spacing: .5px;
}

.form-group input,
.form-group select {
  width: 100%;
  padding: 13px 16px;
  background: var(--bg-mid);
  border: 1px solid var(--border);
  border-radius: 10px;
  color: var(--white);
  font-size: .95rem;
  outline: none;
  transition: border-color .2s;
}

.form-group input:focus,
.form-group select:focus {
  border-color: var(--cyan);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.form-check {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: .85rem;
  color: #99AABB;
}

.form-check input[type="checkbox"] {
  margin-top: 2px;
  accent-color: var(--cyan);
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

.form-divider {
  text-align: center;
  color: var(--text-muted);
  font-size: .82rem;
  margin: 20px 0;
  position: relative;
}

.form-divider::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--border);
  z-index: 0;
}

.form-divider span {
  background: var(--bg-card);
  position: relative;
  z-index: 1;
  padding: 0 12px;
}

.form-submit {
  width: 100%;
  padding: 15px;
  font-size: 1.05rem;
  margin-top: 8px;
}

.form-link {
  text-align: center;
  font-size: .88rem;
  color: var(--text-muted);
  margin-top: 18px;
}

.form-link a {
  color: var(--cyan);
  font-weight: 600;
}

/* ── MOBILE APP PAGE SPECIFIC ── */
.app-mockup-wrap {
  position: relative;
  display: flex;
  justify-content: center;
}

.app-store-btns {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 24px;
}

.app-store-btn {
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(255, 255, 255, .08);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 12px 22px;
  color: var(--white);
  transition: background .2s, border-color .2s;
}

.app-store-btn:hover {
  background: rgba(0, 170, 255, .12);
  border-color: var(--cyan);
  color: var(--white);
}

.app-store-btn .icon {
  font-size: 1.8rem;
}

.app-store-btn .text small {
  display: block;
  font-size: .7rem;
  color: var(--text-muted);
}

.app-store-btn .text strong {
  font-size: 1rem;
}

.feature-step {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  padding: 24px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  margin-bottom: 14px;
}

.step-num {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--blue), var(--cyan));
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1.1rem;
  color: var(--bg-dark);
  flex-shrink: 0;
}

/* ── SCROLL TO TOP ── */
.scroll-top {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 500;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--blue), var(--cyan));
  color: var(--bg-dark);
  border: none;
  cursor: pointer;
  font-size: 1.1rem;
  box-shadow: 0 4px 18px rgba(0, 170, 255, .4);
  display: none;
  align-items: center;
  justify-content: center;
  transition: transform .2s;
}

.scroll-top:hover {
  transform: scale(1.1);
}

.scroll-top.visible {
  display: flex;
}

/* ── RESPONSIVE ── */
@media (max-width: 1024px) {
  .grid-4 {
    grid-template-columns: 1fr 1fr;
  }

  .hero-visual {
    width: 340px;
    opacity: .6;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .main-nav {
    display: none;
  }

  .hamburger {
    display: flex;
  }

  .header-cta .btn-outline,
  .header-cta .btn-primary {
    display: none;
  }

  .header-tracker-btn {
    display: flex;
  }

  h1 {
    font-size: 2rem;
  }

  h2 {
    font-size: 1.6rem;
  }

  .section {
    padding: 52px 0;
  }

  .hero {
    padding: 64px 0 52px;
    min-height: auto;
  }

  .hero-visual {
    display: none;
  }

  .hero-btns .btn-lg {
    padding: 13px 28px;
    font-size: 1rem;
  }

  .stats-bar {
    flex-wrap: wrap;
  }

  .stat-item {
    flex: 0 0 50%;
    border-bottom: 1px solid var(--border);
  }

  .stat-item:nth-child(even) {
    border-right: none;
  }

  .grid-2,
  .grid-3,
  .grid-4 {
    grid-template-columns: 1fr;
  }

  .bar-chart {
    height: 160px;
  }

  .donut-svg {
    width: 150px !important;
    height: 150px !important;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .author-box {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .form-wrap {
    padding: 32px 20px;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .table-wrap {
    margin-left: -20px;
    margin-right: -20px;
    border-radius: 0;
  }

  table {
    min-width: 520px;
  }

  .hbar-label {
    width: 100%;
    min-width: unset;
    margin-bottom: 4px;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 16px;
  }

  h1 {
    font-size: 1.75rem;
  }

  .hero {
    padding: 48px 0 40px;
  }

  .stat-item {
    flex: 0 0 100%;
    border-right: none;
  }

  .bar-chart {
    height: 130px;
  }

  .stats-bar .stat-num {
    font-size: 1.5rem;
  }

  .bonus-amount {
    font-size: 1.8rem;
  }

  .donut-svg {
    width: 130px !important;
    height: 130px !important;
  }

  .footer-badges {
    justify-content: center;
  }

  .scroll-top {
    bottom: 16px;
    right: 16px;
  }
}
/* ── SKIP LINK (Accessibility) ── */
.skip-link {
  position: absolute;
  top: -100%;
  left: 12px;
  background: var(--blue);
  color: #fff;
  padding: 10px 20px;
  border-radius: 0 0 8px 8px;
  font-size: .9rem;
  font-weight: 700;
  z-index: 9999;
  text-decoration: none;
  transition: top .2s;
}
.skip-link:focus {
  top: 0;
}

/* ── FOCUS VISIBLE (Keyboard accessibility) ── */
:focus-visible {
  outline: 3px solid var(--cyan);
  outline-offset: 3px;
  border-radius: 4px;
}
a:focus-visible,
button:focus-visible {
  outline: 3px solid var(--cyan);
  outline-offset: 3px;
}
.btn:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 3px;
}

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

/* ── HIGH CONTRAST SUPPORT ── */
@media (forced-colors: active) {
  .btn, .badge, .card {
    border: 1px solid ButtonText;
  }
}

/* ── PRINT STYLES ── */
@media print {
  .site-header, .mobile-nav, .scroll-top, .hero-svg-visual, .header-cta { display: none !important; }
  body { background: #fff; color: #000; }
  a { color: #000; text-decoration: underline; }
  .container { max-width: 100%; padding: 0; }
}