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

:root {
    --color-bg: #0f0f0f;
    --color-surface: #1a1a1a;
    --color-text: #e0e0e0;
    --color-text-muted: #888;
    --color-accent: #4a9eff;
    --max-width: 900px;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    background: var(--color-bg);
    color: var(--color-text);
    line-height: 1.6;
}

/* --- Navigation --- */
nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 1.5rem 1rem;
}

nav .logo {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--color-text);
    text-decoration: none;
}

nav ul {
    display: flex;
    list-style: none;
    gap: 1.5rem;
}

nav a {
    color: var(--color-text-muted);
    text-decoration: none;
    transition: color 0.2s;
}

nav a:hover {
    color: var(--color-accent);
}

/* --- Main content --- */
main {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 1rem 4rem;
}

section {
    padding: 3rem 0;
}

#hero {
    padding: 5rem 0 3rem;
    text-align: center;
}

#hero h1 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

#hero p {
    font-size: 1.15rem;
    color: var(--color-text-muted);
}

h2 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    border-bottom: 1px solid #333;
    padding-bottom: 0.5rem;
}

/* --- Buttons --- */
.btn {
    display: inline-block;
    padding: 0.6rem 1.5rem;
    background: var(--color-accent);
    color: #fff;
    border: none;
    border-radius: 6px;
    font-size: 1rem;
    cursor: pointer;
    text-decoration: none;
    transition: background 0.2s;
    margin-top: 1rem;
}

.btn:hover {
    background: #3a88e0;
}

.btn-secondary {
    background: transparent;
    border: 1px solid #444;
    color: var(--color-text-muted);
    margin-top: 1.5rem;
}

.btn-secondary:hover {
    border-color: var(--color-accent);
    color: var(--color-accent);
    background: transparent;
}

/* --- Password form --- */
#password-gate {
    text-align: center;
    padding: 5rem 0;
}

#password-form {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 1.5rem;
}

#password-input {
    padding: 0.6rem 1rem;
    font-size: 1rem;
    border: 1px solid #333;
    border-radius: 6px;
    background: var(--color-surface);
    color: var(--color-text);
    width: 250px;
}

#password-input:focus {
    outline: none;
    border-color: var(--color-accent);
}

.error {
    color: #e05555;
    margin-top: 1rem;
}

/* --- Video --- */
video {
    width: 100%;
    border-radius: 8px;
    background: #000;
    margin-top: 0.5rem;
}

#video-player {
    text-align: center;
}

#video-player h2,
#video-player video {
    text-align: left;
}

/* --- Footer --- */
footer {
    text-align: center;
    padding: 2rem 1rem;
    color: var(--color-text-muted);
    font-size: 0.85rem;
    border-top: 1px solid #222;
}

/* --- Responsive --- */
@media (max-width: 600px) {
    #hero h1 {
        font-size: 1.75rem;
    }

    nav {
        flex-direction: column;
        gap: 0.75rem;
    }
}
