/* -------------------------------------------------
   BASIC RESET & TYPOGRAPHY
   ------------------------------------------------- */
body {
    margin: 0;
    padding: 0;
    font-family: 'Helvetica Neue', sans-serif;
    background-color: #f5f5f5;
    color: #333;
    line-height: 1.6;
    overflow-x: hidden;
}

/* -------------------------------------------------
   HEADER & NAVIGATION
   ------------------------------------------------- */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100px;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(7.5px);
    -webkit-backdrop-filter: blur(7.5px);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    z-index: 100;
    transform: translateZ(0);
    backface-visibility: hidden;
    will-change: transform;
}

.hamburger-container {
    position: absolute;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    align-items: center;
    gap: 10px;
}

.hamburger {
    background: rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(7.5px);
    border: none;
    cursor: pointer;
    width: 30px;
    height: 25px;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    transition: background 0.3s ease;
}

.hamburger:hover { background: #ffffff; }

/* -------------------------------------------------
   MENU TEXT – HIDDEN UNTIL HOVER (WHITE)
   ------------------------------------------------- */
.menu-text {
    color: transparent;
    font-family: 'Montserrat', sans-serif;
    font-weight: 500;
    font-size: 14px;
    text-transform: uppercase;
    transition: color 0.3s ease;
    pointer-events: none;
}

.hamburger-container:hover .menu-text {
    color: #ffffff;
}

.logo-img {
    max-height: 80px;
    width: auto;
    cursor: pointer;
}

/* -------------------------------------------------
   MENU – FULL SCREEN BG + CENTER BELOW HEADER
   ------------------------------------------------- */
.nav-dropdown {
    position: fixed;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100vh;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(7.5px);
    -webkit-backdrop-filter: blur(7.5px);
    display: flex;
    align-items: flex-start;
    justify-content: center;
    transition: left 0.4s ease;
    z-index: 90;
    overflow: hidden;
    padding-top: 100px;
}

.nav-dropdown.active { left: 0; }

.nav-dropdown ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 32px;
    width: 100%;
    max-width: 600px;
    height: calc(100vh - 100px);
    flex: 1;
}

.nav-dropdown li a {
    color: #808080;
    text-decoration: none;
    font-size: 32px;
    font-family: 'Helvetica Neue', sans-serif;
    font-weight: normal;
    transition: color 0.3s;
    text-align: center;
    display: block;
    width: 100%;
}

.nav-dropdown a:hover { color: #000; }

/* -------------------------------------------------
   HERO – NO OVERLAP WITH HEADER
   ------------------------------------------------- */
.hero {
    height: 100vh;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding-top: 100px;
    box-sizing: border-box;
}

.hero-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 120%; /* Extra height so it fills during parallax */
    object-fit: cover;
    z-index: -1;
    transform: translateZ(0); /* GPU acceleration */
    will-change: transform;   /* Performance hint */
}

.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(255,255,255,.3);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    z-index: 0;
    pointer-events: none;
}

.hero-content {
    position: relative;
    max-width: 800px;
    z-index: 1;
}

h1 {
    font-size: 48px;
    margin: 0 0 10px;
}

