/* ================================================================
   GRANAWIN-CASINOS.PT — Main Stylesheet
   Brand: Teal #06E5A0 | Purple #9E01FF | Black header #000
   Font: Montserrat | Background: #EDEFF2
   ================================================================ */

@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;600;700;800;900&display=swap');

/* ---- CSS Variables ---- */
:root {
  --accent: #06E5A0;
  --accent-dark: #04C78A;
  --accent-light: #7FFFD4;
  --purple: #9E01FF;
  --purple-dark: #7A00CC;
  --purple-light: #C266FF;
  --bg: #EDEFF2;
  --bg-2: #E2E5EA;
  --white: #ffffff;
  --black: #000000;
  --text: #3E4049;
  --text-muted: #6E7180;
  --text-accent: #06BD84;
  --header-bg: #000000;
  --border: #CFD2DB;
  --border-accent: rgba(6, 229, 160, 0.3);
  --shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.12);
  --r: 12px;
  --r-lg: 16px;
  --r-sm: 8px;
  --r-pill: 50px;
}

/* ---- Reset ---- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
  font-size: 16px;
}

body {
  background: var(--bg);
  font-family: 'Montserrat', sans-serif;
  font-weight: 400;
  font-size: 15px;
  line-height: 1.65;
  color: var(--text);
  overflow-x: hidden;
}

a {
  text-decoration: none;
  color: inherit;
  transition: color .25s;
}

a:hover {
  color: var(--accent);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

ul,
ol {
  list-style: none;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
}

input,
select,
textarea {
  font-family: inherit;
}

svg {
  display: inline-block;
  vertical-align: middle;
}

p {
  margin-bottom: 1em;
}

p:last-child {
  margin-bottom: 0;
}

/* ---- Typography ---- */
h1 {
  font-size: clamp(1.6rem, 3.5vw, 2.6rem);
  font-weight: 800;
  line-height: 1.2;
  color: var(--accent);
  margin-bottom: 16px;
}

h2 {
  font-size: clamp(1.2rem, 2.5vw, 1.75rem);
  font-weight: 700;
  line-height: 1.3;
  color: var(--text);
  margin-bottom: 14px;
}

h3 {
  font-size: 1.15rem;
  font-weight: 700;
  line-height: 1.35;
  color: var(--text);
  margin-bottom: 10px;
}

h4 {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-accent);
  margin-bottom: 8px;
}

.section-title {
  font-size: clamp(1.15rem, 2.2vw, 1.5rem);
  font-weight: 700;
  color: var(--text);
  padding: 4px 14px;
  border-left: 4px solid var(--accent);
  margin-bottom: 20px;
}

.section-title-center {
  text-align: center;
  border-left: none;
  border-bottom: 3px solid var(--accent);
  display: inline-block;
  padding: 0 0 6px;
  margin-bottom: 24px;
}

.highlight {
  color: var(--accent);
  font-weight: 700;
}

.text-purple {
  color: var(--purple);
}

.text-muted {
  color: var(--text-muted);
  font-size: 0.875rem;
}

.label {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-muted);
}

/* ---- Buttons ---- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 28px;
  font-family: inherit;
  font-size: 0.875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border-radius: var(--r-pill);
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform .2s, box-shadow .2s, background .2s;
  white-space: nowrap;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.btn-primary {
  background: var(--accent);
  color: var(--black);
  border-color: var(--accent);
}

.btn-primary:hover {
  background: var(--accent-dark);
  border-color: var(--accent-dark);
  color: var(--black);
}

.btn-purple {
  background: var(--purple);
  color: var(--white);
  border-color: var(--purple);
}

.btn-purple:hover {
  background: var(--purple-dark);
  border-color: var(--purple-dark);
  color: var(--white);
}

.btn-outline {
  background: transparent;
  color: var(--accent);
  border-color: var(--accent);
}

.btn-outline:hover {
  background: var(--accent);
  color: var(--black);
}

.btn-outline-white {
  background: transparent;
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.7);
}

.btn-outline-white:hover {
  background: var(--white);
  color: var(--black);
}

.btn-sm {
  padding: 8px 18px;
  font-size: 0.8rem;
}

.btn-lg {
  padding: 15px 36px;
  font-size: 1rem;
}

.btn-full {
  width: 100%;
}

.btn-tracker {
  background: var(--accent);
  color: var(--black);
  border-color: var(--accent);
}

.btn-tracker:hover {
  background: var(--accent-dark);
  border-color: var(--accent-dark);
  color: var(--black);
}

/* ---------------------------------------------------------------- */
/* HEADER                                                            */
/* ---------------------------------------------------------------- */
.header {
  background: var(--header-bg);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.3);
}

.header__container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  align-items: center;
  gap: 16px;
  height: 64px;
}

.header__logo {
  flex-shrink: 0;
  display: flex;
  align-items: center;
}

.header__logo img {
  height: 36px;
  width: auto;
}

.header__nav {
  flex: 1;
  display: flex;
  justify-content: center;
}

.header__nav ul {
  display: flex;
  gap: 4px;
}

.header__nav a {
  padding: 8px 12px;
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.82rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  border-radius: var(--r-pill);
  transition: all .25s;
}

.header__nav a:hover,
.header__nav a.active {
  color: var(--accent);
  background: rgba(6, 229, 160, 0.1);
}

.header__actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.header__login {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.82rem;
  font-weight: 600;
  text-transform: uppercase;
  padding: 8px 16px;
  border-radius: var(--r-pill);
  border: 1px solid rgba(255, 255, 255, 0.25);
  transition: all .25s;
}

.header__login:hover {
  color: var(--white);
  border-color: var(--white);
}

.burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  padding: 8px;
  background: transparent;
  border-radius: var(--r-sm);
}

.burger span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: all .35s;
}

.burger.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.burger.open span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

.burger.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Mobile Nav */
.mobile-nav {
  display: none;
  background: #111;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  overflow: hidden;
  max-height: 0;
  transition: max-height .4s ease;
}

.mobile-nav.open {
  max-height: 600px;
}

.mobile-nav ul {
  padding: 12px 20px 16px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.mobile-nav a {
  display: block;
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.9rem;
  font-weight: 600;
  padding: 11px 14px;
  border-radius: var(--r-sm);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  transition: all .25s;
}

.mobile-nav a:hover {
  background: rgba(6, 229, 160, 0.12);
  color: var(--accent);
}

.mobile-nav .nav-cta {
  display: flex;
  gap: 10px;
  padding: 12px 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.mobile-nav .nav-cta .btn {
  flex: 1;
  justify-content: center;
}

/* Mobile CTA bar (fixed bottom) */
.mobile-cta-bar {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 900;
  background: var(--header-bg);
  border-top: 1px solid rgba(6, 229, 160, 0.3);
  padding: 10px 16px;
  padding-bottom: calc(10px + env(safe-area-inset-bottom));
}

.mobile-cta-bar .btn {
  width: 100%;
  max-width: 480px;
  margin: 0 auto;
  display: flex;
  font-size: 0.9rem;
  padding: 13px 24px;
}

/* ---------------------------------------------------------------- */
/* CONTAINER / LAYOUT                                               */
/* ---------------------------------------------------------------- */
.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 20px;
}

.container-sm {
  max-width: 860px;
  margin: 0 auto;
  padding: 0 20px;
}

.section {
  padding: 52px 0;
}

.section-sm {
  padding: 32px 0;
}

.section-lg {
  padding: 72px 0;
}

.section-white {
  background: var(--white);
}

.section-bg2 {
  background: var(--bg-2);
}

.section-dark {
  background: var(--header-bg);
  color: var(--white);
}

.section-dark h2,
.section-dark h3 {
  color: var(--white);
}

.section-dark .section-title {
  color: var(--white);
  border-color: var(--accent);
}

.section-dark p {
  color: rgba(255, 255, 255, 0.85);
}

/* Grid utilities */
.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 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-5 {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
}

.flex-center {
  display: flex;
  align-items: center;
  justify-content: center;
}

.flex-between {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.text-center {
  text-align: center;
}

.mt-auto {
  margin-top: auto;
}

.mb-0 {
  margin-bottom: 0;
}

.gap-8 {
  gap: 8px;
}

.gap-16 {
  gap: 16px;
}

.gap-24 {
  gap: 24px;
}

/* ---------------------------------------------------------------- */
/* HERO SECTIONS                                                     */
/* ---------------------------------------------------------------- */

/* Hero — Full width variant (homepage) */
.hero {
  position: relative;
  background: linear-gradient(135deg, #0d0d14 0%, #16003a 50%, #001a22 100%);
  color: var(--white);
  border-radius: 0;
  overflow: hidden;
  min-height: 420px;
  display: flex;
  align-items: center;
}

.hero__bg-decor {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

.hero__bg-decor svg {
  position: absolute;
}

.hero__container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 60px 20px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
  position: relative;
  z-index: 2;
  width: 100%;
}

.hero__content h1 {
  color: var(--accent);
  text-shadow: 0 0 30px rgba(6, 229, 160, 0.4);
}

.hero__content .subtitle {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 28px;
  font-weight: 500;
}

.hero__content .hero-score {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(6, 229, 160, 0.12);
  border: 1px solid rgba(6, 229, 160, 0.35);
  border-radius: var(--r-pill);
  padding: 6px 18px;
  margin-bottom: 24px;
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--accent);
}

.hero__actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.hero__image {
  display: flex;
  justify-content: center;
  align-items: flex-end;
}

.hero__image svg {
  max-width: 100%;
  height: auto;
}

.hero__badges {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 20px;
}

.hero__badge {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--r-pill);
  padding: 5px 14px;
  font-size: 0.78rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.7);
}

/* Hero — Split variant (slots, casino) */
.hero-split {
  background: var(--header-bg);
  color: var(--white);
  display: grid;
  grid-template-columns: 55% 45%;
  min-height: 360px;
  border-radius: 0;
  overflow: hidden;
}

