/* ============================================================
   HOME.CSS — Styles specific to the homepage (index.html)
   ============================================================ */

/* ── HERO ── */
.hero {
  min-height: 100vh;
  padding-top: var(--nav-h);
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 60% at 65% 50%, rgba(212,168,67,0.04) 0%, transparent 65%),
    radial-gradient(ellipse 50% 80% at 0% 100%, rgba(30,20,10,0.8) 0%, transparent 60%),
    linear-gradient(135deg, #080808 0%, #0F0C08 50%, #080808 100%);
}

/* Geometric accent lines */
.hero-lines {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

.hero-lines::before {
  content: '';
  position: absolute;
  top: 15%; right: -5%;
  width: 55%; height: 70%;
  border: 1px solid rgba(212, 168, 67, 0.06);
  transform: rotate(-8deg);
}

.hero-lines::after {
  content: '';
  position: absolute;
  top: 20%; right: 0%;
  width: 45%; height: 55%;
  border: 1px solid rgba(212, 168, 67, 0.04);
  transform: rotate(-8deg);
}

.hero-inner {
  position: relative;
  z-index: 10;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 2rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.hero-content {
  animation: fade-up 0.9s var(--ease) both;
}

.hero-eyebrow {
  font-family: var(--font-ui);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.45em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.25rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  opacity: 0.85;
}

.hero-eyebrow::before {
  content: '';
  width: 30px; height: 1px;
  background: var(--gold);
  flex-shrink: 0;
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(3.5rem, 7vw, 6.5rem);
  line-height: 0.9;
  letter-spacing: 0.03em;
  color: var(--text);
  margin-bottom: 1.25rem;
}

.hero-title span {
  color: var(--gold);
  display: block;
}

.hero-desc {
  font-size: 1.0625rem;
  color: var(--text-dim);
  line-height: 1.8;
  max-width: 440px;
  margin-bottom: 2.5rem;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.hero-stats {
  display: flex;
  gap: 2rem;
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.hero-stat-num {
  font-family: var(--font-display);
  font-size: 2rem;
  color: var(--gold);
  line-height: 1;
  display: block;
}

.hero-stat-label {
  font-family: var(--font-ui);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-muted);
  display: block;
  margin-top: 0.2rem;
}

/* Hero visual side */
.hero-visual {
  position: relative;
  animation: fade-up 0.9s 0.15s var(--ease) both;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-card-featured {
  width: 100%;
  max-width: 420px;
  background: var(--dark-2);
  border: 1px solid rgba(212, 168, 67, 0.2);
  border-radius: 4px;
  overflow: hidden;
  position: relative;
  transition: all 0.35s var(--ease);
}

.hero-card-featured:hover {
  border-color: rgba(212, 168, 67, 0.45);
  transform: translateY(-6px);
  box-shadow: 0 30px 80px rgba(0,0,0,0.6), 0 0 40px rgba(212,168,67,0.06);
}

.hero-card-thumb {
  width: 100%;
  aspect-ratio: 16/9;
  background: linear-gradient(135deg, #1a0a08 0%, #2a1510 40%, #1a0505 100%);
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-card-thumb-art {
  font-family: var(--font-display);
  font-size: 4rem;
  letter-spacing: 0.05em;
  color: rgba(212, 168, 67, 0.15);
  user-select: none;
  text-align: center;
  line-height: 1;
}

.hero-card-thumb::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(28,16,12,0.9) 100%);
}

.hero-card-thumb-badge {
  position: absolute;
  top: 1rem; right: 1rem;
  z-index: 2;
}

.hero-card-body {
  padding: 1.5rem;
}

.hero-card-meta {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.6rem;
}

.hero-card-title {
  font-family: var(--font-display);
  font-size: 1.6rem;
  letter-spacing: 0.04em;
  color: var(--text);
  margin-bottom: 0.5rem;
  line-height: 1;
}

.hero-card-desc {
  font-size: 0.875rem;
  color: var(--text-dim);
  line-height: 1.6;
  margin-bottom: 1.25rem;
}

.hero-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.hero-card-stats {
  display: flex;
  gap: 1rem;
}

.hero-card-stat {
  font-family: var(--font-ui);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 0.3rem;
}

.hero-card-stat span {
  color: var(--text-dim);
}

.floating-tag {
  position: absolute;
  background: var(--dark-3);
  border: 1px solid rgba(212, 168, 67, 0.15);
  border-radius: 3px;
  padding: 0.5rem 0.75rem;
  font-family: var(--font-ui);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: var(--text-dim);
  backdrop-filter: blur(8px);
  animation: pulse-gold 3s infinite;
}

.floating-tag.tag-1 {
  top: -1rem; left: -2rem;
}

.floating-tag.tag-2 {
  bottom: 2rem; left: -2.5rem;
}

/* ── FILTER BAR ── */
.filter-section {
  background: var(--dark-1);
  border-bottom: 1px solid rgba(255,255,255,0.05);
  padding: 1.25rem 0;
  position: sticky;
  top: var(--nav-h);
  z-index: 100;
}

.filter-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.filter-label {
  font-family: var(--font-ui);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-muted);
  flex-shrink: 0;
}

.filter-tabs {
  display: flex;
  gap: 0.375rem;
  flex-wrap: wrap;
}

.filter-tab {
  font-family: var(--font-ui);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.4rem 1rem;
  border-radius: 2px;
  color: var(--text-dim);
  background: transparent;
  border: 1px solid transparent;
  cursor: pointer;
  transition: all 0.2s var(--ease);
}

.filter-tab:hover {
  color: var(--gold);
  background: var(--gold-glow);
  border-color: rgba(212, 168, 67, 0.2);
}

.filter-tab.active {
  color: var(--gold);
  background: rgba(212, 168, 67, 0.12);
  border-color: rgba(212, 168, 67, 0.35);
}

.filter-count {
  font-family: var(--font-ui);
  font-size: 0.65rem;
  font-weight: 700;
  margin-left: auto;
  color: var(--text-muted);
  letter-spacing: 0.1em;
  flex-shrink: 0;
}

/* ── GUIDE GRID ── */
.guides-section {
  padding: var(--sp-xl) 0;
}

.guides-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 2rem;
}

.section-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 2.5rem;
  gap: 1rem;
}

.section-header-left h2 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  letter-spacing: 0.04em;
  color: var(--text);
  line-height: 1;
}

