/* ========================================
   WELLNESS BAR - CHALKBOARD PREMIUM DESIGN
   Theme: Dark Chalkboard + Neon Chalk Art
   Inspired by artisan smoothie boards
   ======================================== */

/* ========================================
   CSS CUSTOM PROPERTIES
   ======================================== */
:root {
    /* Chalkboard Base */
    --chalk-bg: #1a1a2e;
    --chalk-bg-light: #1f1f38;
    --chalk-surface: #242445;
    --chalk-card: #2a2a4a;
    --chalk-card-hover: #32325a;
    --chalk-border: rgba(255, 255, 255, 0.08);
    
    /* Chalk Text */
    --chalk-white: #f0ece3;
    --chalk-white-soft: rgba(240, 236, 227, 0.85);
    --chalk-white-dim: rgba(240, 236, 227, 0.5);
    
    /* Neon Chalk Colors */
    --neon-green: #7dff8a;
    --neon-green-glow: rgba(125, 255, 138, 0.3);
    --neon-pink: #ff6b9d;
    --neon-pink-glow: rgba(255, 107, 157, 0.3);
    --neon-yellow: #ffd93d;
    --neon-yellow-glow: rgba(255, 217, 61, 0.3);
    --neon-purple: #c77dff;
    --neon-purple-glow: rgba(199, 125, 255, 0.3);
    --neon-orange: #ff9a56;
    --neon-orange-glow: rgba(255, 154, 86, 0.3);
    --neon-blue: #72ddf7;
    --neon-blue-glow: rgba(114, 221, 247, 0.3);
    --neon-coral: #ff7eb3;
    --neon-brown: #d4a574;
    
    /* Functional */
    --success-green: #25d366;
    --danger-red: #ff4757;
    
    /* Gradients */
    --gradient-green: linear-gradient(135deg, #7dff8a 0%, #4ecdc4 100%);
    --gradient-pink: linear-gradient(135deg, #ff6b9d 0%, #ff9a9e 100%);
    --gradient-purple: linear-gradient(135deg, #c77dff 0%, #9b59b6 100%);
    --gradient-orange: linear-gradient(135deg, #ff9a56 0%, #ffd93d 100%);
    --gradient-dark: linear-gradient(180deg, #1a1a2e 0%, #16213e 100%);
    
    /* Shadows */
    --glow-green: 0 0 20px rgba(125, 255, 138, 0.2), 0 0 40px rgba(125, 255, 138, 0.1);
    --glow-pink: 0 0 20px rgba(255, 107, 157, 0.2), 0 0 40px rgba(255, 107, 157, 0.1);
    --glow-purple: 0 0 20px rgba(199, 125, 255, 0.2), 0 0 40px rgba(199, 125, 255, 0.1);
    --glow-orange: 0 0 20px rgba(255, 154, 86, 0.2), 0 0 40px rgba(255, 154, 86, 0.1);
    
    /* Category Colors */
    --detox-color: var(--neon-green);
    --detox-glow: var(--neon-green-glow);
    --bowls-color: var(--neon-purple);
    --bowls-glow: var(--neon-purple-glow);
    --smoothie-color: var(--neon-orange);
    --smoothie-glow: var(--neon-orange-glow);
    
    /* Product Colors */
    --verde-detox-color: var(--neon-green);
    --antioxidante-berry-color: var(--neon-pink);
    --bowl-acai-color: var(--neon-purple);
    --bowl-tropical-color: var(--neon-blue);
    --cacao-power-color: var(--neon-brown);
    --sol-tropical-color: var(--neon-yellow);
    
    /* Spacing */
    --space-xs: 4px;
    --space-sm: 8px;
    --space-md: 16px;
    --space-lg: 24px;
    --space-xl: 32px;
    --space-2xl: 48px;
    
    /* Border Radius */
    --radius-sm: 8px;
    --radius-md: 14px;
    --radius-lg: 20px;
    --radius-xl: 28px;
}

/* ========================================
   RESET & BASE
   ======================================== */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

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

body {
    font-family: 'Inter', sans-serif;
    background: var(--chalk-bg);
    color: var(--chalk-white);
    min-height: 100vh;
    padding-bottom: 100px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
    position: relative;
}

/* Chalkboard texture overlay */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(ellipse at 20% 50%, rgba(125, 255, 138, 0.03) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 20%, rgba(199, 125, 255, 0.03) 0%, transparent 50%),
        radial-gradient(ellipse at 50% 80%, rgba(255, 107, 157, 0.03) 0%, transparent 50%);
    pointer-events: none;
    z-index: 0;
}

/* Chalk dust texture simulation */
body::after {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(circle at 15% 25%, rgba(255,255,255,0.015) 1px, transparent 1px),
        radial-gradient(circle at 75% 45%, rgba(255,255,255,0.01) 1px, transparent 1px),
        radial-gradient(circle at 45% 75%, rgba(255,255,255,0.012) 1px, transparent 1px),
        radial-gradient(circle at 85% 85%, rgba(255,255,255,0.008) 1px, transparent 1px);
    background-size: 200px 200px, 150px 150px, 180px 180px, 220px 220px;
    pointer-events: none;
    z-index: 0;
}

/* ========================================
   CHALK PARTICLES (Floating)
   ======================================== */
.chalk-particles {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}

/* ========================================
   HEADER
   ======================================== */
.app-header {
    background: linear-gradient(180deg, rgba(26, 26, 46, 0.98) 0%, rgba(42, 42, 74, 0.95) 100%);
    backdrop-filter: blur(20px);
    padding: 20px 20px 12px;
    position: relative;
    z-index: 100;
    border-bottom: 1px solid var(--chalk-border);
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    max-width: 600px;
    margin: 0 auto;
}

.logo-section {
    display: flex;
    align-items: center;
    gap: 14px;
}

.logo-icon {
    width: 52px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.leaf-svg {
    width: 42px;
    height: 42px;
    color: var(--neon-green);
    filter: drop-shadow(0 0 8px rgba(125, 255, 138, 0.4));
    animation: leafFloat 4s ease-in-out infinite;
}

@keyframes leafFloat {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-3px) rotate(3deg); }
}

.logo-text {
    text-align: left;
}

.logo-text h1 {
    font-family: 'Permanent Marker', cursive;
    font-size: 1.8rem;
    font-weight: 400;
    color: var(--chalk-white);
    letter-spacing: 0.04em;
    text-shadow: 0 0 20px rgba(240, 236, 227, 0.15);
    line-height: 1.1;
}

.logo-text .tagline {
    font-family: 'Caveat', cursive;
    font-size: 1.15rem;
    color: var(--neon-yellow);
    letter-spacing: 0.15em;
    text-transform: uppercase;
    text-shadow: 0 0 15px rgba(255, 217, 61, 0.3);
}

.order-counter {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    padding: 8px 14px;
    border-radius: var(--radius-md);
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.08);
    position: relative;
}

.order-counter::before {
    content: '';
    position: absolute;
    inset: -1px;
    border-radius: var(--radius-md);
    background: linear-gradient(135deg, rgba(125, 255, 138, 0.15), transparent, rgba(199, 125, 255, 0.15));
    z-index: -1;
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask-composite: exclude;
    -webkit-mask-composite: xor;
    padding: 1px;
}

.counter-label {
    display: block;
    font-family: 'Caveat', cursive;
    font-size: 0.9rem;
    color: var(--chalk-white-dim);
    letter-spacing: 0.1em;
}

.counter-number {
    display: block;
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--neon-green);
    font-family: 'Courier New', monospace;
    text-shadow: 0 0 10px var(--neon-green-glow);
}

.header-divider {
    max-width: 600px;
    margin: 12px auto 0;
}

.chalk-divider svg {
    width: 100%;
    height: 12px;
}

/* ========================================
   MENU CONTAINER
   ======================================== */
.menu-container {
    padding: 20px 15px;
    max-width: 600px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

/* Menu Top Decoration */
.menu-top-decoration {
    text-align: center;
    margin-bottom: var(--space-xl);
}

.chalk-banner {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-family: 'Amatic SC', cursive;
    font-size: 2.4rem;
    font-weight: 700;
    color: var(--chalk-white);
    letter-spacing: 0.2em;
    text-shadow: 0 0 15px rgba(240, 236, 227, 0.1);
}

.star-doodle {
    width: 22px;
    height: 22px;
    color: var(--neon-yellow);
    opacity: 0.8;
    animation: starTwinkle 3s ease-in-out infinite;
}

.star-doodle.right {
    animation-delay: 1.5s;
}

@keyframes starTwinkle {
    0%, 100% { opacity: 0.5; transform: scale(1) rotate(0deg); }
    50% { opacity: 1; transform: scale(1.15) rotate(15deg); }
}

/* Section Separator */
.section-separator {
    margin: var(--space-sm) 0;
    padding: 0 var(--space-lg);
}

.section-separator svg {
    width: 100%;
    height: 20px;
}

/* ========================================
   MENU CATEGORIES
   ======================================== */
.menu-category {
    margin-bottom: var(--space-lg);
    position: relative;
}

.category-header {
    text-align: center;
    padding: var(--space-lg) var(--space-md);
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
}

.category-chalk-decoration {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.category-chalk-decoration.flipped {
    transform: scaleX(-1);
}

.chalk-leaf,
.chalk-swirl,
.chalk-bolt {
    width: 28px;
    height: 28px;
}

.category-header.detox .category-chalk-decoration { color: var(--detox-color); }
.category-header.bowls .category-chalk-decoration { color: var(--bowls-color); }
.category-header.smoothies .category-chalk-decoration { color: var(--smoothie-color); }

.category-header h2 {
    font-family: 'Permanent Marker', cursive;
    font-size: 1.75rem;
    font-weight: 400;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    position: relative;
}

.category-header.detox h2 {
    color: var(--neon-green);
    text-shadow: 0 0 25px var(--neon-green-glow), 0 0 50px rgba(125, 255, 138, 0.1);
}

.category-header.bowls h2 {
    color: var(--neon-purple);
    text-shadow: 0 0 25px var(--neon-purple-glow), 0 0 50px rgba(199, 125, 255, 0.1);
}

.category-header.smoothies h2 {
    color: var(--neon-orange);
    text-shadow: 0 0 25px var(--neon-orange-glow), 0 0 50px rgba(255, 154, 86, 0.1);
}

.chalk-underline {
    width: 100%;
    flex-basis: 100%;
    margin-top: -8px;
    padding: 0 20%;
}

.chalk-underline svg {
    width: 100%;
    height: 8px;
}

.category-header.detox .chalk-underline { color: var(--neon-green); }
.category-header.bowls .chalk-underline { color: var(--neon-purple); }
.category-header.smoothies .chalk-underline { color: var(--neon-orange); }

/* ========================================
   MENU ITEMS
   ======================================== */
.menu-items {
    padding: 0 var(--space-sm);
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
}

.menu-item {
    background: var(--chalk-card);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid var(--chalk-border);
    position: relative;
    display: flex;
    gap: var(--space-md);
    padding: var(--space-md);
    cursor: pointer;
}

/* Subtle glow line at top of card */
.menu-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 20%;
    right: 20%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.15), transparent);
    transition: all 0.4s ease;
}

