/* ==================== ROOT VARIABLES ==================== */
:root {
  --primary-red: #a50e33;
  --dark-bg: #0a0a0a;
  --light-text: #ffffff;
  --accent-gold: #d4af37;
  --gray-text: #b0b0b0;
  --transition-smooth: cubic-bezier(0.4, 0, 0.2, 1);
}

/* ==================== RESET & BASE ==================== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Jost", sans-serif;
  background: var(--dark-bg);
  color: var(--light-text);
  overflow-x: hidden;
  cursor: none;
}

body::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(
    circle at 50% 50%,
    rgba(165, 14, 51, 0.15) 0%,
    transparent 70%
  );
  pointer-events: none;
  z-index: 0;
}

/* ==================== CUSTOM CURSOR ==================== */
.cursor,
.cursor-follower {
  position: fixed;
  border-radius: 50%;
  pointer-events: none;
  z-index: 99999;
  mix-blend-mode: difference;
  transition: transform 0.2s var(--transition-smooth);
}

.cursor {
  width: 8px;
  height: 8px;
  background: var(--light-text);
  transform: translate(-50%, -50%);
}

.cursor-follower {
  width: 40px;
  height: 40px;
  border: 1px solid rgba(255, 255, 255, 0.5);
  transform: translate(-50%, -50%);
  transition:
    transform 0.3s var(--transition-smooth),
    width 0.3s,
    height 0.3s;
}

body.cursor-hover .cursor-follower {
  width: 60px;
  height: 60px;
}

/* ==================== LOADING SCREEN ==================== */
.loader-wrapper {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--dark-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 100000;
  transition:
    opacity 0.5s ease,
    visibility 0.5s ease;
}

.loader-wrapper.hidden {
  opacity: 0;
  visibility: hidden;
}

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

.loader-logo {
  font-family: "Cormorant Garamond", serif;
  font-size: 3rem;
  font-weight: 300;
  letter-spacing: 4px;
  margin-bottom: 2rem;
  opacity: 0;
  animation: fadeInUp 0.8s ease forwards;
}

.loader-bar {
  width: 300px;
  height: 2px;
  background: rgba(255, 255, 255, 0.1);
  margin: 0 auto 1rem;
  overflow: hidden;
  opacity: 0;
  animation: fadeInUp 0.8s ease 0.2s forwards;
}

.loader-progress {
  height: 100%;
  background: var(--primary-red);
  width: 0%;
  animation: loadProgress 2s ease forwards;
}

.loader-text {
  font-size: 0.875rem;
  letter-spacing: 2px;
  opacity: 0;
  color: var(--gray-text);
  animation: fadeInUp 0.8s ease 0.4s forwards;
}

@keyframes loadProgress {
  to {
    width: 100%;
  }
}

@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
  from {
    opacity: 0;
    transform: translateY(20px);
  }
}

/* ==================== NAVBAR ==================== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 4rem 4rem;
  z-index: 1000;
  background: linear-gradient(to bottom, rgba(10, 10, 10, 0.95), transparent);
  backdrop-filter: blur(10px);
  transition: background 0.3s ease;
}

/* .navbar.scrolled {
  background: rgba(10, 10, 10, 0.98);
} */

.logo {
  font-family: "Cormorant Garamond", serif;
  font-size: 1.5rem;
  font-weight: 400;
  letter-spacing: 2px;
  opacity: 0;
  animation: fadeIn 1s ease 0.5s forwards;
}

.nav-menu {
  display: flex;
  gap: 2.5rem;
  opacity: 0;
  animation: fadeIn 1s ease 0.7s forwards;
}

.nav-menu a {
  color: var(--light-text);
  text-decoration: none;
  font-size: 0.875rem;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  position: relative;
  transition: color 0.3s ease;
}

.nav-menu a::after {
  content: "";
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--primary-red);
  transition: width 0.3s ease;
}

.nav-menu a:hover::after,
.nav-menu a.active::after {
  width: 100%;
}

.nav-menu a:hover,
.nav-menu a.active {
  color: var(--primary-red);
}

.mobile-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
}

