 .secret-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0);
    z-index: 300;
    pointer-events: none;
    opacity: 0;
    transition: all 1s ease;
}

    .secret-overlay.show {
        opacity: 1;
        background: radial-gradient(circle at 50% 50%, rgba(20,10,40,0.3) 0%, rgba(5,5,20,0.7) 100%);
    }

 .secret-msg {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.8);
    color: #ffecd2;
    font-size: 32px;
    letter-spacing: 12px;
    z-index: 350;
    opacity: 0;
    pointer-events: none;
    transition: all 1.2s cubic-bezier(0.34, 1.56, 0.64, 1);
    text-shadow: 0 0 60px rgba(255,236,210,0.9), 0 0 120px rgba(255,200,150,0.5);
    padding: 60px 90px;
    background: rgba(0,0,0,0.6);
    border-radius: 40px;
    border: 2px solid rgba(255,212,163,0.3);
    backdrop-filter: blur(30px);
    text-align: center;
}

    .secret-msg.show {
        opacity: 1;
        transform: translate(-50%, -50%) scale(1);
    }

    .secret-msg .main-text {
        animation: textGlow 2s ease-in-out infinite;
    }

@keyframes textGlow {
    0%, 100% {
        text-shadow: 0 0 60px rgba(255,236,210,0.9), 0 0 120px rgba(255,200,150,0.5);
    }

    50% {
        text-shadow: 0 0 80px rgba(255,236,210,1), 0 0 160px rgba(255,200,150,0.8), 0 0 200px rgba(255,150,100,0.4);
    }
}

.secret-msg .sub {
    display: block;
    margin-top: 25px;
    font-size: 18px;
    color: #c4b8d9;
    letter-spacing: 6px;
}

.secret-msg .poem {
    display: block;
    margin-top: 40px;
    font-size: 15px;
    color: rgba(255,236,210,0.7);
    letter-spacing: 3px;
    line-height: 2.2;
    font-style: italic;
    white-space: pre-line;
}

 .secret-moon {
    position: fixed;
    z-index: 320;
    width: 200px;
    height: 200px;
    border-radius: 50%;
    box-shadow: 40px 40px 0 0 rgba(255,236,210,0.9);
    opacity: 0;
    pointer-events: none;
    transition: all 2s cubic-bezier(0.34, 1.56, 0.64, 1);
}

    .secret-moon.show {
        opacity: 1;
        box-shadow: 40px 40px 0 0 rgba(255,236,210,0.95), 0 0 150px 60px rgba(255,236,210,0.3);
    }

    .secret-moon::after {
        content: '';
        position: absolute;
        top: -50%;
        left: -50%;
        width: 200%;
        height: 200%;
        background: radial-gradient(circle, rgba(255,236,210,0.15) 0%, transparent 50%);
        animation: secretMoonPulse 3s ease-in-out infinite;
    }

@keyframes secretMoonPulse {
    0%, 100% {
        transform: scale(1);
        opacity: 0.5;
    }

    50% {
        transform: scale(1.3);
        opacity: 0.8;
    }
}

 .light-ray {
    position: fixed;
    z-index: 310;
    width: 3px;
    height: 300px;
    background: linear-gradient(180deg, rgba(255,236,210,0.8), transparent);
    transform-origin: top center;
    opacity: 0;
    pointer-events: none;
}

    .light-ray.show {
        animation: rayShoot 2s ease-out forwards;
    }

@keyframes rayShoot {
    0% {
        opacity: 0;
        height: 0;
    }

    30% {
        opacity: 1;
        height: 400px;
    }

    100% {
        opacity: 0;
        height: 600px;
    }
}

 .ring-wave {
    position: fixed;
    z-index: 315;
    border: 3px solid rgba(255,236,210,0.6);
    border-radius: 50%;
    pointer-events: none;
    opacity: 0;
}

    .ring-wave.show {
        animation: ringExpand 2s ease-out forwards;
    }

@keyframes ringExpand {
    0% {
        width: 50px;
        height: 50px;
        opacity: 1;
        margin: -25px;
    }

    100% {
        width: 800px;
        height: 800px;
        opacity: 0;
        margin: -400px;
        border-width: 1px;
    }
}

 .spiral-star {
    position: fixed;
    z-index: 325;
    pointer-events: none;
    font-size: 20px;
    opacity: 0;
}

    .spiral-star.show {
        animation: spiralMove 4s ease-out forwards;
    }

