/* ========================================
   EQLIPS — Premium Cinematic Landing Page
   ======================================== */

/* --- Reset & Base --- */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}

body {
  font-family:
    "Inter",
    -apple-system,
    BlinkMacSystemFont,
    sans-serif;
  background: #050505;
  color: rgba(255, 255, 255, 0.72);
  font-size: 16px;
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  max-width: 100%;
}

/* --- Container --- */
.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 80px;
}

/* --- Section Label --- */
.section-label {
  display: inline-block;
  font-family: "Inter", sans-serif;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #d4af37;
  margin-bottom: 24px;
}

/* --- Section Spacing --- */
.section {
  padding: 140px 0;
  position: relative;
}

/* ========================================
   HEADER
   ======================================== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 72px;
  z-index: 1000;
  transition:
    background 0.4s ease,
    backdrop-filter 0.4s ease;
}

.site-header.scrolled {
  background: rgba(5, 5, 5, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

.header-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 80px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.header-logo {
  font-family: "Cormorant Garamond", serif;
  font-size: 22px;
  font-weight: 500;
  letter-spacing: 0.12em;
  color: #f5f1e8;
  transition: opacity 0.3s ease;
}

.header-logo:hover {
  opacity: 0.8;
}

.header-nav {
  display: flex;
  gap: 36px;
}

.nav-link {
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 0.06em;
  color: rgba(255, 255, 255, 0.5);
  transition: color 0.3s ease;
}

.nav-link:hover {
  color: rgba(255, 255, 255, 0.85);
}

/* ========================================
   HERO
   ======================================== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-glow {
  position: absolute;
  inset: 0;
  background: #050505;
  pointer-events: none;
  overflow: hidden;
}

/* Individual glow orbs — animated via transform for smooth interpolation */
.glow-orb {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  will-change: transform, opacity;
}

.glow-primary {
  width: 180vmax;
  height: 180vmax;
  top: -45vmax;
  right: -48vmax;
  background: radial-gradient(
    circle,
    rgba(212, 175, 55, 0.3) 0%,
    rgba(212, 175, 55, 0.12) 20%,
    rgba(212, 175, 55, 0.06) 35%,
    transparent 60%
  );
  animation: glowPrimaryDrift 12.5s ease-in-out infinite alternate;
}

.glow-secondary {
  width: 120vmax;
  height: 120vmax;
  bottom: -35vmax;
  left: -30vmax;
  background: radial-gradient(
    circle,
    rgba(212, 175, 55, 0.08) 0%,
    transparent 50%
  );
  animation: glowSecondaryDrift 15s ease-in-out infinite alternate;
}

/* Noise / grain overlay for depth */
.hero-glow::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='1'/%3E%3C/svg%3E");
  background-size: 128px 128px;
  opacity: 0.03;
  pointer-events: none;
  mix-blend-mode: overlay;
}

@keyframes glowPrimaryDrift {
  0% {
    transform: translate(0, 0) scale(1);
    opacity: 1;
  }
  50% {
    transform: translate(-8vw, 5vh) scale(1.08);
    opacity: 0.85;
  }
  100% {
    transform: translate(6vw, -7vh) scale(0.93);
    opacity: 1;
  }
}

@keyframes glowSecondaryDrift {
  0% {
    transform: translate(0, 0) scale(1);
    opacity: 1;
  }
  50% {
    transform: translate(5vw, -5vh) scale(1.1);
    opacity: 0.75;
  }
  100% {
    transform: translate(-3vw, 7vh) scale(0.9);
    opacity: 1;
  }
}

.hero-inner {
  position: relative;
  z-index: 1;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 80px;
  width: 100%;
  display: grid;
  /* Variant 1 (moderate):  grid-template-columns: 1fr 1.1fr; */
  grid-template-columns: 1fr 1.25fr; /* Variant 2 (immersive) */
  align-items: center;
  gap: 40px;
  min-height: 100vh;
}

.hero-text {
  padding-top: 72px;
}

