/*
 * Crimson Valley - Elegant Casino & Restaurant Landing Page
 * Mobile-first responsive design with classic Budapest cafe aesthetics
 */

/* ============================================
   OVERFLOW PREVENTION - Safety Net
   ============================================ */

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

img, video, iframe, embed, object, svg {
    max-width: 100%;
    height: auto;
}

[class*="grid"] > *,
[class*="flex"] > *,
.column,
.feature-card,
.legal-card,
.accordion-item {
    min-width: 0;
}

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

.table-wrapper,
table {
    max-width: 100%;
    overflow-x: auto;
}

p, li, td, th {
    overflow-wrap: break-word;
    word-wrap: break-word;
    max-width: 100%;
}

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

/* ============================================
   CSS VARIABLES - Theme System
   ============================================ */

:root {
  /* Colors - Light Theme */
  --background: #12a591;
  --foreground: #2c1810;
  --card: #12a591;
  --card-foreground: #2c1810;
  --popover: #ffffff;
  --popover-foreground: #2c1810;
  --primary: #c9962b;
  --primary-foreground: #ffffff;
  --secondary: #f5f1eb;
  --secondary-foreground: #2c1810;
  --muted: #ede7dd;
  --muted-foreground: #5d4e3f;
  --accent: #d4a54a;
  --accent-foreground: #2c1810;
  --destructive: #dc2626;
  --destructive-foreground: #ffffff;
  --border: #e3d9c6;
  --input: #f5f1eb;
  --ring: #c9962b;
  
  /* Typography */
  --font-serif: 'Playfair Display', Georgia, serif;
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  
  /* Spacing Scale */
  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 1.5rem;
  --space-lg: 2rem;
  --space-xl: 3rem;
  --space-2xl: 4rem;
  --space-3xl: 6rem;
  
  /* Border Radius */
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --radius-xl: 16px;
  
  /* Shadows */
  --shadow-sm: 0 1px 2px 0 rgba(44, 24, 16, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(44, 24, 16, 0.1), 0 2px 4px -1px rgba(44, 24, 16, 0.06);
  --shadow-lg: 0 10px 15px -3px rgba(44, 24, 16, 0.1), 0 4px 6px -2px rgba(44, 24, 16, 0.05);
  --shadow-xl: 0 20px 25px -5px rgba(44, 24, 16, 0.1), 0 10px 10px -5px rgba(44, 24, 16, 0.04);
  
  /* Transitions */
  --transition-fast: 150ms ease;
  --transition-base: 250ms ease;
  --transition-slow: 350ms ease;
  
  /* Container */
  --container-max: 1280px;
  --container-padding: var(--space-md);
}

[data-theme="dark"] {
  --background: #1a1410;
  --foreground: #f5f1eb;
  --card: #2c2218;
  --card-foreground: #f5f1eb;
  --popover: #2c2218;
  --popover-foreground: #f5f1eb;
  --primary: #c9962b;
  --primary-foreground: #ffffff;
  --secondary: #3d3326;
  --secondary-foreground: #e3d9c6;
  --muted: #342a1f;
  --muted-foreground: #a89378;
  --accent: #8b6e2f;
  --accent-foreground: #f5f1eb;
  --destructive: #dc2626;
  --destructive-foreground: #ffffff;
  --border: #3d3326;
  --input: #2c2218;
  --ring: #c9962b;
}

/* ============================================
   BASE STYLES
   ============================================ */

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

body {
    margin: 0;
    padding: 0;
    font-family: var(--font-sans);
    font-size: 16px;
    line-height: 1.6;
    color: var(--foreground);
    background-color: var(--background);
    transition: background-color var(--transition-base), color var(--transition-base);
}

::selection {
    background-color: var(--primary);
    color: var(--primary-foreground);
}

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

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-serif);
    font-weight: 600;
    line-height: 1.2;
    margin: 0 0 var(--space-md);
    color: var(--foreground);
}

h1 {
    font-size: clamp(2.25rem, 5vw, 4.5rem);
    font-weight: 700;
}

h2 {
    font-size: clamp(1.875rem, 4vw, 3rem);
}

h3 {
    font-size: clamp(1.5rem, 3vw, 2rem);
}

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

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

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

a:hover {
    color: var(--accent);
}

strong {
    font-weight: 600;
}

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

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

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

.section-title {
    text-align: center;
    margin-bottom: var(--space-xl);
    position: relative;
    color: var(--primary);
}

.section-title::after {
    content: '';
    display: block;
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--primary), transparent);
    margin: var(--space-md) auto 0;
}