.menu-item:hover {
    transform: translateY(-4px);
    background: var(--chalk-card-hover);
    border-color: rgba(255, 255, 255, 0.12);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3), 0 0 30px rgba(125, 255, 138, 0.05);
}

.menu-item:hover::before {
    left: 10%;
    right: 10%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.25), transparent);
}

.menu-item.selected {
    border-color: var(--neon-green);
    box-shadow: var(--glow-green), inset 0 0 30px rgba(125, 255, 138, 0.03);
}

.menu-item.selected::before {
    left: 5%;
    right: 5%;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--neon-green), transparent);
}

.menu-item.added {
    animation: chalkPulse 0.3s ease;
}

@keyframes chalkPulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.015); }
}

/* ========================================
   ITEM IMAGE - Chalk Art Style
   ======================================== */
.item-image {
    width: 88px;
    height: 88px;
    border-radius: var(--radius-md);
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
}

.chalk-glass {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.chalk-glass svg {
    width: 55px;
    height: 55px;
    transition: all 0.4s ease;
}

.menu-item:hover .chalk-glass svg {
    transform: scale(1.1);
}

/* Product-specific chalk art colors */
.item-image.verde-detox {
    background: radial-gradient(circle at center, rgba(125, 255, 138, 0.1) 0%, rgba(125, 255, 138, 0.02) 70%);
    border-color: rgba(125, 255, 138, 0.15);
}
.item-image.verde-detox .chalk-glass { color: var(--neon-green); }
.item-image.verde-detox svg { filter: drop-shadow(0 0 6px rgba(125, 255, 138, 0.4)); }

.item-image.antioxidante-berry {
    background: radial-gradient(circle at center, rgba(255, 107, 157, 0.1) 0%, rgba(255, 107, 157, 0.02) 70%);
    border-color: rgba(255, 107, 157, 0.15);
}
.item-image.antioxidante-berry .chalk-glass { color: var(--neon-pink); }
.item-image.antioxidante-berry svg { filter: drop-shadow(0 0 6px rgba(255, 107, 157, 0.4)); }

.item-image.bowl-acai {
    background: radial-gradient(circle at center, rgba(199, 125, 255, 0.1) 0%, rgba(199, 125, 255, 0.02) 70%);
    border-color: rgba(199, 125, 255, 0.15);
}
.item-image.bowl-acai .chalk-glass { color: var(--neon-purple); }
.item-image.bowl-acai svg { filter: drop-shadow(0 0 6px rgba(199, 125, 255, 0.4)); }

.item-image.bowl-tropical {
    background: radial-gradient(circle at center, rgba(114, 221, 247, 0.1) 0%, rgba(114, 221, 247, 0.02) 70%);
    border-color: rgba(114, 221, 247, 0.15);
}
.item-image.bowl-tropical .chalk-glass { color: var(--neon-blue); }
.item-image.bowl-tropical svg { filter: drop-shadow(0 0 6px rgba(114, 221, 247, 0.4)); }

.item-image.cacao-power {
    background: radial-gradient(circle at center, rgba(212, 165, 116, 0.12) 0%, rgba(212, 165, 116, 0.02) 70%);
    border-color: rgba(212, 165, 116, 0.15);
}
.item-image.cacao-power .chalk-glass { color: var(--neon-brown); }
.item-image.cacao-power svg { filter: drop-shadow(0 0 6px rgba(212, 165, 116, 0.4)); }

.item-image.sol-tropical {
    background: radial-gradient(circle at center, rgba(255, 217, 61, 0.1) 0%, rgba(255, 217, 61, 0.02) 70%);
    border-color: rgba(255, 217, 61, 0.15);
}
.item-image.sol-tropical .chalk-glass { color: var(--neon-yellow); }
.item-image.sol-tropical svg { filter: drop-shadow(0 0 6px rgba(255, 217, 61, 0.4)); }

/* ========================================
   ITEM INFO
   ======================================== */
.item-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.item-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 6px;
    gap: 8px;
}

