/* ============================================
   CSS VARIABLES & THEME SYSTEM
   ============================================ */

:root {
  /* Color System - Light Theme */
  --background: #49464b;
  --foreground: #0f172a;
  --card: #49464b;
  --card-foreground: #0f172a;
  --popover: #ffffff;
  --popover-foreground: #0f172a;
  --primary: #0284c7;
  --primary-foreground: #f8fafc;
  --secondary: #e0f2fe;
  --secondary-foreground: #0c4a6e;
  --muted: #f1f5f9;
  --muted-foreground: #64748b;
  --accent: #bae6fd;
  --accent-foreground: #0c4a6e;
  --destructive: #ef4444;
  --destructive-foreground: #f8fafc;
  --border: #e2e8f0;
  --input: #f1f5f9;
  --ring: #0284c7;
  
  /* Coastal Theme Extensions */
  --coastal-blue: #0284c7;
  --coastal-navy: #0c4a6e;
  --coastal-white: #ffffff;
  --coastal-cream: #f8fafc;
  --coastal-gold: #fbbf24;
  
  /* Typography */
  --font-heading: 'Playfair Display', serif;
  --font-body: 'Inter', sans-serif;
  
  /* Spacing Scale */
  --space-xs: 0.25rem;
  --space-sm: 0.5rem;
  --space-md: 1rem;
  --space-lg: 1.5rem;
  --space-xl: 2rem;
  --space-2xl: 3rem;
  --space-3xl: 4rem;
  --space-4xl: 6rem;
  
  /* Border Radius */
  --radius-sm: 0.25rem;
  --radius-md: 0.5rem;
  --radius-lg: 1rem;
  --radius-full: 9999px;
  
  /* Shadows */
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.07);
  --shadow-lg: 0 10px 15px rgba(0, 0, 0, 0.1);
  --shadow-xl: 0 20px 25px rgba(0, 0, 0, 0.15);
  
  /* Transitions */
  --transition-fast: 150ms ease;
  --transition-base: 250ms ease;
  --transition-slow: 350ms ease;
  
  /* Z-Index Scale */
  --z-header: 1000;
  --z-dropdown: 2000;
  --z-modal: 5000;
  --z-popup: 10000;
}

[data-theme="dark"] {
  --background: #0f172a;
  --foreground: #f8fafc;
  --card: #1e293b;
  --card-foreground: #f8fafc;
  --popover: #1e293b;
  --popover-foreground: #f8fafc;
  --primary: #0284c7;
  --primary-foreground: #f8fafc;
  --secondary: #1e293b;
  --secondary-foreground: #e0f2fe;
  --muted: #334155;
  --muted-foreground: #94a3b8;
  --accent: #0c4a6e;
  --accent-foreground: #e0f2fe;
  --destructive: #ef4444;
  --destructive-foreground: #f8fafc;
  --border: #334155;
  --input: #1e293b;
  --ring: #0284c7;
  
  --coastal-cream: #1e293b;
  --coastal-white: #0f172a;
}

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

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

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

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--foreground);
  background-color: var(--background);
  overflow-x: hidden;
  min-width: 320px;
}

/* Overflow Prevention - Critical */
img, video, iframe, embed, object, svg {
  max-width: 100%;
  height: auto;
}

[class*="grid"] > *,
[class*="flex"] > * {
  min-width: 0;
}

pre, code, .code-block {
  max-width: 100%;
  overflow-x: auto;
}

p, li, td, th {
  overflow-wrap: break-word;
}

input, textarea, select {
  max-width: 100%;
}

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

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.2;
  color: var(--foreground);
  margin-bottom: var(--space-lg);
}

h1 {
  font-size: clamp(2rem, 5vw, 3.5rem);
  letter-spacing: -0.02em;
}

h2 {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  letter-spacing: -0.01em;
}

h3 {
  font-size: clamp(1.25rem, 3vw, 1.75rem);
}

h4 {
  font-size: clamp(1.125rem, 2.5vw, 1.5rem);
}

p {
  margin-bottom: var(--space-md);
}

.lead {
  font-size: clamp(1.125rem, 2vw, 1.25rem);
  font-weight: 400;
  color: var(--muted-foreground);
  line-height: 1.7;
}

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

a:hover {
  color: var(--coastal-navy);
}

strong {
  font-weight: 600;
}

