/*
 * QQ88 Master Stylesheet
 * Version: 1.0
 * Last Updated: 2025-01-20
 * Design System: Luxury Gold Casino
 * DO NOT MODIFY - This file is used across ALL pages
 */

/* ========================================
   CSS VARIABLES - Design System Tokens
   ======================================== */

:root {
  /* Colors - Gold Luxury Theme */
  --color-primary: #D4AF37;        /* Metallic Gold */
  --color-primary-light: #FFD700;  /* Bright Gold */
  --color-primary-dark: #B8960C;   /* Dark Gold */
  --color-secondary: #0A0A0A;      /* Deep Black */
  --color-background: #0A0A0A;     /* Background Black */
  --color-surface: #1A1A1A;        /* Card/Surface */
  --color-surface-elevated: #2C2C2C; /* Elevated Surface */
  --color-text: #FFFFFF;           /* White Text */
  --color-text-muted: #CCCCCC;     /* Muted Text */
  --color-text-inverse: #0A0A0A;   /* Black Text on Gold */
  --color-success: #00C853;        /* Success Green */
  --color-warning: #FFC107;        /* Warning Amber */
  --color-error: #DC143C;          /* Error Red */
  --color-info: #2196F3;           /* Info Blue */

  /* Typography */
  --font-primary: 'Playfair Display', Georgia, serif;
  --font-secondary: 'Cinzel', Georgia, serif;
  --font-body: 'Lato', 'Segoe UI', Tahoma, sans-serif;

  --font-size-xs: 0.75rem;     /* 12px */
  --font-size-sm: 0.875rem;    /* 14px */
  --font-size-base: 1rem;      /* 16px */
  --font-size-md: 1.125rem;    /* 18px */
  --font-size-lg: 1.5rem;      /* 24px */
  --font-size-xl: 2rem;        /* 32px */
  --font-size-2xl: 2.5rem;     /* 40px */
  --font-size-3xl: 3rem;       /* 48px */

  --font-weight-normal: 400;
  --font-weight-medium: 500;
  --font-weight-semibold: 600;
  --font-weight-bold: 700;
  --font-weight-black: 900;

  --line-height-tight: 1.25;
  --line-height-normal: 1.5;
  --line-height-relaxed: 1.75;

  /* Spacing */
  --spacing-xs: 0.25rem;   /* 4px */
  --spacing-sm: 0.5rem;    /* 8px */
  --spacing-md: 1rem;      /* 16px */
  --spacing-lg: 1.5rem;    /* 24px */
  --spacing-xl: 2rem;      /* 32px */
  --spacing-2xl: 3rem;     /* 48px */
  --spacing-3xl: 4rem;     /* 64px */
  --spacing-4xl: 6rem;     /* 96px */

  /* Border Radius */
  --radius-none: 0;
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --radius-xl: 16px;
  --radius-full: 9999px;

  /* Shadows - Luxury Deep Shadows */
  --shadow-sm: 0 2px 4px rgba(212, 175, 55, 0.1);
  --shadow-md: 0 4px 8px rgba(212, 175, 55, 0.15),
               0 2px 4px rgba(0, 0, 0, 0.5);
  --shadow-lg: 0 8px 16px rgba(212, 175, 55, 0.2),
               0 4px 8px rgba(0, 0, 0, 0.6);
  --shadow-xl: 0 16px 32px rgba(212, 175, 55, 0.25),
               0 8px 16px rgba(0, 0, 0, 0.7);
  --shadow-gold-glow: 0 0 20px rgba(255, 215, 0, 0.5),
                      0 0 40px rgba(255, 215, 0, 0.3);

  /* Borders */
  --border-width-thin: 1px;
  --border-width-medium: 2px;
  --border-width-thick: 3px;
  --border-color-default: var(--color-primary);
  --border-color-muted: rgba(212, 175, 55, 0.3);

  /* Transitions */
  --transition-fast: 150ms ease-in-out;
  --transition-base: 250ms ease-in-out;
  --transition-slow: 350ms ease-in-out;

  /* Z-index */
  --z-index-dropdown: 1000;
  --z-index-sticky: 1020;
  --z-index-fixed: 1030;
  --z-index-modal-backdrop: 1040;
  --z-index-modal: 1050;
  --z-index-popover: 1060;
  --z-index-tooltip: 1070;

  /* Container */
  --container-max-width: 1200px;
  --container-padding: var(--spacing-md);
}