.item-header h3 {
    font-family: 'Caveat', cursive;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--chalk-white);
    letter-spacing: 0.02em;
    line-height: 1.2;
}

.item-price {
    font-family: 'Permanent Marker', cursive;
    font-size: 1.55rem;
    font-weight: 400;
    color: var(--neon-yellow);
    text-shadow: 0 0 12px rgba(255, 217, 61, 0.3);
    white-space: nowrap;
}

.item-description {
    font-family: 'Inter', sans-serif;
    font-size: 0.95rem;
    color: var(--chalk-white-dim);
    line-height: 1.5;
    margin-bottom: 10px;
    flex-grow: 1;
    letter-spacing: 0.01em;
}

/* Item Tags */
.item-tags {
    display: flex;
    gap: 6px;
    margin-bottom: 10px;
    flex-wrap: wrap;
}

.tag {
    font-family: 'Caveat', cursive;
    font-size: 0.95rem;
    padding: 2px 10px;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--chalk-white-soft);
    display: inline-flex;
    align-items: center;
    gap: 4px;
    letter-spacing: 0.03em;
}

.tag i {
    font-size: 0.75rem;
    opacity: 0.7;
}

/* ========================================
   QUANTITY CONTROLS
   ======================================== */
.item-actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 6px;
    background: rgba(255, 255, 255, 0.04);
    padding: 4px 6px;
    border-radius: 30px;
    width: fit-content;
    margin-left: auto;
    border: 1px solid rgba(255, 255, 255, 0.06);
}