h1 span:first-child { color: darkgray; }
h1 span:last-child { color: #fff; }

/* -------------------------------------------------
   GENERAL SECTIONS
   ------------------------------------------------- */
.section { padding: 80px 20px; text-align: center; }
.full-width { padding: 0; }
.full-width 

.glass-card {
    background: rgba(255,255,255,.4);
    backdrop-filter: blur(7.5px);
    -webkit-backdrop-filter: blur(7.5px);
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 2px 6px rgba(0,0,0,.1);
    border: 1px solid rgba(255,255,255,.5);
    margin: 0 auto;
    box-sizing: border-box;
}

/* ---------- ABOUT US FADE-IN ---------- */
.about-fade-group [data-fade] {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.about-fade-group [data-fade].fade-in {
    opacity: 1;
    transform: translateY(0);
}

/* Stagger the delays so they appear one after another */
.about-fade-group [data-fade="1"] { transition-delay: 0s; }
.about-fade-group [data-fade="2"] { transition-delay: 0.25s; }
.about-fade-group [data-fade="3"] { transition-delay: 0.5s; }

.video-box { position: relative; width: 100%; padding-bottom: 56.25%; background: #000; }
.video-box video { position: absolute; inset: 0; width: 100%; height: 100%; }
.video-loading-overlay {
    position: absolute; inset: 0;
    background: rgba(0,0,0,.7);
    display: flex; align-items: center; justify-content: center;
    color: #fff; font-size: 24px; font-weight: 500; text-transform: uppercase;
    z-index: 2; opacity: 1; transition: opacity .5s;
}
.video-loading-overlay.hidden { opacity: 0; pointer-events: none; }

h2 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 500;           /* Medium – looks great for headings */
    font-size: 36px;
    margin-bottom: 40px;
    color: #000000;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.glass-card {
    background: rgba(255,255,255,.4);
    backdrop-filter: blur(7.5px);
    -webkit-backdrop-filter: blur(7.5px);
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 2px 6px rgba(0,0,0,.1);
    border: 1px solid rgba(255,255,255,.5);
    margin: 0 auto;
    box-sizing: border-box;
}

.about-us-full-width { width: 100%; max-width: none; margin: 0; padding: 0 20px; }
.nb-international-text { font-family: 'Montserrat',sans-serif; font-weight: 300; font-size: 14px; color: #272727; max-width: 600px; margin: 0 auto 20px; }
.slate-icon { width: 60px; height: 60px; background: url('slate-icon.png') center/contain no-repeat; margin: 20px auto; }

/* -------------------------------------------------
   PORTFOLIO GRID
   ------------------------------------------------- */
.portfolio .grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
}
.portfolio .item img { width: 100%; height: auto; border-radius: 6px; margin-bottom: 15px; }
.portfolio h3 { font-size: 20px; margin: 10px 0; color: #222; }
.portfolio p { font-size: 14px; color: #555; }

/* -------------------------------------------------
   CONTACT FORM
   ------------------------------------------------- */
form { max-width: 600px; margin: 0 auto; display: flex; flex-direction: column; gap: 10px; }
input, textarea {
    padding: 10px;
    border: 1px solid rgba(255,255,255,.5);
    border-radius: 5px;
    background: rgba(255,255,255,.2);
    color: #fff;
    font-family: 'Montserrat',sans-serif;
}
textarea { resize: vertical; min-height: 100px; }
button {
    padding: 10px 20px;
    background: rgba(64,181,167,.755);
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-family: 'Montserrat',sans-serif;
    font-weight: 500;
    color: #fff;
    transition: background .3s;
}
button:hover { background: #010100; }

/* -------------------------------------------------
   FOOTER
   ------------------------------------------------- */
footer { text-align: center; padding: 20px; background: rgba(255,255,255,.1); color: #333; font-size: 12px; }

/* -------------------------------------------------
   TIMELINE
   ------------------------------------------------- */
.timeline { position: relative; max-width: 1200px; margin: 0 auto; }
.timeline::after {
    content: '';
    position: absolute;
    width: 6px;
    background: linear-gradient(to bottom, rgba(255,255,255,.5), rgba(255,255,255,.9));
    top: 0; bottom: 0; left: 50%; margin-left: -3px;
    border-radius: 3px;
    box-shadow: 0 0 8px rgba(255,255,255,.7);
    animation: lightPulse 3s ease-in-out infinite;
}
@keyframes lightPulse {
    0% { box-shadow: 0 0 8px rgba(255,255,255,.7); opacity: .85; }
    50% { box-shadow: 0 0 12px rgba(255,255,255,.9); opacity: 1; }
    100% { box-shadow: 0 0 8px rgba(255,255,255,.7); opacity: .85; }
}
.timeline-item {
    padding: 10px 40px;
    position: relative;
    width: 50%;
    box-sizing: border-box;
    opacity: 0;
    transform: translateY(50px);
    transition: opacity .8s ease, transform .8s ease;
    z-index: 1;
}
.timeline-item.visible { opacity: 1; transform: translateY(0); }
.timeline-item::after {
    content: '';
    position: absolute;
    width: 48px; height: 48px;
    right: -24px;
    background: url('popcorn-icon.png') center/contain no-repeat;
    top: 32px;
    z-index: 10;
}
.timeline-item.right::after { left: -24px; }
timeline-item.left { left: 0; }
.timeline-item.right { left: 50%; }
.timeline-content { padding: 30px 40px; border-radius: 6px; }
.service-icon { 
    width: 100%;           /* Full width of container, responsive */
    max-width: 400px;      /* Cap at original cinematic size on desktop */
    height: auto;          /* Original ratio – no squeezing! */
    margin: 0 auto 30px; 
    transition: transform .3s; 
    background: url('sound-design-icon.png') center/contain no-repeat;  /* Or your image */
    background-size: contain;  /* Keeps proportions */
}
.service-icon:hover { transform: scale(1.05); }

/* -------------------------------------------------
   RESPONSIVE
   ------------------------------------------------- */
@media (max-width: 768px) {
    .header { height: 60px; padding: 10px; }
    .hamburger { width: 24px; height: 20px; }
    .menu-text { display: none; }
    .logo-img { max-height: 50px; margin-left: 60px; }

    .nav-dropdown { padding-top: 60px; }
    .nav-dropdown ul { gap: 24px; height: calc(100vh - 60px); }
    .nav-dropdown li a { font-size: 24px; }

    .hero { padding-top: 60px; }
    h1 { font-size: 28px; }
    h2 { font-size: 24px; }
    .section { padding: 40px 10px; }
    .glass-card { padding: 10px; }
    .nb-international-text { font-size: 12px; }
    .slate-icon { width: 40px; height: 40px; }
    .portfolio .grid { grid-template-columns: 1fr; }
    .timeline::after { left: 25px; }
    .timeline-item { width: 100%; padding-left: 60px; }
    .timeline-item::after { left: 8px; width: 32px; height: 32px; }
    .timeline-item.right { left: 0; }
    .service-icon { width: 150px; height: 84.375px; }
    form { max-width: 95%; }
    input, textarea { padding: 6px; font-size: 12px; }
    button { padding: 6px 12px; font-size: 12px; }
}

@media (max-width: 600px) and (orientation: portrait) {
    .nav-dropdown ul { gap: 20px; }
    .nav-dropdown li a { font-size: 20px; }
    .logo-img { max-height: 40px; margin-left: 50px; }
    .timeline::after { left: 20px; }
    .timeline-item { padding-left: 50px; }
    .timeline-item::after { left: 6px; width: 28px; height: 28px; }
    .service-icon { width: 120px; height: 67.5px; }
}

/* -------------------------------------------------
   PLACEHOLDER FIX
   ------------------------------------------------- */
input::placeholder, textarea::placeholder { color:#bbb; opacity:1; font-style:italic; }
input::-moz-placeholder, textarea::-moz-placeholder { color:#bbb; opacity:1; font-style:italic; }

/* Hide OUR CLIENTS section on mobile */
@media (max-width: 768px) {
    #clients { display: none; }
}

/* Fix logo placement on mobile portrait */
@media (max-width: 600px) and (orientation: portrait) {
    .header { justify-content: center; }
    .logo-img {
        position: absolute;
        left: 50%;
        transform: translateX(-50%);
        margin-left: 0;
        max-height: 48px;
        top: 6px;
    }
    .hamburger-container { left: 10px; }
}

/* Ensure menu items are visible in portrait */
@media (max-width: 600px) and (orientation: portrait) {
    .nav-dropdown { padding-top: 80px; }
    .nav-dropdown ul {
        height: auto;
        margin-top: 40px;
    }
}

/* Visible cinematic outline shine */
.shine-outline {
    position: relative;
    display: inline-block;
    color: #ffffff;
}

/* Create glow only on letter edges */
.shine-outline::before {
    content: "We Shine"; /* Must match text exactly */
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    color: transparent;
    -webkit-text-stroke: 1.4px rgba(255,255,255,0.65);
    filter: drop-shadow(0 0 5px rgba(255,255,255,0.8));
    clip-path: polygon(0 0, 0 0, 0 100%, 0 100%); /* Start hidden */
    animation: outlineShine 3s ease-in-out infinite;
}

/* Sweep the highlight across edges only */
@keyframes outlineShine {
    0% {
        clip-path: polygon(0 0, 0 0, 0 100%, 0 100%);
    }
    50% {
        clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
    }
    100% {
        clip-path: polygon(0 0, 0 0, 0 100%, 0 100%);
    }
}

/* Smooth cinematic glow animation */
.glow-text {
    color: #ffffff;
    position: relative;
    display: inline-block;
    text-shadow:
        0 0 6px rgba(255,255,255,0.6),
        0 0 12px rgba(255,255,255,0.35);
    animation: glowPulse 3.8s ease-in-out infinite;
}

@keyframes glowPulse {
    0% {
        text-shadow:
            0 0 4px rgba(255,255,255,0.4),
            0 0 10px rgba(255,255,255,0.25),
            0 0 20px rgba(255,255,255,0.15);
    }
    50% {
        text-shadow:
            0 0 6px rgba(255,255,255,0.85),
            0 0 14px rgba(255,255,255,0.55),
            0 0 28px rgba(255,255,255,0.40);
    }
    100% {
        text-shadow:
            0 0 4px rgba(255,255,255,0.4),
            0 0 10px rgba(255,255,255,0.25),
            0 0 20px rgba(255,255,255,0.15);
    }
}

/* Use Montserrat font inside The Alchemy timeline boxes */
.timeline-content h3,
.timeline-content p {
    font-family: 'Montserrat', sans-serif;
}

.timeline-content h3 {
    font-weight: 600;
    letter-spacing: 0.5px;
}

.timeline-content p {
    font-weight: 300;
    font-size: 14px;
    line-height: 1.55;
}

/* Use Montserrat in Vision Board boxes */
.portfolio .item h3,
.portfolio .item p {
    font-family: 'Montserrat', sans-serif;
}

.portfolio .item h3 {
    font-weight: 600;
    letter-spacing: 0.4px;
}

portfolio .item p {
    font-weight: 300;
    font-size: 14px;
    line-height: 1.55;
}

/* ABOUT US FONT COLOR */
#about h2 span {
    color: #000000 !important;
}

#about h2 span {
    color: #111111 !important;
    letter-spacing: 0.5px;
}

/* Make ABOUT US glass card narrower and centered 
.about-us-full-width {
    max-width: 820px;   
    margin: 0 auto;
    padding: 40px 32px;
}
*/

.about-us-full-width {
    max-width: 100%;
    margin: 0;
    padding: 20px;
    background: transparent;
    border: none;
    box-shadow: none;
}


/* Make section titles bold */
.section h2 {
    font-weight: 700 !important;
    letter-spacing: 0.6px;
    text-transform: uppercase;
}

/* Make these titles gray */
#vision-board h2,
#services h2,
#clients h2,
#contact h2 {
    color: #525151 !important; /* soft cinematic gray */
}

/* Keep WORK IN LIGHT darker */
#work-in-light h2 span {
    color: #111 !important;
}

.section h2 {
    text-align: center;
    line-height: 1.3;
}

/* Cinematic typographic treatment for WORK IN LIGHT (no color change) */
#work-in-light h2 {
    font-weight: 700 !important;
    text-align: center;
    line-height: 1.25;
    letter-spacing: 0.6px; /* subtle, expensive-feeling spacing */
    text-transform: uppercase;
}

#about h2 span.about-title {
    color: #aaa9a9 !important;
}



/* Control color of TIME TO SHINE title only */
#contact h2 {
    color: #2a2a2a !important; /* <-- choose any color here */
    font-weight: 700;
    letter-spacing: 0.6px;
    text-transform: uppercase;
}

/* Make ABOUT US and WORK IN LIGHT headings lighter */
#about h2 span.about-title,
#we-work-with-light h2,
#we-work-with-light h2 span {
    font-weight: 500 !important; /* lighter Montserrat weight */
    opacity: 0.9; /* optional – keeps them soft and cinematic */
}