/* ============================================
   LAYOUT UTILITIES
   ============================================ */

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

@media (min-width: 768px) {
  .container {
    padding: 0 var(--space-2xl);
  }
}

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

@media (min-width: 768px) {
  .section {
    padding: var(--space-4xl) 0;
  }
}

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

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
  padding: var(--space-md) var(--space-xl);
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 500;
  line-height: 1;
  text-align: center;
  white-space: nowrap;
  border: 2px solid transparent;
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: all var(--transition-base);
  text-decoration: none;
  min-height: 44px;
}

.btn-primary {
  background-color: var(--primary);
  color: var(--primary-foreground);
  border-color: var(--primary);
}

.btn-primary:hover {
  background-color: var(--coastal-navy);
  border-color: var(--coastal-navy);
  color: var(--primary-foreground);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.btn-outline {
  background-color: transparent;
  color: var(--primary);
  border-color: var(--primary);
}

.btn-outline:hover {
  background-color: var(--primary);
  color: var(--primary-foreground);
}

.btn-outline-light {
  background-color: transparent;
  color: var(--coastal-white);
  border-color: var(--coastal-white);
}

.btn-outline-light:hover {
  background-color: var(--coastal-white);
  color: var(--primary);
}

.btn-large {
  padding: var(--space-lg) var(--space-2xl);
  font-size: 1.125rem;
}

.btn-block {
  width: 100%;
}

/* ============================================
   HEADER & NAVIGATION
   ============================================ */

.header {
  position: sticky;
  top: 0;
  z-index: var(--z-header);
  background-color: var(--card);
  border-bottom: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-base);
}

.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
  gap: var(--space-lg);
}

.logo-link {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  text-decoration: none;
  color: var(--foreground);
  transition: opacity var(--transition-fast);
}

.logo-link:hover {
  opacity: 0.8;
}

.logo {
  width: 48px;
  height: 48px;
  object-fit: contain;
}

.logo-text {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--coastal-navy);
}

.nav-desktop {
  display: none;
}

@media (min-width: 768px) {
  .nav-desktop {
    display: block;
  }
}

.nav-list {
  display: flex;
  align-items: center;
  gap: var(--space-xl);
  list-style: none;
}

.nav-list a {
  font-weight: 500;
  color: var(--foreground);
  transition: color var(--transition-fast);
  position: relative;
}

.nav-list a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--primary);
  transition: width var(--transition-base);
}

.nav-list a:hover::after {
  width: 100%;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: var(--space-md);
}

.age-badge {
  display: none;
  color: var(--destructive);
}

@media (min-width: 768px) {
  .age-badge {
    display: block;
  }
}

.theme-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  background: transparent;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: all var(--transition-base);
  color: var(--foreground);
}

.theme-toggle:hover {
  background-color: var(--muted);
  border-color: var(--primary);
}

.theme-icon {
  transition: opacity var(--transition-fast);
}

.sun-icon {
  display: block;
}

.moon-icon {
  display: none;
}

[data-theme="dark"] .sun-icon {
  display: none;
}

[data-theme="dark"] .moon-icon {
  display: block;
}

.cta-btn {
  display: none;
}

@media (min-width: 1024px) {
  .cta-btn {
    display: inline-flex;
  }
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: 32px;
  height: 24px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
}

@media (min-width: 768px) {
  .mobile-menu-toggle {
    display: none;
  }
}

.mobile-menu-toggle span {
  display: block;
  width: 100%;
  height: 3px;
  background-color: var(--foreground);
  border-radius: 2px;
  transition: all var(--transition-base);
}

.mobile-menu-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(10.5px) rotate(45deg);
}

.mobile-menu-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.mobile-menu-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-10.5px) rotate(-45deg);
}

/* Mobile Menu */
.mobile-menu {
  position: fixed;
  top: 72px;
  left: 0;
  width: 100%;
  height: calc(100vh - 72px);
  background-color: var(--card);
  padding: var(--space-xl);
  transform: translateX(100%);
  transition: transform var(--transition-base);
  overflow-y: auto;
  z-index: var(--z-dropdown);
}

.mobile-menu[aria-hidden="false"] {
  transform: translateX(0);
}

@media (min-width: 768px) {
  .mobile-menu {
    display: none;
  }
}

