*{
  margin:0;
  padding:0;
  box-sizing:border-box;
  font-family:'Segoe UI',sans-serif;
}

body{
  background:#0f172a;
  color:white;
  min-height:100vh;
}

/* Header */
header{
  text-align:center;
  padding:60px 20px 30px;
  background:linear-gradient(135deg,#111827,#1e293b);
  border-bottom:1px solid rgba(255,255,255,0.08);
}

header h1{
  font-size:2.8rem;
  letter-spacing:2px;
  margin-bottom:10px;
}

header p{
  opacity:.7;
  font-size:1rem;
}

/* Buscador */
.search-box{
  display:flex;
  justify-content:center;
  padding:25px 20px 10px;
}

.search-box input{
  width:100%;
  max-width:420px;
  padding:14px 18px;
  border:none;
  border-radius:12px;
  outline:none;
  font-size:1rem;
  background:rgba(255,255,255,0.08);
  color:white;
  border:1px solid rgba(255,255,255,0.1);
  backdrop-filter:blur(10px);
}

.search-box input:focus{
  border-color:#38bdf8;
  box-shadow:0 0 12px rgba(56,189,248,.5);
}

/* Grid */
.container{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(230px,1fr));
  gap:24px;
  padding:40px;
  max-width:1200px;
  margin:auto;
}

/* Card */
.card{
  background:rgba(255,255,255,0.05);
  border:1px solid rgba(255,255,255,0.08);
  border-radius:18px;
  padding:25px 20px;
  text-decoration:none;
  color:white;
  transition:.3s ease;
  text-align:center;
  box-shadow:0 8px 20px rgba(0,0,0,0.25);
}

.card:hover{
  transform:translateY(-6px) scale(1.02);
  background:rgba(255,255,255,0.09);
  border-color:rgba(255,255,255,0.2);
}

.card img{
  width:100px;
  height:100px;
  object-fit:contain;
  margin:0 auto 15px;
}

.card h3{
  font-size:1.1rem;
  font-weight:600;
}

/* Responsive */
@media(max-width:600px){
  header h1{
    font-size:2rem;
  }

  .container{
    padding:20px;
    gap:18px;
  }
}