/* ========================================
   RESET & BASE STYLES
   ======================================== */

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

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-body);
  font-size: var(--font-size-base);
  line-height: var(--line-height-normal);
  color: var(--color-text);
  background-color: var(--color-background);
  background-image: linear-gradient(180deg, #0A0A0A 0%, #1A1A1A 100%);
  background-attachment: fixed;
  overflow-x: hidden;
}

body.menu-open {
  overflow: hidden;
}

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

a {
  color: var(--color-primary);
  text-decoration: none;
  transition: color var(--transition-base);
}

a:hover {
  color: var(--color-primary-light);
}

a:focus-visible {
  outline: 3px solid var(--color-primary);
  outline-offset: 2px;
}

/* ========================================
   TYPOGRAPHY
   ======================================== */

h1, h2, h3, h4, h5, h6 {
  font-weight: var(--font-weight-bold);
  line-height: var(--line-height-tight);
  margin-bottom: var(--spacing-md);
  color: var(--color-text);
}

h1 {
  font-family: var(--font-primary);
  font-size: var(--font-size-3xl);
  color: var(--color-primary);
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

h2 {
  font-family: var(--font-primary);
  font-size: var(--font-size-2xl);
  color: var(--color-primary);
}

h3 {
  font-family: var(--font-secondary);
  font-size: var(--font-size-xl);
  font-weight: var(--font-weight-semibold);
}

h4 {
  font-family: var(--font-secondary);
  font-size: var(--font-size-lg);
  font-weight: var(--font-weight-semibold);
}

h5 {
  font-family: var(--font-body);
  font-size: 1.25rem;
  font-weight: var(--font-weight-bold);
}

h6 {
  font-family: var(--font-body);
  font-size: var(--font-size-md);
  font-weight: var(--font-weight-bold);
}

p {
  margin-bottom: var(--spacing-md);
  color: var(--color-text-muted);
}

strong {
  font-weight: var(--font-weight-bold);
  color: var(--color-text);
}

/* Mobile Typography Adjustments */
@media (max-width: 767px) {
  h1 {
    font-size: var(--font-size-xl);
  }

  h2 {
    font-size: 1.75rem;
  }

  h3 {
    font-size: var(--font-size-lg);
  }

  h4 {
    font-size: 1.25rem;
  }
}

/* ========================================
   LAYOUT CONTAINERS
   ======================================== */

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

.section {
  padding: var(--spacing-3xl) 0;
}

.section-alt {
  background-color: var(--color-surface);
}

/* ========================================
   HEADER STYLES
   ======================================== */

.site-header {
  background-color: var(--color-secondary);
  border-bottom: var(--border-width-medium) solid var(--color-primary);
  position: sticky;
  top: 0;
  z-index: var(--z-index-sticky);
  box-shadow: var(--shadow-md);
}

.header-container {
  max-width: var(--container-max-width);
  margin: 0 auto;
  padding: 0 var(--spacing-md);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--spacing-md);
  height: 80px;
}

.header-logo {
  flex-shrink: 0;
}

.header-logo img {
  height: 50px;
  width: auto;
}

.header-nav {
  flex-grow: 1;
  display: flex;
  justify-content: center;
}

/* Desktop Navigation */
.header-nav.desktop-nav {
  display: none;
}

.nav-menu {
  list-style: none;
  display: flex;
  gap: var(--spacing-sm);
  align-items: center;
  flex-wrap: nowrap;
}

.nav-item {
  position: relative;
  white-space: nowrap;
}

