/* =========================================
   ORIGINAL PARALLAX STYLES
   ========================================= */
body {
    margin: 0;
    padding: 0;
    font-family: "Canva Sans", Arial, Helvetica, sans-serif;
    background-color: #1a1a1a; /* Prevents white flash before load */
}

.wrapper {
    position: relative;
}

svg {
    display: block;
    width: 100%;
    height: 100vh;
    position: fixed;
    z-index: 3;
    top: 0;
    left: 0;
}

.scrollElement {
    position: absolute;
    height: 6000px;
    width: 100%;
    top: 0;
    z-index: 4;
}

/* MARK: ---0-490 Mobile */
@media (max-width: 490px) {
    #text,
    #arrow {
        transform-origin: 50% 50%;
        transform: translateY(-120px) scale(0.8);
    }

    #info2 {
        transform-origin: 50% 50%;
        transform: translateY(-120px) scale(0.8);
    }
}

/* =========================================
   NEW PAGE TRANSITION & BUTTON STYLES
   ========================================= */

/* The Magic Curtain */
.page-transition-curtain {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: #111111; /* Deep cinematic black/gray */
    z-index: 99999; /* Keeps it strictly on top */
    pointer-events: none; /* Lets your friend scroll the parallax underneath */
    transition: opacity 1.2s ease-in-out; /* Buttery smooth fade */
    opacity: 1; /* Starts solid black */
}

.page-transition-curtain.hidden {
    opacity: 0;
}

/* Surprise Button Wrapper & Hint */
.next-surprise-wrapper {
    position: fixed;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    z-index: 99990;
    opacity: 0; /* Hidden by default */
    pointer-events: none; /* Cannot be clicked until revealed */
}

.surprise-hint {
    color: rgba(255, 255, 255, 0.9);
    font-size: 15px;
    margin-bottom: 12px;
    font-family: "Canva Sans", Arial, Helvetica, sans-serif;
    text-shadow: 0 2px 5px rgba(0,0,0,0.8);
    font-style: italic;
    letter-spacing: 0.5px;
}

/* Beautiful Floating Button Style */
.next-surprise-btn {
    display: inline-block;
    padding: 16px 36px;
    background: linear-gradient(135deg, #ff6b6b, #ff4757);
    color: white;
    font-size: 18px;
    font-weight: bold;
    letter-spacing: 1px;
    font-family: "Canva Sans", Arial, Helvetica, sans-serif;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    box-shadow: 0 10px 25px rgba(255, 71, 87, 0.4);
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    pointer-events: auto; /* Makes button clickable once wrapper is visible */
}

.next-surprise-btn:hover {
    transform: scale(1.05) translateY(-3px);
    box-shadow: 0 15px 35px rgba(255, 71, 87, 0.6);
}
