/* Lucky Haven - UK Casino Aggregator Styles */
/* Premium design system with gold, deep blue, emerald accents */

:root {
    /* Base colors - clean premium palette */
    --background: hsl(0, 0%, 99%);
    --foreground: hsl(220, 15%, 15%);
    
    /* Card system - elevated glassmorphism */
    --card: hsl(0, 0%, 100%);
    --card-foreground: hsl(220, 15%, 15%);
    --card-border: hsl(220, 13%, 91%);
    
    /* Primary - Deep Royal Blue */
    --primary: hsl(220, 91%, 25%);
    --primary-foreground: hsl(0, 0%, 100%);
    --primary-light: hsl(220, 91%, 35%);
    
    /* Secondary - Warm Premium Gold */
    --secondary: hsl(45, 90%, 55%);
    --secondary-foreground: hsl(220, 15%, 15%);
    --secondary-light: hsl(45, 90%, 65%);
    
    /* Accent - Emerald Trust */
    --accent: hsl(160, 84%, 39%);
    --accent-foreground: hsl(0, 0%, 100%);
    --accent-light: hsl(160, 84%, 49%);
    
    /* Muted tones */
    --muted: hsl(220, 13%, 95%);
    --muted-foreground: hsl(220, 9%, 46%);
    
    /* Destructive */
    --destructive: hsl(0, 75%, 60%);
    --destructive-foreground: hsl(0, 0%, 100%);
    
    /* Borders and inputs */
    --border: hsl(220, 13%, 91%);
    --input: hsl(220, 13%, 91%);
    --ring: hsl(220, 91%, 25%);
    
    --radius: 0.75rem;
    
    /* Premium gradients */
    --gradient-primary: linear-gradient(135deg, hsl(220, 91%, 25%), hsl(220, 91%, 35%));
    --gradient-secondary: linear-gradient(135deg, hsl(45, 90%, 55%), hsl(45, 90%, 65%));
    --gradient-accent: linear-gradient(135deg, hsl(160, 84%, 39%), hsl(160, 84%, 49%));
    --gradient-hero: linear-gradient(135deg, hsl(220, 91%, 25%), hsl(160, 84%, 39%));
    
    /* Premium shadows */
    --shadow-card: 0 4px 20px hsla(220, 91%, 25%, 0.08);
    --shadow-card-hover: 0 8px 30px hsla(220, 91%, 25%, 0.12);
    --shadow-premium: 0 10px 40px hsla(45, 90%, 55%, 0.15);
    
    /* Glassmorphism */
    --glass-bg: hsla(0, 0%, 100%, 0.8);
    --glass-border: hsla(220, 13%, 91%, 0.4);
    
    /* Typography */
    --font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, system-ui, sans-serif;
    
    /* Spacing */
    --container-padding: 1rem;
    --section-padding: 4rem 0;
}

/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-family);
    background-color: var(--background);
    color: var(--foreground);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.5rem;
    font-size: 0.875rem;
    font-weight: 500;
    line-height: 1;
    border-radius: var(--radius);
    border: 1px solid transparent;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.2s ease;
    white-space: nowrap;
}

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

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-card-hover);
}

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

.btn-accent {
    background: var(--gradient-accent);
    color: var(--accent-foreground);
    border: none;
}

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

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

.btn-outline-white {
    background: transparent;
    color: white;
    border-color: white;
}

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

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

.btn-white:hover {
    background: var(--muted);
}

.btn-sm {
    padding: 0.5rem 1rem;
    font-size: 0.75rem;
}

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

.btn-search {
    background: none;
    border: none;
    padding: 0.5rem;
    color: var(--muted-foreground);
    cursor: pointer;
    border-radius: var(--radius);
}

.btn-search:hover {
    background: var(--muted);
}

/* Age Gate */
.age-gate-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}

.age-gate-content {
    background: var(--card);
    border-radius: var(--radius);
    padding: 2rem;
    max-width: 500px;
    width: 100%;
    text-align: center;
    box-shadow: var(--shadow-premium);
}

.age-gate-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.age-gate-content h2 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--foreground);
}

.age-gate-content p {
    color: var(--muted-foreground);
    margin-bottom: 1.5rem;
}