/* ABOUT US font weight only */
#about h2 span.about-title {
    font-weight: 300 !important; /* or 300 for thinner, 500 for medium */
}

/* WORK IN LIGHT font weight only */
#we-work-with-light h2,
#we-work-with-light h2 span {
    font-weight: 500 !important; /* or 500/700 to taste */
}

#about .nb-international-text {
    letter-spacing: 0.4px;
    word-spacing: 1px;  /* adds breathing room between words */
    line-height: 1.5;  /* improves rhythm and flow */
}


/* ---- Make hamburger menu item titles lighter ---- */
.nav-dropdown li a {
    font-weight: 300 !important; /* lighter, more elegant */
}

/* ---- Make THE ALCHEMY and TIME TO SHINE headings lighter ---- */
#services h2,
#contact h2 {
    font-weight: 400 !important; /* softer but still clear */
}

/* ---- Use Montserrat for hamburger menu items ---- */
.nav-dropdown li a {
    font-family: 'Montserrat', sans-serif !important;
    font-weight: 350 !important; /* lighter for elegance */
}

/* ---- Make TIME TO SHINE heading lighter ---- */
#contact h2 {
    font-weight: 300 !important; /* lighter look */
}




/* VISION word color */
#vision-board h2 .vision-word {
    color: #262626 !important; /* soft gray or custom tone */
}

