/* ============================================
   home.css — styles specific to home.html
   Shared base styles live in css/style.css
   ============================================ */

/* ── HERO ── */
.home-hero {
  position: relative;
  min-height: 88vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 6rem 3rem 0;
  border-bottom: 1px solid var(--border);
  overflow: hidden;
}

/* Giant background text watermark */
.hero-bg-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-family: var(--font-head);
  font-size: clamp(12rem, 28vw, 26rem);
  color: transparent;
  -webkit-text-stroke: 1px var(--border);
  pointer-events: none;
  user-select: none;
  white-space: nowrap;
  letter-spacing: 0.05em;
  opacity: 0.6;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 700px;
  animation: fadeUp 0.7s ease both;
}

.hero-eyebrow {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--accent);
  letter-spacing: 0.15em;
  margin-bottom: 1.5rem;
}

.hero-heading {
  font-family: var(--font-head);
  font-size: clamp(4rem, 10vw, 9rem);
  line-height: 0.88;
  letter-spacing: 0.02em;
  margin-bottom: 2rem;
}

.hero-heading em {
  font-style: normal;
  color: var(--accent);
}

.hero-sub {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--text-dim);
  line-height: 1.7;
  max-width: 420px;
  margin-bottom: 1rem;
}

.hero-cta {
  display: inline-block;
  padding: 0.75rem 1.75rem;
  border: 1px solid var(--accent);
  color: var(--accent);
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-decoration: none;
  text-transform: uppercase;
  transition: background 0.2s, color 0.2s;
}

.hero-cta:hover {
  background: var(--accent);
  color: var(--bg);
}

/* Scrolling ticker at the bottom of the hero */
.hero-ticker {
  position: relative;
  z-index: 2;
  margin-top: 4rem;
  border-top: 1px solid var(--border);
  padding: 0.9rem 0;
  overflow: hidden;
  white-space: nowrap;
}

.ticker-track {
  display: inline-flex;
  gap: 3rem;
  animation: ticker 28s linear infinite;
  font-family: var(--font-head);
  font-size: 1.1rem;
  letter-spacing: 0.08em;
  color: var(--text-dim);
}

.ticker-track span::before {
  content: '— ';
  color: var(--border);
}

@keyframes ticker {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ── SECTIONS ── */
.section {
  padding: 5rem 3rem;
  border-bottom: 1px solid var(--border);
  max-width: 1400px;
  margin-left: auto;
  margin-right: auto;
}

.section-dark {
  background: var(--surface);
}

.section-header {
  display: flex;
  align-items: baseline;
  gap: 1.25rem;
  margin-bottom: 2.5rem;
  flex-wrap: wrap;
}

.section-label {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--accent);
  letter-spacing: 0.12em;
}

.section-title {
  font-family: var(--font-head);
  font-size: clamp(2rem, 4vw, 3rem);
  letter-spacing: 0.04em;
  line-height: 1;
  flex: 1;
}

.section-link {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--text-dim);
  text-decoration: none;
  letter-spacing: 0.08em;
  margin-left: auto;
  transition: color 0.15s;
}

.section-link:hover { color: var(--accent); }

/* ── FEATURED REVIEW ── */
.featured-review {
  text-decoration: none;
  color: inherit;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  animation: fadeUp 0.6s 0.15s ease both;
  opacity: 0;
  animation-fill-mode: forwards;
}

.featured-img {
  position: relative;
  aspect-ratio: 4/3;
  overflow: hidden;
}

.featured-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.7) saturate(0.6);
  transition: filter 0.4s, transform 0.4s;
}

.featured-review:hover .featured-img img {
  filter: brightness(0.8) saturate(0.8);
  transform: scale(1.02);
}

.featured-score-badge {
  position: absolute;
  bottom: 1.25rem;
  left: 1.25rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  background: rgba(10,10,11,0.9);
  border: 1px solid var(--accent);
  padding: 0.6rem 1rem;
}

.badge-num {
  font-family: var(--font-head);
  font-size: 2.8rem;
  color: var(--accent);
  line-height: 1;
}

.badge-label {
  font-family: var(--font-mono);
  font-size: 0.6rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
}

.featured-body {
  background: var(--bg);
  padding: 2.5rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  justify-content: center;
}

.featured-meta {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--text-dim);
}

.dot { color: var(--border); }

.tag {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border: 1px solid var(--border);
  padding: 0.15rem 0.45rem;
  color: var(--text-dim);
}

.featured-title {
  font-family: var(--font-head);
  font-size: clamp(2.5rem, 4vw, 4rem);
  letter-spacing: 0.03em;
  line-height: 0.95;
}

.featured-excerpt {
  font-size: 0.85rem;
  line-height: 1.65;
  color: var(--text-dim);
}