@keyframes spiralMove {
    0% {
        opacity: 1;
        transform: rotate(0deg) translateX(0) scale(0);
    }

    20% {
        opacity: 1;
        transform: rotate(180deg) translateX(100px) scale(1);
    }

    100% {
        opacity: 0;
        transform: rotate(720deg) translateX(300px) scale(0.3);
    }
}

 .firework {
    position: fixed;
    pointer-events: none;
    z-index: 330;
}

.firework-particle {
    position: absolute;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    animation: fireworkExplode 2s ease-out forwards;
}

@keyframes fireworkExplode {
    0% {
        transform: translate(0, 0) scale(1);
        opacity: 1;
    }

    100% {
        transform: translate(var(--fx), var(--fy)) scale(0);
        opacity: 0;
    }
}

 .heart-float {
    position: fixed;
    font-size: 35px;
    pointer-events: none;
    z-index: 340;
    animation: heartRise 5s ease-out forwards;
}

@keyframes heartRise {
    0% {
        opacity: 0;
        transform: translateY(0) scale(0) rotate(0deg);
    }

    15% {
        opacity: 1;
        transform: translateY(-40px) scale(1.3) rotate(-15deg);
    }

    100% {
        opacity: 0;
        transform: translateY(-500px) scale(0.4) rotate(25deg);
    }
}

 .shimmer-border {
    position: absolute;
    top: -3px;
    left: -3px;
    right: -3px;
    bottom: -3px;
    border-radius: 43px;
    z-index: -1;
    background: linear-gradient(45deg, #ff9a9e, #fecfef, #ffecd2, #a8edea, #fed6e3, #ff9a9e);
    background-size: 400% 400%;
    animation: shimmer 3s ease infinite;
    opacity: 0;
    transition: opacity 1s;
}

.secret-msg.show .shimmer-border {
    opacity: 0.6;
}

@keyframes shimmer {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

 .konami-rainbow {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, rgba(255,0,0,0.1), rgba(255,165,0,0.1), rgba(255,255,0,0.1), rgba(0,255,0,0.1), rgba(0,0,255,0.1), rgba(128,0,128,0.1) );
    background-size: 600% 600%;
    animation: rainbowMove 3s ease infinite;
    pointer-events: none;
    z-index: 299;
    opacity: 0;
    transition: opacity 0.5s;
}

    .konami-rainbow.show {
        opacity: 1;
    }

@keyframes rainbowMove {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

 .typewriter {
    overflow: hidden;
    display: inline-block;
    animation: typewriter 2s steps(20, end);
}

@keyframes typewriter {
    from {
        width: 0;
    }

    to {
        width: 100%;
    }
}

 .golden-particle {
    position: fixed;
    width: 10px;
    height: 10px;
    background: radial-gradient(circle, #ffd700, #ff8c00);
    border-radius: 50%;
    pointer-events: none;
    z-index: 350;
    box-shadow: 0 0 15px #ffd700;
    animation: goldenFloat 3s ease-out forwards;
}

@keyframes goldenFloat {
    0% {
        opacity: 1;
        transform: scale(1) translateY(0);
    }

    100% {
        opacity: 0;
        transform: scale(0.3) translateY(-200px);
    }
}

 .constellation-line {
    position: fixed;
    height: 2px;
    background: linear-gradient(90deg, transparent, rgba(255,236,210,0.6), transparent);
    pointer-events: none;
    z-index: 305;
    transform-origin: left center;
    opacity: 0;
}

    .constellation-line.show {
        animation: constellationDraw 1s ease forwards;
    }

@keyframes constellationDraw {
    0% {
        width: 0;
        opacity: 0;
    }

    50% {
        opacity: 1;
    }

    100% {
        width: var(--length);
        opacity: 0.6;
    }
}

 @media (max-width: 600px) {
    .secret-msg {
        font-size: 22px;
        padding: 40px 50px;
        letter-spacing: 8px;
    }

        .secret-msg .sub {
            font-size: 14px;
        }

        .secret-msg .poem {
            font-size: 12px;
        }

    .secret-moon {
        width: 120px;
        height: 120px;
        box-shadow: 25px 25px 0 0 rgba(255,236,210,0.9);
    }
}
