*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

html{
    scroll-behavior:smooth;
    max-width:100%;
    overflow-x:hidden;
}

body{
    font-family:'Poppins',sans-serif;
    background:#161314;
    color:white;
    overflow-x:hidden;
    max-width:100%;
    transition:background 0.7s ease;
}

/* CURSOR GLOW */

.cursor-glow{
    width:300px;
    height:300px;
    position:fixed;
    border-radius:50%;
    background:rgba(255,140,66,0.08);
    filter:blur(90px);
    pointer-events:none;
    z-index:0;
    transform:translate(-50%,-50%);
}

/* LOADER */

.loader{
    position:fixed;
    inset:0;
    background:#111;
    display:flex;
    justify-content:center;
    align-items:center;
    z-index:99999;
    transition:0.8s ease;
}

.loader-logo{
    width:90px;
    height:auto;
}

/* NAVBAR */

.navbar{
    position:fixed;
    width:100%;
    top:0;
    display:flex;
    justify-content:space-between;
    align-items:center;
    padding:14px 6%;
    z-index:999;
    background:rgba(0,0,0,0.3);
    backdrop-filter:blur(18px);
}

.navbar.scrolled{
    background:rgba(0,0,0,0.58);
}

.navbar ul{
    display:flex;
    gap:30px;
    list-style:none;
}

.navbar a{
    color:white;
    text-decoration:none;
    transition:0.3s ease;
}

.navbar a:hover{
    color:#ffb36b;
}

.logo img{
    height:52px;
    width:auto;
    object-fit:contain;
    transform:scale(1.05);
}

.hero-mobile-logo{

    display:none;

}

.hero-mobile-logo img{

    width:180px;
    height:auto;

    display:block;

    margin:0 auto 28px auto;

}

/* HERO */

.hero{
    min-height:100vh;
    display:flex;
    align-items:center;
    padding:0 6%;
    position:relative;
    background:
    linear-gradient(
        rgba(0,0,0,0.55),
        rgba(0,0,0,0.7)
    ),
    url('images/hero.jpg');
    background-size:cover;
    background-position:center center;
    background-repeat:no-repeat;
}

.hero-overlay{
    position:absolute;
    inset:0;
    background:
    radial-gradient(
        circle at top,
        rgba(255,179,107,0.12),
        transparent 60%
    );
    pointer-events:none;
}

.hero-content{
    position:relative;
    z-index:2;
    max-width:700px;
}

.hero-tag{
    color:#ffb36b;
    margin-bottom:22px;
    letter-spacing:2px;
    font-size:0.9rem;
}

.hero h1{
    font-size:5rem;
    line-height:1.1;
    margin-top:25px;
    margin-bottom:25px;
}

.hero-subtext{
    font-size:1.1rem;
    line-height:1.8;
    color:rgba(255,255,255,0.75);
    margin-bottom:35px;
}

.hero-buttons{
    display:flex;
    gap:18px;
    flex-wrap:wrap;
}

/* BUTTONS */

