:root {
    --primary: #FF4500;
    --primary-glow: rgba(255, 69, 0, 0.4);
    --secondary: #FFD700;
    --bg-dark: #0A0A0B;
    --bg-card: rgba(255, 255, 255, 0.05);
    --text-main: #FFFFFF;
    --text-dim: #A0A0A0;
    --glass: rgba(255, 255, 255, 0.03);
    --glass-border: rgba(255, 255, 255, 0.1);
    --transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Outfit', sans-serif;
}

body {
    background-color: var(--bg-dark);
    color: var(--text-main);
    overflow-x: hidden;
    scroll-behavior: smooth;
}

/* Branding & Splash Screen */
#splash {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: #000;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10000;
    transition: opacity 1s ease-out;
}

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

.splash-logo {
    width: 200px;
    opacity: 0;
    transform: scale(0.8);
    animation: fadeInScale 1s forwards;
}

.splash-text {
    color: white;
    margin-top: 20px;
    font-size: 1.8rem;
    font-weight: 700;
    letter-spacing: 2px;
    opacity: 0;
    animation: fadeIn 1.5s 0.5s forwards;
}

@keyframes fadeInScale {
    to { opacity: 1; transform: scale(1); }
}

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

.brand-signature {
    margin-top: 40px;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.6);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.brand-badge {
    padding: 10px 20px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: var(--transition);
}

.brand-badge:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
}

/* Navigation */
.glass-nav {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 20px 0;
    background: rgba(10, 10, 11, 0.8);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--glass-border);
    z-index: 1000;
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 50px;
}

.logo {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.5rem;
    font-weight: 900;
    color: #fff;
    text-decoration: none;
    letter-spacing: 1px;
}

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

.nav-links {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav-links a {
    color: var(--text-dim);
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
    font-size: 0.9rem;
    text-transform: uppercase;
}

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

.nav-links.active {
    display: flex !important;
    flex-direction: column;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(10, 10, 11, 0.98);
    backdrop-filter: blur(20px);
    justify-content: center;
    align-items: center;
    z-index: 1001;
    gap: 40px;
    animation: fadeIn 0.3s ease;
}

.nav-links.active a {
    font-size: 1.5rem;
}

/* Hero Section */
.hero {
    height: 100vh;
    height: 100dvh; /* Dynamic viewport height for mobile */
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 10%;
    position: relative;
    overflow: hidden;
}

.hero::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, var(--primary-glow) 0%, transparent 70%);
    transform: translate(-50%, -50%);
    filter: blur(100px);
    z-index: -1;
}

.hero-content {
    max-width: 600px;
}

.hero-content h1 {
    font-family: 'Montserrat', sans-serif;
    font-size: clamp(2.2rem, 8vw, 4.5rem);
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 20px;
    color: #fff;
}

.hero-content h1 span {
    color: var(--primary);
    -webkit-text-stroke: 1px var(--primary);
}

.hero-content p {
    font-size: clamp(1rem, 3vw, 1.2rem);
    color: var(--text-dim);
    margin-bottom: 40px;
}

.btn-primary {
    padding: 15px 35px;
    background: var(--primary);
    color: #fff;
    border: none;
    border-radius: 5px;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 10px 20px var(--primary-glow);
    transition: var(--transition);
}

.btn-primary:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px var(--primary-glow);
}

.btn-glitch {
    padding: 15px 35px;
    background: var(--primary);
    color: #fff;
    border: none;
    border-radius: 5px;
    font-weight: 700;
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
}

.btn-outline {
    padding: 15px 35px;
    background: transparent;
    border: 2px solid var(--primary);
    color: var(--primary);
    border-radius: 5px;
    font-weight: 700;
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
    margin-left: 20px;
    transition: var(--transition);
}

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

/* Glass Cards */
.glass-card {
    background: var(--bg-card);
    backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 30px;
    transition: var(--transition);
}

.glass-card:hover {
    border-color: var(--primary);
    transform: translateY(-10px);
}

/* Footer */
.glass-footer {
    padding: 80px 10% 40px;
    border-top: 1px solid var(--glass-border);
}

.footer-grid {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 50px;
}

.footer-social {
    display: flex;
    gap: 20px;
}

.social-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--bg-card);
    display: flex;
    justify-content: center;
    align-items: center;
    color: #fff;
    font-size: 1.2rem;
    text-decoration: none;
    border: 1px solid var(--glass-border);
    transition: var(--transition);
}

.social-icon:hover {
    border-color: var(--primary);
    color: var(--primary);
}

.whatsapp:hover {
    background: #25D366;
    border-color: #25D366;
    color: #fff;
}

/* Hero Image Update */
.hero-visual {
    width: 50%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    perspective: 1000px;
}

.floating-wing {
    width: 400px;
    height: 400px;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    animation: float 6s ease-in-out infinite;
}

.wing-img {
    width: 100%;
    height: auto;
    filter: drop-shadow(0 0 30px var(--primary-glow));
}

@keyframes float {
    0%, 100% { transform: translateY(0) rotate(5deg); }
    50% { transform: translateY(-25px) rotate(-5deg); }
}