.section-intro {
    max-width: 800px;
    margin: 0 auto var(--space-xl);
    text-align: center;
    font-size: 1.125rem;
    color: var(--muted-foreground);
}

.subsection-title {
    color: var(--accent);
    margin-top: var(--space-xl);
    margin-bottom: var(--space-md);
    max-width: 100%;
    min-width: 0;
    overflow-wrap: break-word;
    word-wrap: break-word;
    hyphens: auto;
}

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

.btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    font-family: var(--font-sans);
    font-size: 1rem;
    font-weight: 500;
    text-align: center;
    text-decoration: none;
    border: 2px solid transparent;
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: all var(--transition-base);
    min-height: 44px;
    line-height: 1.5;
}

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

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

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

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

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

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

.btn-large {
    padding: 1rem 2rem;
    font-size: 1.125rem;
}

.btn-small {
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
}

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

.header {
    position: sticky;
    top: 0;
    z-index: 100;
    background-color: rgba(250, 248, 245, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--primary);
    transition: all var(--transition-base);
}

[data-theme="dark"] .header {
    background-color: rgba(26, 20, 16, 0.95);
}

.header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: var(--space-sm);
    padding-bottom: var(--space-sm);
    gap: var(--space-md);
    position: relative;
}

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

.logo-link {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    text-decoration: none;
}

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

.logo-text {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary);
    display: none;
}

.nav {
    flex: 1;
    display: none;
}

.nav-list {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: var(--space-lg);
    justify-content: center;
}

.nav-link {
    font-family: var(--font-sans);
    font-size: 1rem;
    font-weight: 500;
    color: var(--foreground);
    text-decoration: none;
    transition: color var(--transition-fast);
    position: relative;
}

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

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

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

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

.btn-header {
    display: none;
}

.theme-toggle {
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    color: var(--foreground);
    transition: color var(--transition-fast);
    display: flex;
    align-items: center;
    justify-content: center;
}

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

.theme-icon {
    width: 20px;
    height: 20px;
}

.sun-icon {
    display: block;
}

.moon-icon {
    display: none;
}

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

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

.menu-toggle {
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    display: flex;
    flex-direction: column;
    gap: 4px;
    z-index: 101;
}

.hamburger,
.hamburger::before,
.hamburger::after {
    display: block;
    width: 24px;
    height: 2px;
    background-color: var(--foreground);
    transition: all var(--transition-base);
}

.hamburger::before,
.hamburger::after {
    content: '';
}

.menu-toggle[aria-expanded="true"] .hamburger {
    background-color: transparent;
}

.menu-toggle[aria-expanded="true"] .hamburger::before {
    transform: translateY(6px) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] .hamburger::after {
    transform: translateY(-6px) rotate(-45deg);
}

.age-badge {
    position: absolute;
    top: var(--space-xs);
    right: var(--container-padding);
    background-color: var(--destructive);
    color: var(--destructive-foreground);
    padding: 0.25rem 0.5rem;
    border-radius: var(--radius-sm);
    font-size: 0.75rem;
    font-weight: 700;
}

/* Mobile Menu */
@media (max-width: 767px) {
    .nav {
        display: block;
        position: fixed;
        top: 70px;
        left: 0;
        right: 0;
        background-color: var(--card);
        border-bottom: 1px solid var(--border);
        box-shadow: var(--shadow-lg);
        max-height: 0;
        overflow: hidden;
        transition: max-height var(--transition-base);
    }
    
    .nav.active {
        max-height: 400px;
    }
    
    .nav-list {
        flex-direction: column;
        gap: 0;
        padding: var(--space-md) 0;
    }
    
    .nav-list li {
        border-bottom: 1px solid var(--border);
    }
    
    .nav-list li:last-child {
        border-bottom: none;
    }
    
    .nav-link {
        display: block;
        padding: var(--space-md) var(--container-padding);
    }
}

/* Tablet and Desktop */
@media (min-width: 768px) {
    .logo-text {
        display: block;
    }
    
    .nav {
        display: block;
    }
    
    .menu-toggle {
        display: none;
    }
    
    .btn-header {
        display: inline-block;
    }
}

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

.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

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

.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 top, rgba(44, 24, 16, 0.8), rgba(44, 24, 16, 0.3));
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    color: var(--primary-foreground);
    padding: var(--space-xl) 0;
}

.hero-title {
    color: var(--primary-foreground);
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
    margin-bottom: var(--space-md);
    animation: fadeInUp 0.8s ease;
}

.hero-subtitle {
    font-size: clamp(1.125rem, 2vw, 1.5rem);
    font-weight: 400;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: var(--space-xl);
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    animation: fadeInUp 1s ease;
}