.age-gate-notice {
    background: var(--muted);
    padding: 1rem;
    border-radius: var(--radius);
    margin: 1.5rem 0;
    text-align: left;
}

.age-gate-notice p:first-child {
    font-weight: 600;
    color: var(--foreground);
    margin-bottom: 0.5rem;
}

.age-gate-buttons {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin: 1.5rem 0;
}

@media (min-width: 640px) {
    .age-gate-buttons {
        flex-direction: row;
    }
}

.age-gate-small {
    font-size: 0.75rem;
    color: var(--muted-foreground);
}

/* Age Denial Page */
.age-denial-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    background: var(--background);
}

.age-denial-content {
    max-width: 500px;
    text-align: center;
}

.age-denial-icon {
    font-size: 4rem;
    margin-bottom: 1rem;
}

.age-denial-content h1 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--destructive);
}

.help-resources {
    margin-top: 2rem;
    padding: 1.5rem;
    background: var(--muted);
    border-radius: var(--radius);
}

.help-resources h2 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.help-contacts {
    text-align: left;
}

.help-contacts p {
    margin-bottom: 0.5rem;
    font-size: 0.875rem;
}

/* Header */
.header {
    background: var(--card);
    border-bottom: 1px solid var(--card-border);
    backdrop-filter: blur(10px);
}

.sticky-header {
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-main {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 4rem;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
    color: var(--foreground);
    transition: color 0.2s ease;
}

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

.logo-icon {
    font-size: 2rem;
    color: var(--secondary);
}

.logo-title {
    font-size: 1.25rem;
    font-weight: 700;
}

.logo-subtitle {
    font-size: 0.75rem;
    color: var(--muted-foreground);
    line-height: 1;
}

.nav-desktop {
    display: none;
    align-items: center;
    gap: 0.5rem;
}

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

.nav-link {
    padding: 0.5rem 1rem;
    color: var(--foreground);
    text-decoration: none;
    border-radius: var(--radius);
    transition: all 0.2s ease;
    font-weight: 500;
}

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

.header-actions {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.mobile-menu-toggle {
    display: block;
    background: none;
    border: none;
    padding: 0.5rem;
    font-size: 1.25rem;
    cursor: pointer;
    border-radius: var(--radius);
}

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

.mobile-menu-toggle:hover {
    background: var(--muted);
}

.compliance-bar {
    display: none;
    padding: 0.5rem 0;
    border-top: 1px solid var(--card-border);
}

@media (min-width: 640px) {
    .compliance-bar {
        display: block;
    }
}

.compliance-items {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    font-size: 0.75rem;
    color: var(--muted-foreground);
}

.compliance-items span {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

/* Mobile Menu */
.mobile-menu {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    width: 300px;
    background: var(--card);
    border-left: 1px solid var(--card-border);
    z-index: 2000;
    transform: translateX(100%);
    transition: transform 0.3s ease;
    overflow-y: auto;
}

@media (min-width: 640px) {
    .mobile-menu {
        width: 350px;
    }
}

.mobile-menu.active {
    transform: translateX(0);
}

.mobile-menu-content {
    padding: 1.5rem;
}

.mobile-menu-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 2rem;
}

.mobile-menu-close {
    background: none;
    border: none;
    padding: 0.5rem;
    font-size: 1.25rem;
    cursor: pointer;
    border-radius: var(--radius);
}

.mobile-menu-close:hover {
    background: var(--muted);
}

.mobile-nav {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    margin-bottom: 1.5rem;
}

.mobile-nav-link {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem;
    color: var(--foreground);
    text-decoration: none;
    border-radius: var(--radius);
    transition: background 0.2s ease;
}

.mobile-nav-link:hover {
    background: var(--muted);
}

.mobile-menu-separator {
    height: 1px;
    background: var(--border);
    margin: 1.5rem 0;
}

.mobile-menu-section-title {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--muted-foreground);
    padding: 0.5rem 0.75rem;
    margin-bottom: 0.25rem;
}

.mobile-nav-link-small {
    display: block;
    padding: 0.5rem 0.75rem;
    color: var(--muted-foreground);
    text-decoration: none;
    font-size: 0.75rem;
    border-radius: var(--radius);
    transition: background 0.2s ease;
}

.mobile-nav-link-small:hover {
    background: var(--muted);
}

/* Mobile Menu Overlay */
.mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1500;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

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

/* Hero Section */
.hero {
    position: relative;
    background: var(--gradient-hero);
    color: white;
    overflow: hidden;
    padding: 4rem 0 6rem;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.2);
}