.btn-subtract,
.btn-add {
    width: 34px;
    height: 34px;
    border: none;
    border-radius: 50%;
    font-size: 0.85rem;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.btn-subtract {
    background: rgba(255, 255, 255, 0.06);
    color: var(--chalk-white-soft);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.btn-subtract:hover {
    background: rgba(255, 71, 87, 0.2);
    color: var(--danger-red);
    border-color: rgba(255, 71, 87, 0.3);
    transform: scale(1.1);
}

.btn-add {
    background: var(--neon-green);
    color: #1a1a2e;
    border: none;
    box-shadow: 0 2px 10px rgba(125, 255, 138, 0.3);
}

.btn-add:hover {
    background: #6aef78;
    transform: scale(1.1);
    box-shadow: 0 4px 20px rgba(125, 255, 138, 0.4);
}

.btn-add:active,
.btn-subtract:active {
    transform: scale(0.95);
}

.item-quantity {
    font-family: 'Permanent Marker', cursive;
    font-weight: 400;
    font-size: 1.3rem;
    min-width: 28px;
    text-align: center;
    color: var(--chalk-white);
}

/* ========================================
   ORDER BAR
   ======================================== */
.order-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(180deg, rgba(42, 42, 74, 0.98) 0%, rgba(26, 26, 46, 1) 100%);
    backdrop-filter: blur(20px);
    padding: 16px 20px;
    padding-bottom: calc(16px + env(safe-area-inset-bottom));
    transform: translateY(100%);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 200;
    border-top: 1px solid var(--chalk-border);
    cursor: pointer;
}

/* Neon glow line on top */
.order-bar::before {
    content: '';
    position: absolute;
    top: 0;
    left: 10%;
    right: 10%;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--neon-green), transparent);
    box-shadow: 0 0 10px var(--neon-green-glow);
}

.order-bar.visible {
    transform: translateY(0);
}

.order-bar-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 600px;
    margin: 0 auto;
}

.order-bar-left {
    display: flex;
    align-items: center;
    gap: 12px;
}