.nav-link {
  color: var(--color-text);
  font-size: 0.9rem;
  font-weight: var(--font-weight-medium);
  padding: var(--spacing-xs) var(--spacing-sm);
  display: inline-block;
  transition: color var(--transition-base);
}

.nav-link:hover {
  color: var(--color-primary);
}

.dropdown-icon {
  font-size: var(--font-size-xs);
  margin-left: var(--spacing-xs);
}

/* Dropdown Menu */
.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  background-color: var(--color-surface-elevated);
  border: var(--border-width-thin) solid var(--border-color-muted);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  list-style: none;
  min-width: 200px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: opacity var(--transition-base),
              transform var(--transition-base),
              visibility var(--transition-base);
  z-index: var(--z-index-dropdown);
}

.nav-item.has-dropdown:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-menu li {
  border-bottom: var(--border-width-thin) solid rgba(212, 175, 55, 0.1);
}

.dropdown-menu li:last-child {
  border-bottom: none;
}

.dropdown-menu a {
  display: block;
  padding: var(--spacing-md);
  color: var(--color-text-muted);
  transition: all var(--transition-base);
}

.dropdown-menu a:hover {
  background-color: rgba(212, 175, 55, 0.1);
  color: var(--color-primary);
  padding-left: var(--spacing-lg);
}

/* CTA Buttons in Header */
.header-cta {
  display: none;
  gap: var(--spacing-sm);
  flex-shrink: 0;
}

.header-cta .btn {
  font-size: 0.875rem;
  padding: var(--spacing-sm) var(--spacing-md);
  white-space: nowrap;
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
  display: flex;
  flex-direction: column;
  justify-content: space-around;
  width: 30px;
  height: 25px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
  z-index: var(--z-index-fixed);
}

.hamburger-line {
  width: 30px;
  height: 3px;
  background-color: var(--color-primary);
  border-radius: 2px;
  transition: all var(--transition-base);
}

.mobile-menu-toggle:hover .hamburger-line {
  background-color: var(--color-primary-light);
}

/* Mobile Navigation */
.mobile-nav {
  position: fixed;
  top: 80px;
  right: -100%;
  width: 280px;
  height: calc(100vh - 80px);
  background-color: var(--color-surface);
  border-left: var(--border-width-medium) solid var(--color-primary);
  overflow-y: auto;
  transition: right var(--transition-slow);
  z-index: 9999;
  box-shadow: var(--shadow-xl);
}

.mobile-nav.active {
  right: 0;
}

.mobile-menu {
  list-style: none;
  padding: var(--spacing-md);
  position: relative;
  z-index: 1;
}

.mobile-menu a,
.mobile-menu button {
  position: relative;
  z-index: 1;
  cursor: pointer;
}

.mobile-menu-item {
  border-bottom: var(--border-width-thin) solid var(--border-color-muted);
}

.mobile-menu-link {
  display: block;
  padding: var(--spacing-md);
  color: var(--color-text);
  font-weight: var(--font-weight-medium);
  background: transparent;
  border: none;
  width: 100%;
  text-align: left;
  cursor: pointer;
  transition: color var(--transition-base);
}

.mobile-menu-link:hover {
  color: var(--color-primary);
}

.mobile-submenu {
  list-style: none;
  padding-left: var(--spacing-lg);
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--transition-slow);
}

.mobile-submenu.open {
  max-height: 500px;
}

.mobile-submenu a {
  display: block;
  padding: var(--spacing-sm) var(--spacing-md);
  color: var(--color-text-muted);
  font-size: var(--font-size-sm);
}

.submenu-icon {
  float: right;
  font-size: var(--font-size-lg);
  transition: transform var(--transition-base);
}

.mobile-menu-item.mobile-cta {
  border-bottom: none;
  padding-top: var(--spacing-lg);
}

/* Mobile Overlay */
.mobile-overlay {
  position: fixed;
  top: 80px;
  left: 0;
  width: calc(100% - 280px);
  height: calc(100vh - 80px);
  background-color: rgba(0, 0, 0, 0.15);
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--transition-slow), visibility var(--transition-slow);
  z-index: calc(var(--z-index-fixed) - 1);
}

