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

body {
  font-family: 'Barlow', sans-serif;
  background: #0d0d0d;
  color: #f0ede6;
  min-height: 100vh;
}

/* ── NAVBAR ── */
.navbar {
  background: #0d0d0d;
  border-bottom: 2px solid #e8342a;
  padding: 0 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 56px;
  position: sticky;
  top: 0;
  z-index: 10;
}

.logo {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 22px;
  font-weight: 900;
  letter-spacing: -0.5px;
  color: #f0ede6;
}
.logo span { color: #e8342a; }

.nav-links { display: flex; gap: 6px; }

.nav-links a {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: #9a9590;
  text-decoration: none;
  padding: 6px 10px;
  border-radius: 4px;
  transition: color 0.15s;
  cursor: pointer;
}
.nav-links a:hover { color: #f0ede6; }
.nav-links a.active { color: #e8342a; }

.nav-right { display: flex; align-items: center; gap: 12px; }

.search-bar {
  background: #1a1a1a;
  border: 1px solid #2a2a2a;
  border-radius: 20px;
  padding: 6px 14px;
  font-size: 13px;
  color: #9a9590;
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
}

/* ── HERO ── */
.hero {
  display: grid;
  grid-template-columns: 1fr 320px;
  border-bottom: 1px solid #1e1e1e;
}

.hero-main {
  position: relative;
  overflow: hidden;
  min-height: 420px;
  background: #111;
}

.hero-img-placeholder {
  width: 100%;
  height: 100%;
  min-height: 420px;
  background: linear-gradient(135deg, #1a0a08 0%, #2d0d09 50%, #1a1a2e 100%);
  display: flex;
  align-items: flex-end;
  position: relative;
  overflow: hidden;
}

.hero-img-placeholder::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(13,13,13,0.97) 0%, rgba(13,13,13,0.7) 40%, rgba(13,13,13,0.3) 70%, transparent 100%);
  z-index: 1;
}

.hero-decoration {
  position: absolute;
  top: 0; right: 0; bottom: 0; left: 0;
  background: repeating-linear-gradient(
    -45deg, transparent, transparent 40px,
    rgba(232,52,42,0.03) 40px, rgba(232,52,42,0.03) 41px
  );
  z-index: 0;
}

.hero-badge {
  position: absolute;
  top: 20px; left: 20px;
  background: #e8342a;
  color: #fff;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 2px;
  z-index: 3;
}

.hero-content {
  padding: 24px;
  position: relative;
  z-index: 2;
  width: 100%;
}

.hero-category {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 11px; font-weight: 700;
  letter-spacing: 2px; text-transform: uppercase;
  color: #e8342a; margin-bottom: 8px;
}

.hero-title {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 36px; font-weight: 900;
  line-height: 1.05; color: #f0ede6;
  margin-bottom: 10px; max-width: 480px;
}

.hero-desc {
  font-size: 14px; color: #9a9590;
  line-height: 1.6; max-width: 440px; margin-bottom: 14px;
}

.hero-meta {
  display: flex; align-items: center;
  gap: 12px; font-size: 12px; color: #5a5550;
}
.hero-meta span { color: #e8342a; }

/* ── SIDEBAR ── */
.hero-sidebar {
  border-left: 1px solid #1e1e1e;
  display: flex;
  flex-direction: column;
}

.sidebar-header {
  padding: 14px 16px;
  border-bottom: 1px solid #1e1e1e;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 11px; font-weight: 700;
  letter-spacing: 2px; text-transform: uppercase; color: #5a5550;
}

.trending-item {
  display: flex; gap: 12px;
  padding: 14px 16px;
  border-bottom: 1px solid #1a1a1a;
  cursor: pointer; transition: background 0.15s;
}
.trending-item:hover { background: #111; }

.trending-num {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 28px; font-weight: 900;
  color: #2a2a2a; line-height: 1; min-width: 28px;
}
.trending-item:hover .trending-num { color: #e8342a; }

.trending-cat {
  font-size: 10px; font-weight: 600;
  text-transform: uppercase; letter-spacing: 1px;
  color: #e8342a; margin-bottom: 4px;
}

.trending-title {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 15px; font-weight: 700;
  color: #c8c5be; line-height: 1.2;
}

/* ── TICKER ── */
.ticker-bar {
  background: #e8342a; padding: 8px 24px;
  display: flex; align-items: center; gap: 16px; overflow: hidden;
}

.ticker-label {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 11px; font-weight: 700;
  letter-spacing: 2px; text-transform: uppercase;
  color: #fff; white-space: nowrap;
  padding-right: 16px; border-right: 1px solid rgba(255,255,255,0.3);
}

.ticker-content {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 13px; font-weight: 600;
  color: rgba(255,255,255,0.85);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}

/* ── SECCIONES ── */
.section { padding: 28px 16px; }

.section-header {
  display: flex; align-items: center;
  justify-content: space-between;
  margin-bottom: 20px; padding-bottom: 12px;
  border-bottom: 2px solid #1e1e1e;
}

.section-title {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 20px; font-weight: 900;
  letter-spacing: 0.5px; color: #f0ede6;
  display: flex; align-items: center; gap: 10px;
}
.section-title::before {
  content: ''; display: block;
  width: 4px; height: 20px;
  background: #e8342a; border-radius: 2px;
}

.ver-todo {
  font-size: 12px; font-weight: 600;
  color: #e8342a; text-decoration: none;
  text-transform: uppercase; letter-spacing: 0.5px; cursor: pointer;
}

/* ── NEWS CARDS ── */
.news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.news-card {
  background: #111; border: 1px solid #1e1e1e;
  border-radius: 6px; overflow: hidden; cursor: pointer;
  transition: border-color 0.15s, transform 0.15s;
}
.news-card:hover { border-color: #e8342a; transform: translateY(-2px); }

.card-img {
  height: 140px; position: relative;
  overflow: hidden; display: flex;
  align-items: center; justify-content: center;
}

.card-img-bg-1 { background: linear-gradient(135deg, #0a1628 0%, #1a3a5c 100%); }
.card-img-bg-2 { background: linear-gradient(135deg, #1a0a1e 0%, #3d1a52 100%); }
.card-img-bg-3 { background: linear-gradient(135deg, #0d1a0a 0%, #1e4012 100%); }
.card-img-bg-4 { background: linear-gradient(135deg, #1a1200 0%, #4a3500 100%); }
.card-img-bg-5 { background: linear-gradient(135deg, #1a0008 0%, #4a0015 100%); }
.card-img-bg-6 { background: linear-gradient(135deg, #001a1a 0%, #003d3d 100%); }

.card-platform-badge {
  position: absolute; bottom: 8px; right: 8px;
  background: rgba(0,0,0,0.7);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 3px; font-size: 10px; font-weight: 600;
  color: #9a9590; padding: 2px 6px;
}

.card-icon { opacity: 0.2; }
.card-body { padding: 12px; }

.card-cat {
  font-size: 10px; font-weight: 600;
  text-transform: uppercase; letter-spacing: 1px;
  color: #e8342a; margin-bottom: 6px;
}

.card-title {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 16px; font-weight: 700;
  line-height: 1.2; color: #d8d5ce;
}

/* ── REVIEWS ── */
.reviews-section {
  padding: 0 16px 28px;
  background: #0a0a0a; border-top: 1px solid #1e1e1e;
}

.reviews-grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 12px; padding-top: 28px;
}

.review-card {
  background: #111;
  border: 1px solid #1e1e1e;
  border-radius: 6px;
  overflow: hidden;
  cursor: pointer;
  transition: border-color 0.15s;
  text-decoration: none;
  color: inherit;
  display: block;
}
.review-card:hover { border-color: #e8342a; }

.review-bar { height: 4px; }
.review-body { padding: 12px; }

.review-title {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 15px; font-weight: 700;
  color: #d8d5ce; margin-bottom: 4px;
}

.review-platform { font-size: 10px; color: #4a4a4a; margin-bottom: 10px; }

.review-score-display { display: flex; align-items: baseline; gap: 2px; }

.score-num {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 32px; font-weight: 900; line-height: 1;
}

.score-denom { font-size: 14px; color: #4a4a4a; }
.score-label { font-size: 11px; font-weight: 600; margin-left: 6px; }

/* ── FOOTER ── */
.footer {
  background: #000; border-top: 2px solid #e8342a;
  padding: 20px 16px; display: flex;
  justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 12px;
}

.footer-logo {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 20px; font-weight: 900; color: #3a3a3a;
}
.footer-logo span { color: #e8342a; }

.footer-links { display: flex; gap: 16px; flex-wrap: wrap; }

.footer-links a {
  font-size: 12px; color: #3a3a3a;
  text-decoration: none; cursor: pointer;
}
.footer-links a:hover { color: #5a5550; }

.footer-copy { font-size: 11px; color: #3a3a3a; width: 100%; }

/* ═══════════════════════════════════
   MOBILE — hasta 768px
═══════════════════════════════════ */
@media (max-width: 768px) {

  /* NAVBAR */
  .navbar {
    padding: 0 12px;
    height: 52px;
  }

  .nav-links {
    display: none;
  }

  .logo {
    font-size: 20px;
  }

  .search-bar input {
    width: 120px;
  }

  /* HERO */
  .hero {
    grid-template-columns: 1fr;
  }

  .hero-main {
    min-height: 300px;
  }

  .hero-img-placeholder {
    min-height: 300px;
  }

  .hero-title {
    font-size: 26px;
    max-width: 100%;
  }

  .hero-desc {
    display: none;
  }

  .hero-content {
    padding: 16px;
  }

  .hero-sidebar {
    border-left: none;
    border-top: 1px solid #1e1e1e;
  }

  /* TICKER */
  .ticker-bar {
    padding: 8px 12px;
  }

  /* NEWS GRID */
  .news-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .card-img {
    height: 160px;
  }

  /* REVIEWS GRID */
  .reviews-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .reviews-section {
    padding: 0 12px 24px;
  }

  /* FOOTER */
  .footer {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  .footer-links {
    gap: 12px;
  }
}

/* ═══════════════════════════════════
   TABLET — entre 769px y 1024px
═══════════════════════════════════ */
@media (min-width: 769px) and (max-width: 1024px) {

  .hero {
    grid-template-columns: 1fr 260px;
  }

  .hero-title {
    font-size: 28px;
  }

  .hero-desc {
    font-size: 13px;
  }

  .nav-links a {
    font-size: 11px;
    padding: 6px 7px;
  }

  .news-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .reviews-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .search-bar input {
    width: 100px;
  }
}