.hero-split__content {
  padding: 52px 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.hero-split__content h1 {
  color: var(--accent);
}

.hero-split__visual {
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: stretch;
  background: linear-gradient(135deg, #1a0036, #000814);
}

.hero-split__visual svg {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Hero — Narrow (inner pages) */
.hero-narrow {
  background: linear-gradient(135deg, #000814 0%, #16003a 100%);
  color: var(--white);
  padding: 52px 0 40px;
  position: relative;
  overflow: hidden;
}

.hero-narrow__container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 20px;
}

.hero-narrow h1 {
  color: var(--accent);
}

.hero-narrow .breadcrumbs {
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.5);
  margin-bottom: 14px;
}

.hero-narrow .breadcrumbs a {
  color: rgba(255, 255, 255, 0.65);
}

.hero-narrow .breadcrumbs a:hover {
  color: var(--accent);
}

.hero-narrow .breadcrumbs span {
  margin: 0 6px;
}

/* ---------------------------------------------------------------- */
/* CARDS                                                             */
/* ---------------------------------------------------------------- */
.card {
  background: var(--white);
  border-radius: var(--r-lg);
  padding: 24px;
  box-shadow: var(--shadow);
  transition: transform .25s, box-shadow .25s;
}

.card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
}

.card-purple {
  background: var(--purple);
  color: var(--white);
}

.card-purple h3,
.card-purple h4,
.card-purple p {
  color: var(--white);
}

.card-dark {
  background: #111;
  color: var(--white);
}

.card-dark h3,
.card-dark h4 {
  color: var(--accent);
}

.card-dark p {
  color: rgba(255, 255, 255, 0.75);
}

.card-accent-border {
  border: 2px solid var(--accent);
}

.card-purple-border {
  border: 2px solid var(--purple);
}

.card__icon {
  width: 52px;
  height: 52px;
  border-radius: var(--r-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  flex-shrink: 0;
}

.card__icon-accent {
  background: rgba(6, 229, 160, 0.12);
}

.card__icon-purple {
  background: rgba(158, 1, 255, 0.12);
}

.card__num {
  font-size: 2rem;
  font-weight: 800;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 4px;
}

.card__num-purple {
  color: var(--purple);
}

.card-sm {
  padding: 16px;
}

.card-horizontal {
  display: flex;
  gap: 20px;
  align-items: flex-start;
}

/* ---------------------------------------------------------------- */
/* STAT COUNTERS                                                     */
/* ---------------------------------------------------------------- */
.stats-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.stat-item {
  background: var(--white);
  border-radius: var(--r);
  padding: 24px 20px;
  text-align: center;
  box-shadow: var(--shadow);
  border-bottom: 3px solid var(--accent);
}

.stat-item__num {
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 4px;
  font-variant-numeric: tabular-nums;
}

.stat-item__label {
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-muted);
}

.stat-purple .stat-item__num {
  color: var(--purple);
}

.stat-purple {
  border-bottom-color: var(--purple);
}

/* ---------------------------------------------------------------- */
/* RATING / SCORE                                                    */
/* ---------------------------------------------------------------- */
.rating-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.rating-item {
  background: var(--purple);
  border-radius: var(--r);
  padding: 20px 16px;
  text-align: center;
  color: var(--white);
  position: relative;
  overflow: hidden;
}

.rating-item::before {
  content: '';
  position: absolute;
  top: -20px;
  right: -20px;
  width: 80px;
  height: 80px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 50%;
}

.rating-item__label {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 8px;
}

.rating-item__score {
  font-size: 2rem;
  font-weight: 800;
  color: var(--accent);
  line-height: 1;
}

.rating-item__max {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.5);
  font-weight: 600;
}

.overall-score {
  background: var(--header-bg);
  border: 2px solid var(--accent);
  border-radius: var(--r-lg);
  padding: 24px;
  text-align: center;
}

.overall-score__num {
  font-size: 3.5rem;
  font-weight: 900;
  color: var(--accent);
  line-height: 1;
  text-shadow: 0 0 20px rgba(6, 229, 160, 0.4);
}

.overall-score__label {
  font-size: 0.9rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.6);
  margin-top: 4px;
}

/* ---------------------------------------------------------------- */
/* TABLES                                                            */
/* ---------------------------------------------------------------- */
.table-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border-radius: var(--r);
  box-shadow: var(--shadow);
}

.data-table {
  width: 100%;
  min-width: 520px;
  border-collapse: collapse;
  background: var(--white);
}

.data-table th {
  background: var(--purple);
  color: var(--white);
  padding: 13px 18px;
  text-align: left;
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  white-space: nowrap;
}

.data-table th:first-child {
  border-radius: var(--r-sm) 0 0 0;
}

.data-table th:last-child {
  border-radius: 0 var(--r-sm) 0 0;
}

.data-table td {
  padding: 12px 18px;
  border-bottom: 1px solid var(--border);
  font-size: 0.9rem;
  vertical-align: middle;
  white-space: nowrap;
}

.data-table tr:last-child td {
  border-bottom: none;
}

.data-table tr:nth-child(even) td {
  background: #f7f8fa;
}

.data-table tr:hover td {
  background: rgba(6, 229, 160, 0.05);
}

.data-table .highlight-cell {
  color: var(--accent);
  font-weight: 700;
}

.data-table .check {
  color: var(--accent);
  font-size: 1.1rem;
}

.data-table .cross {
  color: #e53e3e;
  font-size: 1rem;
}

.data-table .badge-cell {
  display: inline-flex;
  align-items: center;
}

.data-table .first-col {
  font-weight: 600;
  color: var(--text);
}

/* Comparison table with highlight column */
.table-compare th.is-best {
  background: var(--accent);
  color: var(--black);
}

.table-compare td.is-best {
  background: rgba(6, 229, 160, 0.08);
  font-weight: 600;
}

/* ---------------------------------------------------------------- */
/* CHARTS                                                            */
/* ---------------------------------------------------------------- */

/* Horizontal bar chart */
.bar-chart {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.bar-chart__item {
  display: flex;
  align-items: center;
  gap: 14px;
}

.bar-chart__label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text);
  min-width: 130px;
  flex-shrink: 0;
}

.bar-chart__track {
  flex: 1;
  background: var(--bg-2);
  border-radius: var(--r-pill);
  height: 22px;
  overflow: hidden;
  min-width: 80px;
}

.bar-chart__fill {
  height: 100%;
  background: linear-gradient(90deg, var(--purple), var(--purple-light));
  border-radius: var(--r-pill);
  width: 0;
  transition: width 1.2s cubic-bezier(.4, 0, .2, 1);
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding-right: 8px;
}

.bar-chart__fill.accent {
  background: linear-gradient(90deg, var(--accent-dark), var(--accent));
}