.mobile-toggle span {
  width: 25px;
  height: 2px;
  background: var(--light-text);
  transition: all 0.3s ease;
}

.social-icons {
  display: flex;
  gap: 1rem;
  opacity: 0;
  animation: fadeIn 1s ease 0.9s forwards;
}

.social-icons a {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--light-text);
  transition: all 0.3s ease;
}

.social-icons a:hover {
  border-color: var(--primary-red);
  color: var(--primary-red);
  transform: translateY(-3px);
}

.social-icons svg {
  width: 16px;
  height: 16px;
}

@keyframes fadeIn {
  to {
    opacity: 1;
  }
}

/* ==================== HERO SECTION ==================== */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  padding: 8rem 4rem 4rem;
}

.hero-bg-pattern {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background:
    radial-gradient(
      circle at 20% 30%,
      rgba(165, 14, 51, 0.08) 0%,
      transparent 50%
    ),
    radial-gradient(
      circle at 80% 70%,
      rgba(165, 14, 51, 0.05) 0%,
      transparent 50%
    );
  animation: patternFloat 20s ease-in-out infinite;
}

@keyframes patternFloat {
  0%,
  100% {
    transform: translate(0, 0);
  }
  50% {
    transform: translate(20px, -20px);
  }
}

.hero-content-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: 1400px;
  gap: 4rem;
  position: relative;
  z-index: 1;
}

.hero-text {
  flex: 1;
}

.hero-title {
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(4rem, 10vw, 8rem);
  font-weight: 300;
  letter-spacing: 8px;
  line-height: 0.9;
  margin-bottom: 2rem;
}

.hero-title .line {
  display: block;
  overflow: hidden;
}

.hero-title .line span {
  display: inline-block;
}

.hero-tagline {
  font-size: 1.25rem;
  letter-spacing: 3px;
  margin-bottom: 0.5rem;
  opacity: 0;
  animation: fadeInUp 1s ease 1.2s forwards;
}

.hero-tagline-sub {
  font-size: 1.125rem;
  letter-spacing: 2px;
  color: var(--gray-text);
  opacity: 0;
  animation: fadeInUp 1s ease 1.4s forwards;
}

.hero-image {
  flex: 1;
  margin-left: 760px;
  margin-top: 130px;
  width: 800px;
  position: absolute;
  opacity: 0;
  animation: fadeInScale 1.2s ease 0.8s forwards;
}

.image-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 120%;
  height: 120%;
  background: radial-gradient(
    circle,
    rgba(165, 14, 51, 0.3) 0%,
    transparent 70%
  );
  filter: blur(60px);
  animation: glowPulse 3s ease-in-out infinite;
}

@keyframes glowPulse {
  0%,
  100% {
    opacity: 0.5;
  }
  50% {
    opacity: 0.8;
  }
}

.hero-image img {
  width: 100%;
  height: auto;
  display: block;
  position: relative;
  z-index: 1;
  filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.5));
}

@keyframes fadeInScale {
  to {
    opacity: 1;
    transform: scale(1);
  }
  from {
    opacity: 0;
    transform: scale(0.95);
  }
}

.scroll-indicator {
  position: absolute;
  bottom: 3rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  opacity: 0;
  animation: fadeIn 1s ease 2s forwards;
}

.scroll-indicator span {
  font-size: 0.75rem;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, var(--light-text), transparent);
  animation: scrollLineMove 2s ease-in-out infinite;
}

@keyframes scrollLineMove {
  0%,
  100% {
    transform: translateY(0);
    opacity: 1;
  }
  50% {
    transform: translateY(10px);
    opacity: 0.3;
  }
}

/* ==================== CONTAINER ==================== */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* ==================== ALBUM ANNOUNCEMENT ==================== */
.album-announce {
  padding: 8rem 2rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.album-announce::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 1px;
  background: linear-gradient(
    to right,
    transparent,
    rgba(255, 255, 255, 0.1),
    transparent
  );
}

.announce-content {
  opacity: 0;
  animation: fadeInUp 1s ease forwards;
  animation-play-state: paused;
}

.announce-content.visible {
  animation-play-state: running;
}

