/* ===== RESET & BASE ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scrollbar-width: none; /* For Firefox */
    -ms-overflow-style: none; /* For IE and Edge */
}

html::-webkit-scrollbar {   
    display: none; /* For chrome, safari and opera */
}
body {
    display: flex;
    flex-direction: column;
    background: linear-gradient(180deg, #0a0a0f 0%, #1a1020 100%);
    color: #fff;
    min-height: 100vh;
    overflow-x: hidden;
}

/* ===== TYPOGRAPHY ===== */
.title {
    font-family: 'Righteous', sans-serif;
    color: #c41e3a;
    text-shadow: 
        0 0 10px #c41e3aaa,
        0 0 25px #c41e3a77,
        0 0 50px #c41e3a44;
}

.subtitle {
    font-family: 'Outfit', sans-serif;
    font-weight: 400;
    letter-spacing: 0.1em;
    margin-bottom: 0.25rem;
}

/* ===== LAYOUT ===== */
.header {
    text-align: center;
}

.centered-page {
    align-items: center;
    justify-content: center;
}

/* ===== TOP BAR (vote/result pages) ===== */
.top-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.code {
    font-family: 'Righteous', sans-serif;
    font-size: 1.2rem;
    color: #c41e3a;
    padding: 0.5rem 1rem;
    border: 2px solid #333;
    border-radius: 0.4rem;
    background: #111;
}

.theatre-name {
    font-family: 'Outfit', sans-serif;
    font-size: 1.1rem;
    color: #555;
    letter-spacing: 0.05em;
}

.timer {
    font-family: 'Righteous', sans-serif;
    font-size: 1.5rem;
    color: #fff;
    padding: 0.5rem 1.25rem;
    border: 2px solid #333;
    border-radius: 0.4rem;
    background: #111;
}

/* ===== BUTTONS ===== */
button, .btn {
    font-family: 'Outfit', sans-serif;
    border: none;
    border-radius: 2rem;
    cursor: pointer;
    color: white;
    font-weight: 500;
    transition: transform 0.15s ease;
    text-decoration: none;
    display: inline-block;
}

button:hover, .btn:hover {
    transform: scale(1.03);
}

.btn-primary {
    background: #c41e3a;
}

.btn-ghost {
    background: transparent;
    border: 2px solid #444;
}

/* ===== FORM INPUTS ===== */
input, select {
    font-family: 'Outfit', sans-serif;
    border: 2px solid #333;
    border-radius: 0.5rem;
    background: #111;
    color: #fff;
    outline: none;
    transition: border-color 0.15s ease;
}

input::placeholder {
    color: #666;
}

input:focus, select:focus {
    border-color: #c41e3a;
}

select {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='%23888' viewBox='0 0 16 16'%3E%3Cpath d='M8 11L3 6h10l-5 5z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    padding-right: 2.5rem;
}

select option {
    background: #111;
    color: #fff;
}

/* ===== MOVIE CARD (vote/result) ===== */
.movie {
    background: #151518;
    border: 2px solid #222;
    border-radius: 0.75rem;
    padding: 1.25rem;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    transition: border-color 0.2s ease, transform 0.2s ease;
}

.movie:hover {
    border-color: #c41e3a55;
}

.movie.selected {
    border-color: #c41e3a;
    box-shadow: 0 0 20px #c41e3a44;
}

.poster {
    width: 55%;
    aspect-ratio: 2/3;
    background: #252528;
    border-radius: 0.5rem;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    flex-shrink: 0;
}

.poster img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.poster-placeholder {
    color: #444;
    font-size: 2rem;
}

.movie-title {
    font-family: 'Outfit', sans-serif;
    font-weight: 500;
    padding: 0 0.75rem;
}

.meta {
    font-family: 'Outfit', sans-serif;
    color: #666;
    padding: 0 0.75rem;
}

.description {
    font-family: 'Outfit', sans-serif;
    color: #888;
    line-height: 1.4;
    padding: 0 0.75rem;
    overflow: hidden;
}

/* ===== UTILITIES ===== */
a {
    text-decoration: none;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 700px) {
    .top-bar {
        flex-wrap: wrap;
        gap: 0.5rem;
    }
}