.bar-chart__val {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--white);
  line-height: 1;
  white-space: nowrap;
}

.bar-chart__val-outside {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--text);
  min-width: 36px;
  text-align: right;
}

/* Vertical bar chart */
.vchart {
  display: flex;
  align-items: flex-end;
  gap: 10px;
  height: 200px;
  padding-bottom: 28px;
  position: relative;
}

.vchart__axis {
  position: absolute;
  bottom: 28px;
  left: 0;
  right: 0;
  top: 0;
}

.vchart__grid-line {
  position: absolute;
  left: 0;
  right: 0;
  border-top: 1px dashed var(--border);
  font-size: 0.7rem;
  color: var(--text-muted);
}

.vchart__grid-line span {
  position: absolute;
  left: -28px;
  top: -9px;
}

.vchart__col {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  position: relative;
}

.vchart__bar {
  width: 100%;
  background: linear-gradient(180deg, var(--purple-light), var(--purple));
  border-radius: var(--r-sm) var(--r-sm) 0 0;
  min-height: 4px;
  transition: height 1s cubic-bezier(.4, 0, .2, 1);
  position: relative;
}

.vchart__bar.accent {
  background: linear-gradient(180deg, var(--accent), var(--accent-dark));
}

.vchart__bar-label {
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--text-muted);
  position: absolute;
  bottom: -22px;
  white-space: nowrap;
  text-align: center;
  width: 100%;
}

.vchart__bar-val {
  position: absolute;
  top: -20px;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--text);
}

.vchart-wrap {
  background: var(--white);
  border-radius: var(--r-lg);
  padding: 28px;
  box-shadow: var(--shadow);
}

.vchart-title {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 20px;
}

/* Progress circles (CSS-based donut) */
.progress-circles {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
}

.progress-circle {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.progress-circle__ring {
  position: relative;
  width: 96px;
  height: 96px;
}

.progress-circle__svg {
  transform: rotate(-90deg);
}

.progress-circle__bg {
  fill: none;
  stroke: var(--bg-2);
  stroke-width: 8;
}

.progress-circle__fill {
  fill: none;
  stroke: var(--accent);
  stroke-width: 8;
  stroke-linecap: round;
  stroke-dasharray: 226;
  stroke-dashoffset: 226;
  transition: stroke-dashoffset 1.4s cubic-bezier(.4, 0, .2, 1);
}

.progress-circle__fill.purple {
  stroke: var(--purple);
}

.progress-circle__num {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--text);
}

.progress-circle__label {
  font-size: 0.78rem;
  font-weight: 600;
  text-align: center;
  color: var(--text-muted);
  max-width: 90px;
}

/* ---------------------------------------------------------------- */
/* FEATURE BOXES                                                      */
/* ---------------------------------------------------------------- */
.feature-box {
  background: var(--purple);
  border-radius: var(--r);
  padding: 20px;
  color: var(--white);
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.feature-box__icon {
  width: 44px;
  height: 44px;
  border-radius: var(--r-sm);
  background: rgba(255, 255, 255, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 1.3rem;
}

.feature-box__title {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 4px;
}

.feature-box__desc {
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.75);
}

.feature-grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

/* ---------------------------------------------------------------- */
/* BONUS CARDS                                                        */
/* ---------------------------------------------------------------- */
.bonus-card {
  background: linear-gradient(135deg, var(--purple), var(--purple-dark));
  border-radius: var(--r-lg);
  padding: 24px;
  color: var(--white);
  position: relative;
  overflow: hidden;
}

.bonus-card::after {
  content: '';
  position: absolute;
  bottom: -30px;
  right: -30px;
  width: 120px;
  height: 120px;
  background: rgba(255, 255, 255, 0.06);
  border-radius: 50%;
}

.bonus-card::before {
  content: '';
  position: absolute;
  top: -20px;
  left: -20px;
  width: 80px;
  height: 80px;
  background: rgba(6, 229, 160, 0.08);
  border-radius: 50%;
}

.bonus-card__tag {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent);
  background: rgba(6, 229, 160, 0.15);
  border-radius: var(--r-pill);
  padding: 3px 10px;
  display: inline-block;
  margin-bottom: 10px;
}

.bonus-card__amount {
  font-size: 1.9rem;
  font-weight: 900;
  color: var(--white);
  line-height: 1.1;
}

.bonus-card__amount span {
  color: var(--accent);
}

.bonus-card__desc {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.75);
  margin: 10px 0;
}

.bonus-card .btn {
  margin-top: 14px;
  position: relative;
  z-index: 1;
}

.bonus-card__terms {
  font-size: 0.72rem;
  color: rgba(255, 255, 255, 0.4);
  margin-top: 8px;
}

/* ---------------------------------------------------------------- */
/* TIMELINE                                                           */
/* ---------------------------------------------------------------- */
.timeline {
  position: relative;
  padding-left: 36px;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 11px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(180deg, var(--accent), var(--purple));
}

.timeline__item {
  position: relative;
  margin-bottom: 32px;
}

.timeline__item:last-child {
  margin-bottom: 0;
}

.timeline__dot {
  position: absolute;
  left: -41px;
  top: 4px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--accent);
  border: 3px solid var(--white);
  box-shadow: 0 0 0 2px var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1;
}

.timeline__dot-purple {
  background: var(--purple);
  box-shadow: 0 0 0 2px var(--purple);
}

.timeline__num {
  font-size: 0.6rem;
  font-weight: 900;
  color: var(--white);
}

.timeline__card {
  background: var(--white);
  border-radius: var(--r);
  padding: 18px 20px;
  box-shadow: var(--shadow);
  border-left: 3px solid var(--accent);
}