.hero-buttons {
    display: flex;
    gap: var(--space-md);
    justify-content: center;
    flex-wrap: wrap;
    animation: fadeInUp 1.2s ease;
}

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

.scroll-indicator svg {
    stroke: var(--primary-foreground);
    opacity: 0.7;
}

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

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

/* ============================================
   MODALS (Age Verification & Cookie Banner)
   ============================================ */

.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    z-index: 1000;
    align-items: center;
    justify-content: center;
    padding: var(--space-md);
}

.modal.active {
    display: flex;
}

.modal-content {
    background-color: var(--card);
    border-radius: var(--radius-lg);
    padding: var(--space-xl);
    max-width: 500px;
    width: 100%;
    box-shadow: var(--shadow-xl);
    animation: modalFadeIn 0.3s ease;
}

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

.age-icon {
    font-size: 4rem;
    margin-bottom: var(--space-md);
}

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

.age-subtitle {
    font-weight: 600;
    margin-top: var(--space-md);
}

.age-buttons {
    display: flex;
    gap: var(--space-md);
    margin-top: var(--space-xl);
    justify-content: center;
}

.cookie-banner {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: var(--card);
    border-top: 2px solid var(--primary);
    box-shadow: 0 -4px 12px rgba(0, 0, 0, 0.1);
    z-index: 999;
    padding: var(--space-md);
    animation: slideUp 0.3s ease;
}

.cookie-banner.active {
    display: block;
}

.cookie-content {
    max-width: var(--container-max);
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: var(--space-md);
    flex-wrap: wrap;
}

.cookie-content p {
    flex: 1;
    margin: 0;
    min-width: 250px;
}

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

@keyframes modalFadeIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes slideUp {
    from {
        transform: translateY(100%);
    }
    to {
        transform: translateY(0);
    }
}

/* ============================================
   CASINO SECTION
   ============================================ */

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

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

.feature-image {
    width: 100%;
    height: auto;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
}

.content-intro {
    font-size: 1.125rem;
    color: var(--muted-foreground);
    margin-bottom: var(--space-xl);
}

.feature-list {
    list-style: none;
    padding: 0;
    margin: var(--space-lg) 0;
}

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

.feature-list .icon {
    flex-shrink: 0;
    color: var(--primary);
    margin-top: 2px;
}

.highlight-box {
    background-color: var(--secondary);
    border-left: 4px solid var(--primary);
    padding: var(--space-md);
    margin: var(--space-xl) 0;
    border-radius: var(--radius-sm);
    display: flex;
    align-items: flex-start;
    gap: var(--space-md);
}

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

.trust-signals {
    display: flex;
    gap: var(--space-sm);
    margin: var(--space-xl) 0;
    flex-wrap: wrap;
}

.badge {
    background-color: var(--primary);
    color: var(--primary-foreground);
    padding: 0.5rem 1rem;
    border-radius: var(--radius-md);
    font-size: 0.875rem;
    font-weight: 600;
}

.seo-content {
    margin-top: var(--space-2xl);
    padding-top: var(--space-xl);
    border-top: 1px solid var(--border);
}

@media (min-width: 768px) {
    .two-column-layout {
        grid-template-columns: 1fr 1fr;
    }
}

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

.restaurant-section {
    background-color: var(--card);
}

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

.feature-card {
    background-color: var(--background);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: transform var(--transition-base), box-shadow var(--transition-base);
}

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

.feature-card img {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.card-content {
    padding: var(--space-lg);
}

.card-title {
    color: var(--primary);
    margin-bottom: var(--space-sm);
}

.content-block {
    margin: var(--space-2xl) 0;
    min-width: 0;
    max-width: 100%;
    overflow-wrap: break-word;
    word-wrap: break-word;
}

.content-block > * {
    min-width: 0;
    max-width: 100%;
}

.cta-block {
    display: flex;
    gap: var(--space-md);
    justify-content: center;
    margin-top: var(--space-2xl);
    flex-wrap: wrap;
}

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

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

/* ============================================
   CULTURE SECTION
   ============================================ */

.culture-section {
    background: linear-gradient(135deg, var(--background) 0%, var(--secondary) 100%);
}

.asymmetric-layout {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-xl);
    min-width: 0;
}

.asymmetric-layout > * {
    min-width: 0;
    max-width: 100%;
}

.large-column,
.small-column {
    min-width: 0;
    max-width: 100%;
    overflow-wrap: break-word;
    word-wrap: break-word;
}

.culture-image {
    width: 100%;
    height: auto;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-xl);
}