/* BOARD word color */
#vision-board h2 .board-word {
    color: #262626 !important; /* lighter contrast tone */
}






/* ---------- MICRO-INTERACTIONS ---------- */

/* Shared base for all */
.micro-toast, .micro-lighting, .micro-spacecraft {
    cursor: pointer;
    position: relative;
    display: inline-block;
    transition: color 0.3s ease;
}

/* TOAST: Burn with smoke puff */
.micro-toast:hover, .micro-toast:active {
    color: #ff4500; /* Orange-red burn */
}

.micro-toast::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    width: 20px;
    height: 20px;
    background: radial-gradient(circle, rgba(169,169,169,0.6) 0%, transparent 70%);
    opacity: 0;
    transform: translate(-50%, 0) scale(0.5);
    transition: opacity 0.5s, transform 0.5s;
    border-radius: 50%;
    pointer-events: none;
}

.micro-toast:hover::after, .micro-toast:active::after {
    opacity: 1;
    transform: translate(-50%, -20px) scale(1); /* Rise like smoke */
    animation: smokePuff 1s ease-out forwards;
}

@keyframes smokePuff {
    0% { opacity: 1; transform: translate(-50%, -20px) scale(1); }
    100% { opacity: 0; transform: translate(-50%, -40px) scale(1.5); }
}

/* LIGHTING: Flash glow */
.micro-lighting:hover, .micro-lighting:active {
    color: #ffd700; /* Gold yellow */
    text-shadow: 0 0 10px #ffff00, 0 0 20px #ffff00;
    animation: lightFlash 0.6s ease-in-out;
}

