* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --soft-pink: #ffb3d1;
    --soft-purple: #e6ccff;
    --soft-blue: #b3d9ff;
    --soft-yellow: #fff4b3;
    --soft-green: #b3ffcc;
    --soft-orange: #ffd9b3;
    --light-bg: #f8f9fa;
    --white: #ffffff;
    --text-dark: #212529;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    overflow-x: hidden;
    background: var(--soft-pink);
    min-height: 100vh;
}

/* Password Screen */
.password-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--soft-green);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10000;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.password-screen.hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.password-container {
    background: rgba(255, 255, 255, 0.95);
    padding: 3rem;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    text-align: center;
    max-width: 400px;
    width: 90%;
}

.password-container h2 {
    color: #333;
    margin-bottom: 1rem;
    font-size: 2rem;
    text-shadow: none;
}

.hint {
    color: #555;
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
    opacity: 0.8;
    text-shadow: none;
}

#password-input {
    width: 100%;
    padding: 1rem;
    border: 2px solid #d63384;
    border-radius: 10px;
    font-size: 1rem;
    margin-bottom: 1rem;
    outline: none;
    transition: border-color 0.3s;
}

#password-input:focus {
    border-color: #8b5a9f;
}

#submit-password {
    width: 100%;
    padding: 1rem;
    background: #d63384;
    color: white;
    border: none;
    border-radius: 10px;
    font-size: 1.1rem;
    font-weight: bold;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
}

#submit-password:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.error-message {
    color: #ff3333;
    margin-top: 1rem;
    font-size: 0.9rem;
    min-height: 1.5rem;
    text-shadow: none;
}

/* Password Screen Music Toggle */
.password-music-toggle {
    position: fixed;
    top: 20px;
    right: 20px;
    padding: 0.75rem 1.5rem;
    border-radius: 25px;
    background: rgba(255, 255, 255, 0.9);
    border: 2px solid #333;
    font-size: 0.9rem;
    cursor: pointer;
    z-index: 10001;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: transform 0.2s;
    color: #333;
    font-weight: 500;
}

.password-music-toggle:hover {
    transform: scale(1.1);
}

/* Main Content */
.main-content {
    position: relative;
    min-height: 100vh;
}

.main-content.hidden {
    display: none;
}

/* Music Toggle */
.music-toggle {
    position: fixed;
    top: 20px;
    right: 20px;
    padding: 0.75rem 1.5rem;
    border-radius: 25px;
    background: rgba(255, 255, 255, 0.9);
    border: 2px solid #d63384;
    font-size: 0.9rem;
    cursor: pointer;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: transform 0.2s;
    color: #d63384;
    font-weight: 500;
}

.music-toggle:hover {
    transform: scale(1.1);
}

/* Snow Effect */
#snow-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
    overflow: hidden;
}

.snowflake {
    position: absolute;
    color: rgba(255, 255, 255, 0.8);
    font-size: 1em;
    font-family: Arial, sans-serif;
    text-shadow: 0 0 5px rgba(255, 255, 255, 0.8);
    animation: snowfall linear infinite;
    user-select: none;
}

@keyframes snowfall {
    0% {
        transform: translateY(-100vh) rotate(0deg);
        opacity: 1;
    }
    100% {
        transform: translateY(100vh) rotate(360deg);
        opacity: 0;
    }
}

/* Slides */
.slides-container {
    position: relative;
    z-index: 10;
}

.slide {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    position: relative;
    scroll-snap-align: start;
}

.slide-content {
    max-width: 900px;
    width: 100%;
    text-align: center;
    position: relative;
}

/* Text Reveal Animations */
.text-reveal {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.fade-in-text {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 1s ease forwards;
}

.fade-in-text.delay-1 { animation-delay: 0.3s; }
.fade-in-text.delay-2 { animation-delay: 0.6s; }
.fade-in-text.delay-3 { animation-delay: 0.9s; }
.fade-in-text.delay-4 { animation-delay: 1.2s; }
.fade-in-text.delay-5 { animation-delay: 1.5s; }
.fade-in-text.delay-6 { animation-delay: 1.8s; }
.fade-in-text.delay-7 { animation-delay: 2.1s; }
.fade-in-text.delay-8 { animation-delay: 2.4s; }
.fade-in-text.delay-9 { animation-delay: 2.7s; }

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

h1, h2 {
    color: var(--white);
    text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.3);
    font-size: clamp(2rem, 5vw, 4rem);
    margin-bottom: 1rem;
}

p {
    color: var(--white);
    text-shadow: 1px 1px 5px rgba(0, 0, 0, 0.3);
    font-size: clamp(1.1rem, 3vw, 1.8rem);
    line-height: 1.6;
}

/* Scroll Indicators */
.scroll-indicator {
    position: absolute;
    bottom: 20px;
    right: 30px;
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.75rem;
    text-transform: lowercase;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.3);
    pointer-events: none;
    opacity: 0;
    animation: fadeInOnce 1s ease 2s forwards;
}

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

/* Slide Specific Styles */
.slide-1 {
    background: var(--soft-pink);
}

.slide-2 {
    background: var(--soft-purple);
}

.slide-3 {
    background: var(--soft-blue);
}

.slide-4 {
    background: var(--soft-green);
}

.slide-5 {
    background: var(--soft-yellow);
    padding: 3rem 2rem;
}

.slide-5 h2,
.slide-5 p {
    color: #333 !important;
    text-shadow: 1px 1px 3px rgba(255, 255, 255, 0.5);
}

/* Link Button */
.link-button {
    display: inline-block;
    margin-top: 2rem;
    padding: 1rem 2rem;
    background: rgba(255, 255, 255, 0.9);
    color: #8b5a9f;
    text-decoration: none;
    border-radius: 50px;
    font-weight: bold;
    font-size: 1.2rem;
    transition: transform 0.2s, box-shadow 0.2s;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.link-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}


/* Operation List */
.operation-title {
    margin-bottom: 3rem;
    font-size: clamp(2rem, 5vw, 3.5rem);
}

.operation-list {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    max-width: 800px;
    margin: 0 auto;
}

.operation-item {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    padding: 2rem;
    border-radius: 20px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    text-align: left;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.operation-item p {
    font-size: clamp(1rem, 2.5vw, 1.4rem);
    line-height: 1.8;
    margin: 0;
}

/* Responsive Design */
@media (max-width: 768px) {
    .password-container {
        padding: 2rem 1.5rem;
    }

    .slide {
        padding: 1.5rem;
    }

    .operation-item {
        text-align: center;
        padding: 1.5rem;
    }

    .scroll-indicator {
        font-size: 0.65rem;
        bottom: 15px;
        right: 20px;
    }
}

@media (max-width: 480px) {
    .password-container h2 {
        font-size: 1.5rem;
    }

    .operation-item {
        padding: 1rem;
    }

    .operation-item p {
        font-size: 1rem;
    }
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
    scroll-snap-type: y mandatory;
}

.slide {
    scroll-snap-align: start;
}

