/* 2xSport Online — Shared Stylesheet */
:root {
  --bg: #233453;
  --surface: #1a2840;
  --card: #2a3d5c;
  --fg: #ffffff;
  --muted: #B3E3FB;
  --border: #3E4AA9;
  --accent: #0FA2F0;
  --accent-dark: #0a7bc0;
  --success: #22c55e;
  --warning: #f59e0b;
  --danger: #ef4444;

  --font-display: 'Inter', 'Segoe UI', system-ui, sans-serif;
  --font-body: 'Inter', 'Segoe UI', system-ui, sans-serif;

  --radius: 10px;
  --radius-lg: 16px;
  --shadow: 0 4px 24px rgba(0,0,0,0.25);
  --transition: 0.2s ease;
  --max-width: 1200px;
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--fg);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
}

a {
  color: var(--accent);
  text-decoration: none;
  transition: color var(--transition);
}
a:hover {
  color: var(--muted);
}

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

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.2;
  color: var(--fg);
}

.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 20px;
}

/* ============ HEADER ============ */
.site-header {
  background: #2A4065;
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 100;
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 20px;
  max-width: var(--max-width);
  margin: 0 auto;
}
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 22px;
  font-weight: 800;
  color: var(--fg);
  mix-blend-mode: lighten;
}
.logo img {
  height: auto;
  width: 170px;
}
.logo span {
  display: none;
  color: var(--accent);
}
.main-nav {
  display: flex;
  align-items: center;
}
.main-nav ul {
  display: flex;
  list-style: none;
  gap: 4px;
}
.main-nav ul li a {
  display: block;
  padding: 8px 14px;
  border-radius: var(--radius);
  color: var(--muted);
  font-size: 14px;
  font-weight: 500;
  transition: all var(--transition);
}
.main-nav ul li a:hover {
  color: var(--fg);
  background: var(--card);
}
.header-cta {
  display: flex;
  gap: 10px;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 22px;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
  border: none;
  transition: all var(--transition);
  text-decoration: none;
}
.btn-primary {
  background: var(--accent);
  color: #fff;
}
.btn-primary:hover {
  background: var(--accent-dark);
  color: #fff;
}
.btn-outline {
  background: transparent;
  color: var(--fg);
  border: 1px solid var(--border);
}
.btn-outline:hover {
  border-color: var(--accent);
  color: var(--accent);
}
.btn-block {
  display: flex;
  width: 100%;
}
.btn-large {
  padding: 14px 32px;
  font-size: 16px;
  border-radius: 12px;
}

/* ============ BREADCRUMBS ============ */
.breadcrumbs {
  padding: 0 0 16px;
  font-size: 14px;
  color: var(--muted);
}
.breadcrumbs a {
  color: var(--muted);
}
.breadcrumbs a:hover {
  color: var(--accent);
}
.breadcrumbs .sep {
  margin: 0 8px;
  opacity: 0.5;
}

/* ============ MAIN CONTENT ============ */
main {
  padding: 40px 0 60px;
}

/* ============ FOOTER ============ */
.site-footer {
  background: var(--surface);
  border-top: 1px solid var(--border);
  padding: 48px 0 24px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 32px;
  margin-bottom: 40px;
}
.footer-col h4 {
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
  margin-bottom: 16px;
}
.footer-col p {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.7;
}
.footer-col ul {
  list-style: none;
}
.footer-col ul li {
  margin-bottom: 8px;
}
.footer-col ul li a {
  font-size: 14px;
  color: var(--muted);
  transition: color var(--transition);
}
.footer-col ul li a:hover {
  color: var(--accent);
}
.footer-brand {
  display: flex;
  align-items: center;
  text-transform: uppercase;
  gap: 10px;
  margin-bottom: 12px;
}
.footer-brand img {
  height: 36px;
}
.footer-brand span {
  font-size: 20px;
  font-weight: 800;
}
.footer-brand span em {
  color: var(--accent);
  font-style: normal;
}
.trust-badges {
  display: flex;
  gap: 12px;
  margin-top: 12px;
  flex-wrap: wrap;
}
.trust-badges a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: var(--radius);
  background: var(--card);
  border: 1px solid var(--border);
  font-size: 12px;
  font-weight: 700;
  color: var(--muted);
  transition: all var(--transition);
}
.trust-badges a:hover {
  border-color: var(--accent);
  color: var(--accent);
}
.payment-icons {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 12px;
}
.payment-icons span {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 6px 10px;
  border-radius: 6px;
  background: var(--card);
  border: 1px solid var(--border);
  font-size: 12px;
  font-weight: 600;
  color: var(--muted);
}
.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 24px;
  border-top: 1px solid var(--border);
}
.footer-bottom p {
  font-size: 13px;
  color: var(--muted);
}
.age-badge {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 2px solid var(--warning);
  font-size: 13px;
  font-weight: 800;
  color: var(--warning);
}

