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

body{
    background:#0b0b0b;
    color:#fff;
    font-family:Arial,Helvetica,sans-serif;
}

/* HEADER */

.header{
    height:70px;
    background:#111;
    display:flex;
    justify-content:space-between;
    align-items:center;
    padding:0 30px;
    position:sticky;
    top:0;
    z-index:999;
    border-bottom:1px solid #222;
}

.logo{
    font-size:30px;
    font-weight:bold;
    color:#fff;
}

.logo span{
    color:#e50914;
}

.search-box{
    width:350px;
}

.search-box input{
    width:100%;
    padding:12px;
    border:none;
    border-radius:25px;
    background:#222;
    color:white;
    outline:none;
}

/* MENU */

.menu{
    background:#181818;
    display:flex;
    justify-content:center;
    gap:20px;
    padding:15px;
}

.menu button{
    background:none;
    border:none;
    color:#bbb;
    font-size:16px;
    cursor:pointer;
    transition:.3s;
}

.menu button:hover,
.menu .active{
    color:white;
}

/* HERO */

.hero{
    height:320px;
    background:linear-gradient(rgba(0,0,0,.5),rgba(0,0,0,.8)),
    url('https://images.unsplash.com/photo-1547347298-4074fc3086f0?auto=format&fit=crop&w=1600&q=80');
    background-size:cover;
    background-position:center;
    display:flex;
    align-items:center;
    padding:60px;
}

.hero h1{
    font-size:48px;
}

.hero p{
    margin-top:15px;
    color:#ddd;
    font-size:18px;
}

/* SECCIONES */

.section{
    padding:35px;
}

.section h2{
    margin-bottom:20px;
}

/* TARJETAS */

.grid{
    display:grid;
    grid-template-columns:repeat(auto-fill,minmax(260px,1fr));
    gap:20px;
}

.card{
    background:#1a1a1a;
    border-radius:15px;
    overflow:hidden;
    transition:.3s;
    padding:20px;
}

.card:hover{
    transform:translateY(-8px);
    box-shadow:0 15px 30px rgba(0,0,0,.5);
}

.badge{
    display:inline-block;
    background:#e50914;
    color:white;
    border-radius:20px;
    padding:6px 12px;
    font-size:13px;
    margin-bottom:15px;
}

.card h3{
    margin-bottom:15px;
}

.card p{
    color:#bbb;
    margin:8px 0;
}

.card button{
    width:100%;
    margin-top:20px;
    background:#e50914;
    border:none;
    padding:12px;
    border-radius:8px;
    color:white;
    cursor:pointer;
    font-size:15px;
}

/* MODAL */

#modal{
    display:none;
    position:fixed;
    inset:0;
    background:rgba(0,0,0,.95);
    z-index:9999;
}

#frame{
    width:90%;
    height:88%;
    display:block;
    margin:3% auto;
    border:none;
    border-radius:10px;
    background:black;
}

.close{
    position:absolute;
    right:25px;
    top:15px;
    font-size:35px;
    cursor:pointer;
}

/* RESPONSIVE */

@media(max-width:768px){

.header{

flex-direction:column;
height:auto;
padding:20px;

}

.search-box{

width:100%;
margin-top:15px;

}

.menu{

overflow:auto;
justify-content:flex-start;

}

.hero{

height:220px;
padding:30px;

}

.hero h1{

font-size:30px;

}

.section{

padding:20px;

}

}