.btn{
    display:inline-block;
    padding:16px 32px;
    border-radius:999px;
    text-decoration:none;
    color:white;
    background:linear-gradient(135deg,#ffb36b,#ff5e62);
    transition:0.3s ease;
    border:none;
    cursor:pointer;
    font-weight:500;
}

.secondary-btn{
    background:rgba(255,255,255,0.08);
    border:1px solid rgba(255,255,255,0.08);
}

.btn:hover{
    transform:translateY(-4px);
}

.btn:active{
    transform:scale(0.96);
}

/* SECTIONS */

section{
    padding:120px 6%;
    position:relative;
    z-index:2;
}

.section-heading{
    text-align:center;
    margin-bottom:55px;
}

.section-heading p{
    color:#ffb36b;
    margin-bottom:14px;
    letter-spacing:2px;
    font-size:0.9rem;
}

.section-heading h2{
    font-size:3rem;
    line-height:1.2;
}

/* TICKER */

.ticker-wrap{
    overflow:hidden;
    width:100%;
}

.ticker{
    display:flex;
    gap:22px;
    width:max-content;
    animation:tickerMove 24s linear infinite;
}

.ticker span{
    padding:14px 24px;
    border-radius:999px;
    background:rgba(255,255,255,0.05);
    border:1px solid rgba(255,255,255,0.08);
    white-space:nowrap;
}

@keyframes tickerMove{
    from{
        transform:translateX(0);
    }

    to{
        transform:translateX(-50%);
    }
}

/* AI LAB */

.ai-generator-card{
    background:rgba(255,255,255,0.05);
    border:1px solid rgba(255,255,255,0.08);
    border-radius:36px;
    padding:70px 30px;
    text-align:center;
    max-width:950px;
    margin:auto;
    backdrop-filter:blur(18px);
    overflow:hidden;
}

.ai-generator-card.analyzing{
    box-shadow:0 0 40px rgba(255,179,107,0.12);
}

.ai-orb{
    width:130px;
    height:130px;
    border-radius:50%;
    margin:0 auto 30px;
    background:
    radial-gradient(
        circle at 30% 30%,
        #ffd28c,
        #ff8c42,
        #ff4d4d,
        #6a00ff
    );
    animation:orbFloat 5s ease-in-out infinite;
    transition:
    transform 0.6s ease,
    filter 0.6s ease,
    background 0.8s ease;
}

.ai-orb{
    cursor:pointer;
    -webkit-tap-highlight-color:transparent;
}

.ai-orb.cream-pop{
    animation:orbCreamTap 0.55s cubic-bezier(.2,.9,.2,1);
}

@keyframes orbCreamTap{
    0%{
        transform:scale(1);
    }

    30%{
        transform:scale(0.86, 1.12);
    }

    58%{
        transform:scale(1.12, 0.9);
    }

    100%{
        transform:scale(1);
    }
}

/* Full screen cream splash layer */
.cream-screen{
    position:fixed;
    inset:0;
    pointer-events:none;
    overflow:hidden;
    z-index:9998;
}

/* Main cream blobs */
.cream-blob{
    position:absolute;
    width:var(--size);
    height:var(--size);
    left:var(--x);
    top:var(--y);
    background:
    radial-gradient(
        circle at 35% 35%,
        #fffaf2 0%,
        #fff0d8 38%,
        #f3c18f 100%
    );
    border-radius:48% 52% 45% 55%;
    opacity:0;
    transform:translate(-50%, -50%) scale(0.15) rotate(var(--rotate));
    filter:drop-shadow(0 8px 16px rgba(120,65,32,0.16));
    animation:creamBlobSplash 1.25s ease-out forwards;
}

.cream-blob::before,
.cream-blob::after{
    content:"";
    position:absolute;
    background:#fff1dc;
    border-radius:50%;
}

.cream-blob::before{
    width:28%;
    height:28%;
    top:-16%;
    left:18%;
}

.cream-blob::after{
    width:20%;
    height:20%;
    right:-12%;
    bottom:20%;
}

@keyframes creamBlobSplash{
    0%{
        opacity:0;
        transform:translate(-50%, -50%) scale(0.1) rotate(var(--rotate));
    }

    18%{
        opacity:1;
        transform:translate(-50%, -50%) scale(1.12) rotate(var(--rotate));
    }

    50%{
        opacity:0.95;
        transform:translate(-50%, -50%) scale(1) rotate(var(--rotate));
    }

    100%{
        opacity:0;
        transform:translate(-50%, -62%) scale(1.22) rotate(var(--rotate));
        filter:blur(1.5px) drop-shadow(0 8px 16px rgba(120,65,32,0));
    }
}

/* Tiny droplets */
.cream-dot{
    position:absolute;
    width:var(--size);
    height:var(--size);
    left:var(--x);
    top:var(--y);
    border-radius:50%;
    background:#fff2dd;
    opacity:0;
    transform:translate(-50%, -50%) scale(0.2);
    animation:creamDotSplash 1s ease-out forwards;
}

@keyframes creamDotSplash{
    0%{
        opacity:0;
        transform:translate(-50%, -50%) scale(0.2);
    }

    25%{
        opacity:1;
        transform:translate(-50%, -50%) scale(1);
    }

    100%{
        opacity:0;
        transform:translate(-50%, -85%) scale(0.7);
    }
}

@keyframes orbFloat{
    0%{
        transform:translateY(0px);
    }

    50%{
        transform:translateY(-16px);
    }

    100%{
        transform:translateY(0px);
    }
}

#generatedFlavor{
    font-size:2rem;
    margin-bottom:18px;
    transition:
    opacity 0.5s ease,
    transform 0.5s ease;
}

#generatedMood{
    color:rgba(255,255,255,0.72);
    margin-bottom:35px;
    line-height:1.8;
    transition:
    opacity 0.5s ease,
    transform 0.5s ease;
}

.result-highlight{
    animation:resultPop 0.8s ease;
}

@keyframes resultPop{
    0%{
        transform:scale(0.92);
        opacity:0;
    }

    100%{
        transform:scale(1);
        opacity:1;
    }
}

.mood-selector{
    display:flex;
    flex-wrap:wrap;
    justify-content:center;
    gap:16px;
}

.mood-btn{
    padding:14px 24px;
    border:none;
    border-radius:999px;
    background:rgba(255,255,255,0.08);
    color:white;
    cursor:pointer;
    transition:0.3s ease;
    font-family:'Poppins',sans-serif;
    font-size:0.95rem;
}

.mood-btn:hover{
    transform:translateY(-4px);
    background:linear-gradient(135deg,#ffb36b,#ff5e62);
}

/* FLAVOUR UNIVERSE */

.universe-grid{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(220px,1fr));
    gap:22px;
}

.universe-card{
    padding:32px 24px;
    border-radius:26px;
    text-align:center;
    background:rgba(255,255,255,0.05);
    border:1px solid rgba(255,255,255,0.08);
    transition:0.4s ease;
}