.mobile-nav-list {
  list-style: none;
  margin-bottom: var(--space-2xl);
}

.mobile-nav-list li {
  border-bottom: 1px solid var(--border);
}

.mobile-nav-list a {
  display: block;
  padding: var(--space-lg) 0;
  font-size: 1.125rem;
  font-weight: 500;
  color: var(--foreground);
}

/* ============================================
   POPUPS - AGE & COOKIE
   ============================================ */

.age-popup {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.9);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: var(--z-popup);
  padding: var(--space-lg);
}

.age-popup.hidden {
  display: none;
}

.age-popup-content {
  background-color: var(--card);
  padding: var(--space-2xl);
  border-radius: var(--radius-lg);
  max-width: 500px;
  width: 100%;
  text-align: center;
  box-shadow: var(--shadow-xl);
}

.age-popup-icon {
  color: var(--destructive);
  margin-bottom: var(--space-lg);
}

.age-popup h2 {
  margin-bottom: var(--space-md);
  color: var(--foreground);
}

.age-popup p {
  margin-bottom: var(--space-xl);
  color: var(--muted-foreground);
}

.age-popup-buttons {
  display: flex;
  gap: var(--space-md);
  flex-wrap: wrap;
}

.age-popup-buttons .btn {
  flex: 1;
  min-width: 140px;
}

/* Cookie Banner */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background-color: var(--card);
  border-top: 2px solid var(--border);
  padding: var(--space-lg);
  z-index: calc(var(--z-popup) - 1);
  box-shadow: var(--shadow-lg);
  transform: translateY(100%);
  transition: transform var(--transition-base);
}

.cookie-banner.show {
  transform: translateY(0);
}

.cookie-banner.hidden {
  display: none;
}

.cookie-content {
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-lg);
  flex-wrap: wrap;
}

.cookie-content p {
  flex: 1;
  margin: 0;
  font-size: 0.875rem;
  min-width: 280px;
}

.cookie-buttons {
  display: flex;
  gap: var(--space-md);
  flex-wrap: wrap;
}

.cookie-buttons .btn {
  min-width: 120px;
}

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

.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--coastal-white);
  overflow: hidden;
}

.hero-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    to bottom,
    rgba(12, 74, 110, 0.3),
    rgba(2, 132, 199, 0.5)
  );
  z-index: 2;
}

.hero-content {
  position: relative;
  z-index: 3;
  text-align: center;
  max-width: 900px;
  padding: var(--space-2xl);
}

.hero h1 {
  color: var(--coastal-white);
  margin-bottom: var(--space-lg);
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.hero-subtitle {
  font-size: clamp(1.125rem, 2vw, 1.5rem);
  color: var(--coastal-white);
  margin-bottom: var(--space-2xl);
  font-weight: 300;
  text-shadow: 0 1px 5px rgba(0, 0, 0, 0.3);
}

.hero-cta {
  display: flex;
  gap: var(--space-lg);
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: var(--space-3xl);
}

.scroll-indicator {
  position: absolute;
  bottom: var(--space-2xl);
  left: 50%;
  transform: translateX(-50%);
  animation: bounce 2s infinite;
  color: var(--coastal-white);
}

@keyframes bounce {
  0%, 100% {
    transform: translateX(-50%) translateY(0);
  }
  50% {
    transform: translateX(-50%) translateY(-10px);
  }
}

/* ============================================
   SECTION LAYOUTS
   ============================================ */

.section-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-3xl);
  align-items: start;
}

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

.section-content h2 {
  color: var(--coastal-navy);
}

.features-list {
  list-style: none;
  margin: var(--space-xl) 0;
}

.features-list li {
  display: flex;
  gap: var(--space-lg);
  margin-bottom: var(--space-xl);
  align-items: start;
}

.feature-icon {
  flex-shrink: 0;
  color: var(--primary);
}

.vip-zone {
  background-color: var(--secondary);
  padding: var(--space-xl);
  border-radius: var(--radius-lg);
  margin: var(--space-2xl) 0;
  border-left: 4px solid var(--primary);
}

.trust-signal {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  padding: var(--space-lg);
  background-color: var(--muted);
  border-radius: var(--radius-md);
  margin: var(--space-xl) 0;
}

.trust-signal svg {
  flex-shrink: 0;
  color: var(--primary);
}