.hero-title {
  font-family: "Cormorant Garamond", serif;
  font-size: 68px;
  font-weight: 400;
  letter-spacing: 0.08em;
  color: #f5f1e8;
  line-height: 1.1;
  margin-bottom: 20px;
}

.hero-tagline {
  font-family: "Cormorant Garamond", serif;
  font-size: 21px;
  font-weight: 300;
  font-style: italic;
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.5;
  margin-bottom: 12px;
}

.hero-descriptor {
  font-size: 15px;
  font-weight: 300;
  color: rgba(255, 255, 255, 0.4);
  line-height: 1.6;
  margin-bottom: 40px;
  max-width: 380px;
}

.hero-buttons {
  display: flex;
  gap: 14px;
}

.hero-visual {
  display: flex;
  align-items: center;
  justify-content: center;
  padding-top: 72px;
  /* Push visual slightly toward center */
  margin-left: -20px;
}

.hero-characters {
  position: relative;
  width: 100%;
  /* Variant 1 (moderate):  max-width: 560px; height: 75vh; */
  max-width: 620px; /* Variant 2 (immersive) */
  height: 82vh;
  max-height: 820px;
  overflow: hidden;
  border-radius: 24px;
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.hero-char {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  opacity: 0;
  transform: scale(1);
  filter: blur(0px);
  transition:
    opacity 2s cubic-bezier(0.4, 0, 0.2, 1),
    transform 4s cubic-bezier(0.4, 0, 0.2, 1),
    filter 2s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: opacity, transform, filter;
}

.hero-char.active {
  opacity: 1;
  transform: scale(1.03);
  filter: blur(0px);
}

.hero-char.fading-out {
  opacity: 0;
  transform: scale(1.06);
  filter: blur(2px);
}

/* ========================================
   BUTTONS
   ======================================== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 13px 26px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 400;
  letter-spacing: 0.02em;
  transition: all 0.3s ease;
  cursor: pointer;
  white-space: nowrap;
}

.btn svg {
  flex-shrink: 0;
}

.btn-primary {
  background: linear-gradient(
    135deg,
    rgba(212, 175, 55, 0.15) 0%,
    rgba(212, 175, 55, 0.06) 100%
  );
  border: 1px solid rgba(212, 175, 55, 0.25);
  color: #e0c36a;
}

.btn-primary:hover {
  background: linear-gradient(
    135deg,
    rgba(212, 175, 55, 0.22) 0%,
    rgba(212, 175, 55, 0.1) 100%
  );
  border-color: rgba(212, 175, 55, 0.4);
  transform: translateY(-2px);
  box-shadow: 0 4px 20px rgba(212, 175, 55, 0.1);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.65);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.07);
  border-color: rgba(212, 175, 55, 0.2);
  color: rgba(255, 255, 255, 0.85);
  transform: translateY(-2px);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

/* ========================================
   LATEST RELEASE
   ======================================== */
.release {
  background: radial-gradient(
    ellipse 60% 50% at 20% 50%,
    rgba(212, 175, 55, 0.04) 0%,
    transparent 70%
  );
}

.release-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 100px;
  align-items: center;
}

.artwork-placeholder {
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: 16px;
  overflow: hidden;
}

.artwork-inner {
  width: 100%;
  height: 100%;
  background:
    radial-gradient(
      ellipse at 50% 50%,
      rgba(212, 175, 55, 0.05) 0%,
      transparent 60%
    ),
    linear-gradient(
      135deg,
      rgba(255, 255, 255, 0.02) 0%,
      rgba(255, 255, 255, 0.005) 100%
    );
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 16px;
}

.artwork-cover {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 16px;
}

.release-title {
  font-family: "Cormorant Garamond", serif;
  font-size: 42px;
  font-weight: 400;
  color: #f5f1e8;
  line-height: 1.2;
  margin-bottom: 16px;
}

.release-description {
  font-size: 17px;
  font-weight: 300;
  color: rgba(255, 255, 255, 0.5);
  line-height: 1.6;
  margin-bottom: 36px;
  font-style: italic;
}

.release-buttons {
  display: flex;
  gap: 14px;
}

/* ========================================
   ABOUT / UNIVERSE
   ======================================== */
