:root {
  --gold: #C9A84C;
  --gold-light: #E8C97A;
  --gold-dim: rgba(201,168,76,0.15);
  --black: #080808;
  --surface: #0f0f0f;
  --surface2: #161616;
  --white: #f5f0e8;
  --muted: rgba(245,240,232,0.45);
  --border: rgba(201,168,76,0.18);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body.page-template-page-home {
  background: var(--black);
  color: var(--white);
  font-family: 'Outfit', sans-serif;
  font-weight: 300;
  overflow-x: hidden;
  cursor: none;
  padding: 0 !important;
  margin: 0 !important;
}

/* Suppress GeneratePress layout on this template */
body.page-template-page-home .site-header,
body.page-template-page-home .site-footer,
body.page-template-page-home #page,
body.page-template-page-home .inside-page-hero,
body.page-template-page-home .generate-columns-container { display: none !important; }

body.page-template-page-home #rp-home-root { display: block !important; }

/* Custom cursor */
.cursor {
  position: fixed;
  width: 8px; height: 8px;
  background: var(--gold);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9999;
  transition: transform 0.15s ease;
  transform: translate(-50%, -50%);
}
.cursor-ring {
  position: fixed;
  width: 36px; height: 36px;
  border: 1px solid rgba(201,168,76,0.5);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9998;
  transition: transform 0.35s ease, width 0.3s ease, height 0.3s ease, opacity 0.3s ease;
  transform: translate(-50%, -50%);
}

/* NAV */
nav.rp-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 28px 52px;
  background: linear-gradient(to bottom, rgba(8,8,8,0.95), transparent);
}
.nav-logo {
  font-family: 'Cormorant Garamond', serif;
  font-size: 20px;
  font-weight: 300;
  letter-spacing: 0.18em;
  color: var(--white);
  text-decoration: none;
  text-transform: uppercase;
}
.nav-logo span { color: var(--gold); }
.nav-links { display: flex; gap: 40px; list-style: none; }
.nav-links a {
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
  text-decoration: none;
  transition: color 0.3s;
}
.nav-links a:hover { color: var(--gold); }
.nav-cta {
  font-size: 11px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--black);
  background: var(--gold);
  padding: 10px 24px;
  text-decoration: none;
  transition: background 0.3s, transform 0.2s;
}
.nav-cta:hover { background: var(--gold-light); transform: translateY(-1px); }

/* HERO */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 120px 40px 80px;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 50% at 50% 60%, rgba(201,168,76,0.07) 0%, transparent 70%),
    radial-gradient(ellipse 40% 30% at 20% 80%, rgba(201,168,76,0.04) 0%, transparent 60%);
}
.hero-grain {
  position: absolute;
  inset: 0;
  opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
  background-size: 180px;
}
.hero-line {
  position: absolute;
  top: 0; bottom: 0;
  width: 1px;
  background: linear-gradient(to bottom, transparent, var(--border), transparent);
}
.hero-line:nth-child(1) { left: 20%; }
.hero-line:nth-child(2) { left: 50%; }
.hero-line:nth-child(3) { right: 20%; }
.hero-eyebrow {
  font-size: 10px;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 32px;
  opacity: 0;
  animation: fadeUp 1s ease 0.3s forwards;
}
.hero-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(64px, 10vw, 148px);
  font-weight: 300;
  line-height: 0.9;
  letter-spacing: -0.02em;
  text-align: center;
  max-width: 1100px;
  opacity: 0;
  animation: fadeUp 1.2s ease 0.5s forwards;
}
.hero-title em { font-style: italic; color: var(--gold); }
.hero-subtitle {
  margin-top: 40px;
  font-size: 14px;
  font-weight: 200;
  letter-spacing: 0.06em;
  color: var(--muted);
  text-align: center;
  max-width: 440px;
  line-height: 1.9;
  opacity: 0;
  animation: fadeUp 1s ease 0.8s forwards;
}
.hero-actions {
  margin-top: 56px;
  display: flex;
  gap: 20px;
  align-items: center;
  opacity: 0;
  animation: fadeUp 1s ease 1s forwards;
}
.btn-primary {
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--black);
  background: var(--gold);
  padding: 16px 40px;
  text-decoration: none;
  transition: all 0.3s;
  position: relative;
  overflow: hidden;
}
.btn-primary::after {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--gold-light);
  transform: translateX(-101%);
  transition: transform 0.4s ease;
}
.btn-primary:hover::after { transform: translateX(0); }
.btn-primary span { position: relative; z-index: 1; }
.btn-ghost {
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
  text-decoration: none;
  padding: 16px 32px;
  border: 1px solid var(--border);
  transition: all 0.3s;
}
.btn-ghost:hover { color: var(--white); border-color: rgba(201,168,76,0.5); }
.hero-scroll {
  position: absolute;
  bottom: 48px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  opacity: 0;
  animation: fadeIn 1s ease 1.5s forwards;
}
.hero-scroll span {
  font-size: 9px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--muted);
}
.scroll-line {
  width: 1px;
  height: 48px;
  background: linear-gradient(to bottom, var(--gold), transparent);
  animation: scrollPulse 2s ease infinite;
}