.quote-block {
    background-color: var(--card);
    padding: var(--space-xl);
    border-left: 4px solid var(--primary);
    border-radius: var(--radius-md);
    margin: var(--space-xl) 0;
    position: relative;
}

.quote-icon {
    color: var(--primary);
    opacity: 0.2;
    position: absolute;
    top: var(--space-md);
    left: var(--space-md);
}

.quote-block blockquote {
    margin: 0;
    font-family: var(--font-serif);
    font-size: 1.25rem;
    font-style: italic;
    color: var(--foreground);
    padding-left: var(--space-xl);
}

.event-calendar {
    background-color: var(--card);
    padding: var(--space-lg);
    border-radius: var(--radius-md);
    margin-top: var(--space-xl);
}

.event-calendar h4 {
    color: var(--primary);
    margin-bottom: var(--space-md);
}

.event-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.event-list li {
    padding: var(--space-sm) 0;
    border-bottom: 1px solid var(--border);
}

.event-list li:last-child {
    border-bottom: none;
}

@media (min-width: 768px) {
    .asymmetric-layout {
        grid-template-columns: minmax(0, 60%) minmax(0, 40%);
    }
}

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

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

.split-layout {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-2xl);
}

.map-wrapper {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    margin-bottom: var(--space-lg);
}

.map-wrapper iframe {
    width: 100%;
    height: 400px;
    border: none;
}

.address-block {
    display: flex;
    gap: var(--space-md);
    background-color: var(--card);
    padding: var(--space-lg);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
}

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

.address-block h3 {
    color: var(--primary);
    margin-bottom: var(--space-sm);
}

.opening-hours {
    background-color: var(--card);
    padding: var(--space-lg);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
    margin-bottom: var(--space-lg);
}

.opening-hours h3 {
    color: var(--primary);
    margin-bottom: var(--space-md);
}

.hours-table {
    width: 100%;
    border-collapse: collapse;
}

.hours-table td {
    padding: var(--space-sm) 0;
    border-bottom: 1px solid var(--border);
}

.hours-table tr:last-child td {
    border-bottom: none;
}

.hours-table td:last-child {
    text-align: right;
}

.hours-table .weekend {
    background-color: var(--secondary);
}

.contact-details {
    background-color: var(--card);
    padding: var(--space-lg);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
    margin-bottom: var(--space-lg);
}

.contact-details h3 {
    color: var(--primary);
    margin-bottom: var(--space-md);
}

.contact-item {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    margin-bottom: var(--space-sm);
}

.contact-item .icon {
    color: var(--primary);
}

.contact-form {
    background-color: var(--card);
    padding: var(--space-lg);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
}

.contact-form h3 {
    color: var(--primary);
    margin-bottom: var(--space-md);
}

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

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

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

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
}

.form-group input.error,
.form-group textarea.error {
    border-color: var(--destructive);
}

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

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

.faq-section {
    margin-top: var(--space-3xl);
}

.accordion {
    max-width: 900px;
    margin: var(--space-xl) auto 0;
}

.accordion-item {
    background-color: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    margin-bottom: var(--space-sm);
    overflow: hidden;
}

.accordion-header {
    width: 100%;
    padding: var(--space-md);
    background: none;
    border: none;
    text-align: left;
    font-family: var(--font-sans);
    font-size: 1rem;
    font-weight: 600;
    color: var(--foreground);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: var(--space-md);
    transition: background-color var(--transition-fast);
}

.accordion-header:hover {
    background-color: var(--secondary);
}

.accordion-icon {
    flex-shrink: 0;
    color: var(--primary);
    transition: transform var(--transition-base);
}

.accordion-header[aria-expanded="true"] .accordion-icon {
    transform: rotate(180deg);
}

.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height var(--transition-base);
}

.accordion-content p {
    padding: 0 var(--space-md) var(--space-md);
    margin: 0;
}

@media (min-width: 768px) {
    .split-layout {
        grid-template-columns: 1fr 1fr;
    }
}

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

.legal-section {
    background-color: var(--card);
}

.legal-container {
    max-width: 1100px;
}

.legal-intro {
    text-align: center;
    max-width: 800px;
    margin: 0 auto var(--space-2xl);
    font-size: 1.125rem;
    color: var(--muted-foreground);
}

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

.legal-card {
    background-color: var(--background);
    padding: var(--space-xl);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border);
}

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

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

.legal-card ul {
    margin: var(--space-md) 0;
    padding-left: var(--space-lg);
}

.legal-links {
    margin-top: var(--space-2xl);
    padding: var(--space-xl);
    background-color: var(--secondary);
    border-radius: var(--radius-md);
}

