:root {
    --bg-color: #0f0f0f;
    --text-color: #ffffff;
    --accent-1: #FFD700;
    /* Gold/Yellow from the head */
    --accent-2: #00BFFF;
    /* Deep Sky Blue from the body */
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    padding: 0;
    font-family: 'Outfit', sans-serif;
    background-color: var(--bg-color);
    color: var(--text-color);
    overflow-x: hidden;
}

#hero {
    height: 100vh;
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
    background: radial-gradient(circle at center, #1a1a1a 0%, #0f0f0f 70%);
}

.title {
    font-size: clamp(4rem, 15vw, 10rem);
    font-weight: 700;
    margin: 0;
    background: linear-gradient(135deg, var(--accent-1), var(--accent-2));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 0 30px rgba(0, 191, 255, 0.2));
    animation: float 6s ease-in-out infinite;
    cursor: default;
    transition: transform 0.3s ease;
}

.title:hover {
    transform: scale(1.05);
}

.scroll-indicator {
    position: absolute;
    bottom: 40px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    opacity: 0.6;
    animation: bounce 2s infinite;
    cursor: pointer;
}

.scroll-indicator span {
    font-size: 0.9rem;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.arrow {
    font-size: 1.5rem;
}

#content {
    min-height: 100vh;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: var(--bg-color);
    position: relative;
    overflow: hidden;
}

.gallery-container {
    display: flex;
    align-items: center;
    gap: 40px;
    height: 80vh;
    width: 90%;
    max-width: 1200px;
    justify-content: center;
}

.images-wrapper {
    flex: 1;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.baby-image {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    filter: drop-shadow(0 10px 30px rgba(0, 0, 0, 0.5));
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    position: absolute;
    opacity: 0;
    transform: scale(0.9) translateX(-20px);
    pointer-events: none;
}

.baby-image.active {
    opacity: 1;
    transform: scale(1) translateX(0);
    pointer-events: auto;
    z-index: 10;
}

.slider-wrapper {
    height: 60%;
    display: flex;
    align-items: center;
    padding: 20px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
}

/* Custom Range Slider Styling */
input[type=range][orient=vertical] {
    writing-mode: bt-lr;
    /* IE */
    -webkit-appearance: slider-vertical;
    /* WebKit */
    width: 8px;
    height: 100%;
    padding: 0 5px;
}

.slider {
    -webkit-appearance: none;
    width: 6px;
    height: 100%;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 3px;
    outline: none;
    cursor: pointer;
}

.slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: var(--accent-1);
    cursor: pointer;
    box-shadow: 0 0 15px var(--accent-1);
    transition: transform 0.2s;
}

.slider::-webkit-slider-thumb:hover {
    transform: scale(1.2);
}

.slider::-moz-range-thumb {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: var(--accent-1);
    cursor: pointer;
    box-shadow: 0 0 15px var(--accent-1);
    border: none;
    transition: transform 0.2s;
}

.slider::-moz-range-thumb:hover {
    transform: scale(1.2);
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-20px);
    }
}

@keyframes bounce {

    0%,
    20%,
    50%,
    80%,
    100% {
        transform: translateY(0);
    }

    40% {
        transform: translateY(-10px);
    }

    60% {
        transform: translateY(-5px);
    }
}

.confetti-particle {
    position: fixed;
    width: 80px;
    /* Increased size */
    height: 80px;
    /* Increased size */
    pointer-events: none;
    z-index: 1000;
    will-change: transform;
}