@keyframes lightFlash {
    0% { text-shadow: none; }
    50% { text-shadow: 0 0 15px #ffff00, 0 0 30px #ffff00; }
    100% { text-shadow: none; }
}

/* SPACECRAFT: UFO Abduction Beam */
.micro-spacecraft {
    position: relative;
    display: inline-block;
    cursor: pointer;
}

.micro-spacecraft::before {
    content: '';
    position: absolute;
    top: -40px;
    left: 50%;
    width: 60px;
    height: 60px;
    background: radial-gradient(circle at center, #a0f7ff 0%, #00e5ff 40%, transparent 70%);
    border-radius: 50%;
    opacity: 0;
    transform: translateX(-50%) scale(0.3);
    pointer-events: none;
    filter: blur(8px);
    z-index: -1;
    transition: all 0.5s ease;
}

.micro-spacecraft::after {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    width: 4px;
    height: 0;
    background: linear-gradient(to bottom, #00e5ff, #a0f7ff);
    opacity: 0;
    transform: translateX(-50%);
    box-shadow: 0 0 15px #00e5ff;
    pointer-events: none;
    transition: height 0.6s ease, opacity 0.6s ease;
}

.micro-spacecraft:hover::before,
.micro-spacecraft:active::before {
    opacity: 0.7;
    transform: translateX(-50%) scale(1);
    animation: ufoPulse 2s infinite alternate;
}

.micro-spacecraft:hover::after,
.micro-spacecraft:active::after {
    height: 50px;
    opacity: 1;
}

.micro-spacecraft:hover,
.micro-spacecraft:active {
    animation: ufoLift 0.8s ease-out forwards;
    color: #a0f7ff;
    text-shadow: 0 0 10px #00e5ff;
}

@keyframes ufoPulse {
    0% { box-shadow: 0 0 20px #00e5ff; }
    100% { box-shadow: 0 0 40px #00e5ff, 0 0 60px #00ffff; }
}

@keyframes ufoLift {
    0% { transform: translateY(0); }
    100% { transform: translateY(-12px); }
}


/* ---------- MICRO-INTERACTIONS: BEDAZZLEMENT & POPCORN ---------- */

/* BEDAZZLEMENT: Sparkle burst */
.micro-bedazzle {
    position: relative;
    display: inline-block;
    cursor: pointer;
}

.micro-bedazzle::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 6px;
    height: 6px;
    background: #fff;
    border-radius: 50%;
    opacity: 0;
    transform: translate(-50%, -50%) scale(0);
    box-shadow: 0 0 8px #fff;
    pointer-events: none;
}

.micro-bedazzle:hover::before,
.micro-bedazzle:active::before {
    animation: sparkleBurst 0.8s ease-out forwards;
}

.micro-bedazzle:hover,
.micro-bedazzle:active {
    color: #e0f7ff;
    text-shadow: 0 0 10px #a0f7ff;
}

@keyframes sparkleBurst {
    0% {
        opacity: 1;
        transform: translate(-50%, -50%) scale(0);
    }
    50% {
        opacity: 1;
        transform: translate(-50%, -50%) scale(1.5);
    }
    100% {
        opacity: 0;
        transform: translate(-50%, -50%) scale(3);
    }
}

/* POPCORN: Pop + kernel bounce */
.micro-popcorn {
    position: relative;
    display: inline-block;
    cursor: pointer;
}

.micro-popcorn::after {
    content: '';
    position: absolute;
    bottom: -12px;
    left: 50%;
    width: 8px;
    height: 8px;
    background: #fff;
    border-radius: 50% 50% 50% 0;
    opacity: 0;
    transform: translateX(-50%) rotate(45deg) scale(0);
    pointer-events: none;
    box-shadow: 0 0 6px #ffeb3b;
}

.micro-popcorn:hover::after,
.micro-popcorn:active::after {
    animation: popcornPop 0.7s ease-out forwards;
}

.micro-popcorn:hover,
.micro-popcorn:active {
    animation: popcornShake 0.3s ease-in-out;
    color: #fffbe6;
    text-shadow: 0 0 8px #ffeb3b;
}

@keyframes popcornPop {
    0% {
        opacity: 1;
        transform: translateX(-50%) rotate(45deg) scale(0);
    }
    60% {
        opacity: 1;
        transform: translateX(-50%) rotate(180deg) scale(1.4) translateY(-16px);
    }
    100% {
        opacity: 0;
        transform: translateX(-50%) rotate(360deg) scale(0.8) translateY(-24px);
    }
}

@keyframes popcornShake {
    0%, 100% { transform: translateY(0); }
    25% { transform: translateY(-3px); }
    75% { transform: translateY(1px); }
}

/* ---------- MATRIX VIDEO MODE ---------- */
#matrix-overlay {
    position: fixed;
    top: 0; left: 0;
    width: 100vw;
    height: 100vh;
    background: #000;
    z-index: 9999;
    opacity: 0;
    pointer-events: none;
    overflow: hidden;
    transition: opacity 0.8s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Courier New', monospace;
}

#matrix-overlay.active {
    opacity: 1;
    pointer-events: all;
}

#matrix-video {
    position: absolute;
    top: 0; left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1;
    filter: brightness(1.1) contrast(1.3);
}

.matrix-text {
    color: #0f0;
    font-size: 3rem;
    font-weight: bold;
    text-shadow: 0 0 20px #0f0, 0 0 40px #0f0;
    animation: flicker 2s infinite alternate;
    pointer-events: none;
}

@keyframes flicker {
    0%, 100% { opacity: 1; text-shadow: 0 0 20px #0f0, 0 0 40px #0f0; }
    50% { opacity: 0.8; text-shadow: 0 0 30px #0f0, 0 0 60px #0f0; }
}

/* Lock everything */
body.matrix-mode {
    overflow: hidden !important;
}
#matrix-overlay.active * {
    pointer-events: none !important;
}

/* ---------- BURNING TOAST OVERLAY (legacy popcorn-overlay kept for compatibility) ---------- */
#popcorn-overlay {
    position: fixed;
    top: 0; left: 0;
    width: 100vw;
    height: 100vh;
    background: #111;
    z-index: 9999;
    opacity: 0;
    pointer-events: none;
    overflow: hidden;
    transition: opacity 0.8s ease;
}

#popcorn-overlay.active {
    opacity: 1;
    pointer-events: all;
}

