body { background: #141414; color: white; font-family: sans-serif; margin: 0; }
a { text-decoration: none; color: inherit; }
nav { background: black; padding: 15px 20px; display: flex; justify-content: space-between; align-items: center; border-bottom: 1px solid #333; }
.logo { font-weight: bold; font-size: 1.5rem; color: #e50914; }
.btn-nav { font-size: 0.9rem; color: #ccc; }

.container { max-width: 1000px; margin: 20px auto; padding: 0 15px; }

/* Buscador */
.search-box { display: flex; margin-bottom: 30px; justify-content: center; }
.search-box input { padding: 10px; width: 300px; border: none; border-radius: 4px 0 0 4px; }
.search-box button { padding: 10px 15px; background: #e50914; color: white; border: none; border-radius: 0 4px 4px 0; cursor: pointer; }

/* Grid */
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 20px; }
.card { background: #222; border-radius: 5px; overflow: hidden; transition: transform 0.2s; }
.card:hover { transform: scale(1.05); }
.poster { height: 250px; background-size: cover; background-position: center; display: flex; align-items: center; justify-content: center; }
.play-icon { font-size: 3rem; opacity: 0; transition: 0.3s; text-shadow: 0 2px 5px black; }
.card:hover .play-icon { opacity: 1; }
.info { padding: 10px; }
.info h3 { margin: 0; font-size: 0.95rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.info small { color: #888; font-size: 0.8rem; }

/* Player */
.player-box { background: black; width: 100%; aspect-ratio: 16/9; position: relative; margin-bottom: 20px; }
video { width: 100%; height: 100%; }
.overlay { position: absolute; inset: 0; background: black; display: flex; flex-direction: column; align-items: center; justify-content: center; z-index: 10; }
.btn-skip { margin-top: 15px; padding: 10px 20px; cursor: pointer; background: #333; color: white; border: none; }
.btn-skip.ready { background: #e50914; }

/* Descarga */
.dl-wrap { background: #f4f4f4; color: #333; min-height: 100vh; display: flex; flex-direction: column; align-items: center; padding-top: 50px; }
.dl-card { background: white; padding: 40px; border-radius: 5px; box-shadow: 0 2px 10px rgba(0,0,0,0.1); text-align: center; max-width: 500px; width: 90%; }
.btn-dl { background: #0070f0; color: white; padding: 15px; display: block; border-radius: 3px; font-weight: bold; margin-top: 20px; }
.ad-space { background: #ddd; padding: 20px; text-align: center; margin: 20px 0; color: #666; font-size: 0.8rem; border: 1px dashed #999; }