:root {
  --bg: #0a0a0c;
  --bg-card: #141418;
  --border: #26262c;
  --text: #f2f2f4;
  --text-dim: #9a9aa4;
  --accent: #ff6a00; /* guiño al naranja "Ultra" del Watch Ultra */
  --accent-soft: #ff8a3c;
}

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

img { max-width: 100%; }

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

.site-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 1.5rem;
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  background: rgba(10, 10, 12, 0.85);
  backdrop-filter: blur(12px);
  z-index: 10;
}

.brand { font-weight: 700; letter-spacing: -0.02em; }
.brand .tld { color: var(--accent); }

.site-header nav a {
  color: var(--text-dim);
  text-decoration: none;
  margin-left: 1.2rem;
  font-size: 0.95rem;
}
.site-header nav a:hover { color: var(--text); }

main { max-width: 880px; margin: 0 auto; padding: 0 1.25rem 4rem; }

.hero { text-align: center; padding: 4.5rem 0 3rem; }

.kicker {
  display: inline-block;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--accent-soft);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 0.25rem 0.9rem;
  margin-bottom: 1.2rem;
}

.hero h1 {
  font-size: clamp(3rem, 10vw, 5.5rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  background: linear-gradient(120deg, #fff 30%, var(--accent) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.tagline {
  max-width: 34rem;
  margin: 1rem auto 0;
  color: var(--text-dim);
  font-size: 1.15rem;
}
.tagline strong { color: var(--text); }

.countdown { margin-top: 2.5rem; }
.countdown-label { font-size: 0.85rem; color: var(--text-dim); margin-bottom: 0.8rem; }
.countdown-grid { display: flex; justify-content: center; gap: 0.8rem; }
.countdown-grid div {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  min-width: 74px;
  padding: 0.7rem 0.5rem;
}
.countdown-grid span { display: block; font-size: 1.8rem; font-weight: 700; font-variant-numeric: tabular-nums; }
.countdown-grid small { color: var(--text-dim); font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.08em; }

section { padding-top: 3rem; }
h2 { font-size: 1.7rem; letter-spacing: -0.02em; margin-bottom: 0.4rem; }
.section-sub { color: var(--text-dim); margin-bottom: 1.5rem; }

/* Destacado en X */
.xgrid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1rem;
  margin-top: 1.2rem;
}
.xcard {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 14px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.xmedia { display: block; width: 100%; background: #000; }
video.xmedia { max-height: 420px; }
.xphotos img { display: block; width: 100%; object-fit: cover; }
.xphotos-multi { display: grid; grid-template-columns: 1fr 1fr; gap: 2px; }
.xphotos-multi img { height: 100%; max-height: 220px; }
.xbody { padding: 0.9rem 1rem 1rem; display: flex; flex-direction: column; gap: 0.55rem; }
.xauthor {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
  color: var(--text);
  font-size: 0.9rem;
}
.xauthor img { width: 32px; height: 32px; border-radius: 50%; }
.xname { font-weight: 600; }
.xhandle { color: var(--text-dim); }
.xtext { color: var(--text-dim); font-size: 0.95rem; }
.xstats {
  display: flex;
  gap: 0.9rem;
  font-size: 0.85rem;
  color: var(--text-dim);
  border-top: 1px solid var(--border);
  padding-top: 0.55rem;
}
.xlikes { color: var(--accent-soft); font-weight: 600; }
.loading { color: var(--text-dim); }
.loading a, .news-foot a { color: var(--accent-soft); }

/* Noticia destacada (portada) */
.featured {
  display: block;
  text-decoration: none;
  color: inherit;
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
  background: var(--bg-card);
  margin-bottom: 1rem;
}
.featured-media { position: relative; aspect-ratio: 16 / 9; background: #000; }
.featured-media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.featured-body { padding: 1rem 1.2rem 1.3rem; }
.featured-body h3 {
  font-size: clamp(1.25rem, 3.2vw, 1.75rem);
  letter-spacing: -0.02em;
  line-height: 1.25;
  margin-top: 0.35rem;
}
.featured:hover h3 { color: var(--accent-soft); }

/* Parrilla de noticias con imagen */
.news-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 1rem;
  margin-bottom: 1.6rem;
}
.news-card {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 14px;
  overflow: hidden;
}
.card-media { aspect-ratio: 16 / 10; background: #000; }
.card-media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.card-body { padding: 0.8rem 0.95rem 1rem; }
.card-body h3 { font-size: 1rem; line-height: 1.35; margin-top: 0.3rem; font-weight: 600; }
.news-card:hover h3 { color: var(--accent-soft); }

.badge-ultra {
  border-color: var(--accent);
  color: var(--accent-soft);
  font-weight: 600;
}

/* Timeline de noticias */
.timeline { list-style: none; position: relative; padding-left: 1.4rem; }
.timeline::before {
  content: "";
  position: absolute;
  left: 5px;
  top: 6px;
  bottom: 6px;
  width: 2px;
  background: var(--border);
}
.timeline li {
  position: relative;
  padding: 0 0 1.4rem 0.8rem;
  display: flex;
  gap: 0.9rem;
  align-items: flex-start;
}
.item-thumb {
  flex: 0 0 118px;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--bg-card);
}
.item-thumb img {
  display: block;
  width: 118px;
  height: 78px;
  object-fit: cover;
  transition: transform 0.25s ease;
}
.item-thumb:hover img { transform: scale(1.05); }
.item-body { min-width: 0; }
.timeline li::before {
  content: "";
  position: absolute;
  left: -1.25rem;
  top: 8px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 3px rgba(255, 106, 0, 0.2);
}
.timeline-loading::before { background: var(--text-dim) !important; }
.item-meta {
  font-size: 0.8rem;
  color: var(--text-dim);
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  align-items: center;
  margin-bottom: 0.15rem;
}
.badge {
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 0 0.35rem;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.timeline a {
  color: var(--text);
  text-decoration: none;
  font-weight: 600;
  font-size: 1.02rem;
}
.timeline a:hover { color: var(--accent-soft); }
.news-foot { color: var(--text-dim); font-size: 0.9rem; margin-top: 0.5rem; }
.news-foot a { color: var(--accent-soft); }

/* Tarjetas "qué sabemos" */
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 1rem; margin-top: 1.2rem; }
.card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 1.3rem;
}
.card h3 { margin-bottom: 0.5rem; font-size: 1.05rem; }
.card p { color: var(--text-dim); font-size: 0.95rem; }
.card strong { color: var(--text); }

/* FAQ */
.faq details {
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--bg-card);
  margin-top: 0.8rem;
  padding: 0.9rem 1.2rem;
}
.faq summary { cursor: pointer; font-weight: 600; }
.faq details p { color: var(--text-dim); margin-top: 0.6rem; }
.faq details strong { color: var(--text); }

.site-footer {
  border-top: 1px solid var(--border);
  margin-top: 2rem;
  padding: 2rem 1.5rem 3rem;
  text-align: center;
  color: var(--text-dim);
  font-size: 0.85rem;
}
.site-footer p { max-width: 640px; margin: 0 auto 0.6rem; }

@media (max-width: 520px) {
  .site-header nav a { margin-left: 0.8rem; font-size: 0.85rem; }
  .countdown-grid div { min-width: 64px; }
  .item-thumb { flex-basis: 92px; }
  .item-thumb img { width: 92px; height: 64px; }
}
