/* ============================
   FoodieSilvassa — Under Maintenance
   Premium Dark Theme with Food Vibes
   ============================ */

/* --- Reset & Base --- */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --clr-bg: #0d0d0d;
    --clr-surface: #1a1a1a;
    --clr-surface-glass: rgba(26, 26, 26, 0.65);
    --clr-primary: #ff6b35;
    --clr-primary-light: #ff9f1c;
    --clr-accent: #f7c948;
    --clr-text: #f0ece2;
    --clr-text-muted: #9e9e9e;
    --clr-border: rgba(255, 255, 255, 0.06);
    --font-main: 'Outfit', sans-serif;
    --font-script: 'Dancing Script', cursive;
    --radius-lg: 24px;
    --radius-md: 14px;
    --radius-sm: 8px;
    --shadow-glow: 0 0 80px rgba(255, 107, 53, 0.15);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-main);
    background: var(--clr-bg);
    color: var(--clr-text);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow-x: hidden;
    position: relative;
}

/* Subtle radial background gradient */
body::before {
    content: '';
    position: fixed;
    top: -40%;
    left: -20%;
    width: 140%;
    height: 140%;
    background: radial-gradient(
        ellipse at 50% 0%,
        rgba(255, 107, 53, 0.08) 0%,
        rgba(247, 201, 72, 0.04) 30%,
        transparent 70%
    );
    pointer-events: none;
    z-index: 0;
}

/* --- Floating Food Emojis --- */
.floating-foods {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}

.food-item {
    position: absolute;
    top: -3rem;
    left: var(--x);
    font-size: var(--size);
    animation: floatDown 12s var(--delay) linear infinite;
    opacity: 0.15;
    filter: blur(0.5px);
}

@keyframes floatDown {
    0% {
        transform: translateY(-20px) rotate(0deg);
        opacity: 0;
    }
    10% {
        opacity: 0.15;
    }
    90% {
        opacity: 0.15;
    }
    100% {
        transform: translateY(105vh) rotate(360deg);
        opacity: 0;
    }
}

/* --- Container --- */
.container {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 580px;
    padding: 2.5rem 1.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 1.2rem;
}

/* --- Brand Header --- */
.brand {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    animation: fadeSlideUp 0.8s ease-out both;
}

.logo-icon {
    font-size: 2rem;
    animation: pulse 2.5s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.12); }
}

.brand-name {
    font-size: 1.8rem;
    font-weight: 700;
    letter-spacing: -0.5px;
    color: var(--clr-text);
}

.brand-name .highlight {
    background: linear-gradient(135deg, var(--clr-primary), var(--clr-accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* --- Illustration --- */
.illustration-wrapper {
    position: relative;
    width: 260px;
    height: 260px;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: fadeSlideUp 1s 0.2s ease-out both;
}

.illustration-glow {
    position: absolute;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(255, 107, 53, 0.25), transparent 70%);
    border-radius: 50%;
    animation: glowPulse 3s ease-in-out infinite;
    z-index: 0;
}

@keyframes glowPulse {
    0%, 100% {
        transform: scale(1);
        opacity: 0.6;
    }
    50% {
        transform: scale(1.3);
        opacity: 1;
    }
}

.chef-image {
    width: 220px;
    height: 220px;
    object-fit: contain;
    position: relative;
    z-index: 1;
    border-radius: 50%;
    animation: chefBob 3s ease-in-out infinite;
    filter: drop-shadow(0 10px 40px rgba(255, 107, 53, 0.2));
}

@keyframes chefBob {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

/* --- Steam Animation --- */
.steam-container {
    position: absolute;
    top: 15%;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    pointer-events: none;
}

.steam {
    position: absolute;
    width: 8px;
    height: 8px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    animation: steamRise 2.5s ease-out infinite;
}

.steam-1 { left: -12px; animation-delay: 0s; }
.steam-2 { left: 0; animation-delay: 0.6s; }
.steam-3 { left: 12px; animation-delay: 1.2s; }

@keyframes steamRise {
    0% {
        transform: translateY(0) scale(1);
        opacity: 0.5;
    }
    50% {
        transform: translateY(-30px) scale(1.8);
        opacity: 0.3;
    }
    100% {
        transform: translateY(-60px) scale(2.5);
        opacity: 0;
    }
}

/* --- Message Card --- */
.message-card {
    background: var(--clr-surface-glass);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--clr-border);
    border-radius: var(--radius-lg);
    padding: 2.2rem 2rem;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    box-shadow: var(--shadow-glow);
    animation: fadeSlideUp 1s 0.4s ease-out both;
}

/* Badge */
.badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 107, 53, 0.1);
    border: 1px solid rgba(255, 107, 53, 0.25);
    padding: 0.4rem 1rem;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--clr-primary-light);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.badge-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--clr-primary);
    animation: blink 1.5s ease-in-out infinite;
}