.burning-toast {
    position: absolute;
    top: 50%; left: 50%;
    width: 150px;
    height: 150px;
    background: #8B4513;
    transform: translate(-50%, -50%);
    animation: burnToast 5s forwards;
    box-shadow: 0 0 20px #ff4500;
}

@keyframes burnToast {
    0% { background: #8B4513; }
    100% { background: #000; transform: translate(-50%, -50%) scale(0.5); opacity: 0.5; }
}

.burning-toast::after {
    content: '';
    position: absolute;
    top: -50px;
    left: 50%;
    width: 100px;
    height: 200px;
    background: linear-gradient(to top, #ff4500, #ffd700, transparent);
    filter: blur(10px);
    transform: translateX(-50%);
    animation: flameFlicker 0.5s infinite alternate;
    opacity: 0.8;
}

@keyframes flameFlicker {
    0% { height: 200px; opacity: 0.8; }
    100% { height: 250px; opacity: 1; }
}

.fire-edge {
    position: absolute;
    background: linear-gradient(to bottom, #ff4500, #ffd700, transparent);
    opacity: 0.8;
    filter: blur(10px);
    animation: spreadFire 5s forwards;
}

.fire-edge.top {
    top: 0; left: 0; width: 100%; height: 0;
    background: linear-gradient(to bottom, #ff4500, #ffd700, transparent);
}

.fire-edge.bottom {
    bottom: 0; left: 0; width: 100%; height: 0;
    background: linear-gradient(to top, #ff4500, #ffd700, transparent);
}

.fire-edge.left {
    left: 0; top: 0; height: 100%; width: 0;
    background: linear-gradient(to right, #ff4500, #ffd700, transparent);
}

.fire-edge.right {
    right: 0; top: 0; height: 100%; width: 0;
    background: linear-gradient(to left, #ff4500, #ffd700, transparent);
}

@keyframes spreadFire {
    to {
        height: 50vh; /* for top/bottom */
        width: 50vw; /* for left/right */
    }
}

.ash-message {
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    color: #fff;
    font-size: 2rem;
    text-shadow: 0 0 10px #000;
}

body.burn-mode {
    overflow: hidden !important;
}
#popcorn-overlay.active * {
    pointer-events: none !important;
}

/* ---------- UFO ABDUCTION OVERLAY ---------- */
#ufo-overlay {
    position: fixed;
    top: 0; left: 0;
    width: 100vw;
    height: 100vh;
    background: #000;
    z-index: 9999;
    opacity: 0;
    pointer-events: none;
    overflow: hidden;
    transition: opacity 1s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

#ufo-overlay.active {
    opacity: 1;
    pointer-events: all;
}

#ufo-beam {
    position: absolute;
    top: 0;
    left: 50%;
    width: 80px;
    height: 100vh;
    background: linear-gradient(to bottom, transparent, #00e5ff, #a0f7ff, transparent);
    filter: blur(20px);
    transform: translateX(-50%);
    opacity: 0;
    animation: beamPulse 2s infinite;
}

#ufo-ship {
    position: absolute;
    top: 10vh;
    left: 50%;
    width: 120px;
    height: 40px;
    background: #444;
    border-radius: 60px 60px 10px 10px;
    transform: translateX(-50%);
    box-shadow: 0 0 30px #00e5ff, inset 0 0 20px #a0f7ff;
    opacity: 0;
}

#ufo-ship::before, #ufo-ship::after {
    content: '';
    position: absolute;
    top: 50%;
    width: 20px;
    height: 20px;
    background: #00e5ff;
    border-radius: 50%;
    box-shadow: 0 0 15px #00e5ff;
    animation: blink 1.5s infinite alternate;
}

#ufo-ship::before { left: 20px; }
#ufo-ship::after { right: 20px; }

@keyframes beamPulse {
    0%, 100% { opacity: 0.6; height: 100vh; }
    50% { opacity: 1; height: 120vh; }
}

@keyframes blink {
    0% { opacity: 0.6; }
    100% { opacity: 1; }
}

.ufo-message {
    color: #a0f7ff;
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 2.8rem;
    text-shadow: 0 0 20px #00e5ff;
    animation: float 3s infinite ease-in-out;
    pointer-events: none;
    text-align: center;
    line-height: 1.2;
}

.ufo-message .denied {
    color: #ff0044;
    font-size: 2.2rem;
    opacity: 0;
    animation: deniedFlash 0.8s ease-out 3.2s forwards;
    text-shadow: 0 0 15px #ff0044;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-20px); }
}

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

body.ufo-mode {
    overflow: hidden !important;
}
#ufo-overlay.active * {
    pointer-events: none !important;
}

/* Add this to your CSS */
.inadequate {
    color: #ff0044 !important;
    font-size: 0.5em;
    opacity: 0.7;
    text-shadow: 0 0 10px #ff0044;
}

/* Add to bottom of styles.css */
#do-not-click:hover {
    color: #ff0044;
    text-shadow: 0 0 8px #ff0044;
    animation: pulseWarn 0.6s infinite;
}

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

/* BLACK HOLE OVERLAY */
#black-hole {
    position: fixed;
    top: 0; left: 0;
    width: 100vw;
    height: 100vh;
    background: #000;
    z-index: 99999;
    opacity: 0;
    pointer-events: none;
    overflow: hidden;
    transition: opacity 1s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

#black-hole.active {
    opacity: 1;
    pointer-events: all;
}

.accretion-disk {
    position: absolute;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: conic-gradient(from 0deg, #ff00ff, #00ffff, #ffff00, #ff00ff);
    opacity: 0;
    animation: spinDisk 3s linear infinite, fadeInDisk 1.5s forwards;
    filter: blur(20px);
    box-shadow: 0 0 80px #ff00ff, 0 0 120px #00ffff;
}

.horizon {
    position: absolute;
    width: 80px;
    height: 80px;
    background: #000;
    border-radius: 50%;
    box-shadow: inset 0 0 40px #000;
    animation: pulseHorizon 2s infinite;
}

.event-message {
    position: absolute;
    color: #fff;
    font-family: 'Montserrat', sans-serif;
    font-weight: 900;
    font-size: 2.8rem;
    text-shadow: 0 0 30px #ff00ff, 0 0 60px #00ffff;
    opacity: 0;
    animation: glitchText 0.8s steps(2) 2s forwards, float 4s infinite ease-in-out 2.8s;
    letter-spacing: 6px;
    pointer-events: none;
}

@keyframes spinDisk {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

@keyframes fadeInDisk {
    to { opacity: 0.9; }
}

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

@keyframes glitchText {
    0% { opacity: 0; transform: translateY(20px); }
    100% { opacity: 1; transform: translateY(0); }
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-15px); }
}

body.sucked {
    overflow: hidden !important;
}
#black-hole.active * {
    pointer-events: none !important;
}

