/* Design System Variables */
:root {
  /* Primary Colors */
  --brand-blue: #1F3BB3;
  --brand-blue-dark: #172E8A;
  --brand-orange: #F57C00;
  --brand-orange-dark: #E06800;
  --brand-green: #2ECC71;
  --brand-red: #E53935;
  --brand-gold: #F5C542;
  
  /* Neutral Colors */
  --white: #FFFFFF;
  --light-gray: #F2F2F2;
  --mid-gray: #CFCFCF;
  --dark-gray: #6B6B6B;
  --text-primary: #1A1A1A;
  --text-secondary: #5F5F5F;
  
  /* Gradients */
  --gradient-nav: linear-gradient(to bottom, #243DBD, #1B2F8A);
  --gradient-hero: linear-gradient(to right, #7A1C00, #F57C00);
  --gradient-button: linear-gradient(to bottom, #FFA726, #F57C00);
  
  /* Shadows */
  --shadow-card: 0 4px 12px rgba(0,0,0,0.12);
  --shadow-button: 0 2px 6px rgba(0,0,0,0.2);
  --shadow-icon: 0 2px 6px rgba(0,0,0,0.15);
  
  /* Border Radius */
  --radius-card: 12px;
  --radius-button: 8px;
  --radius-icon: 50%;
  
  /* Layout */
  --container-max-width: 1200px;
  --section-padding: 3rem 1rem;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color: var(--text-primary);
  background-color: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
}

/* Typography */
h1 {
  color: var(--white);
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1rem;
  text-align: center;
  text-transform: capitalize;
}

h2 {
  color: var(--text-primary);
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 700;
  margin-bottom: 1.5rem;
  margin-top: 2rem;
  text-align: center;
  text-transform: capitalize;
}

h3 {
  color: var(--text-primary);
  font-size: clamp(1.25rem, 2.5vw, 1.5rem);
  font-weight: 600;
  margin-bottom: 1rem;
  margin-top: 1.5rem;
  text-align: center;
  text-transform: capitalize;
}

h4 {
  color: var(--text-primary);
  font-size: clamp(1.1rem, 2vw, 1.25rem);
  font-weight: 600;
  margin-bottom: 0.75rem;
  margin-top: 1rem;
  text-align: center;
  text-transform: capitalize;
}

p {
  color: var(--text-secondary);
  margin-bottom: 1rem;
  font-size: 1rem;
}

a {
  color: var(--brand-blue);
  text-decoration: none;
  transition: color 0.3s ease;
}

a:hover {
  color: var(--brand-blue-dark);
}

ul, ol {
  margin-bottom: 1rem;
  padding-left: 1.5rem;
}

li {
  margin-bottom: 0.5rem;
  color: var(--text-secondary);
}

table {
  width: 100%;
  max-width: 100%;
  border-collapse: collapse;
  margin: 0 auto 1.5rem;
  overflow-x: auto;
  display: table;
}

.content table,
.section-content table {
  margin-left: auto;
  margin-right: auto;
}

thead {
  background-color: var(--light-gray);
}

th, td {
  padding: 0.75rem;
  text-align: left;
  border: 1px solid var(--mid-gray);
}

th {
  font-weight: 600;
  color: var(--text-primary);
}

td {
  color: var(--text-secondary);
}

/* Container */
.container {
  max-width: var(--container-max-width);
  margin: 0 auto;
  padding: 0 1rem;
}

/* Header */
header {
  background: var(--gradient-nav);
  box-shadow: 0 2px 4px rgba(0,0,0,0.15);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.header-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem;
  max-width: var(--container-max-width);
  margin: 0 auto;
}

.header-logo img {
  height: 120px;
  width: auto;
  max-width: none;
}

.header-cta {
  display: flex;
  gap: 0.75rem;
}

.header-nav {
  background-color: rgba(255,255,255,0.1);
  padding: 0.75rem 0;
}

.nav-container {
  max-width: var(--container-max-width);
  margin: 0 auto;
  padding: 0 1rem;
}

.nav-menu {
  display: flex;
  justify-content: center;
  gap: 2rem;
  list-style: none;
  padding: 0;
  margin: 0;
  flex-wrap: wrap;
}

.nav-menu a {
  color: var(--white);
  font-weight: 500;
  padding: 0.5rem 0;
  transition: color 0.3s ease;
}

.nav-menu a:hover,
.nav-menu a.active {
  color: #FFD54F;
}

/* Table of Contents */
.toc-wrapper {
  background-color: rgba(255,255,255,0.1);
  padding: 0.75rem 0;
  overflow: hidden;
}

.toc-container {
  max-width: var(--container-max-width);
  margin: 0 auto;
  padding: 0 1rem;
}

.toc {
  display: flex;
  gap: 1rem;
  overflow-x: auto;
  overflow-y: hidden;
  scrollbar-width: none;
  -ms-overflow-style: none;
  padding: 0.5rem 0;
}

.toc::-webkit-scrollbar {
  display: none;
}

.toc-item {
  flex-shrink: 0;
  white-space: nowrap;
}

.toc-item a {
  color: var(--white);
  padding: 0.5rem 1rem;
  border-radius: var(--radius-button);
  transition: background-color 0.3s ease;
  display: block;
}

.toc-item a:hover,
.toc-item a.active {
  background-color: rgba(255,255,255,0.2);
}

/* Mobile Menu */
.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--white);
  font-size: 1.5rem;
  cursor: pointer;
  padding: 0.5rem;
}

.mobile-menu {
  display: none;
  flex-direction: column;
  gap: 1rem;
  padding: 1rem;
  background-color: rgba(0,0,0,0.9);
}

.mobile-menu.active {
  display: flex;
}

.mobile-menu .nav-menu {
  flex-direction: column;
  gap: 0.5rem;
}

.mobile-menu .header-cta {
  flex-direction: column;
  width: 100%;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  border: none;
  border-radius: var(--radius-button);
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.3s ease;
  text-align: center;
  min-width: 60px;
  font-family: inherit;
}

.btn-primary {
  background: var(--gradient-button);
  color: var(--white);
  box-shadow: var(--shadow-button);
}

.btn-primary:hover {
  background: linear-gradient(to bottom, #FFB74D, #F57C00);
}

.btn-primary:active {
  background: var(--brand-orange-dark);
}

.btn-secondary {
  background: var(--brand-blue);
  color: var(--white);
}

.btn-secondary:hover {
  background: var(--brand-blue-dark);
}

/* Main Content */
main {
  min-height: calc(100vh - 400px);
}

/* Hero Section */
#hero {
  background: var(--gradient-hero);
  padding: 3rem 1rem;
  color: var(--white);
}

.hero-container {
  max-width: var(--container-max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: center;
}

.hero-content {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.hero-content p {
  color: var(--white);
}

.hero-meta {
  display: flex;
  gap: 1rem;
  align-items: center;
  font-size: 0.9rem;
  opacity: 0.9;
  color: var(--white);
}

.hero-image {
  text-align: center;
}

.hero-image img {
  max-width: 100%;
  height: auto;
  border-radius: var(--radius-card);
}

.hero-cta {
  text-align: center;
  margin-top: 1rem;
}

.fact-checked {
  text-align: center;
  margin-top: 2rem;
  font-size: 0.85rem;
  opacity: 0.8;
  color: var(--white);
}

.fact-checked p {
  color: var(--white);
}

/* Games Section */
#games {
  padding: var(--section-padding);
  background-color: var(--light-gray);
}

.games-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1.5rem;
  margin-top: 2rem;
}

.game-card {
  background: var(--white);
  border: 1px solid var(--mid-gray);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-card);
  overflow: hidden;
  position: relative;
  transition: all 0.3s ease;
  aspect-ratio: 3/4;
}