.timeline__card-purple {
  border-left-color: var(--purple);
}

.timeline__step {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  margin-bottom: 6px;
}

/* ---------------------------------------------------------------- */
/* PROVIDER / PAYMENT LOGOS                                          */
/* ---------------------------------------------------------------- */
.providers-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.provider-chip {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--r-sm);
  padding: 8px 16px;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--text);
  box-shadow: var(--shadow);
  white-space: nowrap;
}

.payment-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.payment-chip {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--r-sm);
  padding: 8px 20px;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--text);
}

.payment-chip.accent {
  border-color: var(--accent);
  color: var(--accent);
}

/* ---------------------------------------------------------------- */
/* FAQ ACCORDION                                                      */
/* ---------------------------------------------------------------- */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.faq-item {
  background: var(--white);
  border-radius: var(--r);
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
}

.faq-item.active {
  border-color: var(--purple);
}

.faq-question {
  width: 100%;
  text-align: left;
  padding: 16px 50px 16px 20px;
  background: transparent;
  border: none;
  font-family: inherit;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--text);
  cursor: pointer;
  position: relative;
  transition: color .25s;
  display: flex;
  align-items: center;
  gap: 12px;
}

.faq-question::before {
  content: '';
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--purple);
}

.faq-question::after {
  content: '';
  position: absolute;
  right: 18px;
  top: 50%;
  transform: translateY(-50%);
  width: 16px;
  height: 16px;
  background: center/contain no-repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%239E01FF' stroke-width='2.5'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  transition: transform .3s;
}

.faq-item.active .faq-question::after {
  transform: translateY(-50%) rotate(180deg);
}

.faq-item.active .faq-question {
  color: var(--purple);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height .4s ease, padding .3s;
}

.faq-answer-inner {
  padding: 0 20px 16px;
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.7;
}

.faq-item.active .faq-answer {
  max-height: 400px;
}

/* ---------------------------------------------------------------- */
/* SEO ARTICLE                                                        */
/* ---------------------------------------------------------------- */
.seo-article {
  background: var(--white);
  border-radius: var(--r-lg);
  padding: 40px 44px;
  box-shadow: var(--shadow);
}

.seo-article h2 {
  font-size: 1.4rem;
  color: var(--text);
  border-left: 4px solid var(--accent);
  padding-left: 14px;
  margin: 28px 0 12px;
}

.seo-article h2:first-child {
  margin-top: 0;
}

.seo-article h3 {
  font-size: 1.1rem;
  color: var(--purple);
  margin: 22px 0 8px;
}

.seo-article p {
  color: var(--text);
  font-size: 0.95rem;
  line-height: 1.75;
  margin-bottom: 14px;
}

.seo-article a {
  color: var(--text-accent);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.seo-article a:hover {
  color: var(--purple);
}

.seo-article ul,
.seo-article ol {
  padding-left: 20px;
  margin-bottom: 14px;
}

.seo-article ul {
  list-style: disc;
}

.seo-article ol {
  list-style: decimal;
}

.seo-article li {
  font-size: 0.93rem;
  color: var(--text);
  margin-bottom: 6px;
  line-height: 1.65;
}

.seo-article strong {
  color: var(--text);
}

/* ---------------------------------------------------------------- */
/* FORMS (Login / Registo)                                           */
/* ---------------------------------------------------------------- */
.auth-wrapper {
  min-height: calc(100vh - 64px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 20px 80px;
  background: linear-gradient(135deg, #0d0d14, #16003a, #000814);
}

.auth-card {
  background: var(--white);
  border-radius: var(--r-lg);
  padding: 40px 44px;
  width: 100%;
  max-width: 460px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
}

.auth-card h1 {
  font-size: 1.6rem;
  margin-bottom: 6px;
}

.auth-card .subtitle {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 28px;
}

.form-group {
  margin-bottom: 18px;
}

.form-label {
  display: block;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 6px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.form-control {
  width: 100%;
  padding: 12px 16px;
  border: 1.5px solid var(--border);
  border-radius: var(--r-sm);
  font-family: inherit;
  font-size: 0.9rem;
  color: var(--text);
  background: var(--bg);
  transition: border-color .25s, box-shadow .25s;
  outline: none;
}

.form-control:focus {
  border-color: var(--purple);
  box-shadow: 0 0 0 3px rgba(158, 1, 255, 0.12);
  background: var(--white);
}

.form-control::placeholder {
  color: var(--text-muted);
}

.form-input-wrap {
  position: relative;
}

.form-input-wrap .form-control {
  padding-right: 44px;
}

.form-input-wrap .toggle-pwd {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  cursor: pointer;
  color: var(--text-muted);
  font-size: 1.1rem;
  padding: 4px;
}

.form-check {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.form-check input {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  margin-top: 2px;
  accent-color: var(--purple);
}

.form-divider {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 22px 0;
  color: var(--text-muted);
  font-size: 0.82rem;
  font-weight: 600;
}

.form-divider::before,
.form-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--border);
}

.social-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  padding: 11px;
  border: 1.5px solid var(--border);
  border-radius: var(--r-sm);
  background: var(--bg);
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text);
  cursor: pointer;
  transition: all .25s;
  font-family: inherit;
}

.social-btn:hover {
  border-color: var(--purple);
  background: var(--white);
}

.auth-link {
  font-size: 0.88rem;
  text-align: center;
  color: var(--text-muted);
  margin-top: 20px;
}

.auth-link a {
  color: var(--purple);
  font-weight: 700;
}

.auth-link a:hover {
  color: var(--purple-dark);
}

.pwd-strength {
  display: flex;
  gap: 4px;
  margin-top: 6px;
}

.pwd-strength__bar {
  flex: 1;
  height: 4px;
  border-radius: 2px;
  background: var(--bg-2);
  transition: background .3s;
}

.pwd-strength__bar.weak {
  background: #e53e3e;
}

.pwd-strength__bar.medium {
  background: #f6ad55;
}

.pwd-strength__bar.strong {
  background: var(--accent);
}

/* Registo steps */
.steps-indicator {
  display: flex;
  gap: 0;
  margin-bottom: 28px;
}

.step-dot {
  flex: 1;
  height: 4px;
  background: var(--bg-2);
  border-radius: 2px;
  transition: background .3s;
}

.step-dot.done {
  background: var(--accent);
}

.step-dot.active {
  background: var(--purple);
}

/* ---------------------------------------------------------------- */
/* AUTHOR PAGE                                                        */
/* ---------------------------------------------------------------- */
.author-hero {
  background: linear-gradient(135deg, #000814, #16003a);
  padding: 60px 0;
}

.author-card {
  display: flex;
  gap: 40px;
  align-items: flex-start;
}

.author-portrait {
  flex-shrink: 0;
  width: 220px;
}

.author-portrait svg {
  border-radius: var(--r-lg);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
}

.author-info h1 {
  color: var(--accent);
}

.author-info .role {
  font-size: 0.9rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.6);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 14px;
}

.author-info .bio {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.95rem;
  line-height: 1.7;
}

.author-skills {
  margin-top: 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.author-skill {
  display: flex;
  align-items: center;
  gap: 12px;
}

.author-skill__name {
  font-size: 0.82rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.7);
  min-width: 100px;
}

.author-skill__bar {
  flex: 1;
  height: 8px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 4px;
  overflow: hidden;
}

.author-skill__fill {
  height: 100%;
  background: linear-gradient(90deg, var(--accent), var(--accent-light));
  border-radius: 4px;
}

.author-social {
  display: flex;
  gap: 10px;
  margin-top: 20px;
}

.social-link {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.9rem;
  transition: all .25s;
  border: 1px solid rgba(255, 255, 255, 0.15);
  font-weight: 700;
  font-size: 0.75rem;
}

.social-link:hover {
  background: var(--accent);
  color: var(--black);
  border-color: var(--accent);
}

.article-card {
  background: var(--white);
  border-radius: var(--r);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform .25s, box-shadow .25s;
}

.article-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
}