.link-list {
    list-style: none;
    padding: 0;
    margin: var(--space-md) 0 0;
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-sm);
}

.legal-link {
    display: inline-flex;
    align-items: center;
    padding: var(--space-sm);
    color: var(--primary);
    text-decoration: none;
    transition: color var(--transition-fast);
}

.legal-link:hover {
    color: var(--accent);
    text-decoration: underline;
}

.trust-badges {
    display: flex;
    justify-content: center;
    gap: var(--space-xl);
    margin-top: var(--space-2xl);
    flex-wrap: wrap;
}

.badge-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-xs);
    color: var(--muted-foreground);
}

.badge-item svg {
    color: var(--primary);
}

.badge-item span {
    font-size: 0.875rem;
    font-weight: 500;
}

.legal-seo {
    text-align: justify;
}

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

/* Legal Modals */
.legal-modal .modal-content {
    max-width: 800px;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
}

.modal-close {
    position: absolute;
    top: var(--space-md);
    right: var(--space-md);
    background: none;
    border: none;
    font-size: 2rem;
    color: var(--muted-foreground);
    cursor: pointer;
    line-height: 1;
    padding: 0;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color var(--transition-fast);
}

.modal-close:hover {
    color: var(--foreground);
}

.modal-body {
    padding-right: var(--space-xl);
}

.modal-body h2 {
    color: var(--primary);
    margin-bottom: var(--space-lg);
}

.modal-body h3 {
    color: var(--accent);
    margin-top: var(--space-xl);
    margin-bottom: var(--space-md);
}

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

.footer {
    background-color: var(--card);
    border-top: 2px solid var(--primary);
    padding: var(--space-3xl) 0 var(--space-xl);
}

.footer-cta {
    text-align: center;
    margin-bottom: var(--space-2xl);
    padding: var(--space-xl);
    background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
    border-radius: var(--radius-lg);
}

.footer-cta h3 {
    color: var(--primary-foreground);
    margin-bottom: var(--space-md);
}

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

.footer-column h4 {
    color: var(--primary);
    margin-bottom: var(--space-md);
    font-size: 1.125rem;
}

.footer-links,
.footer-contact {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li,
.footer-contact li {
    margin-bottom: var(--space-sm);
}

.footer-links a,
.footer-contact a {
    color: var(--foreground);
    text-decoration: none;
    transition: color var(--transition-fast);
}

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

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

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    background-color: var(--secondary);
    border-radius: 50%;
    color: var(--foreground);
    transition: all var(--transition-base);
}

.social-link:hover {
    background-color: var(--primary);
    color: var(--primary-foreground);
    transform: translateY(-2px);
}

.footer-divider {
    height: 1px;
    background-color: var(--border);
    margin: var(--space-xl) 0;
}

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

.copyright,
.agency {
    color: var(--muted-foreground);
    font-size: 0.875rem;
}

.age-badge-footer {
    background-color: var(--destructive);
    color: var(--destructive-foreground);
    padding: 0.5rem 1rem;
    border-radius: var(--radius-md);
    font-size: 1.25rem;
    font-weight: 700;
}

.payment-methods {
    margin-top: var(--space-xl);
    padding-top: var(--space-xl);
    border-top: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-md);
    flex-wrap: wrap;
}

.payment-label {
    font-weight: 600;
    color: var(--foreground);
}

.payment-icons {
    display: flex;
    gap: var(--space-sm);
    align-items: center;
}

.payment-icon {
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow-sm);
}

.payment-text {
    font-weight: 500;
    color: var(--muted-foreground);
}

.legal-disclaimer {
    margin-top: var(--space-xl);
    padding: var(--space-md);
    background-color: var(--secondary);
    border-radius: var(--radius-md);
    text-align: center;
}

.legal-disclaimer p {
    font-size: 0.875rem;
    color: var(--muted-foreground);
    margin: 0;
}

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

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

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

.icon {
    flex-shrink: 0;
}

.hidden {
    display: none !important;
}

.fade-in {
    opacity: 0;
    animation: fadeIn 0.6s ease forwards;
}

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

/* Scroll animations */
.scroll-reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.scroll-reveal.revealed {
    opacity: 1;
    transform: translateY(0);
}

/* ============================================
   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: 0;
}

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

@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,
    .hero-buttons,
    .cta-block,
    .btn,
    .modal,
    .cookie-banner,
    .theme-toggle,
    .menu-toggle {
        display: none !important;
    }
    
    body {
        background: white;
        color: black;
    }
    
    .section {
        page-break-inside: avoid;
    }
}