.game-card:hover {
  box-shadow: 0 6px 16px rgba(0,0,0,0.18);
  transform: translateY(-2px);
}

.game-card img {
  width: 100%;
  height: 70%;
  object-fit: cover;
}

.game-card-content {
  padding: 1rem;
  text-align: center;
}

.game-card-title {
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 0.5rem;
}

.game-card-cta {
  display: none;
  position: absolute;
  bottom: 1rem;
  left: 50%;
  transform: translateX(-50%);
  animation: popIn 0.3s ease;
}

.game-card:hover .game-card-cta {
  display: block;
}

.game-card-cricket {
  grid-column: 2 / 5;
  aspect-ratio: 16/9;
  max-width: 600px;
  margin: 0 auto;
}

.game-card-cricket img {
  aspect-ratio: 16/9;
  height: auto;
  object-fit: cover;
}

.game-card-cricket-mobile {
  display: none;
}

@keyframes popIn {
  from {
    opacity: 0;
    transform: translateX(-50%) translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
  }
}

/* Content Sections */
section[id^="jaya9"] {
  padding: var(--section-padding);
}

section[id^="jaya9"]:nth-child(even) {
  background-color: var(--light-gray);
}

.section-content {
  max-width: var(--container-max-width);
  margin: 0 auto;
}