.guides-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.5rem;
}

/* Guide Card */
.guide-card {
  background: var(--dark-1);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 3px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: all 0.3s var(--ease);
  text-decoration: none;
  color: inherit;
  position: relative;
}

.guide-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  opacity: 0;
  transition: opacity 0.3s var(--ease);
}

.guide-card:hover {
  border-color: rgba(212, 168, 67, 0.25);
  transform: translateY(-5px);
  box-shadow: 0 20px 60px rgba(0,0,0,0.5);
}

.guide-card:hover::before {
  opacity: 1;
}

.guide-card-thumb {
  aspect-ratio: 16/9;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.guide-card-thumb-art {
  font-family: var(--font-display);
  font-size: 3rem;
  color: rgba(212, 168, 67, 0.12);
  letter-spacing: 0.05em;
  transition: transform 0.4s var(--ease), opacity 0.3s;
  text-align: center;
  line-height: 1.1;
}

.guide-card:hover .guide-card-thumb-art {
  transform: scale(1.06);
  opacity: 0.2;
}

.guide-card-thumb-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 30%, rgba(20,20,20,0.95) 100%);
}

.guide-card-thumb-badges {
  position: absolute;
  top: 0.875rem; left: 0.875rem;
  display: flex;
  gap: 0.375rem;
  z-index: 2;
}

.guide-card-body {
  padding: 1.375rem;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.guide-card-genre {
  font-family: var(--font-ui);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  opacity: 0.75;
}

.guide-card-title {
  font-family: var(--font-display);
  font-size: 1.5rem;
  letter-spacing: 0.03em;
  color: var(--text);
  line-height: 1;
}

.guide-card-desc {
  font-size: 0.875rem;
  color: var(--text-dim);
  line-height: 1.65;
  flex: 1;
}

.guide-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 0.875rem;
  border-top: 1px solid rgba(255,255,255,0.05);
  margin-top: 0.375rem;
}

.guide-card-meta-list {
  display: flex;
  gap: 1rem;
}

.guide-card-meta-item {
  font-family: var(--font-ui);
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--text-muted);
  letter-spacing: 0.05em;
  display: flex;
  align-items: center;
  gap: 0.3rem;
}

.guide-card-meta-item b {
  color: var(--text-dim);
  font-weight: 600;
}

.guide-card-cta {
  font-family: var(--font-ui);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
  display: flex;
  align-items: center;
  gap: 0.35rem;
  transition: gap 0.2s var(--ease);
}