/* WHITE SWALLOW ELEMENTS */
.white-swallow {
    position: absolute;
    top: 50%; left: 50%;
    width: 100px; height: 100px;
    background: #fff;
    border-radius: 50%;
    transform: translate(-50%, -50%) scale(0);
    animation: swallowWhite 3s ease-in forwards;
    box-shadow: 0 0 50px #fff;
}

@keyframes swallowWhite {
    0% { transform: translate(-50%, -50%) scale(0); }
    100% { transform: translate(-50%, -50%) scale(20); border-radius: 0; width: 100vw; height: 100vh; }
}

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

/* CRT SCANLINES — FORCE VISIBLE */
body::before {
    content: '';
    position: fixed;
    top: 0; left: 0;
    width: 100vw; height: 100vh;
    background: repeating-linear-gradient(0deg, rgba(255,0,68,0.03) 0px, transparent 1px, transparent 2px, rgba(0,255,255,0.03) 3px);
    pointer-events: none;
    z-index: 999999;
    opacity: 1 !important;
    animation: scanlines 0.1s infinite;
}

@keyframes crtFlicker {
    0%, 100% { filter: brightness(1); }
    50% { filter: brightness(1.3) contrast(1.5); }
}

@keyframes scanlines {
    0% { transform: translateY(0); }
    100% { transform: translateY(4px); }
}

@keyframes supernova {
    0% { 
        box-shadow: 0 0 80px #ff00ff, 0 0 120px #00ffff;
        opacity: 0.9;
    }
    100% { 
        box-shadow: 0 0 200px #ff00ff, 0 0 300px #00ffff, 0 0 500px #ffff00;
        opacity: 1;
        transform: scale(2);
    }
}

@keyframes swallow {
    0% { transform: scale(1); }
    100% { transform: scale(20); box-shadow: 0 0 200px #000; }
}

/* ---------- REALISTIC TOAST POP-UP + FIRE ---------- */

#toast-overlay {
    position: fixed;
    top: 0; left: 0;
    width: 100vw;
    height: 100vh;
    overflow: hidden;
    pointer-events: none;
    z-index: 99999;
    opacity: 0;
    transition: opacity 0.5s ease;
}

/* Toast slice (realistic photo background) */
/* Toast container (invisible) */
.toast-slice {
    position: absolute;
    left: 50%;
    bottom: -400px;
    transform: translateX(-50%);
    animation: toastRise 1.6s ease-out forwards;
    width: auto;
    height: auto;
    background: none !important;
    border: none !important;
    outline: none !important;
    box-shadow: none !important;
    backdrop-filter: none !important;
    border-radius: 0 !important;
    padding: 0;
}



.toast-img {
    width: 320px;    /* size of your toast */
    height: auto;
    display: block;
    background: none !important;
    border: none !important;
    outline: none !important;
    box-shadow: none !important;
}




/* Toast rising */
@keyframes toastRise {
    0% { bottom: -260px; transform: translateX(-50%) scale(0.9) rotate(-2deg); opacity: 0.9; }
    60% { bottom: 36%; transform: translateX(-50%) scale(1.05) rotate(1deg); }
    100% { bottom: 35%; transform: translateX(-50%) scale(1) rotate(0deg); }
}

