:root {
  --bg: #e0e0e0;
  --card: #ffffff;
  --text: #333;
  --muted: #888;
  --accent: #222;
  --border: #eee;

  --space-1: 4px;
  --space-2: 8px;
  --space-3: 16px;
  --space-4: 24px;
  --space-5: 40px;
  --space-6: 60px;

  --radius: 6px;
  --font: monospace;

  --transition: 0.4s cubic-bezier(.2,.6,.2,1);
}

body {
  margin: 0;
  font-family: var(--font);
  background: linear-gradient(#e0e0e0, #d6d6d6);
  color: var(--text);
  letter-spacing: 0.3px;
}

/* CONTAINER GLOBAL */
.container {
  max-width: 680px;
  margin: 0 auto;
  background: var(--card);
  min-height: 100vh;
  padding: var(--space-5) var(--space-3);
  box-sizing: border-box;

  box-shadow: 0 0 0 1px var(--border), 0 10px 30px rgba(0,0,0,0.05);
}

/* TITULOS */
h2, .section-title {
  font-size: 16px;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: var(--space-4);
}

/* BOTONES */
.btn {
  display: inline-block;
  padding: 8px 16px;
  font-size: 13px;
  background: var(--accent);
  color: #fff;
  text-decoration: none;
  border-radius: var(--radius);
  transition: var(--transition);
  cursor: pointer;

  transform: translateY(0);
}

.btn:hover {
  opacity: 0.9;
  transform: translateY(-1px);
}

.btn.secondary {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border);
}

/* LINKS */
a {
  transition: var(--transition);
}

a:hover {
  opacity: 0.7;
}

/* FILTROS */
.filters {
  text-align: center;
  margin-bottom: var(--space-4);
}

.filter-btn {
  display: inline-block;
  margin: 4px;
  padding: 5px 12px;
  font-size: 12px;
  background: #ddd;
  border-radius: 3px;
  cursor: pointer;
  transition: var(--transition);
}

.filter-btn.active {
  background: var(--accent);
  color: #fff;
}

/* FOOTER */
.footer {
  text-align: center;
  font-size: 12px;
  color: var(--muted);
  padding: var(--space-4);
  border-top: 1px solid var(--border);
  margin-top: var(--space-4);
}

.footer a {
  color: var(--muted);
  text-decoration: none;
}

/* CARD SYSTEM */
.card {
  border-bottom: 1px solid var(--border);
  padding: var(--space-4) 0;
}

/* ANIMACIONES */
.fade-in {
  opacity: 0;
  transform: translateY(10px);
  transition: var(--transition);
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* LOGO */
.logo {
  width: 150px;
  opacity: 0;
  cursor: pointer;
  transition: transform 0.4s ease, opacity 0.3s ease, filter 0.4s ease;
  animation: logoFade 1s ease forwards;
}

.logo:hover {
  transform: scale(1.05);
  filter: brightness(1.1);
}

@keyframes logoFade {
  to {
    opacity: 0.9;
  }
}

/* SHOW DESTACADO */
.show-highlight {
  font-size: 11px;
  color: var(--muted);
  margin-bottom: var(--space-2);
}

/* VIDEO CARD */
.video-card img {
  width: 100%;
  border-radius: var(--radius);
  margin-bottom: var(--space-3);
  transition: var(--transition);
}

.video-card:hover img {
  opacity: 0.85;
  transform: scale(1.02);
}

/* GRID IMAGENES */
.grid-item img {
  width: 100%;
  border-radius: var(--radius);
  transition: var(--transition);
  transform: scale(1);
}

.grid-item:hover img {
  opacity: 0.85;
  transform: scale(1.02);
}

/* SECCIONES */
.section {
  margin-bottom: var(--space-6);
}

/* SELECCIÓN DE TEXTO */
::selection {
  background: #222;
  color: #fff;
}

/* GRANO / TEXTURA */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  background: url('https://grainy-gradients.vercel.app/noise.svg');
  opacity: 0.05;
  pointer-events: none;
}

/* MOBILE */
@media (max-width:600px){
  .container {
    padding: 15px;
  }
}