.article-card__img {
  width: 100%;
  aspect-ratio: 16/9;
  overflow: hidden;
}

.article-card__img svg {
  width: 100%;
  height: 100%;
}

.article-card__body {
  padding: 18px;
}

.article-card__tag {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--purple);
  margin-bottom: 8px;
}

.article-card__title {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text);
  line-height: 1.4;
  margin-bottom: 6px;
}

.article-card__date {
  font-size: 0.78rem;
  color: var(--text-muted);
}

/* ---------------------------------------------------------------- */
/* APP / MOBILE PAGE                                                  */
/* ---------------------------------------------------------------- */
.phone-mockup {
  width: 100%;
  max-width: 280px;
  margin: 0 auto;
  position: relative;
}

.phone-mockup svg {
  width: 100%;
  height: auto;
}

.download-step {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 28px;
}

.download-step__num {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--purple);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1rem;
  flex-shrink: 0;
}

.download-step__body h4 {
  color: var(--text);
  margin-bottom: 4px;
}

.download-step__body p {
  font-size: 0.88rem;
  color: var(--text-muted);
  margin: 0;
}

.app-badges {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 12px;
}

.app-badge {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--header-bg);
  color: var(--white);
  border-radius: var(--r-sm);
  padding: 10px 20px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.85rem;
  font-weight: 600;
  transition: all .25s;
}

.app-badge:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.app-badge__icon {
  font-size: 1.4rem;
}

/* OS comparison */
.os-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.os-card {
  background: var(--white);
  border-radius: var(--r-lg);
  padding: 28px;
  box-shadow: var(--shadow);
  text-align: center;
  border-top: 4px solid var(--purple);
}

.os-card.ios {
  border-top-color: var(--accent);
}

.os-card__icon {
  font-size: 2.5rem;
  margin-bottom: 12px;
}

.os-card__name {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--text);
  margin-bottom: 14px;
}

.os-card__list {
  text-align: left;
}

.os-card__list li {
  font-size: 0.88rem;
  color: var(--text-muted);
  padding: 6px 0;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  gap: 8px;
}

.os-card__list li:last-child {
  border-bottom: none;
}

.os-card__list li::before {
  content: '✓';
  color: var(--accent);
  font-weight: 800;
}

/* ---------------------------------------------------------------- */
/* GAME CARDS                                                         */
/* ---------------------------------------------------------------- */
.game-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 16px;
}

.game-card {
  background: var(--white);
  border-radius: var(--r);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform .25s, box-shadow .25s;
}

.game-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.game-card__thumb {
  width: 100%;
  aspect-ratio: 4/3;
  overflow: hidden;
  position: relative;
}

.game-card__thumb svg {
  width: 100%;
  height: 100%;
}

.game-card__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.65);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity .25s;
}

.game-card:hover .game-card__overlay {
  opacity: 1;
}

.game-card__name {
  padding: 10px 12px;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--text);
  text-align: center;
}

.game-card__provider {
  font-size: 0.72rem;
  color: var(--text-muted);
  text-align: center;
  padding: 0 12px 10px;
}

/* ---------------------------------------------------------------- */
/* BREADCRUMBS                                                        */
/* ---------------------------------------------------------------- */
.breadcrumbs {
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 4px;
}