.mobile-overlay.active {
  opacity: 1;
  visibility: visible;
}

/* Desktop Breakpoint */
@media (min-width: 1024px) {
  .header-nav.desktop-nav {
    display: block;
  }

  .header-cta {
    display: flex;
  }

  .mobile-menu-toggle {
    display: none;
  }

  .mobile-nav,
  .mobile-overlay {
    display: none;
  }
}

/* ========================================
   BUTTONS
   ======================================== */

.btn {
  display: inline-block;
  padding: 12px 32px;
  font-family: var(--font-body);
  font-size: var(--font-size-base);
  font-weight: var(--font-weight-semibold);
  text-align: center;
  border-radius: var(--radius-md);
  border: none;
  cursor: pointer;
  transition: all var(--transition-base);
  text-decoration: none;
  line-height: 1.5;
}

.btn:focus-visible {
  outline: 3px solid var(--color-primary);
  outline-offset: 2px;
}

/* Primary Button - Gold Gradient */
.btn-primary {
  background: linear-gradient(135deg, #D4AF37 0%, #FFD700 100%);
  color: var(--color-text-inverse);
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
  box-shadow: 0 4px 12px rgba(212, 175, 55, 0.4);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255, 215, 0, 0.6);
  color: var(--color-text-inverse);
}

.btn-primary:active {
  transform: translateY(0);
}

/* Secondary Button - Outline Gold */
.btn-secondary {
  background: transparent;
  color: var(--color-primary);
  border: var(--border-width-medium) solid var(--color-primary);
}

.btn-secondary:hover {
  background: rgba(212, 175, 55, 0.1);
  border-color: var(--color-primary-light);
  color: var(--color-primary-light);
}

/* Button Sizes */
.btn-small {
  padding: 8px 20px;
  font-size: var(--font-size-sm);
}

.btn-large {
  padding: 16px 40px;
  font-size: var(--font-size-md);
}

.btn-block {
  display: block;
  width: 100%;
}

/* ========================================
   CARDS
   ======================================== */

.card {
  background: var(--color-surface-elevated);
  border: var(--border-width-thin) solid var(--border-color-muted);
  border-radius: var(--radius-lg);
  padding: var(--spacing-lg);
  box-shadow: var(--shadow-md);
  transition: all var(--transition-slow);
}

.card:hover {
  transform: translateY(-4px);
  border-color: var(--color-primary);
  box-shadow: var(--shadow-lg);
}

.card-image {
  border-radius: var(--radius-md);
  margin-bottom: var(--spacing-md);
  border: var(--border-width-thin) solid var(--border-color-muted);
  overflow: hidden;
}

.card-image img {
  width: 100%;
  height: auto;
  transition: transform var(--transition-slow);
}

.card:hover .card-image img {
  transform: scale(1.05);
}

.card-title {
  font-size: var(--font-size-lg);
  margin-bottom: var(--spacing-sm);
  color: var(--color-primary);
}

.card-text {
  color: var(--color-text-muted);
  margin-bottom: var(--spacing-md);
}

/* ========================================
   GRID LAYOUTS
   ======================================== */

.grid {
  display: grid;
  gap: var(--spacing-lg);
  margin-bottom: var(--spacing-2xl);
}

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

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

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