/* MARQUEE */
.marquee-section {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 18px 0;
  overflow: hidden;
  background: var(--surface);
}
.marquee-track {
  display: flex;
  gap: 0;
  animation: marquee 22s linear infinite;
  white-space: nowrap;
}
.marquee-item {
  display: flex;
  align-items: center;
  gap: 32px;
  padding: 0 40px;
  font-size: 10px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--muted);
  flex-shrink: 0;
}
.marquee-dot {
  width: 4px; height: 4px;
  border-radius: 50%;
  background: var(--gold);
  flex-shrink: 0;
}

/* SECTIONS */
.section {
  padding: 120px 52px;
  max-width: 1400px;
  margin: 0 auto;
}
.section-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 64px;
}
.section-label {
  font-size: 10px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 16px;
}
.section-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(36px, 4vw, 56px);
  font-weight: 300;
  line-height: 1.1;
}
.section-title em { font-style: italic; color: var(--gold); }
.section-link {
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  text-decoration: none;
  border-bottom: 1px solid var(--border);
  padding-bottom: 4px;
  transition: border-color 0.3s;
  white-space: nowrap;
  margin-bottom: 8px;
}
.section-link:hover { border-color: var(--gold); }

/* PERFUME CARDS */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
}
.perfume-card {
  position: relative;
  background: var(--surface);
  overflow: hidden;
  cursor: none;
}
.card-image {
  aspect-ratio: 3/4;
  background: var(--surface2);
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.card-bottle {
  width: 80px;
  opacity: 0.6;
  transition: transform 0.6s ease, opacity 0.6s ease;
}
.perfume-card:hover .card-bottle { transform: scale(1.08) translateY(-6px); opacity: 0.9; }
.card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(8,8,8,0.85) 0%, transparent 50%);
  opacity: 0;
  transition: opacity 0.4s ease;
}
.perfume-card:hover .card-overlay { opacity: 1; }
.card-rank {
  position: absolute;
  top: 20px; left: 20px;
  font-family: 'Cormorant Garamond', serif;
  font-size: 11px;
  letter-spacing: 0.2em;
  color: var(--gold);
}
.card-body {
  padding: 24px 28px 28px;
  border-top: 1px solid var(--border);
}
.card-brand {
  font-size: 9px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 8px;
}
.card-name {
  font-family: 'Cormorant Garamond', serif;
  font-size: 22px;
  font-weight: 300;
  line-height: 1.2;
  margin-bottom: 12px;
}
.card-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.card-stars { display: flex; gap: 3px; }
.star { width: 10px; height: 10px; fill: var(--gold); }
.star.empty { fill: none; stroke: var(--gold); stroke-width: 1.5; }
.card-family { font-size: 10px; letter-spacing: 0.15em; color: var(--muted); }

/* FEATURED LARGE */
.featured-large {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2px;
  margin-bottom: 2px;
}
.featured-card {
  position: relative;
  background: var(--surface);
  overflow: hidden;
  min-height: 560px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 48px;
}
.featured-card-bg {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0.12;
  transition: opacity 0.5s ease;
}
.featured-card:hover .featured-card-bg { opacity: 0.22; }
.featured-card-content { position: relative; z-index: 1; }
.featured-score {
  font-family: 'Cormorant Garamond', serif;
  font-size: 80px;
  font-weight: 300;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 16px;
  opacity: 0.4;
}
.featured-brand {
  font-size: 9px;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 12px;
}
.featured-name {
  font-family: 'Cormorant Garamond', serif;
  font-size: 38px;
  font-weight: 300;
  line-height: 1.1;
  margin-bottom: 16px;
}
.featured-desc {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.8;
  max-width: 340px;
  margin-bottom: 32px;
}
.card-tag {
  display: inline-block;
  font-size: 9px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  border: 1px solid var(--border);
  padding: 6px 16px;
  margin-right: 8px;
  margin-bottom: 8px;
}

/* RANKINGS */
.rankings-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
}
.ranking-card {
  background: var(--surface);
  padding: 40px 36px;
  position: relative;
  overflow: hidden;
  transition: background 0.3s;
}
.ranking-card:hover { background: var(--surface2); }
.ranking-number {
  font-family: 'Cormorant Garamond', serif;
  font-size: 88px;
  font-weight: 300;
  color: var(--border);
  line-height: 1;
  position: absolute;
  top: 16px; right: 24px;
  transition: color 0.3s;
}
.ranking-card:hover .ranking-number { color: rgba(201,168,76,0.25); }
.ranking-icon { width: 40px; height: 40px; margin-bottom: 32px; opacity: 0.6; }
.ranking-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 24px;
  font-weight: 300;
  margin-bottom: 12px;
  line-height: 1.2;
}
.ranking-desc { font-size: 13px; color: var(--muted); line-height: 1.8; margin-bottom: 28px; }
.ranking-link {
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 10px;
  transition: gap 0.3s;
}
.ranking-link:hover { gap: 16px; }
.ranking-arrow { font-size: 14px; }