.order-items-count {
    width: 38px;
    height: 38px;
    background: var(--neon-green);
    color: #1a1a2e;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.1rem;
    box-shadow: 0 0 15px var(--neon-green-glow);
}

.order-bar-text {
    font-family: 'Caveat', cursive;
    font-size: 1.25rem;
    color: var(--chalk-white-soft);
    font-weight: 500;
}

.order-bar-right {
    display: flex;
    align-items: center;
    gap: 10px;
}

.order-total {
    font-family: 'Permanent Marker', cursive;
    font-size: 1.7rem;
    color: var(--neon-yellow);
    text-shadow: 0 0 15px rgba(255, 217, 61, 0.3);
}

.order-bar-right i {
    color: var(--chalk-white-soft);
    font-size: 0.9rem;
}

/* ========================================
   FOOTER
   ======================================== */
.app-footer {
    background: linear-gradient(180deg, var(--chalk-surface) 0%, var(--chalk-bg) 100%);
    padding: 35px 20px;
    margin-top: 20px;
    border-top: 1px solid var(--chalk-border);
    position: relative;
    z-index: 1;
}

.footer-chalk-border {
    position: absolute;
    top: -6px;
    left: 0;
    right: 0;
}

.footer-chalk-border svg {
    width: 100%;
    height: 12px;
}

.footer-contact {
    max-width: 600px;
    margin: 0 auto 22px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    align-items: center;
}

.footer-contact-item {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-family: 'Caveat', cursive;
    font-size: 1.25rem;
    color: var(--chalk-white-dim);
}

.footer-contact-item i {
    color: var(--neon-green);
    width: 20px;
    text-align: center;
    filter: drop-shadow(0 0 4px var(--neon-green-glow));
}

.footer-hours {
    font-weight: 600;
    color: var(--neon-green) !important;
    text-shadow: 0 0 10px var(--neon-green-glow);
}

.social-media {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin-bottom: 18px;
}

.social-link {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    text-decoration: none;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.04);
    color: var(--chalk-white-soft);
}

.social-link.instagram:hover {
    background: linear-gradient(135deg, #833AB4, #FD1D1D, #F77737);
    border-color: transparent;
    color: #fff;
    box-shadow: 0 0 25px rgba(253, 29, 29, 0.3);
    transform: translateY(-4px) scale(1.05);
}

.social-link.facebook:hover {
    background: #4267B2;
    border-color: transparent;
    color: #fff;
    box-shadow: 0 0 25px rgba(66, 103, 178, 0.3);
    transform: translateY(-4px) scale(1.05);
}

.social-link.whatsapp:hover {
    background: #25D366;
    border-color: transparent;
    color: #fff;
    box-shadow: 0 0 25px rgba(37, 211, 102, 0.3);
    transform: translateY(-4px) scale(1.05);
}

.footer-handle {
    text-align: center;
    font-family: 'Caveat', cursive;
    font-size: 1.3rem;
    color: var(--neon-yellow);
    font-weight: 600;
    margin-bottom: 8px;
    text-shadow: 0 0 10px rgba(255, 217, 61, 0.2);
}

.footer-copyright {
    text-align: center;
    font-size: 0.9rem;
    color: var(--chalk-white-dim);
    margin-bottom: 18px;
    letter-spacing: 0.05em;
}

.admin-panel-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    color: var(--chalk-white-dim);
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 10px 22px;
    border-radius: 25px;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all 0.3s ease;
    margin: 0 auto;
    font-family: 'Inter', sans-serif;
}

.admin-panel-btn:hover {
    color: var(--neon-green);
    border-color: rgba(125, 255, 138, 0.3);
    box-shadow: 0 0 15px rgba(125, 255, 138, 0.1);
}

/* ========================================
   MODALS - Dark Glass Theme
   ======================================== */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(10, 10, 20, 0.9);
    backdrop-filter: blur(12px);
    display: flex;
    align-items: flex-end;
    justify-content: center;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.modal.active {
    opacity: 1;
    visibility: visible;
}

.modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
}

.modal-content {
    position: relative;
    background: var(--chalk-bg-light);
    width: 100%;
    max-width: 500px;
    max-height: 90vh;
    border-radius: var(--radius-xl) var(--radius-xl) 0 0;
    display: flex;
    flex-direction: column;
    transform: translateY(100%);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
    border: 1px solid var(--chalk-border);
    border-bottom: none;
}

.modal.active .modal-content {
    transform: translateY(0);
}

/* Neon top line for modal */
.modal-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 15%;
    right: 15%;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--neon-green), var(--neon-purple), transparent);
    z-index: 1;
    border-radius: 2px;
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 22px 25px;
    border-bottom: 1px solid var(--chalk-border);
    background: rgba(255, 255, 255, 0.02);
}