@media (min-width: 768px) {
  .grid-2 {
    grid-template-columns: repeat(2, 1fr);
  }

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

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

@media (min-width: 1024px) {
  .grid-3 {
    grid-template-columns: repeat(3, 1fr);
  }

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

/* ========================================
   TABLES
   ======================================== */

.table-wrapper {
  overflow-x: auto;
  margin-bottom: var(--spacing-2xl);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
}

table {
  width: 100%;
  border-collapse: collapse;
  background-color: var(--color-surface);
}

thead {
  background: linear-gradient(135deg, #D4AF37 0%, #FFD700 100%);
}

thead th {
  color: var(--color-text-inverse);
  font-weight: var(--font-weight-bold);
  text-transform: uppercase;
  font-size: var(--font-size-sm);
  padding: var(--spacing-md);
  text-align: left;
  border: var(--border-width-thin) solid var(--color-primary);
}

tbody tr {
  border-bottom: var(--border-width-thin) solid var(--border-color-muted);
  transition: background-color var(--transition-base);
}

tbody tr:nth-child(odd) {
  background-color: var(--color-surface);
}

tbody tr:nth-child(even) {
  background-color: var(--color-surface-elevated);
}

tbody tr:hover {
  background-color: rgba(212, 175, 55, 0.1);
  box-shadow: 0 0 10px rgba(255, 215, 0, 0.3);
}

tbody td {
  padding: var(--spacing-md);
  color: var(--color-text-muted);
  border: var(--border-width-thin) solid var(--border-color-muted);
}

/* ========================================
   FOOTER STYLES
   ======================================== */

.site-footer {
  background-color: var(--color-surface);
  border-top: var(--border-width-medium) solid var(--color-primary);
  margin-top: var(--spacing-4xl);
  color: var(--color-text-muted);
}

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

.footer-top {
  padding-bottom: var(--spacing-2xl);
  border-bottom: var(--border-width-thin) solid var(--border-color-muted);
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  gap: var(--spacing-xl);
}

@media (min-width: 768px) {
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .footer-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.footer-heading {
  font-family: var(--font-secondary);
  font-size: var(--font-size-md);
  color: var(--color-primary);
  margin-bottom: var(--spacing-md);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.footer-logo {
  margin-bottom: var(--spacing-md);
}

.footer-logo img {
  height: 48px;
  width: auto;
}

.footer-description {
  font-size: var(--font-size-sm);
  line-height: var(--line-height-relaxed);
  margin-bottom: var(--spacing-md);
}

.footer-licenses {
  display: flex;
  gap: var(--spacing-sm);
  flex-wrap: wrap;
}

.footer-licenses img {
  height: 50px;
  width: auto;
  filter: grayscale(100%);
  transition: filter var(--transition-base);
}

.footer-licenses img:hover {
  filter: grayscale(0%);
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: var(--spacing-sm);
}

.footer-links a {
  color: var(--color-text-muted);
  font-size: var(--font-size-sm);
  transition: all var(--transition-base);
  display: inline-block;
}

.footer-links a:hover {
  color: var(--color-primary);
  padding-left: var(--spacing-xs);
}

/* Payment Methods Section */
.footer-payments {
  padding: var(--spacing-xl) 0;
  border-bottom: var(--border-width-thin) solid var(--border-color-muted);
  text-align: center;
}

.footer-payments-heading {
  font-size: var(--font-size-md);
  color: var(--color-primary);
  margin-bottom: var(--spacing-md);
}

.payment-icons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--spacing-md);
  align-items: center;
}

.payment-icons img {
  height: 50px;
  width: auto;
  filter: grayscale(100%);
  transition: filter var(--transition-base), transform var(--transition-base);
}

.payment-icons img:hover {
  filter: grayscale(0%);
  transform: scale(1.1);
}

/* Responsible Gaming Section */
.footer-responsible-gaming {
  padding: var(--spacing-xl) 0;
  border-bottom: var(--border-width-thin) solid var(--border-color-muted);
}

.responsible-gaming-content {
  display: flex;
  gap: var(--spacing-lg);
  align-items: flex-start;
}

.rg-icon {
  width: 60px;
  height: 60px;
  flex-shrink: 0;
}

.rg-heading {
  font-size: var(--font-size-md);
  color: var(--color-warning);
  margin-bottom: var(--spacing-sm);
}

.rg-description {
  font-size: var(--font-size-sm);
  line-height: var(--line-height-relaxed);
  margin-bottom: var(--spacing-md);
}

.rg-link {
  color: var(--color-primary);
  text-decoration: underline;
}

.rg-organizations {
  display: flex;
  gap: var(--spacing-md);
  margin-top: var(--spacing-md);
}

.rg-organizations img {
  width: 60px;
  height: 60px;
  filter: grayscale(100%);
  transition: filter var(--transition-base);
}

.rg-organizations img:hover {
  filter: grayscale(0%);
}

/* Affiliate Disclosure */
.footer-affiliate-disclosure {
  padding: var(--spacing-xl) 0;
  border-bottom: var(--border-width-thin) solid var(--border-color-muted);
  background-color: rgba(212, 175, 55, 0.05);
  margin: 0 calc(-1 * var(--container-padding));
  padding-left: var(--container-padding);
  padding-right: var(--container-padding);
}

.affiliate-text {
  font-size: var(--font-size-sm);
  line-height: var(--line-height-relaxed);
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}

/* Social Media Section */
.footer-social {
  padding: var(--spacing-xl) 0;
  text-align: center;
  border-bottom: var(--border-width-thin) solid var(--border-color-muted);
}

.footer-social-heading {
  font-size: var(--font-size-md);
  color: var(--color-primary);
  margin-bottom: var(--spacing-md);
}

.social-icons {
  display: flex;
  justify-content: center;
  gap: var(--spacing-lg);
  flex-wrap: wrap;
}

.social-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: var(--radius-full);
  background-color: var(--color-surface-elevated);
  border: var(--border-width-thin) solid var(--border-color-muted);
  color: var(--color-primary);
  transition: all var(--transition-base);
}

.social-icon:hover {
  background-color: var(--color-primary);
  color: var(--color-text-inverse);
  border-color: var(--color-primary);
  box-shadow: var(--shadow-gold-glow);
  transform: translateY(-4px);
}

/* Footer Bottom */
.footer-bottom {
  padding-top: var(--spacing-xl);
  text-align: center;
}

.footer-legal-links {
  margin-bottom: var(--spacing-md);
  font-size: var(--font-size-sm);
}

.footer-legal-links a {
  color: var(--color-text-muted);
  transition: color var(--transition-base);
}

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

.footer-legal-links .separator {
  margin: 0 var(--spacing-sm);
  color: var(--border-color-muted);
}

.footer-copyright {
  margin-bottom: var(--spacing-md);
}

.footer-copyright p {
  font-size: var(--font-size-sm);
  margin-bottom: var(--spacing-sm);
}

.footer-disclaimer {
  font-size: var(--font-size-xs);
  color: var(--color-text-muted);
}

.footer-age-restriction {
  margin-top: var(--spacing-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--spacing-md);
}

.age-notice {
  display: inline-block;
  width: 50px;
  height: 50px;
  line-height: 50px;
  text-align: center;
  background-color: var(--color-error);
  color: var(--color-text);
  font-size: var(--font-size-lg);
  font-weight: var(--font-weight-black);
  border-radius: var(--radius-full);
  border: var(--border-width-thick) solid var(--color-text);
}

.age-text {
  font-size: var(--font-size-sm);
  color: var(--color-error);
  font-weight: var(--font-weight-semibold);
}

/* Back to Top Button */
.back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, #D4AF37 0%, #FFD700 100%);
  color: var(--color-text-inverse);
  border: none;
  border-radius: var(--radius-full);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-lg);
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: all var(--transition-base);
  z-index: var(--z-index-fixed);
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top:hover {
  box-shadow: var(--shadow-gold-glow);
  transform: translateY(-4px);
}

/* ========================================
   HERO SECTION
   ======================================== */

.hero {
  position: relative;
  min-height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  margin-bottom: var(--spacing-4xl);
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(10, 10, 10, 0.6);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  padding: var(--spacing-2xl);
}

.hero h1 {
  font-size: var(--font-size-3xl);
  margin-bottom: var(--spacing-lg);
  text-shadow: 0 0 20px rgba(255, 215, 0, 0.5),
               0 2px 4px rgba(0, 0, 0, 0.8);
}

.hero-description {
  font-size: var(--font-size-md);
  margin-bottom: var(--spacing-xl);
  color: var(--color-text);
  line-height: var(--line-height-relaxed);
}

.hero-cta {
  display: flex;
  gap: var(--spacing-md);
  justify-content: center;
  flex-wrap: wrap;
}

@media (max-width: 767px) {
  .hero {
    min-height: 400px;
  }

  .hero h1 {
    font-size: var(--font-size-xl);
  }

  .hero-description {
    font-size: var(--font-size-base);
  }

  .hero-cta {
    flex-direction: column;
  }
}

/* ========================================
   CONTENT BLOCKS
   ======================================== */

.content-block {
  margin-bottom: var(--spacing-3xl);
  animation: fadeInUp 0.6s ease-out;
}

.content-block-inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--spacing-2xl);
  align-items: center;
}