.announce-label {
  font-size: 0.875rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--gray-text);
  display: block;
  margin-bottom: 1.5rem;
}

.announce-title {
  font-family: "Cormorant Garamond", serif;
  font-size: 5rem;
  font-weight: 300;
  letter-spacing: 6px;
  margin-bottom: 1rem;
  background: linear-gradient(to right, var(--light-text), var(--gray-text));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.announce-date {
  font-size: 1.125rem;
  letter-spacing: 2px;
  color: var(--accent-gold);
  margin-bottom: 3rem;
}

.announce-actions {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* ==================== BUTTONS ==================== */
.btn {
  display: inline-block;
  padding: 1rem 2.5rem;
  text-decoration: none;
  font-size: 0.875rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.btn::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.1);
  transition: left 0.3s ease;
}

.btn:hover::before {
  left: 100%;
}

.btn-primary {
  background: var(--primary-red);
  color: var(--light-text);
  border: 1px solid var(--primary-red);
}

.btn-primary:hover {
  background: transparent;
  color: var(--primary-red);
}

.btn-secondary {
  background: transparent;
  color: var(--light-text);
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.btn-secondary:hover {
  border-color: var(--light-text);
  background: rgba(255, 255, 255, 0.05);
}

/* ==================== INTRO SECTION ==================== */
.intro-section {
  padding: 6rem 2rem;
}

.intro-content {
  max-width: 900px;
  margin: 0 auto;
}

.intro-text {
  font-size: 1.25rem;
  line-height: 2;
  letter-spacing: 0.5px;
  color: var(--gray-text);
  text-align: center;
  opacity: 0;
  animation: fadeInUp 1s ease forwards;
  animation-play-state: paused;
}

.intro-text.visible {
  animation-play-state: running;
}

/* ==================== FEATURES ==================== */
.features {
  padding: 6rem 2rem;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 3rem;
}

.feature-card {
  text-align: center;
  padding: 2rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: all 0.4s ease;
  opacity: 0;
  animation: fadeInUp 1s ease forwards;
  animation-play-state: paused;
}

.feature-card.visible {
  animation-play-state: running;
}

.feature-card:nth-child(2) {
  animation-delay: 0.1s;
}
.feature-card:nth-child(3) {
  animation-delay: 0.2s;
}
.feature-card:nth-child(4) {
  animation-delay: 0.3s;
}

.feature-card:hover {
  border-color: var(--primary-red);
  transform: translateY(-10px);
  background: rgba(165, 14, 51, 0.05);
}

.feature-icon {
  font-size: 3rem;
  margin-bottom: 1.5rem;
}

.feature-card h3 {
  font-family: "Cormorant Garamond", serif;
  font-size: 1.5rem;
  font-weight: 400;
  margin-bottom: 1rem;
  letter-spacing: 1px;
}

.feature-card p {
  font-size: 0.938rem;
  color: var(--gray-text);
  line-height: 1.6;
}

/* ==================== ALBUM PREVIEW ==================== */
.album-preview {
  padding: 8rem 2rem;
  text-align: center;
  background: linear-gradient(
    to bottom,
    transparent,
    rgba(165, 14, 51, 0.05),
    transparent
  );
}

.preview-header h2 {
  font-family: "Cormorant Garamond", serif;
  font-size: 3.5rem;
  font-weight: 300;
  letter-spacing: 4px;
  margin-bottom: 2rem;
}

.preview-subtitle {
  max-width: 800px;
  margin: 0 auto 3rem;
  font-size: 1.125rem;
  line-height: 1.8;
  color: var(--gray-text);
}

.themes {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 3rem;
}

.theme-tag {
  padding: 0.75rem 1.5rem;
  border: 1px solid rgba(255, 255, 255, 0.2);
  font-size: 0.875rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  transition: all 0.3s ease;
}

.theme-tag:hover {
  border-color: var(--accent-gold);
  color: var(--accent-gold);
  transform: translateY(-3px);
}

/* ==================== FOOTER ==================== */
.footer {
  padding: 4rem 2rem 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  margin-top: 6rem;
}

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

.footer-logo {
  font-family: "Cormorant Garamond", serif;
  font-size: 2rem;
  font-weight: 300;
  letter-spacing: 3px;
  margin-bottom: 2rem;
}

.footer-verse {
  max-width: 600px;
  margin: 0 auto 2rem;
}

.footer-verse p {
  font-family: "Cormorant Garamond", serif;
  font-size: 1.25rem;
  font-style: italic;
  margin-bottom: 0.5rem;
}

.footer-verse span {
  font-size: 0.875rem;
  color: var(--gray-text);
}

.footer-social {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
  margin-bottom: 2rem;
}

.footer-social a {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--light-text);
  transition: all 0.3s ease;
}

.footer-social a:hover {
  border-color: var(--primary-red);
  color: var(--primary-red);
  transform: translateY(-5px);
}

.footer-social svg {
  width: 18px;
  height: 18px;
}

.footer-copyright {
  font-size: 0.813rem;
  color: var(--gray-text);
  letter-spacing: 1px;
}

/* ==================== BASE (DESKTOP FIRST) ==================== */

/* Hide mobile toggle by default */
.mobile-toggle {
  display: none;
}

/* Hamburger lines */
.mobile-toggle span {
  display: block;
  width: 100%;
  height: 3.5px;
  background: #fff;
  border-radius: 4px;
  transition: all 0.3s ease;
}

/* Desktop nav menu */
.nav-menu {
  display: flex;
  gap: 2rem;
}

/* ==================== TABLET & MOBILE ==================== */
@media (max-width: 1024px) {
  .navbar {
    padding: 3rem 2rem;
  }

  /* Show hamburger */
  .mobile-toggle {
    display: flex;
    width: 45px;
    height: 30px;
    flex-direction: column;
    justify-content: space-between;
    cursor: pointer;
    z-index: 1001;
    padding: 6px;
  }

  /* Slide-in mobile menu */
  .nav-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 70%;
    height: 100vh;
    background: rgba(10, 10, 10, 0.98);
    backdrop-filter: blur(20px);
    flex-direction: column;
    align-items: flex-start;
    padding: 6rem 2rem;
    gap: 2rem;
    transition: right 0.3s ease;
  }

  .nav-menu.active {
    right: 0;
  }

  /* Hamburger → X */
  .mobile-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(9px, 9px);
  }

  .mobile-toggle.active span:nth-child(2) {
    opacity: 0;
  }

  .mobile-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(9px, -9px);
  }

  .social-icons {
    display: none;
  }

  .hero-content-wrapper {
    flex-direction: column-reverse;
    text-align: center;
  }

  .hero-title {
    font-size: 11rem;
  }

  .hero-tagline {
    font-size: 3rem;
  }

  .hero-image {
    display: none;
  }

  .logo {
    font-size: 55px;
  }
}

