:root {
    --bg-color: #0a0a0a;
    --text-color: #e0e0e0;
    --accent-color: #ffffff;
    --secondary-text: #a0a0a0;
    --neon-blue: #00f3ff;
    --font-sans: 'Inter', sans-serif;
    --font-serif: 'Playfair Display', serif;
    --container-width: 800px;
    --transition-speed: 0.8s;
}

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

body {
    background-color: var(--bg-color);
    color: var(--text-color);
    font-family: var(--font-sans);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overflow: hidden;
    /* Prevent body scroll, we scroll the container */
    height: 100vh;
    width: 100vw;
}

/* Main Scroll Container */
#slides-container {
    height: 100vh;
    width: 100%;
    overflow-y: scroll;
    scroll-snap-type: y mandatory;
    scroll-behavior: smooth;
    /* Hide scrollbar */
    scrollbar-width: none;
    /* Firefox */
    -ms-overflow-style: none;
    /* IE 10+ */
}

#slides-container::-webkit-scrollbar {
    display: none;
    /* Chrome/Safari */
}

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 2rem;
    position: relative;
    z-index: 2;
}

/* Typography */
h1,
h2,
h3 {
    font-family: var(--font-serif);
    font-weight: 400;
    color: var(--accent-color);
}

h1 {
    font-size: clamp(3rem, 8vw, 5rem);
    line-height: 1.1;
    letter-spacing: -0.02em;
    margin-bottom: 1rem;
}

h2 {
    font-size: clamp(2rem, 5vw, 3.5rem);
    margin-bottom: 2rem;
}

h3 {
    font-size: 1.5rem;
    margin-top: 2rem;
    margin-bottom: 1rem;
    font-style: italic;
}

p {
    font-size: 1.125rem;
    color: var(--secondary-text);
    margin-bottom: 1.5rem;
    font-weight: 300;
}

.highlight {
    background: linear-gradient(to right, #fff, #666);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.section-label {
    display: block;
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: var(--secondary-text);
    margin-bottom: 1rem;
    opacity: 0.7;
}

/* Slides Logic */
.slide {
    height: 100vh;
    width: 100%;
    scroll-snap-align: start;
    display: flex;
    align-items: center;
    /* Center vertically */
    position: relative;
    opacity: 0.3;
    /* Dim inactive slides */
    transition: opacity 0.5s ease;
}

.slide.active {
    opacity: 1;
}

/* Inner content animation when active */
.slide .container {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease;
}

.slide.active .container {
    opacity: 1;
    transform: translateY(0);
}

/* Specific Slide Styles */
.click-indicator {
    margin-top: 3rem;
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--secondary-text);
    opacity: 0.5;
    animation: bounce 2s infinite;
}

@keyframes bounce {

    0%,
    20%,
    50%,
    80%,
    100% {
        transform: translateY(0);
    }

    40% {
        transform: translateY(-10px);
    }

    60% {
        transform: translateY(-5px);
    }
}

.story-content {
    border-left: 1px solid rgba(255, 255, 255, 0.1);
    padding-left: 2rem;
    max-height: 60vh;
    overflow-y: auto;
    /* Allow internal scroll if text is too long */
    scrollbar-width: none;
}

.story-content::-webkit-scrollbar {
    display: none;
}

/* Forms */
.contact-form {
    display: grid;
    gap: 1.5rem;
    max-width: 500px;
}

.form-group {
    position: relative;
}

.form-group input,
.form-group textarea {
    width: 100%;
    background: transparent;
    border: none;
    border-bottom: 1px solid var(--secondary-text);
    padding: 0.8rem 0;
    color: var(--text-color);
    font-family: var(--font-sans);
    font-size: 1rem;
    outline: none;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    border-bottom-color: var(--neon-blue);
}

.form-group label {
    position: absolute;
    top: 0.8rem;
    left: 0;
    color: var(--secondary-text);
    pointer-events: none;
    transition: all 0.3s ease;
}

.form-group input:focus~label,
.form-group input:not(:placeholder-shown)~label,
.form-group textarea:focus~label,
.form-group textarea:not(:placeholder-shown)~label {
    top: -1rem;
    font-size: 0.75rem;
    color: var(--neon-blue);
}

.submit-btn {
    background: transparent;
    border: 1px solid var(--neon-blue);
    color: var(--neon-blue);
    padding: 0.8rem 2rem;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    cursor: pointer;
    transition: all 0.3s ease;
    justify-self: start;
}

.submit-btn:hover {
    background: var(--neon-blue);
    color: var(--bg-color);
}

.social-links-slide {
    margin-top: 2rem;
    display: flex;
    gap: 2rem;
}

.social-link {
    color: var(--secondary-text);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s;
}

.social-link:hover {
    color: var(--neon-blue);
}

/* Audio Control */
.audio-control {
    position: fixed;
    bottom: 2rem;
    left: 2rem;
    z-index: 100;
    display: flex;
    align-items: center;
    gap: 1rem;
}

#audio-btn {
    background: none;
    border: none;
    color: var(--secondary-text);
    font-family: var(--font-sans);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    cursor: pointer;
    opacity: 0.7;
    transition: opacity 0.3s;
    position: relative;
    z-index: 2;
}

#audio-btn:hover {
    opacity: 1;
}



/* Nav Indicator */
.nav-indicator {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    z-index: 100;
    display: flex;
    align-items: center;
    gap: 1rem;
    color: var(--secondary-text);
    font-size: 0.75rem;
    font-family: var(--font-sans);
}

.progress-bar {
    width: 100px;
    height: 1px;
    background: rgba(255, 255, 255, 0.1);
    position: relative;
}

.progress-fill {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    background: var(--neon-blue);
    width: 25%;
    /* Initial */
    transition: width 0.5s ease;
}

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

    h1 {
        font-size: 3rem;
    }

    h2 {
        font-size: 2rem;
    }
}