@import url('https://fonts.googleapis.com/css2?family=Luckiest+Guy&display=swap');

:root {
    --bg: #03000c;
    --text: #ffffff;
    --muted: #cccccc;
    --accent: #ffcc33;
    --pink: #ff4fd8;
    --cyan: #3df2ff;
    --box: #00001dc4;
    --phonebox: #010133c4;
    --hover-bg: rgba(255, 204, 51, 0.1);
    --hover-shadow: 0 5px 20px rgba(255, 204, 51, 0.4);
}

* {
    box-sizing: border-box;
}

html,
body {
    margin: 0;
    padding: 0;
    height: 100%;
    display: flex;
    flex-direction: column;
    font-family: 'Baloo 2', system-ui, sans-serif;
    background-color: var(--bg);
    color: var(--text);
}

header {
    flex: 0 0 auto;
}

main {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 2rem 1rem;
    gap: 2rem;
}

section {
    background: var(--box);
    padding: 1rem;
    border-radius: 1rem;
    width: 90%;
    max-width: 800px;
    align-items: center;
    gap: 1.5rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}


h1 {
    font-family: 'Luckiest Guy', cursive;
    color: var(--accent);
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

h2 {
    font-family: 'Luckiest Guy', cursive;
    color: var(--accent);
    font-size: 1.2rem;
    margin-bottom: 1rem;
}

a {
    color: var(--accent);
    text-decoration: none;
    transition: color 0.3s ease, text-shadow 0.3s ease;
}

a:hover {
    color: var(--pink);
    text-shadow: 0 0 10px var(--pink);
}

nav {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem 1.5rem;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2rem;
}

.nav-links a {
    font-family: "Luckiest Guy", cursive;
    font-weight: 400;
    font-style: normal;
    font-size: 1.1rem;
    color: var(--muted);
    text-decoration: none;
    padding: 0.25rem 0.5rem;
    border-radius: 0.5rem;
    transition: color 0.2s ease, background 0.2s ease, transform 0.2s ease;
    z-index: 100;
}

.nav-links a:hover {
    color: var(--accent);
    background: var(--hover-bg);
    transform: scale(1.1);
}

.nav-links a.selected {
    text-decoration: wavy underline;
    color: var(--pink);
}

.burger {
    display: none;
    font-size: 2rem;
    background: none;
    border: none;
    color: var(--muted);
    cursor: pointer;
    transition: transform 0.3s ease;
}

.burger.rotated {
    transform: rotate(90deg);
}

.poster-container img {
    max-height: 80vh;
    border-radius: 1.25rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.poster-container img:hover {
    transform: scale(1.05);
}

/* Responsive Styles */
@media (max-width: 768px) {
    .burger {
        display: block;
    }

    .nav-links {
        display: none;
        flex-direction: column;
        width: 100%;
        gap: 1rem;
        margin-top: 1rem;
        align-items: flex-end;
    }

    .nav-links.active {
        display: flex;
    }

    nav {
        flex-direction: column;
        align-items: flex-end;
    }

    .poster-container img {
        max-height: 70vh;
    }

    section {
        background: var(--phonebox);
    }
}