.universe {
  text-align: left;
  padding: 180px 0;
  background: radial-gradient(
    ellipse 50% 60% at 75% 50%,
    rgba(212, 175, 55, 0.04) 0%,
    transparent 70%
  );
}

.universe-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 80px;
}

.universe-content {
  max-width: 500px;
  position: relative;
}

/* Subtle gradient behind text */
.universe-content::before {
  content: "";
  position: absolute;
  top: -40px;
  left: -60px;
  width: 140%;
  height: 140%;
  background: radial-gradient(
    ellipse at 30% 50%,
    rgba(212, 175, 55, 0.04) 0%,
    transparent 60%
  );
  pointer-events: none;
  z-index: -1;
}

.universe-text p {
  font-size: 16px;
  font-weight: 300;
  line-height: 2;
  color: rgba(255, 255, 255, 0.65);
  margin-bottom: 28px;
}

.universe-text p:last-child {
  margin-bottom: 0;
}

/* Atmospheric visual — abstract golden light */
.universe-visual {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 360px;
}

.universe-glow {
  width: 130%;
  height: 470px;
  position: relative;
  border-radius: 50%;
  background: radial-gradient(
    circle at 50% 50%,
    rgba(212, 175, 55, 0.4) 0%,
    rgba(212, 175, 55, 0.19) 30%,
    rgba(212, 175, 55, 0.06) 55%,
    transparent 70%
  );
  filter: blur(40px);
  animation: universeGlowPulse 20s ease-in-out infinite alternate;
}

@keyframes universeGlowPulse {
  0% {
    transform: scale(1);
    opacity: 0.8;
  }
  50% {
    transform: scale(1.08);
    opacity: 1;
  }
  100% {
    transform: scale(0.95);
    opacity: 0.7;
  }
}

/* ========================================
   STATES
   ======================================== */
.states-header {
  text-align: center;
  margin-bottom: 64px;
}

.states-intro {
  font-size: 17px;
  font-weight: 300;
  color: rgba(255, 255, 255, 0.45);
  font-style: italic;
}

.states-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.state-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 14px;
  padding: 32px 28px;
  transition: all 0.35s ease;
}

.state-card:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(212, 175, 55, 0.15);
  transform: translateY(-2px);
}

.state-image {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  border-radius: 10px;
  margin-bottom: 18px;
}

.state-name {
  font-family: "Cormorant Garamond", serif;
  font-size: 26px;
  font-weight: 400;
  color: #f5f1e8;
  margin-bottom: 6px;
}

.state-aspect {
  display: inline-block;
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: #d4af37;
  margin-bottom: 16px;
}

.state-description {
  font-size: 14px;
  font-weight: 300;
  color: rgba(255, 255, 255, 0.45);
  line-height: 1.7;
}

/* ========================================
   LINKS
   ======================================== */
.links {
  text-align: center;
}

.links-header {
  margin-bottom: 56px;
}

.links-intro {
  font-size: 17px;
  font-weight: 300;
  color: rgba(255, 255, 255, 0.45);
}

.links-grid {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.link-card {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 18px 32px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  font-size: 15px;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.6);
  transition: all 0.3s ease;
}

.link-card svg {
  flex-shrink: 0;
  opacity: 0.6;
  transition: opacity 0.3s ease;
}

.link-card:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(212, 175, 55, 0.2);
  color: rgba(255, 255, 255, 0.85);
  transform: translateY(-2px);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.3);
}

.link-card:hover svg {
  opacity: 0.9;
}

/* ========================================
   FOOTER
   ======================================== */
.site-footer {
  padding: 48px 0;
  text-align: center;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.footer-copy {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.3);
  margin-bottom: 6px;
}

.footer-line {
  font-family: "Cormorant Garamond", serif;
  font-size: 14px;
  font-style: italic;
  color: rgba(255, 255, 255, 0.2);
}

/* ========================================
   SCROLL ANIMATIONS
   ======================================== */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(24px);
  transition:
    opacity 0.6s ease,
    transform 0.6s ease;
}