/* ============ AUTHOR BLOCK ============ */
.author-block {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 24px;
  background: var(--card);
  border-radius: var(--radius-lg);
  margin: 40px 0;
  border: 1px solid var(--border);
}
.author-avatar {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  font-weight: 700;
  color: #fff;
  flex-shrink: 0;
}
.author-info h4 {
  font-size: 16px;
  margin-bottom: 4px;
}
.author-info p {
  font-size: 14px;
  color: var(--muted);
}

/* ============ STICKY CTA MODAL ============ */
.sticky-cta {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 200;
  padding: 8px 15px;
  background: rgba(26, 40, 64, 0.96);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-top: 1px solid var(--border);
  display: none;
  justify-content: center;
  gap: 8px;
  transform: translateY(100%);
  transition: transform 0.3s ease;
}
.sticky-cta.visible {
  transform: translateY(0);
}
.sticky-cta .btn {
  flex: 1;
  max-width: 200px;
}

/* ============ TOC (Table of Contents) ============ */
.toc {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 20px 24px;
  margin: 32px 0;
}
.toc-toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  font-weight: 600;
  font-size: 15px;
  user-select: none;
  background: none;
  border: none;
  color: var(--fg);
  width: 100%;
  text-align: left;
}
.toc-toggle:hover {
  color: var(--accent);
}
.toc-toggle svg {
  transition: transform var(--transition);
  color: var(--muted);
}
.toc.open .toc-toggle svg {
  transform: rotate(180deg);
}
.toc-list {
  display: none;
  list-style: none;
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--border);
}
.toc.open .toc-list {
  display: block;
}
.toc-list li {
  margin-bottom: 8px;
}
.toc-list li a {
  font-size: 14px;
  color: var(--muted);
  display: block;
  padding: 4px 0;
}
.toc-list li a:hover {
  color: var(--accent);
}
.toc-list li a::before {
  content: "›";
  margin-right: 8px;
  color: var(--accent);
}

/* ============ SECTION/ARTICLE ============ */
section {
  margin-bottom: 40px;
}
article {
  margin-bottom: 24px;
}

/* ============ TABLES ============ */
.table-wrap {
  overflow-x: auto;
  margin: 20px 0;
  border-radius: var(--radius);
  border: 1px solid var(--border);
}
table {
  width: 100%;
  border-collapse: collapse;
  font-size: 15px;
}
table caption {
  padding: 14px 16px;
  font-weight: 600;
  text-align: left;
  background: var(--card);
  border-bottom: 1px solid var(--border);
}
table th, table td {
  padding: 12px 16px;
  text-align: left;
  border-bottom: 1px solid var(--border);
  white-space: nowrap;
}
table th {
  background: var(--card);
  font-weight: 600;
  color: var(--muted);
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
table tbody tr:last-child td {
  border-bottom: none;
}
table tbody tr:hover {
  background: rgba(15, 162, 240, 0.05);
}

/* ============ LISTS ============ */
.content-list {
  margin: 16px 0;
  padding-left: 24px;
}
.content-list li {
  margin-bottom: 8px;
  font-size: 15px;
}
.content-list-disc {
  list-style-type: disc;
}
.content-list-decimal {
  list-style-type: decimal;
}

/* ============ FAQ ACCORDION ============ */
.faq-item {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  margin-bottom: 12px;
  overflow: hidden;
}
.faq-item summary {
  padding: 16px 20px;
  cursor: pointer;
  font-weight: 600;
  font-size: 15px;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.faq-item summary::-webkit-details-marker {
  display: none;
}
.faq-item summary::after {
  content: "+";
  color: var(--accent);
  font-size: 20px;
  font-weight: 400;
}
.faq-item[open] summary::after {
  content: "−";
}
.faq-answer {
  padding: 0 20px 16px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.7;
}

/* ============ PLACEHOLDER IMG (SVG) ============ */
.placeholder-img {
  width: 100%;
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, var(--border) 0%, var(--surface) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--muted);
  font-size: 14px;
  border: 1px dashed var(--border);
  margin: 20px 0;
  overflow: hidden;
}
.placeholder-img img {
  display: block;
  width: 100%;
  object-fit: cover;
}

/* ============ HERO BANNER ============ */
.hero-banner {
  background: linear-gradient(135deg, var(--surface) 0%, var(--card) 100%);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 48px 40px;
  margin-bottom: 40px;
  position: relative;
  overflow: hidden;
}
.hero-banner::after {
  content: "";
  position: absolute;
  right: -60px;
  top: -60px;
  width: 260px;
  height: 260px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(15, 162, 240, 0.15), transparent 70%);
}
.hero-banner h1 {
  font-size: 36px;
  margin-bottom: 16px;
  max-width: 70%;
}
.hero-banner p {
  font-size: 17px;
  color: var(--muted);
  max-width: 60%;
  line-height: 1.7;
}
.hero-banner .btn {
  margin-top: 24px;
}