/* STATS */
.stats-section {
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 80px 52px;
}
.stats-inner {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2px;
}
.stat-item { padding: 0 48px; border-left: 1px solid var(--border); }
.stat-item:first-child { border-left: none; padding-left: 0; }
.stat-number {
  font-family: 'Cormorant Garamond', serif;
  font-size: 56px;
  font-weight: 300;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 8px;
}
.stat-label { font-size: 10px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--muted); }

/* NEWSLETTER */
.newsletter-section {
  padding: 120px 52px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.newsletter-bg {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 50% 60% at 50% 50%, rgba(201,168,76,0.05) 0%, transparent 70%);
}
.newsletter-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(40px, 5vw, 72px);
  font-weight: 300;
  line-height: 1.1;
  margin-bottom: 20px;
  position: relative;
}
.newsletter-title em { font-style: italic; color: var(--gold); }
.newsletter-sub { font-size: 14px; color: var(--muted); margin-bottom: 48px; position: relative; }
.newsletter-form {
  display: flex;
  gap: 0;
  max-width: 480px;
  margin: 0 auto;
  position: relative;
}
.newsletter-input {
  flex: 1;
  background: var(--surface);
  border: 1px solid var(--border);
  border-right: none;
  padding: 16px 24px;
  font-family: 'Outfit', sans-serif;
  font-size: 13px;
  color: var(--white);
  outline: none;
  transition: border-color 0.3s;
}
.newsletter-input::placeholder { color: var(--muted); }
.newsletter-input:focus { border-color: rgba(201,168,76,0.5); }
.newsletter-btn {
  background: var(--gold);
  border: none;
  padding: 16px 32px;
  font-family: 'Outfit', sans-serif;
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--black);
  cursor: none;
  transition: background 0.3s;
}
.newsletter-btn:hover { background: var(--gold-light); }

/* FOOTER */
footer.rp-footer {
  background: var(--surface);
  border-top: 1px solid var(--border);
  padding: 64px 52px 40px;
}
.footer-inner { max-width: 1400px; margin: 0 auto; }
.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 64px;
}
.footer-logo { font-family: 'Cormorant Garamond', serif; font-size: 28px; font-weight: 300; letter-spacing: 0.1em; }
.footer-logo span { color: var(--gold); }
.footer-tagline { font-size: 12px; color: var(--muted); margin-top: 8px; letter-spacing: 0.05em; }
.footer-nav { display: grid; grid-template-columns: repeat(3, 140px); gap: 40px; }
.footer-col-title { font-size: 9px; letter-spacing: 0.3em; text-transform: uppercase; color: var(--gold); margin-bottom: 20px; }
.footer-links { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-links a { font-size: 13px; color: var(--muted); text-decoration: none; transition: color 0.3s; }
.footer-links a:hover { color: var(--white); }
.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 32px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.footer-copy { font-size: 11px; color: var(--muted); letter-spacing: 0.05em; }
.footer-legal { display: flex; gap: 32px; }
.footer-legal a { font-size: 11px; color: var(--muted); text-decoration: none; letter-spacing: 0.05em; transition: color 0.3s; }
.footer-legal a:hover { color: var(--gold); }

/* ANIMATIONS */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(30px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}
@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
@keyframes scrollPulse {
  0%, 100% { opacity: 1; transform: scaleY(1); }
  50%       { opacity: 0.3; transform: scaleY(0.6); }
}
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}
.reveal.visible { opacity: 1; transform: translateY(0); }

/* RESPONSIVE */
@media (max-width: 900px) {
  nav.rp-nav { padding: 24px; }
  .nav-links { display: none; }
  .section { padding: 80px 24px; }
  .cards-grid { grid-template-columns: 1fr; }
  .featured-large { grid-template-columns: 1fr; }
  .rankings-grid { grid-template-columns: 1fr; }
  .stats-inner { grid-template-columns: repeat(2, 1fr); gap: 32px; }
  .stat-item { border-left: none; padding-left: 0; }
  .footer-top { flex-direction: column; gap: 40px; }
  .footer-nav { grid-template-columns: repeat(2, 1fr); }
  .footer-bottom { flex-direction: column; gap: 16px; text-align: center; }
  .hero-title { font-size: clamp(52px, 14vw, 100px); }
}

/* Fix: hero text visibility */
.hero-title {
  color: #f5f0e8 !important;
  text-shadow: 0 2px 40px rgba(0,0,0,0.8);
}
.hero-title em {
  color: var(--gold) !important;
}