.content-section {
  padding: var(--section-padding);
}

section figure {
  margin: 2rem 0;
  text-align: center;
}

section figure img {
  max-width: 100%;
  height: auto;
  border-radius: var(--radius-card);
}

section figcaption {
  margin-top: 0.5rem;
  font-size: 0.9rem;
  color: var(--text-secondary);
  font-style: italic;
}

/* Step-by-Step Section */
.steps {
  list-style: none;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  margin: 2rem 0;
}

.step-card {
  background: var(--white);
  border: 1px solid var(--mid-gray);
  border-radius: var(--radius-card);
  padding: 1.5rem;
  box-shadow: var(--shadow-card);
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.step-index {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--gradient-button);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  flex-shrink: 0;
}

.step-body {
  flex: 1;
}

.step-title {
  margin-bottom: 0.5rem;
  color: var(--text-primary);
}

/* Pros & Cons Section */
.pros-cons {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin: 2rem 0;
}

.pros-col,
.cons-col {
  padding: 1.5rem;
  border-radius: var(--radius-card);
}

.pros-col {
  background-color: rgba(46, 204, 113, 0.1);
}

.cons-col {
  background-color: rgba(229, 57, 53, 0.1);
}

.pros-list,
.cons-list {
  list-style: none;
  padding: 0;
}

.pros-list li,
.cons-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  margin-bottom: 0.75rem;
}

.icon-check,
.icon-cross {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  margin-top: 0.2rem;
}

.icon-check {
  fill: var(--brand-green);
}

.icon-check svg {
  width: 100%;
  height: 100%;
  fill: var(--brand-green);
}

.icon-cross {
  fill: var(--brand-red);
}

.icon-cross svg {
  width: 100%;
  height: 100%;
  fill: var(--brand-red);
}

/* Inline SVG icons */
.icon-check::before {
  content: '';
  display: inline-block;
  width: 20px;
  height: 20px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%232ECC71'%3E%3Cpath d='M9 16.17L4.83 12l-1.42 1.41L9 19 21 7l-1.41-1.41z'/%3E%3C/svg%3E");
  background-size: contain;
  background-repeat: no-repeat;
  margin-right: 0.5rem;
}

.icon-cross::before {
  content: '';
  display: inline-block;
  width: 20px;
  height: 20px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23E53935'%3E%3Cpath d='M19 6.41L17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12z'/%3E%3C/svg%3E");
  background-size: contain;
  background-repeat: no-repeat;
  margin-right: 0.5rem;
}

/* Bonus Slider */
.bonus-slider {
  position: relative;
  margin: 2rem 0;
  padding: 0 3rem;
}

.bonus-cards {
  display: flex;
  gap: 1.5rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  -ms-overflow-style: none;
  padding: 1rem 0;
}

.bonus-cards::-webkit-scrollbar {
  display: none;
}

.bonus-card {
  flex: 0 0 calc(33.333% - 1rem);
  min-width: 280px;
  background: var(--white);
  border: 1px solid var(--mid-gray);
  border-radius: var(--radius-card);
  padding: 1.5rem;
  box-shadow: var(--shadow-card);
  scroll-snap-align: start;
  display: flex;
  flex-direction: column;
}

.bonus-card .btn {
  margin: 0 auto;
  margin-top: auto;
}

.bonus-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.75rem;
}

.bonus-desc {
  font-size: 0.9rem;
  color: var(--text-secondary);
  margin-bottom: 1rem;
}

.bonus-badge {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.badge-new {
  background-color: var(--brand-green);
  color: var(--white);
}

.badge-limited {
  background-color: var(--brand-red);
  color: var(--white);
}

.badge-no-wagering {
  background-color: var(--brand-gold);
  color: var(--text-primary);
}

.slider-prev,
.slider-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: var(--brand-blue);
  color: var(--white);
  border: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 1.2rem;
  z-index: 10;
  transition: background 0.3s ease;
}

.slider-prev:hover,
.slider-next:hover {
  background: var(--brand-blue-dark);
}

.slider-prev {
  left: 0;
}

.slider-next {
  right: 0;
}

/* Author Section */
#author {
  padding: var(--section-padding);
  background-color: var(--light-gray);
}

.author-block {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  align-items: center;
  text-align: center;
  max-width: var(--container-max-width);
  margin: 0 auto;
}

.author-avatar {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}

.author-info {
  flex: 1;
}