.modal-header h2 {
    font-family: 'Caveat', cursive;
    font-size: 1.6rem;
    font-weight: 700;
    letter-spacing: 0.03em;
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--chalk-white);
}

.modal-header h2 i {
    color: var(--neon-green);
    filter: drop-shadow(0 0 6px var(--neon-green-glow));
}

.modal-close {
    width: 40px;
    height: 40px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.04);
    color: var(--chalk-white-soft);
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-close:hover {
    background: rgba(255, 71, 87, 0.2);
    color: var(--danger-red);
    border-color: rgba(255, 71, 87, 0.3);
}

.modal-body {
    flex: 1;
    padding: 20px 25px;
    overflow-y: auto;
}

.modal-footer {
    padding: 20px 25px;
    padding-bottom: calc(20px + env(safe-area-inset-bottom));
    border-top: 1px solid var(--chalk-border);
    background: rgba(255, 255, 255, 0.02);
}

/* ========================================
   ORDER SUMMARY IN MODAL
   ======================================== */
.order-summary {
    margin-bottom: 20px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.order-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: var(--radius-md);
    border: 1px solid var(--chalk-border);
    transition: all 0.3s ease;
}

.order-item:hover {
    background: rgba(255, 255, 255, 0.05);
}

.order-item-left {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.order-item-name {
    font-family: 'Caveat', cursive;
    font-weight: 700;
    font-size: 1.3rem;
    color: var(--chalk-white);
}

.order-item-unit-price {
    font-size: 0.95rem;
    color: var(--chalk-white-dim);
}

.order-item-right {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 8px;
}

.order-item-controls {
    display: flex;
    align-items: center;
    gap: 6px;
}

.btn-order-subtract,
.btn-order-add {
    width: 30px;
    height: 30px;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
}

.btn-order-subtract {
    background: rgba(255, 255, 255, 0.06);
    color: var(--chalk-white-soft);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.btn-order-subtract:hover {
    background: rgba(255, 71, 87, 0.2);
    color: var(--danger-red);
    border-color: rgba(255, 71, 87, 0.3);
}

.btn-order-add {
    background: var(--neon-green);
    color: #1a1a2e;
}

.btn-order-add:hover {
    background: #6aef78;
    box-shadow: 0 0 12px var(--neon-green-glow);
}

.order-item-qty {
    min-width: 25px;
    text-align: center;
    font-family: 'Permanent Marker', cursive;
    font-weight: 400;
    color: var(--chalk-white);
}

.order-item-price {
    font-family: 'Permanent Marker', cursive;
    font-weight: 400;
    color: var(--neon-yellow);
    min-width: 60px;
    text-align: right;
    text-shadow: 0 0 8px rgba(255, 217, 61, 0.2);
}

.empty-order {
    text-align: center;
    padding: 40px 20px;
    color: var(--chalk-white-dim);
}

.empty-order i {
    font-size: 3rem;
    margin-bottom: 15px;
    opacity: 0.3;
}

.order-total-section {
    padding: 20px 0;
    border-top: 1px solid var(--chalk-border);
}

.total-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 1.2rem;
    margin-bottom: 8px;
    color: var(--chalk-white-soft);
}

.total-row.grand-total {
    font-family: 'Permanent Marker', cursive;
    font-size: 1.65rem;
    font-weight: 400;
    color: var(--neon-green);
    margin-top: 10px;
    padding-top: 12px;
    border-top: 1px dashed rgba(125, 255, 138, 0.2);
    text-shadow: 0 0 12px var(--neon-green-glow);
}

/* ========================================
   BUTTONS
   ======================================== */
.btn-continue {
    width: 100%;
    background: linear-gradient(135deg, var(--neon-green) 0%, #4ecdc4 100%);
    color: #1a1a2e;
    border: none;
    padding: 18px;
    border-radius: var(--radius-md);
    font-size: 1.15rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    box-shadow: 0 5px 25px rgba(125, 255, 138, 0.25);
    font-family: 'Inter', sans-serif;
}

.btn-continue:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 35px rgba(125, 255, 138, 0.35);
}

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

/* ========================================
   NAME INPUT
   ======================================== */
.name-modal-content {
    min-height: auto;
}

.name-input-section {
    padding: 10px 0;
}

.name-input-label {
    font-family: 'Caveat', cursive;
    font-size: 1.3rem;
    color: var(--chalk-white-dim);
    margin-bottom: 16px;
    display: block;
    text-align: center;
}

.name-input-field {
    width: 100%;
    background: rgba(255, 255, 255, 0.04);
    border: 2px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-md);
    padding: 18px 20px;
    font-size: 1.4rem;
    color: var(--chalk-white);
    transition: all 0.3s ease;
    text-align: center;
    font-family: 'Caveat', cursive;
}

