@font-face {
    font-family: 'Brice-Black-Semi-Expanded';
    src: url('./fuentes/Brice-Black-Semi-Expanded.woff2') format('woff2'),
        url('./fuentes/Brice-Black-Semi-Expanded.otf') format('opentype');
    font-weight: 900;
    font-style: normal;
}

:root {
    --primary: #f39719;
    --secondary: #432918;
    --background-light: #f5edda;
}

.font-brice {
    font-family: 'Brice-Black-Semi-Expanded', sans-serif !important;
}

body {
    background-color: var(--background-light);
}

.retro-shadow {
    box-shadow: 4px 4px 0 0 #432918
}

.text-stroke {
    -webkit-text-stroke: 1px #432918
}

.brand-pattern {
    background-image: url('./Imagenes/fondo.jpg');
    background-repeat: repeat;
    background-size: 400px;
}

.premium-pattern {
    background-color: #fdf8f1;
    background-image: radial-gradient(#432918 0.5px, transparent 0.5px);
    background-size: 24px 24px;
}

.ticket-edge {
    mask-image: radial-gradient(circle at 0 50%, transparent 10px, black 10px), radial-gradient(circle at 100% 50%, transparent 10px, black 10px);
    mask-composite: intersect
}

html {
    scroll-behavior: smooth;
}

.mobile-menu-open {
    overflow: hidden;
}

/* Sauce Metric Specific Styles */
.sauce-title {
    font-family: 'Poetsen One', sans-serif;
    color: #f39719;
    -webkit-text-stroke: 1.5px #432918;
    text-shadow: 2px 2px 0px #432918;
}

.sticker-effect {
    filter: drop-shadow(2px 0 0 white) drop-shadow(-2px 0 0 white) drop-shadow(0 2px 0 white) drop-shadow(0 -2px 0 white) drop-shadow(3px 3px 0 rgba(67, 41, 24, 0.2));
}

.thermometer-bar {
    background: linear-gradient(to top, #f5edda 0%, #f39719 50%, #ef4635 100%);
    box-shadow: inset 1px 1px 2px rgba(0, 0, 0, 0.2), 2px 2px 0px rgba(67, 41, 24, 0.1);
}

.connector-line {
    height: 2px;
    background-color: rgba(67, 41, 24, 0.15);
}

.sauce-item-name {
    font-family: 'Fredoka', sans-serif;
    font-weight: 700;
    color: #432918;
    line-height: 1;
}

.sauce-item-desc {
    font-family: 'Fredoka', sans-serif;
    font-weight: 400;
    color: #432918;
    opacity: 0.8;
}

/* Hero Animations & Decorations */
@keyframes float {
    0% {
        transform: translateY(0px) rotate(0deg);
    }

    50% {
        transform: translateY(-20px) rotate(5deg);
    }

    100% {
        transform: translateY(0px) rotate(0deg);
    }
}

@keyframes float-alt {
    0% {
        transform: translateY(0px) rotate(0deg);
    }

    50% {
        transform: translateY(15px) rotate(-8deg);
    }

    100% {
        transform: translateY(0px) rotate(0deg);
    }
}

.animate-float {
    animation: float 6s ease-in-out infinite;
}

.animate-float-slow {
    animation: float-alt 8s ease-in-out infinite;
}

/* Img sticker effect with multiple shadows for thick border */
.img-sticker {
    filter: drop-shadow(2px 2px 0 white) drop-shadow(-2px -2px 0 white) drop-shadow(2px -2px 0 white) drop-shadow(-2px 2px 0 white) drop-shadow(4px 4px 10px rgba(0, 0, 0, 0.2));
}

@keyframes walk {

    0%,
    100% {
        transform: translateY(0) rotate(0deg);
    }

    25% {
        transform: translateY(-8px) rotate(-3deg);
    }

    50% {
        transform: translateY(0) rotate(0deg);
    }

    75% {
        transform: translateY(-8px) rotate(3deg);
    }
}

@keyframes shake-subtle {

    0%,
    100% {
        transform: translateX(0);
    }

    25% {
        transform: translateX(-2px) rotate(-1deg);
    }

    75% {
        transform: translateX(2px) rotate(1deg);
    }
}

.animate-shake-subtle {
    animation: shake-subtle 0.5s ease-in-out infinite;
}

.animate-walk {
    animation: walk 1.5s ease-in-out infinite;
}

.whatsapp-label {
    position: absolute;
    right: calc(100% + 15px);
    white-space: nowrap;
    background-color: #432918;
    color: #f39719;
    padding: 8px 16px;
    border-radius: 12px;
    font-family: 'Poetsen One', sans-serif;
    font-size: 14px;
    filter: drop-shadow(4px 4px 0 rgba(0, 0, 0, 0.2));
    pointer-events: none;
    text-transform: uppercase;
}

.whatsapp-label::after {
    content: '';
    position: absolute;
    left: 100%;
    top: 50%;
    transform: translateY(-50%);
    border-width: 8px;
    border-style: solid;
    border-color: transparent transparent transparent #432918;
}


/* Reveal Animations */
.reveal {
    opacity: 0;
    transition: opacity 0.8s cubic-bezier(0.5, 0, 0, 1), transform 0.8s cubic-bezier(0.5, 0, 0, 1);
    will-change: opacity, transform;
}

.reveal.reveal-visible {
    opacity: 1;
    transform: translate(0, 0) scale(1) !important;
}

/* Directions */
.fade-up {
    transform: translateY(40px);
}

.fade-down {
    transform: translateY(-40px);
}

.fade-left {
    transform: translateX(40px);
}

.fade-right {
    transform: translateX(-40px);
}

.scale-up {
    transform: scale(0.95);
}

/* Optimization for the first contentful paint */
header {
    background-color: var(--primary) !important;
    min-height: 750px;
}

/* Removed mobile list layout to keep the thermometer design identical on all devices */
@media (max-width: 640px) {
    .metric-container-wrapper {
        transform: scale(0.9);
        transform-origin: top center;
    }
}