/* Fire igniting on toast */
.toast-fire {
    position: absolute;
    top: -40px;
    left: 50%;
    width: 180px;
    height: 260px;
    transform: translateX(-50%);
    background: radial-gradient(circle, rgba(255,180,60,0.95) 0%, rgba(255,90,0,0.85) 40%, rgba(120,20,0,0.6) 65%, transparent 80%);
    filter: blur(18px);
    opacity: 0;
    animation: ignite 0.6s forwards;
    pointer-events: none;
    mix-blend-mode: screen;
}

@keyframes ignite {
    0% { opacity: 0; transform: translateX(-50%) scale(0.8); }
    100% { opacity: 1; transform: translateX(-50%) scale(1.2); }
}

/* Ember style for appended small particles */
.toast-fire .ember {
    animation: emberFloat 1.2s linear forwards;
}

@keyframes emberFloat {
    0% { transform: translateY(0) scale(1); opacity: 1; }
    100% { transform: translateY(-80px) scale(0.6); opacity: 0; }
}

/* Fire spreading to edges */
.screen-fire {
    position: absolute;
    background: radial-gradient(circle, rgba(255,120,0,0.9), rgba(255,40,0,0.8), transparent 70%);
    filter: blur(40px);
    opacity: 0;
    animation: spreadScreenFire 3s forwards ease-in;
    mix-blend-mode: screen;
    border-radius: 50%;
    transform-origin: center center;
}

@keyframes spreadScreenFire {
    0% { opacity: 0; transform: translate(-50%, -50%) scale(1); }
    100% { opacity: 1; transform: translate(-50%, -50%) scale(12); }
}

/* Final burn to black */
.burnout {
    position: absolute;
    inset: 0;
    background: black;
    opacity: 0;
    animation: burnToBlack 1.6s forwards ease-in;
    z-index: 100000;
}

@keyframes burnToBlack {
    0% { opacity: 0; }
    100% { opacity: 1; }
}

/* Ash message styling for final stage */
.ash-message {
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    color: #ddd;
    font-size: 2rem;
    text-shadow: 0 0 8px #000;
    z-index: 100010;
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
}

/* Keep pointer events off while overlay is running by default */
#toast-overlay.active,
#toast-overlay.running {
    pointer-events: none;
}

/* ---------- SMOKE PLUMES ---------- */
.smoke-plume {
    position: absolute;
    width: 90px;
    height: 90px;
    background: radial-gradient(circle, rgba(140,140,140,0.65) 0%, rgba(100,100,100,0.35) 45%, transparent 75%);
    border-radius: 50% 40%;
    filter: blur(22px);
    pointer-events: none;
    opacity: 0;
    transform: translateY(0) scale(0.3);
    animation: smokeRise 6s forwards linear;
    mix-blend-mode: overlay;
}

@keyframes smokeRise {
    0%   { opacity: 0; transform: translateY(0) scale(0.3) rotate(0deg); }
    15%  { opacity: 0.9; transform: translateY(-40px) scale(0.8) rotate(10deg); }
    100% { opacity: 0; transform: translateY(-650px) scale(3.5) rotate(40deg); }
}

/* ---------- ENHANCED EMBERS (glow hotter) ---------- */
.ember {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
    animation: emberFloat 1.8s linear forwards;
}

@keyframes emberFloat {
    0%   { opacity: 1; transform: translateY(0) rotate(0deg); }
    100% { opacity: 0; transform: translateY(-180px) translateX(${() => (Math.random() > 0.5 ? '' : '-') + Math.floor(Math.random() * 80)}px) rotate(360deg); }
}

/* ---------- R.I.P TOAST – FADE OUT AFTER 4 SECONDS ---------- */
.ash-message {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #ddd;
    font-size: 2rem;
    text-shadow: 0 0 8px #000;
    z-index: 100010;
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    opacity: 1;
    transition: opacity 2.2s ease-out;   /* long, slow, beautiful fade */
    pointer-events: none;
}

/* This class gets added by JS after 4 seconds */
.ash-message.fade-away {
    opacity: 0;
}

/* ----- SLATE ICON – SLOWER, LUXURIOUS HOVER ZOOM ----- */
.slate-icon {
    width: 60px !important;
    height: 60px !important;
    background: url('slate-icon.png') center/contain no-repeat !important;
    background-size: contain !important;
    margin: 20px auto !important;
    cursor: pointer !important;
    transition: transform 0.42s cubic-bezier(0.22, 1, 0.36, 1) !important; /* slower + super smooth */
    transform: scale(1) !important;
    transform-origin: center !important;
    will-change: transform !important;
    user-select: none;
    -webkit-tap-highlight-color: transparent;
    display: block !important;
}

.slate-icon:hover {
    transform: scale(1.25) !important;   /* same subtle size increase */
}

@media (hover: none) {
    .slate-icon:active {
        transform: scale(1.20) !important;
        transition-duration: 0.12s !important;
    }
}

/* Make MUSIC VIDEOS, CINEMA, COMMERCIALS paragraphs more readable */
#vision-board .item p {
    font-size: 14px; 
    font-weight: 350;        /* slightly stronger than 300 */
    line-height: 1.65;       /* more breathing room */
    color: #252525;             /* deeper contrast */
    letter-spacing: 0.3px;   /* subtle cinematic spacing */
}