.hero-content {
    position: relative;
    z-index: 1;
}

.hero-text {
    text-align: center;
    max-width: 1000px;
    margin: 0 auto;
}

.hero-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

@media (min-width: 768px) {
    .hero-title {
        font-size: 3rem;
    }
}

@media (min-width: 1024px) {
    .hero-title {
        font-size: 3.75rem;
    }
}

.hero-subtitle {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

@media (min-width: 768px) {
    .hero-subtitle {
        font-size: 1.5rem;
    }
}

.hero-buttons {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    justify-content: center;
    margin-bottom: 4rem;
}

@media (min-width: 640px) {
    .hero-buttons {
        flex-direction: row;
    }
}

.trust-features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin-top: 4rem;
}

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

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

.trust-icon {
    font-size: 2rem;
    margin-bottom: 0.75rem;
    color: var(--secondary);
}

.trust-feature h3 {
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.trust-feature p {
    font-size: 0.875rem;
    opacity: 0.8;
}

/* Sections */
.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-header h2 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--foreground);
}

@media (min-width: 768px) {
    .section-header h2 {
        font-size: 2.25rem;
    }
}

.section-header p {
    color: var(--muted-foreground);
    max-width: 600px;
    margin: 0 auto;
}

.section-cta {
    text-align: center;
    margin-top: 2rem;
}

/* Top Casinos Section */
.top-casinos {
    padding: var(--section-padding);
}

.casino-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-bottom: 2rem;
}

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

.casino-card {
    background: var(--card);
    border: 1px solid var(--card-border);
    border-radius: var(--radius);
    padding: 1.5rem;
    box-shadow: var(--shadow-card);
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.casino-card:hover {
    box-shadow: var(--shadow-card-hover);
    transform: translateY(-2px);
}

.casino-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1rem;
}

.casino-badge {
    background: var(--gradient-secondary);
    color: var(--secondary-foreground);
    padding: 0.25rem 0.75rem;
    border-radius: 1rem;
    font-size: 0.75rem;
    font-weight: 600;
}

.casino-rating {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.star {
    color: var(--secondary);
}

.rating-value {
    font-weight: 600;
}

.casino-info {
    text-align: center;
    margin-bottom: 1.5rem;
}

.casino-logo {
    width: 4rem;
    height: 4rem;
    margin: 0 auto 1rem;
    background: var(--muted);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary);
}