.name-input-field::placeholder {
    color: var(--chalk-white-dim);
}

.name-input-field:focus {
    outline: none;
    border-color: var(--neon-green);
    box-shadow: 0 0 20px var(--neon-green-glow), inset 0 0 15px rgba(125, 255, 138, 0.03);
    background: rgba(125, 255, 138, 0.02);
}

/* ========================================
   CONFIRM MODAL
   ======================================== */
.confirm-modal-content .modal-body {
    text-align: center;
}

.confirm-info {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.confirm-name {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: linear-gradient(135deg, rgba(125, 255, 138, 0.15) 0%, rgba(78, 205, 196, 0.15) 100%);
    border: 1px solid rgba(125, 255, 138, 0.2);
    color: var(--neon-green);
    padding: 15px;
    border-radius: var(--radius-md);
    font-family: 'Caveat', cursive;
    font-weight: 700;
    font-size: 1.45rem;
}

.confirm-order {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--chalk-border);
    padding: 15px;
    border-radius: var(--radius-md);
    text-align: left;
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--chalk-white-soft);
}

.confirm-total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(125, 255, 138, 0.06);
    border: 1px solid rgba(125, 255, 138, 0.15);
    padding: 15px 20px;
    border-radius: var(--radius-md);
    font-weight: 600;
    color: var(--chalk-white);
}

.confirm-total .total-amount {
    font-family: 'Permanent Marker', cursive;
    color: var(--neon-green);
    font-size: 1.8rem;
    text-shadow: 0 0 15px var(--neon-green-glow);
}

/* ========================================
   WHATSAPP BUTTON
   ======================================== */
.btn-whatsapp {
    width: 100%;
    background: var(--success-green);
    color: #fff;
    border: none;
    padding: 18px;
    border-radius: var(--radius-md);
    font-size: 1.15rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    box-shadow: 0 5px 25px rgba(37, 211, 102, 0.25);
    font-family: 'Inter', sans-serif;
}

.btn-whatsapp:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 35px rgba(37, 211, 102, 0.35);
}

.btn-whatsapp i {
    font-size: 1.3rem;
}

/* ========================================
   SUCCESS MODAL
   ======================================== */
.success-modal-content {
    text-align: center;
    padding: 40px 30px;
    max-height: none;
    border-radius: var(--radius-xl) var(--radius-xl) 0 0;
}

.success-icon {
    margin-bottom: 25px;
}

.success-icon i {
    font-size: 4rem;
    color: var(--neon-green);
    animation: neonBounce 1.5s ease infinite;
    filter: drop-shadow(0 0 15px var(--neon-green-glow));
}

@keyframes neonBounce {
    0%, 100% { transform: translateY(0); filter: drop-shadow(0 0 15px rgba(125, 255, 138, 0.4)); }
    50% { transform: translateY(-12px); filter: drop-shadow(0 0 25px rgba(125, 255, 138, 0.6)); }
}

.success-modal-content h2 {
    font-family: 'Permanent Marker', cursive;
    font-size: 2.4rem;
    color: var(--neon-green);
    margin-bottom: 15px;
    text-shadow: 0 0 20px var(--neon-green-glow);
}

.success-message {
    font-family: 'Caveat', cursive;
    font-size: 1.45rem;
    color: var(--chalk-white);
    margin-bottom: 10px;
}

.success-submessage {
    font-size: 1.05rem;
    color: var(--chalk-white-dim);
    margin-bottom: 15px;
    line-height: 1.6;
}

.success-thanks {
    font-family: 'Caveat', cursive;
    font-size: 1.4rem;
    color: var(--neon-yellow);
    font-weight: 600;
    margin-bottom: 22px;
    text-shadow: 0 0 12px rgba(255, 217, 61, 0.3);
}

.order-number {
    background: rgba(125, 255, 138, 0.06);
    border: 1px solid rgba(125, 255, 138, 0.2);
    padding: 16px;
    border-radius: var(--radius-md);
    font-family: 'Permanent Marker', cursive;
    font-weight: 400;
    color: var(--neon-green);
    font-size: 1.35rem;
    margin-bottom: 22px;
    text-shadow: 0 0 10px var(--neon-green-glow);
}

.btn-new-order {
    background: linear-gradient(135deg, var(--neon-green) 0%, #4ecdc4 100%);
    color: #1a1a2e;
    border: none;
    padding: 18px 30px;
    border-radius: var(--radius-md);
    font-size: 1.15rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 5px 25px rgba(125, 255, 138, 0.25);
    font-family: 'Inter', sans-serif;
}

.btn-new-order:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 35px rgba(125, 255, 138, 0.35);
}