/* ==================== MOBILE ==================== */
@media (max-width: 768px) {
  body {
    cursor: auto;
  }

  .cursor,
  .cursor-follower {
    display: none;
  }

  .navbar {
    padding: 1.5rem;
  }

  .hero {
    padding: 6rem 1.5rem 3rem;
  }

  .hero-title {
    font-size: 7rem;
    letter-spacing: 4px;
  }

  .hero-tagline {
    font-size: 2rem;
  }

  .hero-tagline-sub {
    font-size: 0.938rem;
  }

  .announce-title {
    font-size: 3rem;
  }

  .features-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .preview-header h2 {
    font-size: 2.5rem;
  }

  .announce-actions {
    flex-direction: column;
    align-items: center;
  }

  .logo {
    font-size: 45px;
  }

  .btn {
    width: 100%;
    max-width: 300px;
  }
}

/* ==================== SMALL PHONES ==================== */
@media (max-width: 480px) {
  .hero-title {
    font-size: 3.6rem;
    margin-top: 280px;
  }

  .hero-tagline {
    font-size: 0.9rem;
  }

  .hero-image {
    display: flex;
    position: absolute;
    margin-bottom: 200px;
    width: 380px;
    margin-right: 750px;
  }

  .loader-logo {
    font-size: 2rem;
  }

  .loader-bar {
    width: 200px;
  }

  .logo {
    font-size: 25px;
  }
}
