:root {
    --bg: #f8f9fb;
    --card: #ffffff;
    --text: #1a1d23;
    --accent: #007aff; /* Apple Blue */
    --muted: #8e8e93;
    --border: #e5e5ea;
}

* { margin: 0; padding: 0; box-sizing: border-box; font-family: 'Plus Jakarta Sans', sans-serif; }

body { background: var(--bg); color: var(--text); }

.top { 
    display: flex; justify-content: space-between; align-items: center; 
    padding: 15px 5%; background: rgba(255,255,255,0.8);
    backdrop-filter: blur(20px); position: sticky; top: 0; z-index: 1000;
    border-bottom: 1px solid var(--border);
}

.brand { font-family: 'Orbitron'; font-size: 20px; font-weight: 800; color: var(--accent); }
.brand span { color: var(--text); }

.search-box input {
    padding: 10px 20px; border-radius: 12px; border: 1px solid var(--border);
    background: #f1f1f4; outline: none; width: 250px; transition: 0.3s;
}

/* Slider */
.slider { width: 100%; height: 400px; position: relative; overflow: hidden; background: #000; }
.slide { 
    position: absolute; inset: 0; opacity: 0; transition: 1s ease-in-out; 
    display: flex; align-items: center; padding: 0 10%;
}
.slide.active { opacity: 1; }
.slide-img { 
    position: absolute; inset: 0; background-size: cover; background-position: center; 
    filter: brightness(0.7); z-index: 1;
}
.slide-info { position: relative; z-index: 2; color: #fff; max-width: 500px; }
.slide-info h1 { font-size: 40px; margin-bottom: 20px; font-weight: 800; }

/* Grid */
.container { max-width: 1200px; margin: 40px auto; padding: 0 20px; }
.section-head { display: flex; justify-content: space-between; margin-bottom: 25px; align-items: center; }

.list { 
    display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; 
}

@media (min-width: 768px) { .list { grid-template-columns: repeat(4, 1fr); } }
@media (min-width: 1024px) { .list { grid-template-columns: repeat(5, 1fr); } }

/* Card */
.card { 
    background: var(--card); border-radius: 20px; overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.05); transition: 0.3s; cursor: pointer;
}
.card:hover { transform: translateY(-10px); box-shadow: 0 15px 30px rgba(0,0,0,0.1); }
.card-img { aspect-ratio: 2/3; overflow: hidden; }
.card-img img { width: 100%; height: 100%; object-fit: cover; }
.card-info { padding: 15px; text-align: center; }
.card-info h3 { font-size: 15px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* Modal */
.modal { position: fixed; inset: 0; display: none; align-items: center; justify-content: center; z-index: 2000; }
.modal.active { display: flex; }
.modal-back { position: absolute; inset: 0; background: rgba(0,0,0,0.3); backdrop-filter: blur(10px); }
.modal-card { 
    position: relative; background: #fff; width: 90%; max-width: 450px; 
    padding: 30px; border-radius: 30px; box-shadow: 0 25px 50px rgba(0,0,0,0.2);
}
.close-btn { position: absolute; top: 20px; right: 20px; border: none; background: #eee; width: 30px; height: 30px; border-radius: 50%; cursor: pointer; }

.watch-btn {
    display: block; width: 100%; background: var(--accent); color: #fff;
    padding: 18px; border-radius: 15px; text-align: center; text-decoration: none;
    font-weight: 700; margin-top: 20px; box-shadow: 0 10px 20px rgba(0,122,255,0.3);
}