/* ========================================
   ADMIN LOGIN MODAL
   ======================================== */
.admin-login-content {
    max-width: 400px;
}

.admin-login-form {
    padding: 20px 0;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.admin-login-form label {
    text-align: center;
    font-family: 'Caveat', cursive;
    font-size: 1.3rem;
    color: var(--chalk-white-dim);
}

.admin-login-form input {
    width: 100%;
    background: rgba(255, 255, 255, 0.04);
    border: 2px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-md);
    padding: 15px 20px;
    font-size: 1.25rem;
    color: var(--chalk-white);
    transition: all 0.3s ease;
    text-align: center;
    font-family: 'Inter', sans-serif;
}

.admin-login-form input:focus {
    outline: none;
    border-color: var(--neon-green);
    box-shadow: 0 0 20px var(--neon-green-glow);
    background: rgba(125, 255, 138, 0.02);
}

.login-error {
    text-align: center;
    color: var(--danger-red);
    background: rgba(255, 71, 87, 0.1);
    border: 1px solid rgba(255, 71, 87, 0.2);
    padding: 10px;
    border-radius: var(--radius-sm);
    font-size: 1.05rem;
}

/* ========================================
   SCROLLBAR
   ======================================== */
::-webkit-scrollbar {
    width: 5px;
}

::-webkit-scrollbar-track {
    background: var(--chalk-bg);
}

::-webkit-scrollbar-thumb {
    background: var(--neon-green);
    border-radius: 3px;
    box-shadow: 0 0 6px var(--neon-green-glow);
}

::-webkit-scrollbar-thumb:hover {
    background: #6aef78;
}

/* ========================================
   ANIMATIONS
   ======================================== */
.menu-item {
    animation: chalkFadeIn 0.6s ease forwards;
    opacity: 0;
}

.menu-item:nth-child(1) { animation-delay: 0.1s; }
.menu-item:nth-child(2) { animation-delay: 0.25s; }
.menu-item:nth-child(3) { animation-delay: 0.4s; }
.menu-item:nth-child(4) { animation-delay: 0.55s; }

@keyframes chalkFadeIn {
    from {
        opacity: 0;
        transform: translateY(25px);
        filter: blur(3px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
        filter: blur(0);
    }
}

.menu-category {
    animation: categoryReveal 0.8s ease forwards;
    opacity: 0;
}

.menu-category:nth-child(1) { animation-delay: 0s; }
.menu-category:nth-child(3) { animation-delay: 0.2s; }
.menu-category:nth-child(5) { animation-delay: 0.4s; }

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

/* Shake animation for validation */
@keyframes shake {
    0%, 100% { transform: translateX(0); }
    10%, 30%, 50%, 70%, 90% { transform: translateX(-5px); }
    20%, 40%, 60%, 80% { transform: translateX(5px); }
}

/* ========================================
   RESPONSIVE
   ======================================== */
@media (max-width: 380px) {
    .logo-text h1 {
        font-size: 1.5rem;
    }
    
    .category-header h2 {
        font-size: 1.4rem;
    }
    
    .item-image {
        width: 72px;
        height: 72px;
    }
    
    .chalk-glass svg {
        width: 44px;
        height: 44px;
    }
    
    .item-price {
        font-size: 1.3rem;
    }
    
    .order-bar-text {
        font-size: 1.1rem;
    }
    
    .chalk-banner {
        font-size: 1.9rem;
    }
}

@media (min-width: 768px) {
    .menu-items {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }
    
    .menu-item {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    
    .item-image {
        width: 100px;
        height: 100px;
    }
    
    .chalk-glass svg {
        width: 65px;
        height: 65px;
    }
    
    .item-header {
        flex-direction: column;
        align-items: center;
        gap: 4px;
    }
    
    .item-description {
        text-align: center;
    }
    
    .item-tags {
        justify-content: center;
    }
    
    .item-actions {
        margin: 0 auto;
    }
    
    .modal-content {
        max-width: 500px;
        border-radius: var(--radius-xl);
        margin: auto;
        border-bottom: 1px solid var(--chalk-border);
    }
    
    .success-modal-content {
        border-radius: var(--radius-xl);
    }
    
    .modal {
        align-items: center;
    }
}

/* ========================================
   SELECTION & FOCUS STYLES
   ======================================== */
::selection {
    background: rgba(125, 255, 138, 0.25);
    color: var(--chalk-white);
}

:focus-visible {
    outline: 2px solid var(--neon-green);
    outline-offset: 2px;
}

/* ========================================
   PRINT STYLES
   ======================================== */
@media print {
    body {
        background: #fff;
        color: #000;
    }
    
    .order-bar,
    .chalk-particles,
    .admin-panel-btn,
    .social-media {
        display: none !important;
    }
}