/* Animations */
.reveal-text {
    opacity: 0;
    transform: translateY(30px);
    animation: revealIn 1s forwards;
}

.fade-in {
    opacity: 0;
    animation: fadeIn 1s 0.5s forwards;
}

.fade-in-delayed {
    opacity: 0;
    animation: fadeIn 1s 0.8s forwards;
}

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

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

/* Flavor Lab Styles */
.lab-section {
    padding: 100px 10%;
    position: relative;
    background: radial-gradient(circle at 80% 20%, rgba(255, 69, 0, 0.05) 0%, transparent 50%);
}

.lab-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-top: 50px;
}

.sauce-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.sauce-btn {
    padding: 15px 20px;
    background: rgba(255,255,255,0.03);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 15px;
    transition: var(--transition);
}

.sauce-btn.active {
    background: rgba(255, 69, 0, 0.1);
    border-color: var(--primary);
}

.dot { width: 12px; height: 12px; border-radius: 50%; }
.bbq { background: #8B4513; box-shadow: 0 0 10px #8B4513; }
.buffalo { background: #FF4500; box-shadow: 0 0 10px #FF4500; }
.habanero { background: #FFA500; box-shadow: 0 0 10px #FFA500; }

.heat-display {
    text-align: center;
    margin-bottom: 30px;
}

.heat-value {
    font-size: 3rem;
    font-weight: 800;
    color: var(--primary);
}

.heat-bar {
    width: 100%;
    height: 8px;
    background: rgba(255,255,255,0.1);
    border-radius: 4px;
    margin-top: 10px;
    overflow: hidden;
}

.heat-fill {
    height: 100%;
    background: linear-gradient(90deg, #FFD700, #FF4500);
    transition: width 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Inferno Section */
.inferno-section {
    padding: 100px 10%;
    background: #000;
}

.quest-box {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    padding: 60px;
    border: 2px solid var(--primary);
}

.quest-icon {
    font-size: 3rem;
    color: var(--primary);
    margin-bottom: 20px;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.1); opacity: 0.7; }
    100% { transform: scale(1); opacity: 1; }
}

/* Menu Card Styles */
.menu-section {
    padding: 100px 10%;
}

.menu-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.menu-card {
    position: relative;
    overflow: hidden;
}

.item-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background: var(--primary);
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.7rem;
    font-weight: 800;
    z-index: 2;
}

.item-img {
    height: 200px;
    background-size: cover;
    background-position: center;
    border-radius: 12px;
    margin-bottom: 20px;
    filter: brightness(0.8);
    transition: var(--transition);
}

.menu-card:hover .item-img {
    filter: brightness(1.1) scale(1.05);
}

.wing1 { background-image: url('alitas_clasicas.png'); }
.wing2 { background-image: url('boneless_master.png'); }
.wing3 { background-image: url('papas_espaciales.png'); }

.card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 20px;
}

.price {
    font-size: 1.5rem;
    font-weight: 800;
}

.btn-buy {
    padding: 10px 20px;
    background: transparent;
    border: 1px solid var(--primary);
    color: var(--primary);
    border-radius: 5px;
    cursor: pointer;
    font-weight: 700;
    transition: var(--transition);
}

.btn-buy:hover {
    background: var(--primary);
    color: #fff;
}

/* Tracker & VIP & Gauge */
.tech-section {
    padding: 100px 10%;
}

.tech-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.tech-item {
    text-align: center;
}

.icon-wrap {
    width: 60px;
    height: 60px;
    background: var(--primary);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto 20px;
    font-size: 1.5rem;
}

.tracker-sim {
    margin-top: 20px;
    padding: 10px;
    background: rgba(0,0,0,0.3);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.dot-active {
    width: 10px;
    height: 10px;
    background: #00FF00;
    border-radius: 50%;
    animation: blink 1s infinite;
}

@keyframes blink { 50% { opacity: 0; } }

.vip-preview {
    margin-top: 20px;
    perspective: 1000px;
}

.card-face {
    width: 200px;
    height: 120px;
    margin: 0 auto;
    background: linear-gradient(135deg, #1a1a1b 0%, #000 100%);
    border: 1px solid var(--primary);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 900;
    letter-spacing: 2px;
    box-shadow: 0 0 20px var(--primary-glow);
}

.gauge-container {
    margin-top: 20px;
}

.gauge {
    width: 100px;
    height: 50px;
    position: relative;
    overflow: hidden;
    margin: 0 auto;
}

.gauge-body {
    width: 100%;
    height: 200%;
    background: #333;
    border-radius: 50%;
    position: relative;
}

.gauge-body::after {
    content: '';
    position: absolute;
    top: 10px;
    left: 10px;
    right: 10px;
    bottom: 10px;
    background: var(--bg-dark);
    border-radius: 50%;
}

.gauge-needle {
    width: 2px;
    height: 40px;
    background: var(--primary);
    position: absolute;
    bottom: 0;
    left: 50%;
    transform-origin: bottom;
    transform: rotate(45deg);
    transition: transform 1s;
}

/* Modals */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.9);
    display: none; /* Initially hidden */
    justify-content: center;
    align-items: center;
    z-index: 9999; /* Ultra high z-index */
    backdrop-filter: blur(15px);
    width: 100vw;
    height: 100vh;
}

.checkout-modal {
    width: 400px;
    position: relative;
}

.close-btn {
    position: absolute;
    top: -20px;
    right: -20px;
    background: var(--primary);
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    color: #fff;
    font-size: 1.5rem;
    cursor: pointer;
}

.modal-body {
    padding: 20px;
}

.summary {
    display: flex;
    justify-content: space-between;
    margin: 20px 0;
    padding: 15px;
    background: rgba(255,255,255,0.05);
    border-radius: 10px;
}

.payment-methods {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
}

.method {
    flex: 1;
    padding: 15px;
    border: 1px solid var(--glass-border);
    border-radius: 10px;
    text-align: center;
    cursor: pointer;
}

.method.active { border-color: var(--primary); background: rgba(255, 69, 0, 0.1); }

.dark-input {
    width: 100%;
    background: rgba(0,0,0,0.5);
    border: 1px solid var(--glass-border);
    padding: 15px;
    margin-bottom: 10px;
    border-radius: 5px;
    color: #fff;
}

.btn-pay {
    width: 100%;
    padding: 15px;
    background: var(--primary);
    border: none;
    color: #fff;
    font-weight: 800;
    border-radius: 5px;
    margin-top: 10px;
    cursor: pointer;
}

.success-icon {
    font-size: 4rem;
    color: #00FF00;
    text-align: center;
    margin-bottom: 20px;
}

.visible { opacity: 1 !important; transform: translateY(0) !important; }
.reveal { opacity: 0; transform: translateY(30px); transition: var(--transition); }

/* --- MOBILE MENU TOGGLE BASE --- */
.menu-toggle {
    display: none; /* Hidden on desktop */
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 21px;
    cursor: pointer;
    z-index: 1002;
}

.menu-toggle .bar {
    width: 100%;
    height: 3px;
    background: #fff;
    border-radius: 10px;
    transition: 0.3s ease;
}

.menu-toggle.is-active .bar:nth-child(2) {
    opacity: 0;
}

.menu-toggle.is-active .bar:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
}