.animate-on-scroll.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Stagger children within states grid */
.states-grid .state-card:nth-child(2) {
  transition-delay: 0.08s;
}
.states-grid .state-card:nth-child(3) {
  transition-delay: 0.16s;
}
.states-grid .state-card:nth-child(4) {
  transition-delay: 0.24s;
}

/* ========================================
   RESPONSIVE — Tablet (≤1024px)
   ======================================== */
@media (max-width: 1024px) {
  .container,
  .header-inner,
  .hero-inner {
    padding-left: 48px;
    padding-right: 48px;
  }

  .section {
    padding: 110px 0;
  }

  .hero-inner {
    gap: 40px;
  }

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

  .hero-characters {
    max-width: 440px;
    height: 70vh;
  }

  .release-grid {
    gap: 60px;
  }

  .release-title {
    font-size: 36px;
  }

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

/* ========================================
   RESPONSIVE — Mobile (≤768px)
   ======================================== */
@media (max-width: 768px) {
  .container,
  .header-inner,
  .hero-inner {
    padding-left: 24px;
    padding-right: 24px;
  }

  .section {
    padding: 90px 0;
  }

  /* Header */
  .header-nav {
    gap: 24px;
  }

  .nav-link {
    font-size: 12px;
  }

  /* Hero — reduce glow intensity on mobile */
  .glow-primary {
    background: radial-gradient(
      circle,
      rgba(212, 175, 55, 0.18) 0%,
      rgba(212, 175, 55, 0.07) 25%,
      rgba(212, 175, 55, 0.03) 40%,
      transparent 65%
    );
  }

  .glow-secondary {
    background: radial-gradient(
      circle,
      rgba(212, 175, 55, 0.05) 0%,
      transparent 50%
    );
  }

  .hero-inner {
    grid-template-columns: 1fr;
    gap: 40px;
    min-height: auto;
    padding-top: 120px;
    padding-bottom: 60px;
  }

  .hero-text {
    padding-top: 0;
    text-align: center;
    order: 2;
  }

  .hero-visual {
    padding-top: 0;
    order: 1;
    margin-left: 0;
  }

  .hero-characters {
    max-width: 300px;
    height: auto;
    aspect-ratio: 3 / 4;
  }

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

  .hero-tagline {
    font-size: 18px;
  }

  .hero-descriptor {
    font-size: 14px;
    max-width: none;
    margin-left: auto;
    margin-right: auto;
  }

  .hero-buttons {
    flex-direction: column;
    align-items: center;
  }

  .hero-buttons .btn {
    width: 100%;
    max-width: 280px;
    justify-content: center;
  }

  /* Release */
  .release-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .artwork-placeholder {
    max-width: 360px;
    margin: 0 auto;
  }

  .release-content {
    text-align: center;
  }

  .release-title {
    font-size: 32px;
  }

  .release-buttons {
    flex-direction: column;
    align-items: center;
  }

  .release-buttons .btn {
    width: 100%;
    max-width: 280px;
    justify-content: center;
  }

  /* Universe */
  .universe {
    padding: 100px 0;
  }

  .universe-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .universe-content {
    text-align: center;
    max-width: none;
  }

  .universe-text p {
    font-size: 17px;
  }

  .universe-glow {
    height: 200px;
  }

  /* States */
  .states-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .states-grid .state-card:nth-child(2) {
    transition-delay: 0s;
  }
  .states-grid .state-card:nth-child(3) {
    transition-delay: 0s;
  }
  .states-grid .state-card:nth-child(4) {
    transition-delay: 0s;
  }

  /* Links */
  .links-grid {
    flex-direction: column;
    align-items: center;
  }

  .link-card {
    width: 100%;
    max-width: 280px;
    justify-content: center;
  }
}

/* ========================================
   RESPONSIVE — Small Mobile (≤480px)
   ======================================== */
@media (max-width: 480px) {
  .hero-title {
    font-size: 36px;
  }

  .hero-tagline {
    font-size: 16px;
  }

  .section {
    padding: 72px 0;
  }

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

  .state-card {
    padding: 24px 20px;
  }
}