@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.3; }
}

/* Headings */
.main-heading {
    font-size: 1.85rem;
    font-weight: 700;
    line-height: 1.3;
    letter-spacing: -0.5px;
}

.gradient-text {
    font-family: var(--font-script);
    font-size: 2.2rem;
    background: linear-gradient(135deg, var(--clr-primary), var(--clr-accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.sub-text {
    font-size: 0.95rem;
    color: var(--clr-text-muted);
    line-height: 1.7;
    max-width: 420px;
}

/* Progress Bar */
.progress-bar {
    width: 100%;
    max-width: 300px;
    height: 5px;
    background: rgba(255, 255, 255, 0.06);
    border-radius: 50px;
    overflow: hidden;
    margin-top: 0.5rem;
}

.progress-fill {
    width: 30%;
    height: 100%;
    background: linear-gradient(90deg, var(--clr-primary), var(--clr-accent));
    border-radius: 50px;
    animation: progressLoop 2.5s ease-in-out infinite;
}

@keyframes progressLoop {
    0% {
        width: 10%;
        margin-left: 0;
    }
    50% {
        width: 50%;
        margin-left: 25%;
    }
    100% {
        width: 10%;
        margin-left: 90%;
    }
}

.progress-label {
    font-size: 0.75rem;
    color: var(--clr-text-muted);
    letter-spacing: 0.5px;
    animation: textFade 2.5s ease-in-out infinite;
}

@keyframes textFade {
    0%, 100% { opacity: 0.5; }
    50% { opacity: 1; }
}

/* --- Footer --- */
.footer {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.9rem;
    margin-top: 0.5rem;
    animation: fadeSlideUp 1s 0.6s ease-out both;
}

.footer-text {
    font-size: 0.9rem;
    color: var(--clr-text-muted);
}

.social-links {
    display: flex;
    gap: 0.8rem;
}

.social-link {
    width: 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    border: 1px solid var(--clr-border);
    background: var(--clr-surface);
    color: var(--clr-text-muted);
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-link:hover {
    border-color: var(--clr-primary);
    color: var(--clr-primary);
    background: rgba(255, 107, 53, 0.08);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(255, 107, 53, 0.15);
}

.copyright {
    font-size: 0.7rem;
    color: rgba(255, 255, 255, 0.2);
    margin-top: 0.3rem;
}

/* --- Shared Animation --- */
@keyframes fadeSlideUp {
    from {
        opacity: 0;
        transform: translateY(25px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* --- Responsive --- */
@media (max-width: 480px) {
    .container {
        padding: 2rem 1rem;
    }

    .brand-name {
        font-size: 1.5rem;
    }

    .illustration-wrapper {
        width: 200px;
        height: 200px;
    }

    .chef-image {
        width: 170px;
        height: 170px;
    }

    .main-heading {
        font-size: 1.4rem;
    }

    .gradient-text {
        font-size: 1.7rem;
    }

    .message-card {
        padding: 1.6rem 1.2rem;
    }
}
