:root {
    --primary: #ffc400;
    --background: #0a0a0c;
    --surface: #1c1c1e;
    --text: #ffffff;
    --text-muted: #a1a1aa;
    --glass: rgba(255, 255, 255, 0.05);
}

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

body {
    font-family: 'Outfit', sans-serif;
    background-color: var(--background);
    color: var(--text);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

header {
    height: 80px;
    display: flex;
    align-items: center;
    background: rgba(10, 10, 12, 0.8);
    backdrop-filter: blur(20px);
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid var(--glass);
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.logo {
    font-size: 24px;
    font-weight: 800;
    letter-spacing: -1px;
}

.logo span {
    color: var(--primary);
}

nav ul {
    display: flex;
    list-style: none;
    gap: 30px;
}

nav a {
    color: var(--text);
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    transition: color 0.2s;
}

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

.btn-login {
    background: var(--glass);
    border: 1px solid var(--glass);
    color: white;
    padding: 10px 20px;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
}

.btn-login:hover {
    background: white;
    color: black;
}

.hero {
    padding: 100px 0 60px;
    text-align: center;
}

.hero h1 {
    font-size: 48px;
    font-weight: 800;
    margin-bottom: 10px;
}

.hero p {
    color: var(--text-muted);
}

.movies-grid .container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 40px;
    padding-bottom: 100px;
}

.movie-card {
    background: var(--surface);
    border-radius: 16px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
    border: 1px solid var(--glass);
}

.movie-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
    border-color: var(--primary);
}

.movie-poster {
    width: 100%;
    aspect-ratio: 2/3;
    overflow: hidden;
    background: #111;
    position: relative;
}

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

.placeholder-poster {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 20px;
    text-align: center;
    background: linear-gradient(135deg, #2c2c2e 0%, #1c1c1e 100%);
    color: var(--text-muted);
    border: 2px dashed rgba(255, 255, 255, 0.1);
}

.placeholder-poster .icon {
    font-size: 70px;
    margin-bottom: 20px;
    filter: drop-shadow(0 0 10px rgba(0, 0, 0, 0.5));
}

.placeholder-poster .title {
    font-weight: 800;
    font-size: 22px;
    color: white;
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.placeholder-poster .status {
    font-size: 12px;
    font-weight: 700;
    color: var(--primary);
    background: rgba(255, 196, 0, 0.1);
    padding: 4px 12px;
    border-radius: 20px;
}

.movie-info {
    padding: 20px;
}

.movie-info h3 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 5px;
}

.movie-info .tagline {
    font-size: 14px;
    color: var(--primary);
    font-weight: 600;
    height: 44px;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    line-clamp: 2;
    margin-bottom: 5px;
}

/* Modal Description */
.description {
    font-size: 15px;
    line-height: 1.8;
    color: #ccc;
    margin-bottom: 25px;
    background: rgba(255, 255, 255, 0.03);
    padding: 15px;
    border-radius: 12px;
    border-left: 3px solid var(--primary);
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(10px);
}

.modal-content {
    background-color: var(--surface);
    margin: 5% auto;
    padding: 40px;
    border-radius: 24px;
    max-width: 900px;
    width: 90%;
    position: relative;
    max-height: 85vh;
    overflow-y: auto;
}

.close-modal {
    position: absolute;
    right: 20px;
    top: 20px;
    font-size: 30px;
    cursor: pointer;
    color: var(--text-muted);
}

.modal-body {
    display: flex;
    gap: 40px;
    margin-bottom: 40px;
}

.modal-poster {
    width: 300px;
    flex-shrink: 0;
}

.modal-poster img {
    width: 100%;
    border-radius: 12px;
}

.modal-info h2 {
    font-size: 32px;
    font-weight: 800;
    margin-bottom: 10px;
}

.modal-info .tagline {
    font-size: 18px;
    color: var(--primary);
    font-style: italic;
    margin-bottom: 20px;
}

.modal-info .casting {
    margin-bottom: 30px;
    color: var(--text-muted);
}

.sessions h3,
.seat-selection h3 {
    font-size: 18px;
    margin-bottom: 15px;
}

.time-slots {
    display: flex;
    gap: 10px;
}

.time-slot {
    background: var(--glass);
    border: 1px solid var(--glass);
    color: white;
    padding: 10px 24px;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
}

.time-slot:hover,
.time-slot.active {
    background: var(--primary);
    color: black;
}

.seat-selection {
    border-top: 1px solid var(--glass);
    padding-top: 30px;
}

.screen-label {
    width: 100%;
    height: 5px;
    background: #444;
    border-radius: 50px;
    margin: 40px 0;
    text-align: center;
    font-size: 10px;
    color: #666;
    display: flex;
    justify-content: center;
    align-items: center;
}

.seats-grid {
    display: flex;
    flex-direction: column;
    gap: 8px;
    align-items: center;
    margin-bottom: 40px;
}

.seat-row {
    display: flex;
    gap: 8px;
}

.seat {
    width: 24px;
    height: 24px;
    background: #333;
    border-radius: 4px;
    cursor: pointer;
}

.seat:hover {
    background: #555;
}

.seat.selected {
    background: var(--primary);
}

.seat.occupied {
    background: #111;
    cursor: not-allowed;
}

.btn-confirm {
    width: 100%;
    background: var(--primary);
    color: black;
    border: none;
    padding: 15px;
    border-radius: 12px;
    font-weight: 800;
    font-size: 18px;
    cursor: pointer;
}