/* ============ REVIEW BLOCK ============ */
.review-block {
  margin: 32px 0;
  max-width: 800px;
}
.review-block h2 {
  font-size: 24px;
  margin-bottom: 16px;
}
.review-block h3 {
  font-size: 19px;
  margin: 24px 0 12px;
  color: var(--accent);
}
.review-block p {
  font-size: 15px;
  line-height: 1.8;
  color: var(--muted);
  margin-bottom: 14px;
}

/* ============ CARD GRID ============ */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  margin: 32px 0;
}
.card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px;
}
.card h3 {
  font-size: 17px;
  margin-bottom: 10px;
}
.card p {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.7;
}

/* ============ FEEDBACK / DATA TABLE ON HOME ============ */
.brand-table {
  width: 100%;
  border-collapse: collapse;
}
.brand-table td:first-child {
  color: var(--muted);
  width: 200px;
  font-weight: 500;
}

/* ============ BURGER BUTTON ============ */
.burger-btn {
  display: none;
  background: none;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  width: 44px;
  height: 44px;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  padding: 0;
  transition: border-color var(--transition);
}
.burger-btn:hover {
  border-color: var(--accent);
}
.burger-btn span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--fg);
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.3s ease;
}
.burger-btn[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.burger-btn[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}
.burger-btn[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ============ MOBILE NAV PANEL ============ */
@media (max-width: 1024px) {
  .site-footer {
    padding-bottom: 100px;
  }
  .burger-btn {
    display: flex;
    order: 2;
  }
  .header-cta {
    padding-right: 15px;
    margin-left: auto;
  }
  .site-header {
    z-index: 999;
  }
  .main-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--surface);
    border-bottom: 2px solid var(--border);
    z-index: 99;
    padding: 12px 20px;
  }
  .main-nav.open {
    display: block;
  }
  .main-nav ul {
    flex-direction: column;
    gap: 2px;
  }
  .main-nav ul li a {
    padding: 6px 14px;
    font-size: 16px;
  }
  body.nav-open {
    overflow: hidden;
  }
  .hero-banner {
    padding: 32px 24px;
  }
  .hero-banner h1 {
    font-size: 28px;
    max-width: 100%;
  }
  .hero-banner p {
    max-width: 100%;
    font-size: 15px;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 24px;
  }
  .footer-bottom {
    flex-direction: column;
    gap: 16px;
    text-align: center;
  }
  .sticky-cta {
    display: none;
  }
  body.sticky-cta-enabled .sticky-cta {
    display: flex;
  }
  table th, table td {
    padding: 10px 12px;
    font-size: 14px;
  }
}
@media (max-width:576px) {
  .logo img {
    width: 150px;
  }
}
@media (max-width: 480px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .hero-banner h1 {
    font-size: 24px;
  }
  .btn-large {
    padding: 12px 24px;
    font-size: 15px;
  }
  .header-cta a:first-of-type{
    display: none;
  }
}
@media (max-width:402px) {
  .header-inner, .container {
    padding-left: 15px;
    padding-right: 15px;
  }
  .header-cta {
    padding-right: 6px;
  }
}
@media (max-width: 360px) {
  .logo img {
      width: 130px;
  }
  .header-cta .btn {
    padding-left: 12px;
    padding-right: 12px;
  }
}

.payments-section h2 {
  margin-bottom: 26px;
}
.payments-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  align-items: center;
  margin-top: 10px;
  justify-content: space-between;
}
.payment-item img {
  display: block;
  box-shadow: none;
  margin: 0 !important;
  border-radius: 0;
  border: none;
  max-width: 110px;
  max-height: 50px;
}
.footer-icons {
  display: flex;
  flex-wrap: wrap;
  width: 100%;
  align-items: center;
  gap: 10px;
}
.footer-icons .pay-icon {
  width: 90px;
}
.footer-icons .pay-icon img {
  width: 100%;
  height: auto;
  filter: brightness(100);
}
@media (max-width:800px) {
  .payments-grid {
    gap: 16px;
  }
  .payment-item img {
    max-width: 65px;
    max-height: 30px;
  }

  .table-wrap {
    overflow-x: scroll;
  }
}