@media (min-width: 1024px) {
  .content-block-inner {
    grid-template-columns: repeat(2, 1fr);
  }

  .content-block.reverse .content-block-inner {
    direction: rtl;
  }

  .content-block.reverse .content-block-text {
    direction: ltr;
  }
}

.content-block-text h2 {
  margin-bottom: var(--spacing-md);
}

.content-block-text p {
  margin-bottom: var(--spacing-md);
  line-height: var(--line-height-relaxed);
}

.content-block-image {
  border-radius: var(--radius-md);
  overflow: hidden;
  border: var(--border-width-thin) solid var(--border-color-muted);
  box-shadow: var(--shadow-md);
}

.content-block-image img {
  width: 100%;
  height: auto;
  transition: transform var(--transition-slow);
}

.content-block:hover .content-block-image img {
  transform: scale(1.05);
}

/* ========================================
   SPECIAL EFFECTS & ANIMATIONS
   ======================================== */

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.text-gradient-gold {
  background: linear-gradient(135deg, #D4AF37 0%, #FFD700 50%, #D4AF37 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.gold-glow {
  box-shadow: 0 0 10px rgba(255, 215, 0, 0.5),
              0 0 20px rgba(255, 215, 0, 0.3),
              0 0 30px rgba(212, 175, 55, 0.2);
}

/* ========================================
   UTILITY CLASSES
   ======================================== */

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

.text-primary {
  color: var(--color-primary);
}

.text-muted {
  color: var(--color-text-muted);
}

.mt-lg {
  margin-top: var(--spacing-lg);
}

.mb-lg {
  margin-bottom: var(--spacing-lg);
}

.mt-xl {
  margin-top: var(--spacing-xl);
}

.mb-xl {
  margin-bottom: var(--spacing-xl);
}

.pt-2xl {
  padding-top: var(--spacing-2xl);
}

.pb-2xl {
  padding-bottom: var(--spacing-2xl);
}

/* ========================================
   ACCESSIBILITY
   ======================================== */

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

.skip-link {
  position: absolute;
  top: -40px;
  left: 0;
  background: var(--color-primary);
  color: var(--color-text-inverse);
  padding: var(--spacing-sm) var(--spacing-md);
  text-decoration: none;
  z-index: 9999;
}

.skip-link:focus {
  top: 0;
}

/* ========================================
   PRINT STYLES
   ======================================== */

@media print {
  .site-header,
  .site-footer,
  .mobile-nav,
  .mobile-overlay,
  .back-to-top,
  .hero-cta {
    display: none;
  }

  body {
    background: white;
    color: black;
  }

  a {
    text-decoration: underline;
  }

  .card {
    border: 1px solid #ccc;
    page-break-inside: avoid;
  }
}

/* Additional Header Optimization for Compact Layout */
@media (min-width: 1024px) and (max-width: 1280px) {
  .nav-link {
    font-size: 0.85rem;
    padding: var(--spacing-xs) 6px;
  }
  
  .nav-menu {
    gap: 6px;
  }
  
  .header-cta .btn {
    font-size: 0.8rem;
    padding: 6px 12px;
  }
}

@media (min-width: 1280px) {
  .nav-menu {
    gap: var(--spacing-md);
  }
}