.breadcrumbs a {
  color: var(--text-muted);
  font-weight: 500;
}

.breadcrumbs a:hover {
  color: var(--accent);
}

.breadcrumbs .sep {
  color: var(--border);
}

.breadcrumbs .current {
  color: var(--text);
  font-weight: 600;
}

/* ---------------------------------------------------------------- */
/* TOC (Table of Contents sidebar)                                   */
/* ---------------------------------------------------------------- */
.toc {
  background: var(--white);
  border-radius: var(--r);
  padding: 20px;
  box-shadow: var(--shadow);
  border-left: 3px solid var(--purple);
}

.toc__title {
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-muted);
  margin-bottom: 12px;
}

.toc__list {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.toc__link {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-muted);
  padding: 4px 8px;
  border-radius: var(--r-sm);
  transition: all .2s;
}

.toc__link:hover,
.toc__link.active {
  background: rgba(158, 1, 255, 0.08);
  color: var(--purple);
  font-weight: 600;
}

/* ---------------------------------------------------------------- */
/* SIDEBAR LAYOUT                                                     */
/* ---------------------------------------------------------------- */
.layout-sidebar {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 24px;
  align-items: start;
}

.sidebar {
  display: flex;
  flex-direction: column;
  gap: 20px;
  position: sticky;
  top: 84px;
}

.sidebar-widget {
  background: var(--white);
  border-radius: var(--r);
  padding: 20px;
  box-shadow: var(--shadow);
}

.sidebar-widget__title {
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-muted);
  border-bottom: 1px solid var(--border);
  padding-bottom: 10px;
  margin-bottom: 14px;
}

/* ---------------------------------------------------------------- */
/* BADGE / TAG                                                        */
/* ---------------------------------------------------------------- */
.badge {
  display: inline-flex;
  align-items: center;
  padding: 3px 10px;
  border-radius: var(--r-pill);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.badge-accent {
  background: rgba(6, 229, 160, 0.15);
  color: var(--text-accent);
}

.badge-purple {
  background: rgba(158, 1, 255, 0.12);
  color: var(--purple);
}

.badge-dark {
  background: var(--header-bg);
  color: var(--white);
}

.badge-new {
  background: #e53e3e;
  color: var(--white);
}

.badge-hot {
  background: #f6ad55;
  color: var(--black);
}

/* ---------------------------------------------------------------- */
/* FOOTER                                                             */
/* ---------------------------------------------------------------- */
.footer {
  background: var(--white);
  border-top: 2px solid var(--border);
  margin-top: 0;
}

.footer__top {
  max-width: 1280px;
  margin: 0 auto;
  padding: 48px 20px 32px;
  display: grid;
  grid-template-columns: 240px 1fr 1fr 1fr 1fr;
  gap: 40px;
}

.footer__brand p {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-top: 14px;
}

.footer__logo {
  height: 36px;
  width: auto;
}

.footer__col-title {
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text);
  margin-bottom: 14px;
}

.footer__col ul {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer__col a {
  font-size: 0.85rem;
  color: var(--text-muted);
  transition: color .2s;
}

.footer__col a:hover {
  color: var(--text-accent);
}

.footer__payments {
  max-width: 1280px;
  margin: 0 auto;
  padding: 16px 20px;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
}

.footer__payments-label {
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-right: 8px;
}

.pay-icon {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--r-sm);
  padding: 6px 14px;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--text);
}

.footer__bottom {
  max-width: 1280px;
  margin: 0 auto;
  padding: 20px;
  display: flex;
  align-items: flex-start;
  gap: 20px;
  flex-wrap: wrap;
}

.footer__disclaimer {
  flex: 1;
  font-size: 0.78rem;
  color: var(--text-muted);
  line-height: 1.6;
  min-width: 240px;
}

.footer__age {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 2px solid var(--text-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.78rem;
  font-weight: 800;
  color: var(--text-muted);
  flex-shrink: 0;
}

/* ---------------------------------------------------------------- */
/* LIVE SECTION                                                       */
/* ---------------------------------------------------------------- */
.live-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #e53e3e;
  color: var(--white);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  border-radius: var(--r-pill);
  padding: 3px 10px;
}

.live-badge::before {
  content: '';
  width: 6px;
  height: 6px;
  background: var(--white);
  border-radius: 50%;
  animation: pulse-dot 1.2s infinite;
}

@keyframes pulse-dot {

  0%,
  100% {
    opacity: 1;
    transform: scale(1);
  }

  50% {
    opacity: .6;
    transform: scale(1.3);
  }
}