.read-full {
  display: inline-block;
  margin-top: 0.5rem;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--accent);
  text-decoration: none;
  letter-spacing: 0.08em;
  transition: opacity 0.15s;
}

.read-full:hover { opacity: 0.7; }

/* ── LATEST REVIEWS (list layout) ── */
.latest-list {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--border);
}

.latest-item {
  text-decoration: none;
  color: inherit;
  display: grid;
  grid-template-columns: 120px 1fr auto;
  gap: 1px;
  background: var(--border);
  border-bottom: 1px solid var(--border);
  transition: background 0.2s;
  opacity: 0;
  animation: fadeUp 0.5s ease forwards;
}

.latest-item:last-child { border-bottom: none; }
.latest-item:hover { background: var(--muted); }

.latest-img {
  aspect-ratio: 4/3;
  overflow: hidden;
  background: var(--surface);
}

.latest-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.7) saturate(0.6);
  transition: filter 0.3s, transform 0.3s;
  display: block;
}

.latest-item:hover .latest-img img {
  filter: brightness(0.9) saturate(0.9);
  transform: scale(1.05);
}

.latest-body {
  background: var(--surface);
  padding: 1.25rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  justify-content: center;
}

.latest-meta {
  display: flex;
  gap: 0.75rem;
  align-items: center;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  color: var(--text-dim);
}

.latest-title {
  font-family: var(--font-head);
  font-size: 1.5rem;
  letter-spacing: 0.04em;
  line-height: 1;
}

.latest-blurb {
  font-size: 0.78rem;
  line-height: 1.5;
  color: var(--text-dim);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.latest-score {
  background: var(--surface);
  padding: 1.25rem 1.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-width: 90px;
}

/* ── TOP RATED GRID ── */
.top-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
}

.top-card {
  text-decoration: none;
  color: inherit;
  background: var(--bg);
  position: relative;
  overflow: hidden;
  transition: background 0.2s;
  opacity: 0;
  animation: fadeUp 0.5s ease forwards;
  animation-delay: calc(var(--rank) * 0.08s + 0.1s);
}

.top-card:hover { background: var(--surface); }
.top-card:hover .top-img img { transform: scale(1.05); filter: brightness(0.85) saturate(0.8); }

.rank-num {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  font-family: var(--font-head);
  font-size: 1.4rem;
  color: rgba(255,255,255,0.12);
  line-height: 1;
  z-index: 2;
}

.top-img {
  aspect-ratio: 3/2;
  overflow: hidden;
}

.top-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: brightness(0.7) saturate(0.6);
  transition: transform 0.4s ease, filter 0.4s ease;
}

.top-body {
  padding: 1rem 1.1rem 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.top-title {
  font-family: var(--font-head);
  font-size: 1.3rem;
  letter-spacing: 0.04em;
  line-height: 1;
}

.top-score-row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-top: 0.2rem;
}

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
  .featured-review { grid-template-columns: 1fr; }
  .featured-img { aspect-ratio: 16/9; }
  .top-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 640px) {
  .home-hero { padding: 5rem 1.25rem 0; min-height: 70vh; }
  .section { padding: 3rem 1.25rem; }
  .latest-item { grid-template-columns: 90px 1fr; }
  .latest-score { display: none; }
  .top-grid { grid-template-columns: repeat(2, 1fr); }
}











/* ── BROWSE BUTTON ── */
.animated-button {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 0.75rem 2rem;
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  background: transparent;
  box-shadow: 0 0 0 2px var(--accent);
  overflow: hidden;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.6s cubic-bezier(0.23,1,0.32,1);
  margin-top: 1rem;
}

.animated-button svg {
  position: absolute;
  width: 20px;
  fill: var(--accent);
  transition: all 0.8s cubic-bezier(0.23,1,0.32,1);
}

.animated-button .arr-1 { right: 18px; }
.animated-button .arr-2 { left: -18%; }

.animated-button .circle {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 20px;
  height: 20px;
  background: var(--accent);
  border-radius: 50%;
  opacity: 0;
  transition: all 0.8s cubic-bezier(0.23,1,0.32,1);
}

.animated-button .text {
  position: relative;
  z-index: 2;
  padding-right: 22px;
  transition: transform 0.8s cubic-bezier(0.23,1,0.32,1);
}

.animated-button:hover {
  color: var(--bg);
  border-radius: 12px;
  box-shadow: 0 0 0 12px transparent;
}

.animated-button:hover .arr-1 { right: -25%; }
.animated-button:hover .arr-2 { left: 12px; }
.animated-button:hover svg { fill: var(--bg); }

.animated-button:hover .circle {
  width: 240px;
  height: 240px;
  opacity: 1;
}

.animated-button:active {
  transform: scale(0.95);
  box-shadow: 0 0 0 4px var(--accent);
}