/* --- Global Styles --- */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%); 
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    color: #e0e0e0;
    overflow-x: hidden;
    overflow-x: hidden;
    position: relative;
}

.login-container, .celebration-container {
    background: rgba(255, 255, 255, 0.05);
    padding: 3rem;
    border-radius: 30px;
    border: 1px solid rgba(255, 255, 255, 0.1); 
    box-shadow: 0 25px 50px rgba(0,0,0,0.5);
    backdrop-filter: blur(15px);
    z-index: 10;
    width: 90%;
    max-width: 650px;
    text-align: center;
}

h1, h2 {
    color: #fbc2eb;
    margin-bottom: 1.5rem;
    font-weight: 300;
    letter-spacing: -1px;
    text-shadow: 0 0 15px rgba(251, 194, 235, 0.3);
}

input[type="password"] {
    width: 100%;
    padding: 15px;
    margin-bottom: 1rem;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    color: white;
}

button {
    padding: 12px 28px;
    background: linear-gradient(to right, #a18cd1 0%, #fbc2eb 100%); 
    color: #2d3436;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    font-weight: bold;
    text-transform: uppercase;
    transition: all 0.3s ease;
}

button:hover { transform: translateY(-2px); filter: brightness(1.1); }

/* --- Visualizer --- */
.visualizer {
    display: none; /* Changed from flex to none */
    align-items: flex-end;
    gap: 3px;
    height: 20px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.visualizer.active {
    display: flex; /* Bring it back into existence */
    opacity: 1;
}
.bar {
    width: 4px; height: 5px;
    background: #fbc2eb;
    border-radius: 2px;
}
.visualizer.active .bar { animation: bounce 0.6s ease infinite alternate; }
.bar:nth-child(2) { animation-delay: 0.1s; }
.bar:nth-child(3) { animation-delay: 0.2s; }
.bar:nth-child(4) { animation-delay: 0.3s; }
@keyframes bounce { from { height: 5px; } to { height: 20px; } }

/* --- Carousel --- */
.carousel {
    display: flex;
    flex-direction: column;
    align-items: center; 
    margin: 2rem 0;
    position: relative;
}

.carousel img {
    width: 100%;
    max-width: 600px;
    height: 500px;
    object-fit: cover;
    border-radius: 25px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.6);
    margin-bottom: 1.5rem;
    transition: opacity 0.8s ease-in-out;
}

.image-number {
    position: absolute;
    bottom: 85px; 
    right: 20px;
    background: rgba(0, 0, 0, 0.5);
    color: rgba(255, 255, 255, 0.8); 
    padding: 4px 12px;
    border-radius: 15px;
    font-size: 0.75rem;
    font-family: monospace;
    backdrop-filter: blur(5px);
    z-index: 10;
}

/* --- Message Box Refinements --- */
.message-box {
    margin-top: 2rem;
    padding: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: left; /* Reading long text is easier left-aligned */
}

#stats-counter {
    text-align: center;
    display: block;
    font-size: 0.9rem;
    margin-bottom: 25px;
    font-weight: bold;
    letter-spacing: 1px;
}

.message-title {
    color: #fbc2eb;
    font-size: 1.6rem;
    text-align: center;
    margin-bottom: 1.5rem;
    line-height: 1.3;
}

.message-content p {
    margin-bottom: 1.2rem;
    font-size: 1.1rem;
    line-height: 1.6;
    color: #ced4da;
    font-weight: 300;
}

.message-content strong {
    color: #a1c4fd; /* Highlighted reassurance in pastel blue */
    font-weight: 500;
}

.signature {
    margin-top: 2rem;
    text-align: right;
    font-style: italic;
    color: #fbc2eb;
    font-size: 1.2rem;
}

/* --- Balloons --- */
.balloon-bg {
    position: fixed; bottom: -150px;
    width: 45px; height: 60px;
    border-radius: 50%;
    z-index: 1;
    animation: rise var(--duration) linear infinite;
    opacity: 0.4;
}
@keyframes rise {
    0% { transform: translateY(0); opacity: 0; }
    15% { opacity: 0.4; }
    100% { transform: translateY(-125vh); opacity: 0; }
}