* {
    box-sizing: border-box;
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: Arial, sans-serif;
    background: radial-gradient(circle at top left, #1e2235, #0c0f1a 70%);
    color: #ffffff;
    min-height: 100vh;
}

/* Typewriter */
.typewriter {
    position: absolute;
    top: 50px;
    left: 30px;
    font-family: 'Courier New', monospace;
    font-size: 26px;
    font-weight: bold;
    color: #ffffff;
    z-index: 100;
}

.typewriter-bar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 110px;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    background: linear-gradient(
        to bottom,
        rgba(0, 0, 0, 0.6) 0%,
        rgba(0, 0, 0, 0.3) 60%,
        rgba(0, 0, 0, 0) 100%
    );
    z-index: 99;
}

.cursor {
    display: inline-block;
    width: 2px;
    height: 1.2em;
    background: #ffffff;
    vertical-align: middle;
    margin-left: 2px;
    animation: blink 0.7s steps(1) infinite;
}

@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0; }
}

/* Right side nav */
.side-nav {
    position: fixed;
    right: 32px;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 20px;
    z-index: 100;
}

.nav-item {
    color: rgba(255, 255, 255, 0.35);
    text-decoration: none;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    transition: color 0.2s ease;
    text-align: right;
}

.nav-item::after {
    content: '';
    display: block;
    height: 1px;
    width: 0;
    background: #ffffff;
    transition: width 0.2s ease;
    margin-top: 3px;
    margin-left: auto;
}

.nav-item:hover,
.nav-item.active {
    color: #ffffff;
}

.nav-item:hover::after,
.nav-item.active::after {
    width: 100%;
}

/* Main content */
.main-content {
    margin-left: 125px;
    padding-top: 140px;
    padding-right: 120px;
    max-width: 860px;
}

/* Video Wrapper */
.video-wrapper {
    position: relative;
    width: 100%;
    max-width: 640px;
    aspect-ratio: 16 / 9;
    border-radius: 12px;
    overflow: hidden;
}

.video-wrapper iframe {
    position: absolute;
    left: 0;
    width: 100%;
    height: calc(100% + 80px);
    top: -40px;
    border: none;
}

/* Sections */
.section {
    min-height: 100vh;
    padding-bottom: 80px;
    scroll-margin-top: 120px;
}

.section-title {
    font-size: 20px;
    font-weight: 600;
    color: #ffffff;
    margin: 0 0 16px;
}

.section-text {
    font-size: 15px;
    color: #b6b8d6;
    line-height: 1.7;
    margin: 0 0 24px;
}

.side-nav {
    opacity: 0;
    transform: translateX(10px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.side-nav.visible {
    opacity: 1;
    transform: translateX(0);
}

.section {
    opacity: 0;
    transform: translateY(16px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.section.visible {
    opacity: 1;
    transform: translateY(0);
}

#bgVideo {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1;
    filter: blur(6px) brightness(0.4);
    transform: scale(1.05);
}

.music-controls {
    position: fixed;
    bottom: 24px;
    left: 30px;
    display: flex;
    align-items: center;
    gap: 12px;
    z-index: 100;
}

.music-btn {
    background: rgba(255, 255, 255, 0.07);
    color: #b6b8d6;
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 8px 16px;
    border-radius: 999px;
    font-size: 12px;
    cursor: pointer;
    transition: background 0.2s ease;
    white-space: nowrap;
}

.music-btn:hover {
    background: rgba(255, 255, 255, 0.15);
}

.volume-slider {
    width: 100px;
    cursor: pointer;
    -webkit-appearance: none;
    appearance: none;
    height: 4px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.2);
    outline: none;
}

.volume-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: #ffffff;
    cursor: pointer;
}

.volume-slider::-moz-range-thumb {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: #ffffff;
    cursor: pointer;
    border: none;
}