body {
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    margin: 0;
    padding: 0;
    background: #111;
    color: #eee;
}

header {
    background: #222;
    padding: 1rem;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
}

header h1 {
    margin: 0;
    font-size: 1.2rem;
}

nav a {
    color: #eee;
    margin-left: 1rem;
    text-decoration: none;
}

nav a:hover {
    text-decoration: underline;
}

main {
    padding: 1rem;
}

.landing {
    text-align: center;
}

.poster {
    max-width: 100%;
    height: auto;
    margin-bottom: 1rem;
}

.poster-small {
    max-width: 200px;
    height: auto;
    display: block;
    margin-bottom: 1rem;
}

.player {
    width: 100%;
    max-width: 800px;
    height: auto;
    background: #000;
    display: block;
    margin: 1rem auto;
}

.btn {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: #0d6efd;
    color: #fff;
    border-radius: 4px;
    text-decoration: none;
}

.btn:hover {
    background: #0b5ed7;
}

.form {
    max-width: 400px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.form label {
    display: flex;
    flex-direction: column;
    text-align: left;
    font-size: 0.9rem;
}

.form input[type="text"],
.form input[type="password"],
.form input[type="file"] {
    padding: 0.4rem;
    border-radius: 4px;
    border: 1px solid #555;
    background: #1c1c1c;
    color: #eee;
}

.form button {
    padding: 0.5rem 1rem;
    background: #198754;
    color: #fff;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

.form button:hover {
    background: #157347;
}

.messages {
    margin-bottom: 1rem;
}

.msg {
    padding: 0.5rem;
    border-radius: 4px;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}

.msg.success { background: #145c32; }
.msg.warning { background: #664d03; }
.msg.danger  { background: #842029; }
.msg.info    { background: #0c5460; }

footer {
    text-align: center;
    padding: 0.5rem;
    font-size: 0.8rem;
    color: #aaa;
}