.author-name {
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 0.5rem;
}

.author-bio {
  color: var(--text-secondary);
  margin-bottom: 0.5rem;
}

.author-updated {
  font-size: 0.9rem;
  color: var(--dark-gray);
}

/* FAQ Section */
#faq {
  padding: var(--section-padding);
}

.faq-list {
  max-width: var(--container-max-width);
  margin: 0 auto;
}

details {
  background: var(--white);
  border: 1px solid var(--mid-gray);
  border-radius: var(--radius-card);
  margin-bottom: 1rem;
  padding: 1rem;
}

summary {
  font-weight: 600;
  color: var(--text-primary);
  cursor: pointer;
  padding: 0.5rem;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

summary::-webkit-details-marker {
  display: none;
}

summary::after {
  content: '+';
  font-size: 1.5rem;
  color: var(--brand-blue);
  transition: transform 0.3s ease;
}

details[open] summary::after {
  content: '−';
}

details p {
  margin-top: 1rem;
  padding-left: 0.5rem;
}

/* Breadcrumbs */
.breadcrumbs {
  padding: 1rem;
  background-color: var(--light-gray);
}

.breadcrumbs-list {
  display: flex;
  gap: 0.5rem;
  list-style: none;
  padding: 0;
  margin: 0;
  max-width: var(--container-max-width);
  margin: 0 auto;
  flex-wrap: wrap;
}

.breadcrumbs-item {
  color: var(--text-secondary);
}

.breadcrumbs-item:not(:last-child)::after {
  content: ' / ';
  margin-left: 0.5rem;
  color: var(--mid-gray);
}

.breadcrumbs-item a {
  color: var(--brand-blue);
}

.breadcrumbs-item:last-child {
  color: var(--text-primary);
  font-weight: 600;
}

/* Footer */
footer {
  background-color: var(--text-primary);
  color: var(--white);
  padding: 3rem 1rem 1.5rem;
  margin-top: 4rem;
}

.footer-container {
  max-width: var(--container-max-width);
  margin: 0 auto;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
  align-items: start;
}

.footer-section {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.footer-logo {
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  justify-content: flex-start;
}

.footer-logo img {
  height: 80px;
  width: auto;
  max-width: none;
  display: block;
}

.footer-section p {
  color: rgba(255,255,255,0.8);
  line-height: 1.6;
  margin-top: 0.5rem;
}

.footer-section h3 {
  color: var(--white);
  margin-bottom: 1rem;
  font-size: 1.1rem;
  text-align: left;
  width: 100%;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
  width: 100%;
}

.footer-links li {
  margin-bottom: 0.5rem;
  text-align: left;
}

.footer-links a {
  color: rgba(255,255,255,0.8);
  transition: color 0.3s ease;
  display: inline-block;
}

.footer-links a:hover {
  color: var(--white);
}

.payment-methods {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-top: 1rem;
  align-items: center;
  justify-content: flex-start;
}

.payment-methods img {
  height: 30px;
  width: auto;
  opacity: 0.8;
  display: block;
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.2);
  padding-top: 1.5rem;
  text-align: center;
  color: rgba(255,255,255,0.7);
  font-size: 0.9rem;
}

.gambleaware-link {
  display: inline-block;
  margin-top: 1rem;
}

.gambleaware-link img {
  height: 40px;
  width: auto;
}

/* Back to Top */
.back-to-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  background: var(--gradient-button);
  color: var(--white);
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-button);
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  z-index: 999;
  border: none;
  font-size: 1.5rem;
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
}

.back-to-top:hover {
  transform: translateY(-5px);
}

/* Responsive Tables */
@media (max-width: 768px) {
  table {
    display: block;
    overflow-x: auto;
    margin-left: auto;
    margin-right: auto;
  }
  
  .content table,
  .section-content table {
    margin-left: auto;
    margin-right: auto;
  }
  
  .table-card {
    display: block;
    background: var(--white);
    border: 1px solid var(--mid-gray);
    border-radius: var(--radius-card);
    padding: 1rem;
    margin-bottom: 1rem;
  }
  
  .table-card-row {
    display: flex;
    justify-content: space-between;
    padding: 0.5rem 0;
    border-bottom: 1px solid var(--light-gray);
  }
  
  .table-card-row:last-child {
    border-bottom: none;
  }
  
  .table-card-label {
    font-weight: 600;
    color: var(--text-primary);
  }
  
  .table-card-value {
    color: var(--text-secondary);
  }
}