/* Gallery Grid */
.gallery-grid,
.food-gallery-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-lg);
}

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

.gallery-image {
  width: 100%;
  height: 300px;
  object-fit: cover;
  border-radius: var(--radius-lg);
  transition: transform var(--transition-base);
}

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

/* ============================================
   RESTAURANT SECTION
   ============================================ */

.hero-image-top {
  margin: calc(var(--space-3xl) * -1) calc(var(--space-lg) * -1) var(--space-3xl);
  border-radius: 0;
  overflow: hidden;
}

@media (min-width: 768px) {
  .hero-image-top {
    margin: calc(var(--space-4xl) * -1) calc(var(--space-2xl) * -1) var(--space-4xl);
  }
}

.section-hero-image {
  width: 100%;
  height: 400px;
  object-fit: cover;
}

@media (min-width: 768px) {
  .section-hero-image {
    height: 500px;
  }
}

.section-content-centered {
  max-width: 900px;
  margin: 0 auto;
}

.menu-categories {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-xl);
  margin: var(--space-3xl) 0;
}

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

.category-card {
  text-align: center;
  padding: var(--space-xl);
  background-color: var(--card);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  transition: all var(--transition-base);
}

.category-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-xl);
}

.category-icon {
  color: var(--primary);
  margin-bottom: var(--space-md);
}

.chef-quote {
  margin: var(--space-3xl) 0;
  padding: var(--space-2xl);
  background: linear-gradient(135deg, var(--secondary), var(--accent));
  border-radius: var(--radius-lg);
  border-left: 4px solid var(--primary);
}

.chef-quote blockquote {
  font-family: var(--font-heading);
  font-size: clamp(1.125rem, 2vw, 1.375rem);
  font-style: italic;
  color: var(--coastal-navy);
  line-height: 1.6;
}

.chef-quote footer {
  margin-top: var(--space-lg);
  font-family: var(--font-body);
  font-size: 1rem;
  font-style: normal;
  color: var(--muted-foreground);
}

.menu-cta {
  display: flex;
  gap: var(--space-lg);
  justify-content: center;
  flex-wrap: wrap;
  margin: var(--space-3xl) 0;
}

.food-gallery {
  margin-top: var(--space-3xl);
}

/* ============================================
   LOUNGE SECTION
   ============================================ */

.lounge-section {
  position: relative;
  color: var(--coastal-white);
  padding: 0;
}

.lounge-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.lounge-bg-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.lounge-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    to bottom,
    rgba(12, 74, 110, 0.85),
    rgba(2, 132, 199, 0.75)
  );
  z-index: 2;
}

.lounge-container {
  position: relative;
  z-index: 3;
  padding: var(--space-4xl) var(--space-lg);
}

@media (min-width: 768px) {
  .lounge-container {
    padding: var(--space-4xl) var(--space-2xl);
  }
}

.lounge-title {
  text-align: center;
  color: var(--coastal-white);
  margin-bottom: var(--space-3xl);
}

.lounge-features {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-2xl);
  margin-bottom: var(--space-3xl);
}

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

.lounge-feature {
  text-align: center;
  padding: var(--space-xl);
}

.lounge-icon {
  color: var(--coastal-gold);
  margin-bottom: var(--space-lg);
}

.lounge-feature h3 {
  color: var(--coastal-white);
  margin-bottom: var(--space-md);
}

.lounge-feature p {
  color: rgba(255, 255, 255, 0.9);
}

.lounge-description {
  max-width: 900px;
  margin: 0 auto var(--space-3xl);
  padding: var(--space-2xl);
  background-color: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border-radius: var(--radius-lg);
}

.lounge-description p {
  color: rgba(255, 255, 255, 0.95);
}

.event-timeline {
  max-width: 800px;
  margin: var(--space-3xl) auto;
  padding: var(--space-2xl);
  background-color: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border-radius: var(--radius-lg);
}

.event-timeline h3 {
  text-align: center;
  color: var(--coastal-white);
  margin-bottom: var(--space-xl);
}

.timeline {
  position: relative;
}