.menu-toggle.is-active .bar:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
}

/* --- MOBILE OPTIMIZATION --- */
@media (max-width: 968px) {
    .menu-toggle {
        display: flex; /* Show on mobile */
    }
    
    .nav-links {
        display: none !important; /* Hide desktop links */
    }
    
    .logo {
        font-size: 1.2rem;
    }

    .nav-container {
        padding: 0 15px;
        height: 60px;
    }

    .glass-nav {
        padding: 0;
        height: 60px;
        display: flex;
        align-items: center;
    }
    
    .hero {
        flex-direction: column;
        padding-top: 120px;
        text-align: center;
    }
    
    .hero-content {
        max-width: 100%;
    }
    
    .hero-visual {
        width: 100%;
        margin-top: 20px;
        order: -1; /* Move image above text on mobile for better flow */
        height: auto;
    }
    
    .floating-wing {
        width: 180px;
        height: 180px;
        margin: 0 auto;
    }
    
    .hero {
        padding-top: 80px;
        height: auto;
        min-height: 100dvh;
    }
}

@media (max-width: 768px) {
    section {
        padding: 60px 20px !important;
    }
    
    .lab-grid, .tech-row, .menu-grid {
        grid-template-columns: 1fr !important;
    }

    .footer-grid {
        flex-direction: column;
        text-align: center;
        gap: 30px;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }
    
    .hero-content h1 {
        font-size: clamp(2.5rem, 10vw, 3.5rem);
        margin-top: 20px;
    }
    
    .hero-content p {
        padding: 0 10%;
    }
    
    .checkout-modal {
        width: 90% !important;
        max-width: 400px;
        margin: auto;
        max-height: 90vh;
        overflow-y: auto;
        padding: 25px;
        position: relative;
    }
    
    .close-btn {
        top: 10px;
        right: 10px;
    }
    
    .nav-cta {
        display: none;
    }
    
    /* Flavor Lab Mobile Adjustments */
    .sauce-list {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 10px;
    }
    
    .sauce-btn {
        padding: 12px 10px;
        font-size: 0.8rem;
        justify-content: center;
    }
    
    .heat-value {
        font-size: 2.5rem;
    }
    
    .mixer-display {
        padding: 20px;
    }

    .section-header h2 {
        font-size: 2.2rem;
    }

    .section-header p {
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .hero-content h1 {
        font-size: 2.2rem;
    }
    
    .btn-outline {
        margin-left: 0;
        margin-top: 15px;
        width: 100%;
    }
    
    .btn-glitch {
        width: 100%;
    }
    
    .sauce-list {
        grid-template-columns: 1fr; /* Stack on very small screens */
    }
    
    .menu-card {
        padding: 20px;
    }
    
    .item-img {
        height: 180px;
    }
}