.casino-name {
    font-size: 1.125rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.casino-summary {
    font-size: 0.875rem;
    color: var(--muted-foreground);
    margin-bottom: 0.75rem;
}

.casino-license {
    font-size: 0.75rem;
    color: var(--muted-foreground);
}

.casino-offer {
    background: rgba(160, 191, 95, 0.1);
    border-radius: var(--radius);
    padding: 1rem;
    margin-bottom: 1rem;
    text-align: center;
}

.casino-offer h4 {
    font-weight: 600;
    color: var(--accent);
    margin-bottom: 0.5rem;
}

.offer-description {
    font-size: 0.75rem;
    color: var(--muted-foreground);
    margin-bottom: 0.5rem;
}

.offer-terms {
    font-size: 0.75rem;
    font-weight: 500;
}

.casino-features {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
    font-size: 0.875rem;
}

.feature {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.feature-icon {
    color: var(--accent);
}

.casino-actions {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.casino-disclaimer {
    font-size: 0.75rem;
    text-align: center;
    color: var(--muted-foreground);
    margin-top: 0.75rem;
}

/* Why Licensed Section */
.why-licensed {
    padding: var(--section-padding);
    background: rgba(220, 220, 220, 0.3);
}

.benefits-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-bottom: 3rem;
}

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

.benefit {
    text-align: center;
}

.benefit-icon {
    width: 4rem;
    height: 4rem;
    margin: 0 auto 1rem;
    background: rgba(56, 93, 166, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: var(--primary);
}

.benefit h3 {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.benefit p {
    color: var(--muted-foreground);
}

.ideal-casino-card {
    background: var(--card);
    border-radius: var(--radius);
    padding: 2rem;
    text-align: center;
    border: 1px solid var(--card-border);
}

.ideal-casino-card h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--foreground);
}

.ideal-casino-card p {
    color: var(--muted-foreground);
    margin-bottom: 1.5rem;
}

.card-actions {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    justify-content: center;
}

@media (min-width: 640px) {
    .card-actions {
        flex-direction: row;
    }
}

/* Responsible Gaming CTA */
.responsible-gaming-cta {
    padding: var(--section-padding);
    background: var(--gradient-primary);
    color: white;
    position: relative;
    overflow: hidden;
    text-align: center;
}

.rg-content {
    position: relative;
    z-index: 1;
}

.rg-icon {
    width: 5rem;
    height: 5rem;
    margin: 0 auto 1.5rem;
    background: var(--secondary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    color: var(--foreground);
}

.rg-content h2 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.rg-content p {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    opacity: 0.9;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Footer */
.footer {
    margin-top: 4rem;
}

.rg-trust-strip {
    background: var(--primary);
    color: white;
    padding: 2rem 0;
}

.rg-header {
    text-align: center;
    margin-bottom: 1.5rem;
}

.rg-header h2 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.rg-header p {
    opacity: 0.8;
    font-size: 0.875rem;
}

.rg-organizations {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    margin-bottom: 1.5rem;
}

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

.rg-org {
    display: block;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: var(--radius);
    padding: 1rem;
    text-align: center;
    text-decoration: none;
    color: white;
    transition: background 0.2s ease;
}

.rg-org:hover {
    background: rgba(255, 255, 255, 0.2);
}

.org-name {
    font-weight: 600;
    font-size: 0.875rem;
    margin-bottom: 0.25rem;
}

.org-phone {
    font-size: 0.75rem;
    opacity: 0.8;
}

.org-link {
    margin-top: 0.5rem;
    opacity: 0.6;
}

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

.rg-title {
    font-size: 1.125rem;
    font-weight: 700;
}

.rg-subtitle {
    font-size: 0.875rem;
    opacity: 0.8;
    margin-top: 0.25rem;
}

.footer-main {
    background: var(--card);
    border-top: 1px solid var(--card-border);
    padding: 3rem 0;
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-bottom: 2rem;
}

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

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

.footer-brand {
    margin-bottom: 1rem;
}

.brand-description {
    font-size: 0.875rem;
    color: var(--muted-foreground);
    margin: 1rem 0;
    max-width: 400px;
}

.contact-info {
    margin-top: 1rem;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
    font-size: 0.875rem;
    color: var(--muted-foreground);
}

.contact-item a {
    color: var(--muted-foreground);
    text-decoration: none;
    transition: color 0.2s ease;
}

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

.contact-icon {
    margin-top: 0.125rem;
}

.footer-nav {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.footer-nav-section h3 {
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--foreground);
}

.footer-nav-section ul {
    list-style: none;
}

.footer-nav-section li {
    margin-bottom: 0.5rem;
}

.footer-nav-section a {
    font-size: 0.875rem;
    color: var(--muted-foreground);
    text-decoration: none;
    transition: color 0.2s ease;
}

.footer-nav-section a:hover {
    color: var(--primary);
}

.footer-separator {
    height: 1px;
    background: var(--border);
    margin: 2rem 0;
}

.footer-bottom {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: center;
}

@media (min-width: 1024px) {
    .footer-bottom {
        flex-direction: row;
        justify-content: space-between;
    }
}

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

@media (min-width: 1024px) {
    .footer-copyright {
        text-align: left;
    }
}

.footer-copyright p {
    font-size: 0.875rem;
    color: var(--muted-foreground);
    margin-bottom: 0.5rem;
}

.affiliate-disclosure {
    font-size: 0.75rem !important;
}

.footer-social {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 0.875rem;
    color: var(--muted-foreground);
}

.social-links {
    display: flex;
    gap: 0.5rem;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2rem;
    height: 2rem;
    background: var(--muted);
    border-radius: var(--radius);
    text-decoration: none;
    font-size: 1rem;
    transition: all 0.2s ease;
}

.social-links a:hover {
    background: var(--primary);
    color: white;
    transform: translateY(-2px);
}

.footer-compliance {
    margin-top: 2rem;
    padding: 1rem;
    background: var(--muted);
    border-radius: var(--radius);
}

.footer-compliance p {
    font-size: 0.75rem;
    text-align: center;
    color: var(--muted-foreground);
}

/* Cookie Banner */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: var(--card);
    border-top: 1px solid var(--card-border);
    box-shadow: var(--shadow-card);
}

.cookie-content {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: flex-start;
    padding: 1rem 0;
}

@media (min-width: 640px) {
    .cookie-content {
        flex-direction: row;
        align-items: center;
    }
}

.cookie-info {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    flex: 1;
}

.cookie-icon {
    font-size: 1.5rem;
    color: var(--secondary);
    flex-shrink: 0;
    margin-top: 0.25rem;
}

.cookie-text h3 {
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--foreground);
}

.cookie-text p {
    font-size: 0.875rem;
    color: var(--muted-foreground);
}

.cookie-text a {
    color: var(--primary);
    text-decoration: none;
}

.cookie-text a:hover {
    text-decoration: underline;
}

.cookie-actions {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    flex-shrink: 0;
}

@media (min-width: 640px) {
    .cookie-actions {
        flex-direction: row;
    }
}

/* Cookie Modal */
.cookie-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 2000;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}

.cookie-modal-content {
    background: var(--card);
    border-radius: var(--radius);
    width: 100%;
    max-width: 600px;
    max-height: 80vh;
    overflow-y: auto;
}

.cookie-modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.5rem;
    border-bottom: 1px solid var(--border);
}