.timeline-item {
  display: flex;
  gap: var(--space-lg);
  margin-bottom: var(--space-xl);
  padding-bottom: var(--space-xl);
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.timeline-item:last-child {
  border-bottom: none;
}

.timeline-date {
  flex-shrink: 0;
  width: 100px;
  font-weight: 600;
  color: var(--coastal-gold);
}

.timeline-content {
  flex: 1;
}

.timeline-content strong {
  display: block;
  color: var(--coastal-white);
  margin-bottom: var(--space-sm);
}

.timeline-content p {
  color: rgba(255, 255, 255, 0.9);
  margin: 0;
}

.lounge-section .btn-large {
  display: block;
  margin: var(--space-3xl) auto 0;
  max-width: 400px;
}

/* ============================================
   CONTACT SECTION
   ============================================ */

.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-3xl);
}

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

.info-block {
  display: flex;
  gap: var(--space-lg);
  margin-bottom: var(--space-2xl);
  align-items: start;
}

.info-icon {
  flex-shrink: 0;
  color: var(--primary);
}

.info-block h3 {
  font-size: 1.25rem;
  margin-bottom: var(--space-sm);
}

.info-block p {
  margin-bottom: var(--space-xs);
  color: var(--muted-foreground);
}

.info-block a {
  color: var(--primary);
  font-weight: 500;
}

.info-features {
  list-style: none;
  margin-top: var(--space-md);
}

.info-features li {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  margin-bottom: var(--space-sm);
  color: var(--muted-foreground);
}

.info-features svg {
  flex-shrink: 0;
  color: var(--primary);
}

/* Contact Form */
.contact-form {
  background-color: var(--card);
  padding: var(--space-xl);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  margin: var(--space-2xl) 0;
}

.form-group {
  margin-bottom: var(--space-lg);
}

.form-group label {
  display: block;
  margin-bottom: var(--space-sm);
  font-weight: 500;
  color: var(--foreground);
}

.required {
  color: var(--destructive);
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: var(--space-md);
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--foreground);
  background-color: var(--input);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  transition: all var(--transition-fast);
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--ring);
  box-shadow: 0 0 0 3px rgba(2, 132, 199, 0.1);
}

.checkbox-group {
  display: flex;
  align-items: start;
  gap: var(--space-md);
}

.checkbox-group input[type="checkbox"] {
  width: auto;
  margin-top: 4px;
  cursor: pointer;
}

.checkbox-group label {
  margin: 0;
  font-weight: 400;
  cursor: pointer;
}

.form-message {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  padding: var(--space-md);
  border-radius: var(--radius-md);
  margin-top: var(--space-lg);
}

.form-message.success {
  background-color: #d1fae5;
  color: #065f46;
  border: 1px solid #10b981;
}

.social-links {
  margin-top: var(--space-2xl);
}

.social-icons {
  display: flex;
  gap: var(--space-lg);
  margin-top: var(--space-md);
}

.social-icons a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  background-color: var(--muted);
  border-radius: var(--radius-full);
  color: var(--foreground);
  transition: all var(--transition-base);
}

.social-icons a:hover {
  background-color: var(--primary);
  color: var(--primary-foreground);
  transform: translateY(-3px);
}

.map-container {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  height: 600px;
}

.map-container iframe {
  display: block;
}

/* ============================================
   LEGAL SECTION
   ============================================ */

.legal-header {
  text-align: center;
  margin-bottom: var(--space-3xl);
}

.age-badge-large {
  display: inline-block;
  color: var(--destructive);
  margin-bottom: var(--space-lg);
}

.legal-intro {
  max-width: 800px;
  margin: 0 auto var(--space-3xl);
  text-align: center;
}

.legal-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-xl);
  margin-bottom: var(--space-3xl);
}

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

.legal-card {
  background-color: var(--card);
  padding: var(--space-xl);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  text-align: center;
}

.legal-icon {
  color: var(--primary);
  margin-bottom: var(--space-lg);
}

.legal-card h3 {
  color: var(--coastal-navy);
  margin-bottom: var(--space-md);
}

.legal-card p {
  text-align: left;
  color: var(--muted-foreground);
}

.responsible-gaming-practices,
.cultural-context,
.licensing-info {
  max-width: 900px;
  margin: var(--space-3xl) auto;
}

.best-practices-list {
  list-style: none;
  margin-top: var(--space-lg);
}

.best-practices-list li {
  display: flex;
  gap: var(--space-md);
  margin-bottom: var(--space-lg);
  align-items: start;
}

.best-practices-list svg {
  flex-shrink: 0;
  color: var(--primary);
  margin-top: 2px;
}