.live-table {
  background: var(--white);
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.live-table__header {
  background: #111;
  color: var(--white);
  padding: 14px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.live-table__row {
  display: flex;
  align-items: center;
  padding: 14px 20px;
  border-bottom: 1px solid var(--border);
  gap: 16px;
  transition: background .2s;
}

.live-table__row:last-child {
  border-bottom: none;
}

.live-table__row:hover {
  background: rgba(158, 1, 255, 0.04);
}

.live-table__game {
  flex: 1;
  font-weight: 600;
  font-size: 0.9rem;
}

.live-table__players {
  font-size: 0.82rem;
  color: var(--text-muted);
  min-width: 80px;
}

.live-table__limit {
  font-size: 0.82rem;
  color: var(--text);
  min-width: 100px;
  text-align: right;
}

/* ---------------------------------------------------------------- */
/* SPORTS                                                             */
/* ---------------------------------------------------------------- */
.sport-card {
  background: var(--white);
  border-radius: var(--r);
  padding: 18px;
  box-shadow: var(--shadow);
  display: flex;
  align-items: center;
  gap: 14px;
  border-left: 3px solid var(--purple);
  transition: transform .25s;
}

.sport-card:hover {
  transform: translateX(4px);
}

.sport-card.accent {
  border-left-color: var(--accent);
}

.sport-icon {
  font-size: 1.8rem;
  width: 50px;
  height: 50px;
  border-radius: var(--r-sm);
  background: rgba(158, 1, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.sport-card.accent .sport-icon {
  background: rgba(6, 229, 160, 0.1);
}

.sport-info__name {
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--text);
}

.sport-info__count {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.odds-box {
  background: var(--purple);
  color: var(--white);
  border-radius: var(--r-sm);
  padding: 6px 12px;
  font-size: 0.85rem;
  font-weight: 700;
  min-width: 52px;
  text-align: center;
}

.odds-box.accent {
  background: var(--accent);
  color: var(--black);
}

/* ---------------------------------------------------------------- */
/* MISC UTILITIES                                                     */
/* ---------------------------------------------------------------- */
.divider {
  height: 1px;
  background: var(--border);
  margin: 24px 0;
}

.divider-accent {
  background: linear-gradient(90deg, var(--accent), var(--purple));
  height: 2px;
}

.bg-accent-soft {
  background: rgba(6, 229, 160, 0.08);
}

.bg-purple-soft {
  background: rgba(158, 1, 255, 0.06);
}

.rounded {
  border-radius: var(--r);
}

.rounded-lg {
  border-radius: var(--r-lg);
}

.overflow-auto {
  overflow-x: auto;
}

.sticky-top {
  position: sticky;
  top: 84px;
}

/* Animation */
.animate-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .6s, transform .6s;
}

.animate-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ================================================================ */
/* RESPONSIVE                                                         */
/* ================================================================ */

@media (max-width: 1100px) {
  .header__nav a {
    padding: 7px 9px;
    font-size: 0.78rem;
  }

  .footer__top {
    grid-template-columns: 200px 1fr 1fr 1fr;
  }

  .footer__top>*:last-child {
    display: none;
  }

  .stats-row {
    grid-template-columns: repeat(2, 1fr);
  }

  .hero__container {
    grid-template-columns: 60% 40%;
  }

  .rating-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 900px) {
  .header__nav {
    display: none;
  }

  .burger {
    display: flex;
  }

  .mobile-nav {
    display: block;
  }

  .mobile-cta-bar {
    display: block;
  }

  .header__actions .btn {
    display: none;
  }

  .header__actions .header__login {
    display: none;
  }

  body {
    padding-bottom: 66px;
  }

  .footer,
  .footer__top {
    padding-bottom: calc(66px + 16px);
  }

  .layout-sidebar {
    grid-template-columns: 1fr;
  }

  .sidebar {
    position: static;
  }

  .sidebar__toc {
    display: none;
  }

  .hero__container {
    grid-template-columns: 1fr;
  }

  .hero__image {
    display: none;
  }

  .hero-split {
    grid-template-columns: 1fr;
  }

  .hero-split__visual {
    display: none;
  }

  .footer__top {
    grid-template-columns: 1fr 1fr;
    gap: 24px;
  }

  .footer__brand {
    grid-column: 1 / -1;
  }

  .author-card {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .author-skills {
    align-items: stretch;
  }

  .author-skill__name {
    min-width: 80px;
  }

  .os-row {
    gap: 14px;
  }

  .grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }

  .rating-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .progress-circles {
    gap: 14px;
  }
}

@media (max-width: 640px) {
  .section {
    padding: 36px 0;
  }

  .section-lg {
    padding: 48px 0;
  }

  h1 {
    font-size: 1.5rem;
  }

  h2 {
    font-size: 1.15rem;
  }

  .seo-article {
    padding: 24px 20px;
  }

  .auth-card {
    padding: 28px 22px;
  }

  .hero-narrow {
    padding: 36px 0 28px;
  }

  .table-wrap {
    margin: 0 -20px;
    border-radius: 0;
  }

  .data-table th,
  .data-table td {
    padding: 10px 14px;
  }

  .stats-row {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }

  .stat-item {
    padding: 18px 14px;
  }

  .stat-item__num {
    font-size: 1.8rem;
  }

  .grid-2,
  .grid-3 {
    grid-template-columns: 1fr;
  }

  .grid-4 {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }

  .grid-5 {
    grid-template-columns: repeat(2, 1fr);
  }

  .rating-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }

  .bonus-card {
    padding: 18px;
  }

  .bar-chart__label {
    min-width: 100px;
    font-size: 0.78rem;
  }

  .progress-circles {
    gap: 10px;
  }

  .progress-circle__ring {
    width: 80px;
    height: 80px;
  }

  .footer__top {
    grid-template-columns: 1fr;
  }

  .footer__col:not(:first-child):not(.footer__brand) {
    display: none;
  }

  .os-row {
    grid-template-columns: 1fr;
  }

  .feature-grid-2 {
    grid-template-columns: 1fr;
  }

  .hero__actions {
    flex-direction: column;
  }

  .hero__actions .btn {
    width: 100%;
  }

  .vchart {
    height: 160px;
  }

  .vchart__bar-label {
    font-size: 0.62rem;
  }
}

@media (max-width: 400px) {

  .container,
  .container-sm {
    padding: 0 14px;
  }

  .header__container {
    padding: 0 14px;
  }

  .stats-row {
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }

  .bar-chart__label {
    min-width: 80px;
    font-size: 0.75rem;
  }

  .auth-card {
    padding: 22px 16px;
  }
}