:root {
    --bg: #0b0b0f;
    --surface: #16161f;
    --card: #1e1e2a;
    --text: #ffffff;
    --text-muted: #a1a1b5;
    --accent: #e50914;
    --accent-hover: #ff1f2b;
    --radius: 12px;
}
* { box-sizing: border-box; margin: 0; padding: 0; font-family: 'Inter', sans-serif; }
body { background-color: var(--bg); color: var(--text); padding-top: 80px; }
.navbar { position: fixed; top: 0; left: 0; right: 0; height: 70px; background: rgba(11, 11, 15, 0.9); backdrop-filter: blur(10px); display: flex; align-items: center; justify-content: space-between; padding: 0 20px; z-index: 1000; border-bottom: 1px solid #222; }
.logo { font-size: 24px; font-weight: 800; color: var(--accent); letter-spacing: 1px; }
.search-container input { width: 300px; padding: 10px 20px; border-radius: 25px; border: 1px solid #333; background: var(--card); color: white; font-size: 14px; outline: none; transition: border 0.3s; }
.search-container input:focus { border-color: var(--accent); }
.tabs button { padding: 8px 16px; border-radius: 20px; border: none; background: transparent; color: var(--text-muted); font-weight: 600; cursor: pointer; transition: 0.3s; }
.tabs button.active, .tabs button:hover { background: var(--accent); color: white; }
.hero { height: 350px; display: flex; align-items: center; padding: 0 40px; background-size: cover; background-position: center; position: relative; margin-bottom: 30px; }
.hero::before { content: ''; position: absolute; inset: 0; background: linear-gradient(to right, rgba(11, 11, 15, 1) 0%, rgba(11, 11, 15, 0.5) 100%); }
.hero-content { position: relative; z-index: 10; max-width: 600px; }
.hero-content h2 { font-size: 42px; font-weight: 800; margin-bottom: 10px; }
.hero-content p { font-size: 16px; color: var(--text-muted); margin-bottom: 20px; line-height: 1.5; }
.btn-primary { padding: 12px 24px; background: var(--accent); color: white; border: none; border-radius: 8px; font-weight: 600; cursor: pointer; transition: 0.3s; }
.btn-primary:hover { background: var(--accent-hover); }
.container { padding: 0 40px 40px; }
.section-title { font-size: 24px; font-weight: 600; margin-bottom: 20px; }
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 20px; }
.card { background: var(--card); border-radius: var(--radius); overflow: hidden; cursor: pointer; transition: transform 0.3s ease, box-shadow 0.3s ease; position: relative; }
.card:hover { transform: scale(1.05); box-shadow: 0 10px 20px rgba(0,0,0,0.5); z-index: 10; }
.card img { width: 100%; height: 240px; object-fit: cover; background: #2a2a3a; }
.card-info { padding: 12px; }
.card-info h3 { font-size: 14px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; margin-bottom: 4px; }
.card-info p { font-size: 12px; color: var(--text-muted); }
.loading { text-align: center; padding: 20px; color: var(--text-muted); display: none; }
.modal { display: none; position: fixed; z-index: 2000; left: 0; top: 0; width: 100%; height: 100%; background-color: rgba(0,0,0,0.8); align-items: center; justify-content: center; }
.modal-content { background: var(--surface); padding: 20px; border-radius: var(--radius); width: 90%; max-width: 500px; position: relative; display: flex; flex-direction: column; align-items: center; text-align: center; }
.modal-content img { width: 150px; border-radius: 8px; margin-bottom: 15px; }
.modal-content h2 { font-size: 24px; margin-bottom: 10px; }
.modal-content p { font-size: 14px; color: var(--text-muted); line-height: 1.5; margin-bottom: 10px; }
.close { position: absolute; top: 10px; right: 20px; font-size: 28px; cursor: pointer; color: var(--text-muted); }
.close:hover { color: white; }
@media (max-width: 768px) {
    .navbar { flex-direction: column; height: auto; padding: 10px; gap: 10px; position: relative; }
    body { padding-top: 0; }
    .search-container input { width: 100%; }
    .hero { height: 250px; padding: 0 20px; }
    .hero-content h2 { font-size: 28px; }
    .container { padding: 0 15px 15px; }
    .grid { grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); }
}