.universe-card:hover{
    transform:translateY(-8px);
    background:rgba(255,255,255,0.08);
}

/* VISIT */

.visit-card{
    max-width:760px;
    margin:auto;
    text-align:center;
    background:rgba(255,255,255,0.05);
    padding:60px 40px;
    border-radius:34px;
    border:1px solid rgba(255,255,255,0.08);
}

.visit-card h3{
    margin-bottom:20px;
    font-size:2rem;
    line-height:1.5;
}

.visit-card p{
    color:rgba(255,255,255,0.72);
    line-height:1.8;
}

/* CONTACT */

.contact-content{
    text-align:center;
}

.contact-content p{
    margin-bottom:28px;
    color:rgba(255,255,255,0.75);
}

.social-mini{
    margin-top:24px;
}

.social-mini a{
    color:#ffb36b;
    text-decoration:none;
}

/* MOBILE DOCK */

.mobile-dock{
    position:fixed;
    bottom:18px;
    left:50%;
    transform:translateX(-50%);
    display:none;
    gap:18px;
    padding:16px 24px;
    border-radius:999px;
    background:rgba(20,20,20,0.7);
    backdrop-filter:blur(18px);
    border:1px solid rgba(255,255,255,0.08);
    box-shadow:0 10px 40px rgba(0,0,0,0.35);
    z-index:9999;
}

.mobile-dock a{
    color:white;
    text-decoration:none;
    font-size:0.9rem;
}

/* REVEAL */

.reveal{
    opacity:0;
    transform:translateY(50px);
    transition:
    opacity 0.9s ease,
    transform 0.9s ease;
}

.reveal.active{
    opacity:1;
    transform:translateY(0px);
}

/* ===============================
MOBILE FIXES
=============================== */

@media(max-width:768px){

    body{
        overflow-x:hidden;
    }

.hero-mobile-logo{

    display:block;

}

.navbar{

    display:none;

}

.hero{

    padding-top:70px;

}

.hero-tag{

    margin-top:0;

}

    .cursor-glow{
        display:none;
    }

    .loader-logo{
        width:70px;
    }

    .navbar{
    display:flex;
    padding:12px 6%;
    }

    .navbar ul{
    display:none;
    }

    .logo img{
    height:44px;
    }

    .mobile-dock{
        display:flex;
        width:92%;
        justify-content:space-between;
        gap:0;
        padding:14px 18px;
    }

    .mobile-dock a{
        font-size:0.82rem;
    }

    .hero{
        min-height:100svh;
        padding:125px 6% 90px;
        align-items:center;
        justify-content:center;
        text-align:center;
        background-position:center center;
        background-size:cover !important;
    }

    .hero-content{
        max-width:100%;
        width:100%;
    }

    .hero-tag{
        font-size:0.72rem;
        letter-spacing:2px;
        margin-bottom:18px;
    }

    .hero h1{
        font-size:2.35rem;
        line-height:1.15;
        margin-top:0;
        margin-bottom:22px;
    }

    .hero-subtext{
        font-size:0.95rem;
        line-height:1.7;
        margin-bottom:30px;
    }

    .hero-buttons{
        flex-direction:column;
        width:100%;
        gap:14px;
    }

    .hero-buttons .btn,
    .btn{
        width:100%;
        text-align:center;
        padding:15px 22px;
    }

    section{
        padding:75px 6%;
    }

    .section-heading{
        margin-bottom:38px;
    }

    .section-heading h2{
        font-size:1.9rem;
        line-height:1.25;
    }

    .section-heading p{
        font-size:0.75rem;
        letter-spacing:1.5px;
    }

    .ticker{
        animation-duration:32s;
    }

    .ticker span{
        padding:12px 18px;
        font-size:0.9rem;
    }

    .ai-generator-card{
        padding:42px 20px;
        border-radius:26px;
    }

    .ai-orb{
        width:95px;
        height:95px;
        margin-bottom:26px;
    }

    #generatedFlavor{
        font-size:1.45rem;
        line-height:1.35;
    }

    #generatedMood{
        font-size:0.95rem;
        line-height:1.65;
    }

    .mood-selector{
        flex-direction:column;
        gap:12px;
    }

    .mood-btn{
        width:100%;
        padding:14px 18px;
    }

    .universe-grid{
        grid-template-columns:1fr;
        gap:16px;
    }

    .universe-card{
        padding:24px 18px;
    }

    .visit-card{
        padding:38px 22px;
        border-radius:26px;
    }

    .visit-card h3{
        font-size:1.25rem;
        line-height:1.5;
    }

    .visit-card p{
        font-size:0.95rem;
    }
}

@media(max-width:420px){

    .hero h1{
        font-size:2.1rem;
    }

    .hero-subtext{
        font-size:0.9rem;
    }

    .mobile-dock{
        width:94%;
        padding:13px 14px;
    }

    .mobile-dock a{
        font-size:0.78rem;
    }
}