.cookie-modal-title {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.cookie-modal-title h2 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--foreground);
}

.modal-close {
    background: none;
    border: none;
    padding: 0.5rem;
    font-size: 1.25rem;
    cursor: pointer;
    border-radius: var(--radius);
}

.modal-close:hover {
    background: var(--muted);
}

.cookie-modal-body {
    padding: 1.5rem;
}

.cookie-modal-body > p {
    font-size: 0.875rem;
    color: var(--muted-foreground);
    margin-bottom: 1.5rem;
}

.cookie-preferences {
    margin-bottom: 1.5rem;
}

.cookie-preference {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 0;
}

.cookie-preference:not(:last-child) {
    border-bottom: 1px solid var(--border);
}

.preference-info {
    flex: 1;
    margin-right: 1rem;
}

.preference-info h4 {
    font-weight: 600;
    color: var(--foreground);
    margin-bottom: 0.25rem;
}

.preference-info p {
    font-size: 0.875rem;
    color: var(--muted-foreground);
}

.preference-toggle {
    flex-shrink: 0;
}

/* Toggle Switch */
.preference-toggle input[type="checkbox"] {
    display: none;
}

.toggle-label {
    display: block;
    width: 3rem;
    height: 1.5rem;
    background: var(--border);
    border-radius: 0.75rem;
    cursor: pointer;
    position: relative;
    transition: background 0.2s ease;
}

.toggle-label::after {
    content: '';
    position: absolute;
    top: 0.125rem;
    left: 0.125rem;
    width: 1.25rem;
    height: 1.25rem;
    background: white;
    border-radius: 50%;
    transition: transform 0.2s ease;
}

input[type="checkbox"]:checked + .toggle-label {
    background: var(--primary);
}

input[type="checkbox"]:checked + .toggle-label::after {
    transform: translateX(1.5rem);
}

input[type="checkbox"]:disabled + .toggle-label {
    opacity: 0.5;
    cursor: not-allowed;
}

.cookie-modal-actions {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

@media (min-width: 640px) {
    .cookie-modal-actions {
        flex-direction: row;
    }
}

.cookie-policy-link {
    text-align: center;
    padding-top: 0.5rem;
}

.cookie-policy-link a {
    font-size: 0.875rem;
    color: var(--primary);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
}

.cookie-policy-link a:hover {
    text-decoration: underline;
}

/* Utility Classes */
.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;
}

.fade-in {
    animation: fadeIn 0.3s ease-out;
}

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

.slide-in {
    animation: slideIn 0.3s ease-out;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateX(20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Responsive Utilities */
@media (max-width: 767px) {
    .hidden-mobile {
        display: none !important;
    }
}

@media (min-width: 768px) {
    .hidden-desktop {
        display: none !important;
    }
}