.licensing-info ul {
  margin-left: var(--space-xl);
  margin-top: var(--space-md);
}

.disclaimer {
  max-width: 900px;
  margin: var(--space-3xl) auto;
  padding: var(--space-xl);
  background-color: #fef2f2;
  border: 2px solid var(--destructive);
  border-radius: var(--radius-lg);
  text-align: center;
}

[data-theme="dark"] .disclaimer {
  background-color: rgba(239, 68, 68, 0.1);
}

.disclaimer svg {
  color: var(--destructive);
  margin-bottom: var(--space-md);
}

.disclaimer p {
  color: var(--foreground);
  margin: 0;
}

.legal-links {
  max-width: 900px;
  margin: var(--space-3xl) auto;
  padding: var(--space-xl);
  background-color: var(--muted);
  border-radius: var(--radius-lg);
}

.document-links {
  list-style: none;
  margin-top: var(--space-md);
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-md);
}

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

.document-links a {
  display: block;
  padding: var(--space-md);
  background-color: var(--card);
  border-radius: var(--radius-md);
  border-left: 4px solid var(--primary);
  transition: all var(--transition-base);
  font-weight: 500;
}

.document-links a:hover {
  transform: translateX(5px);
  box-shadow: var(--shadow-md);
}

.privacy-policy,
.terms-conditions {
  max-width: 900px;
  margin: var(--space-3xl) auto;
  padding: var(--space-2xl);
  background-color: var(--card);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}

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

.footer {
  background-color: var(--coastal-navy);
  color: var(--coastal-white);
  padding: var(--space-3xl) 0 var(--space-xl);
}

[data-theme="dark"] .footer {
  background-color: #020617;
}

.footer-main {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-2xl);
  margin-bottom: var(--space-3xl);
  padding-bottom: var(--space-3xl);
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

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

@media (min-width: 1024px) {
  .footer-main {
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
  }
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  margin-bottom: var(--space-lg);
}

.footer-logo .logo-text {
  color: var(--coastal-white);
}

.footer-tagline {
  margin-bottom: var(--space-lg);
  color: rgba(255, 255, 255, 0.8);
}

.footer-social {
  display: flex;
  gap: var(--space-md);
}

.footer-social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-full);
  color: var(--coastal-white);
  transition: all var(--transition-base);
}

.footer-social a:hover {
  background-color: var(--primary);
  transform: translateY(-3px);
}

.footer-column h4 {
  font-family: var(--font-body);
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: var(--space-lg);
  color: var(--coastal-white);
}

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

.footer-links li {
  margin-bottom: var(--space-md);
}

.footer-links a {
  color: rgba(255, 255, 255, 0.8);
  transition: color var(--transition-fast);
}

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

.footer-contact p {
  margin-bottom: var(--space-md);
  color: rgba(255, 255, 255, 0.8);
}

.footer-contact a {
  color: var(--coastal-white);
  font-weight: 500;
}

.footer-cta {
  text-align: center;
  padding: var(--space-2xl) 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  margin-bottom: var(--space-xl);
}

.footer-cta p {
  font-size: 1.125rem;
  margin-bottom: var(--space-lg);
  color: var(--coastal-white);
}

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

.footer-bottom-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--space-lg);
  margin-bottom: var(--space-md);
}

.copyright {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.875rem;
  margin: 0;
}

.age-badge-footer {
  color: var(--coastal-gold);
}

.footer-disclaimer {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.875rem;
  margin: 0;
}

.footer-disclaimer a {
  color: var(--coastal-white);
  text-decoration: underline;
}

/* ============================================
   ANIMATIONS & UTILITIES
   ============================================ */

.fade-in {
  opacity: 0;
  animation: fadeIn var(--transition-slow) forwards;
}

@keyframes fadeIn {
  to {
    opacity: 1;
  }
}

.slide-up {
  opacity: 0;
  transform: translateY(30px);
  animation: slideUp var(--transition-slow) forwards;
}

@keyframes slideUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Accessibility - Focus Styles */
*:focus-visible {
  outline: 2px solid var(--ring);
  outline-offset: 2px;
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* Print Styles */
@media print {
  .header,
  .footer,
  .age-popup,
  .cookie-banner,
  .btn,
  .scroll-indicator {
    display: none !important;
  }
}