.guide-card:hover .guide-card-cta {
  gap: 0.6rem;
}

/* Coming Soon Card */
.guide-card-soon {
  opacity: 0.45;
  pointer-events: none;
  filter: grayscale(0.6);
}

.guide-card-soon .guide-card-thumb {
  background: var(--dark-2);
}

/* ── FEATURES STRIP ── */
.features-strip {
  background: var(--dark-1);
  border-top: 1px solid rgba(255,255,255,0.05);
  border-bottom: 1px solid rgba(255,255,255,0.05);
  padding: 3rem 0;
  overflow: hidden;
}

.features-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 2rem;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}

.feature-item {
  padding: 1.5rem 2rem;
  border-right: 1px solid rgba(255,255,255,0.05);
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.feature-item:last-child { border-right: none; }

.feature-icon {
  width: 36px; height: 36px;
  background: rgba(212, 168, 67, 0.1);
  border: 1px solid rgba(212, 168, 67, 0.2);
  border-radius: 2px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  flex-shrink: 0;
}

.feature-title {
  font-family: var(--font-ui);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: var(--text);
  margin-bottom: 0.2rem;
}

.feature-desc {
  font-size: 0.8rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* ── NEWSLETTER ── */
.newsletter-section {
  padding: var(--sp-xl) 0;
  background: linear-gradient(180deg, var(--black) 0%, var(--dark-1) 50%, var(--black) 100%);
  position: relative;
  overflow: hidden;
}

.newsletter-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 50% at 50% 50%, rgba(212, 168, 67, 0.03) 0%, transparent 70%);
}

.newsletter-inner {
  max-width: 580px;
  margin: 0 auto;
  padding: 0 2rem;
  text-align: center;
  position: relative;
  z-index: 1;
}

.newsletter-inner h2 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 2.75rem);
  letter-spacing: 0.04em;
  color: var(--text);
  margin-bottom: 0.75rem;
  line-height: 1;
}

.newsletter-inner p {
  color: var(--text-dim);
  margin-bottom: 2rem;
  font-size: 0.975rem;
}

.newsletter-form {
  display: flex;
  gap: 0.75rem;
}

.newsletter-input {
  flex: 1;
  background: var(--dark-2);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 2px;
  padding: 0.75rem 1.25rem;
  font-family: var(--font-ui);
  font-size: 0.875rem;
  color: var(--text);
  outline: none;
  transition: border-color 0.2s var(--ease);
}

.newsletter-input::placeholder { color: var(--text-muted); }

.newsletter-input:focus {
  border-color: rgba(212, 168, 67, 0.4);
}

/* ── COMING SOON BANNER ── */
.coming-soon-section {
  padding: var(--sp-lg) 0;
}

.coming-soon-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 2rem;
}

.coming-soon-track {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 1rem;
  margin-top: 1.75rem;
}

.coming-soon-card {
  background: var(--dark-1);
  border: 1px solid rgba(255,255,255,0.05);
  border-radius: 3px;
  padding: 1.25rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  opacity: 0.6;
}

.coming-soon-icon {
  width: 44px; height: 44px;
  background: var(--dark-3);
  border-radius: 3px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  flex-shrink: 0;
}

.coming-soon-name {
  font-family: var(--font-display);
  font-size: 1rem;
  letter-spacing: 0.04em;
  color: var(--text-dim);
  line-height: 1;
  margin-bottom: 0.2rem;
}

.coming-soon-eta {
  font-family: var(--font-ui);
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-muted);
}

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
  .hero-inner {
    grid-template-columns: 1fr;
    text-align: center;
    padding-top: 3rem;
    padding-bottom: 3rem;
  }

  .hero-eyebrow { justify-content: center; }
  .hero-desc { margin-left: auto; margin-right: auto; }
  .hero-actions { justify-content: center; }
  .hero-stats { justify-content: center; }
  .hero-visual { display: none; }

  .features-inner {
    grid-template-columns: 1fr 1fr;
  }

  .feature-item:nth-child(2) { border-right: none; }
  .feature-item:nth-child(3) { border-right: 1px solid rgba(255,255,255,0.05); }
}

@media (max-width: 600px) {
  .features-inner { grid-template-columns: 1fr; }
  .feature-item { border-right: none; border-bottom: 1px solid rgba(255,255,255,0.05); }
  .newsletter-form { flex-direction: column; }
  .guide-card-soon { display: none; }
}