/* Responsive Design */
@media (max-width: 1024px) {
  .hero-container {
    grid-template-columns: 1fr;
  }
  
  .games-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  
  .bonus-card {
    flex: 0 0 calc(50% - 1rem);
  }
  
  .steps {
    grid-template-columns: 1fr;
  }
  
  .pros-cons {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .header-top {
    flex-wrap: nowrap;
    position: relative;
    justify-content: flex-start;
    gap: 0.5rem;
  }
  
  .mobile-menu-toggle {
    display: block;
    order: 1;
    flex-shrink: 0;
    z-index: 100;
  }
  
  .header-cta {
    order: 2;
    flex-shrink: 0;
    gap: 0.5rem;
  }
  
  .header-cta .btn {
    padding: 0.5rem 0.75rem;
    font-size: 0.75rem;
    min-width: auto;
    white-space: nowrap;
  }
  
  .header-logo {
    order: 3;
    flex: 1;
    text-align: right;
  }
  
  .header-logo img {
    height: 80px;
  }
  
  .header-nav {
    display: none;
  }
  
  .toc-wrapper {
    display: none;
  }
  
  .hero-container {
    grid-template-columns: 1fr;
  }
  
  .hero-image {
    order: -1;
  }
  
  .games-grid {
    display: flex;
    flex-direction: row;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding-bottom: 1rem;
    gap: 1rem;
    -webkit-overflow-scrolling: touch;
  }
  
  .game-card {
    flex: 0 0 auto;
    min-width: 160px;
    max-width: 160px;
    scroll-snap-align: start;
  }
  
  .game-card-content {
    padding: 0.75rem 0.5rem;
  }
  
  .game-card-title {
    font-size: 0.9rem;
    line-height: 1.3;
    word-wrap: break-word;
    overflow-wrap: break-word;
    hyphens: auto;
  }
  
  .game-card-cricket {
    display: none;
  }
  
  .game-card-cricket-mobile {
    display: block;
    width: 100%;
    max-width: 100%;
    margin-top: 2rem;
    aspect-ratio: 16/9;
    background: var(--white);
    border: 1px solid var(--mid-gray);
    border-radius: var(--radius-card);
    box-shadow: var(--shadow-card);
    overflow: hidden;
    position: relative;
  }
  
  .game-card-cricket-mobile img {
    width: 100%;
    height: auto;
    aspect-ratio: 16/9;
    object-fit: cover;
  }
  
  .game-card-cricket-mobile .game-card-content {
    padding: 1rem;
    text-align: center;
  }
  
  .game-card-cricket-mobile .game-card-cta {
    display: block;
    position: static;
    transform: none;
    margin: 1rem auto 0;
    width: auto;
  }
  
  .bonus-card {
    flex: 0 0 85%;
  }
  
  .author-block {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  
  .footer-content {
    grid-template-columns: 1fr;
    align-items: center;
  }
  
  .footer-section {
    width: 100%;
    align-items: center;
    text-align: center;
  }
  
  .footer-logo {
    justify-content: center;
    width: 100%;
  }
  
  .footer-logo img {
    height: 120px;
  }
  
  .footer-section p {
    text-align: center;
  }
  
  .footer-section h3 {
    text-align: center;
  }
  
  .footer-links {
    text-align: center;
  }
  
  .footer-links li {
    text-align: center;
  }
  
  .payment-methods {
    justify-content: center;
  }
  
  .back-to-top {
    bottom: 1rem;
    right: 1rem;
    width: 45px;
    height: 45px;
  }
}

@media (max-width: 480px) {
  :root {
    --section-padding: 2rem 1rem;
  }
  
  h1 {
    font-size: 1.5rem;
  }
  
  h2 {
    font-size: 1.25rem;
  }
  
  .btn {
    padding: 0.625rem 1.25rem;
    font-size: 0.9rem;
  }
  
  .header-top {
    gap: 0.25rem;
  }
  
  .header-cta {
    flex-direction: row;
    gap: 0.25rem;
  }
  
  .header-cta .btn {
    padding: 0.4rem 0.6rem;
    font-size: 0.7rem;
    width: auto;
  }
  
  .header-logo img {
    height: 70px;
  }
}

/* Accessibility */
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}

/* Focus Styles */
a:focus,
button:focus,
summary:focus {
  outline: 2px solid var(--brand-orange);
  outline-offset: 2px;
}

/* Print Styles */
@media print {
  header,
  footer,
  .toc-wrapper,
  .back-to-top {
    display: none;
  }
  
  body {
    color: #000;
    background: #fff;
  }
}
