:root {
  --bg: #050507;
  --gold: #c9a84c;
  --gold-light: #f0d080;
  --red: #c0392b;
  --red-bright: #e74c3c;
  --off-white: #e8e0d0;
  --muted: #555060;
  --font-display: "Bebas Neue", sans-serif;
  --font-serif: "Cormorant Garamond", serif;
  --font-mono: "Space Mono", monospace;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: auto;
}

body {
  background: var(--bg);
  color: var(--off-white);
  font-family: var(--font-serif);
  overflow-x: hidden;
  cursor: none;
}

#cursor {
  position: fixed;
  width: 12px;
  height: 12px;
  background: var(--gold);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%);
  transition: transform 0.1s ease, background 0.3s;
  mix-blend-mode: difference;
}

#cursor-ring {
  position: fixed;
  width: 40px;
  height: 40px;
  border: 1px solid rgba(201, 168, 76, 0.5);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9998;
  transform: translate(-50%, -50%);
  transition: width 0.3s, height 0.3s, border-color 0.3s;
}

body:hover #cursor-ring {
  border-color: var(--gold);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  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.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.04'/%3E%3C/svg%3E");
  opacity: 0.35;
}

nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 48px;
  mix-blend-mode: exclusion;
}

.nav-logo {
  font-family: var(--font-display);
  font-size: 1.2rem;
  letter-spacing: 0.3em;
  color: var(--gold);
  opacity: 0;
}

.nav-links {
  display: flex;
  gap: 32px;
  list-style: none;
}

.nav-links a {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--off-white);
  text-decoration: none;
  opacity: 0.6;
  transition: opacity 0.3s, color 0.3s;
}

.nav-links a:hover {
  opacity: 1;
  color: var(--gold);
}

section {
  position: relative;
}

#hero {
  height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  position: relative;
}

#hero-bg {
  position: absolute;
  inset: -10%;
  background: radial-gradient(ellipse 60% 80% at 60% 50%, rgba(201, 168, 76, 0.07) 0%, transparent 70%), radial-gradient(ellipse 40% 60% at 30% 70%, rgba(192, 57, 43, 0.05) 0%, transparent 60%), linear-gradient(160deg, #0a080f 0%, #050507 50%, #08050a 100%);
  will-change: transform;
}

#hero-bg::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(201, 168, 76, 0.03) 1px, transparent 1px), linear-gradient(90deg, rgba(201, 168, 76, 0.03) 1px, transparent 1px);
  background-size: 80px 80px;
}

#hero-portrait {
  position: absolute;
  right: 8%;
  bottom: 0;
  width: 55%;
  max-width: 700px;
  height: 95%;
  object-fit: cover;
  object-position: top center;
  opacity: 0;
  mask-image: linear-gradient(to left, black 60%, transparent 100%), linear-gradient(to top, transparent 0%, black 15%);
  -webkit-mask-image: linear-gradient(to left, black 60%, transparent 100%), linear-gradient(to top, transparent 0%, black 15%);
  -webkit-mask-composite: destination-in;
  mask-composite: intersect;
  filter: sepia(0.15) contrast(1.1);
  will-change: transform;
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: left;
  width: 100%;
  padding-left: 12%;
}

.hero-eyebrow {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.5em;
  color: var(--gold);
  opacity: 0;
  margin-bottom: 20px;
  text-transform: uppercase;
}

.hero-name {
  font-family: var(--font-display);
  font-size: clamp(7rem, 18vw, 18rem);
  line-height: 0.85;
  letter-spacing: -0.02em;
  color: var(--off-white);
  overflow: hidden;
}

.hero-name .char {
  display: inline-block;
  transform: translateY(110%);
  opacity: 0;
}

.hero-subtitle {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: clamp(1.2rem, 3vw, 2.2rem);
  font-weight: 300;
  letter-spacing: 0.25em;
  color: var(--gold-light);
  margin-top: 12px;
  opacity: 0;
}

.hero-line {
  width: 0;
  height: 1px;
  background: var(--gold);
  margin-top: 32px;
}

.hero-scroll-hint {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 0.55rem;
  letter-spacing: 0.3em;
  color: var(--muted);
  opacity: 0;
}

.scroll-arrow {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, var(--gold), transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {
  0%,
  100% {
    opacity: 0.3;
    transform: scaleY(0.8);
  }
  50% {
    opacity: 1;
    transform: scaleY(1);
  }
}

.dust-container {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

.dust {
  position: absolute;
  border-radius: 50%;
  background: var(--gold);
  opacity: 0;
  animation: float linear infinite;
}

@keyframes float {
  0% {
    transform: translateY(100vh) translateX(0);
    opacity: 0;
  }
  10% {
    opacity: 0.6;
  }
  90% {
    opacity: 0.2;
  }
  100% {
    transform: translateY(-20vh) translateX(30px);
    opacity: 0;
  }
}

.era-label {
  font-family: var(--font-mono);
  font-size: 0.6rem;
  letter-spacing: 0.5em;
  text-transform: uppercase;
  color: var(--gold);
  opacity: 0.7;
  margin-bottom: 16px;
}

#baahubali {
  min-height: 100vh;
  padding: 15vh 10% 15vh;
  background: linear-gradient(180deg, var(--bg) 0%, #120a04 40%, #1a0e06 60%, #0d0802 100%);
  display: flex;
  align-items: center;
  gap: 8%;
  overflow: hidden;
  position: relative;
}

#baahubali::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 70% 50% at 70% 50%, rgba(201, 168, 76, 0.08) 0%, transparent 70%);
}

.bahu-visual {
  flex: 0 0 45%;
  position: relative;
}

.bahu-img-frame {
  position: relative;
  aspect-ratio: 3/4;
  overflow: hidden;
  border: 1px solid rgba(201, 168, 76, 0.2);
}

.bahu-img-frame img,
.bahu-img-frame svg {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: sepia(0.3) contrast(1.15) brightness(0.85);
  transform: scale(1.1);
  transition: transform 8s ease;
}

.bahu-img-frame:hover img {
  transform: scale(1);
}

.bahu-img-frame::before,
.bahu-img-frame::after {
  content: "";
  position: absolute;
  width: 30px;
  height: 30px;
  z-index: 2;
}

.bahu-img-frame::before {
  top: 8px;
  left: 8px;
  border-top: 2px solid var(--gold);
  border-left: 2px solid var(--gold);
}

.bahu-img-frame::after {
  bottom: 8px;
  right: 8px;
  border-bottom: 2px solid var(--gold);
  border-right: 2px solid var(--gold);
}

.gold-year-badge {
  position: absolute;
  bottom: -16px;
  left: -16px;
  background: var(--gold);
  color: #000;
  font-family: var(--font-display);
  font-size: 4rem;
  padding: 8px 16px;
  line-height: 1;
}

.bahu-text {
  flex: 1;
}

.bahu-title {
  font-family: var(--font-display);
  font-size: clamp(3.5rem, 8vw, 8rem);
  line-height: 0.9;
  letter-spacing: 0.02em;
  background: linear-gradient(135deg, var(--gold-light) 0%, var(--gold) 50%, #8b6914 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.bahu-desc {
  margin-top: 24px;
  font-size: 1.1rem;
  font-weight: 300;
  line-height: 1.8;
  color: rgba(232, 224, 208, 0.75);
  max-width: 420px;
}

.bahu-quote {
  margin-top: 32px;
  padding-left: 20px;
  border-left: 3px solid var(--gold);
  font-style: italic;
  font-size: 1.3rem;
  color: var(--gold-light);
  line-height: 1.6;
}

.gold-particle {
  position: absolute;
  width: 4px;
  height: 4px;
  background: var(--gold);
  border-radius: 50%;
  pointer-events: none;
  animation: particleDrift linear infinite;
}

@keyframes particleDrift {
  0% {
    transform: translate(0, 0) scale(1);
    opacity: 0;
  }
  20% {
    opacity: 0.8;
  }
  80% {
    opacity: 0.3;
  }
  100% {
    transform: translate(var(--dx), var(--dy)) scale(0);
    opacity: 0;
  }
}

#salaar {
  min-height: 100vh;
  padding: 15vh 10%;
  background: linear-gradient(180deg, #0d0802 0%, #080508 30%, #050507 100%);
  display: flex;
  align-items: center;
  gap: 8%;
  position: relative;
  overflow: hidden;
}

#salaar::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 50% 60% at 30% 50%, rgba(192, 57, 43, 0.08) 0%, transparent 70%);
}

.salaar-text {
  flex: 1;
  order: 1;
}

.salaar-visual {
  flex: 0 0 45%;
  order: 2;
}

.salaar-title {
  font-family: var(--font-display);
  font-size: clamp(3.5rem, 8vw, 8rem);
  line-height: 0.9;
  background: linear-gradient(135deg, #fff 0%, #ccc 40%, var(--red-bright) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.salaar-desc {
  margin-top: 24px;
  font-size: 1.1rem;
  font-weight: 300;
  line-height: 1.8;
  color: rgba(232, 224, 208, 0.75);
  max-width: 420px;
}

.red-accent-line {
  width: 60px;
  height: 3px;
  background: var(--red-bright);
  margin: 24px 0;
}

.salaar-img-frame {
  position: relative;
  aspect-ratio: 3/4;
  overflow: hidden;
  clip-path: polygon(8% 0%, 100% 0%, 92% 100%, 0% 100%);
}

.salaar-img-frame img,
.salaar-img-frame svg {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: contrast(1.2) brightness(0.8) saturate(0.8);
  transform: scale(1.05);
}

.salaar-img-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(192, 57, 43, 0.15) 0%, transparent 60%);
}

#stats {
  padding: 12vh 10%;
  background: #030305;
  position: relative;
  overflow: hidden;
}

#stats::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle 400px at 20% 50%, rgba(201, 168, 76, 0.05) 0%, transparent 70%), radial-gradient(circle 400px at 80% 50%, rgba(192, 57, 43, 0.04) 0%, transparent 70%);
}

.stats-label {
  text-align: center;
  font-family: var(--font-mono);
  font-size: 0.6rem;
  letter-spacing: 0.6em;
  color: var(--gold);
  text-transform: uppercase;
  margin-bottom: 60px;
  opacity: 0.8;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2px;
}

.stat-item {
  position: relative;
  padding: 48px 32px;
  border: 1px solid rgba(201, 168, 76, 0.1);
  text-align: center;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.02) 0%, transparent 100%);
  overflow: hidden;
  transition: border-color 0.4s;
}

.stat-item:hover {
  border-color: rgba(201, 168, 76, 0.35);
}

.stat-item::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(201, 168, 76, 0.04) 0%, transparent 60%);
  opacity: 0;
  transition: opacity 0.4s;
}

.stat-item:hover::before {
  opacity: 1;
}

.stat-number {
  font-family: var(--font-display);
  font-size: clamp(3rem, 6vw, 5.5rem);
  line-height: 1;
  color: var(--gold);
  display: flex;
  align-items: flex-start;
  justify-content: center;
}

.stat-suffix {
  font-size: 0.4em;
  margin-top: 0.2em;
  color: var(--gold-light);
}

.stat-label {
  font-family: var(--font-mono);
  font-size: 0.6rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: rgba(232, 224, 208, 0.5);
  margin-top: 12px;
}

.stat-desc {
  font-size: 0.85rem;
  color: rgba(232, 224, 208, 0.35);
  margin-top: 8px;
  font-style: italic;
}

#full-filmography {
  padding: 12vh 0;
  background: #050507;
  position: relative;
  overflow: hidden;
}

.marquee-header {
  padding: 0 10%;
  margin-bottom: 60px;
}

.marquee-header h2 {
  font-family: var(--font-display);
  font-size: clamp(3rem, 6vw, 5rem);
  line-height: 0.9;
  color: var(--off-white);
}

.marquee-header p {
  margin-top: 16px;
  font-size: 1.1rem;
  font-weight: 300;
  color: rgba(232, 224, 208, 0.6);
}

.marquee-container {
  width: 100vw;
  overflow: hidden;
  cursor: grab;
}

.marquee-container:active {
  cursor: grabbing;
}

.marquee-track {
  display: flex;
  gap: 24px;
  width: max-content;
  padding: 0 24px;
  will-change: transform;
}

.film-card {
  flex: 0 0 260px;
  height: 380px;
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.06);
  user-select: none;
}

.film-card-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-color: #0a0a0c;
  filter: brightness(0.6) contrast(1.1);
  transition: filter 0.4s, transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.film-card-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.film-card:hover .film-card-bg {
  filter: brightness(1) contrast(1.1);
  transform: scale(1.05);
}

.film-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(5, 5, 7, 0.95) 0%, transparent 60%);
  pointer-events: none;
}

.film-card-info {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 20px 16px 16px;
  pointer-events: none;
}

.film-year {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.3em;
  color: var(--gold);
  margin-bottom: 4px;
}

.film-title {
  font-family: var(--font-display);
  letter-spacing: 0.05em;
  color: var(--off-white);
  line-height: 1;
}

.film-role {
  font-size: 0.75rem;
  color: rgba(232, 224, 208, 0.5);
  margin-top: 6px;
  font-style: italic;
}

#darling {
  padding: 15vh 10%;
  background: linear-gradient(180deg, var(--bg) 0%, #0c0a12 50%, var(--bg) 100%);
  position: relative;
  overflow: hidden;
}

#darling::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 50% at 50% 50%, rgba(150, 100, 200, 0.04) 0%, transparent 70%);
}

.darling-header {
  text-align: center;
  margin-bottom: 80px;
}

.darling-title {
  font-family: var(--font-display);
  font-size: clamp(4rem, 10vw, 10rem);
  letter-spacing: 0.1em;
  background: linear-gradient(135deg, var(--off-white) 0%, rgba(232, 224, 208, 0.4) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.darling-subtitle {
  font-style: italic;
  font-size: 1.2rem;
  color: rgba(232, 224, 208, 0.5);
  margin-top: 8px;
  letter-spacing: 0.1em;
}

.carousel-container {
  position: relative;
  overflow: hidden;
}

.carousel-track {
  display: flex;
  gap: 24px;
  will-change: transform;
}

.carousel-item {
  flex: 0 0 300px;
  height: 400px;
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.carousel-item-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  filter: brightness(0.8) saturate(0.9);
}

.carousel-item-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(5, 5, 7, 0.8) 0%, transparent 60%);
}

.carousel-item-text {
  position: absolute;
  bottom: 16px;
  left: 16px;
  right: 16px;
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 0.9rem;
  color: var(--off-white);
  line-height: 1.5;
}

.fan-quote-section {
  margin-top: 80px;
  text-align: center;
}

.fan-quote {
  font-size: clamp(1.5rem, 3vw, 2.5rem);
  font-style: italic;
  font-weight: 300;
  line-height: 1.5;
  color: var(--off-white);
  max-width: 800px;
  margin: 0 auto;
  position: relative;
}

.fan-quote::before {
  content: '"';
  font-size: 8rem;
  line-height: 0;
  color: var(--gold);
  opacity: 0.2;
  position: absolute;
  top: 40px;
  left: -20px;
  font-family: var(--font-serif);
}

.fan-source {
  margin-top: 24px;
  font-family: var(--font-mono);
  font-size: 0.6rem;
  letter-spacing: 0.4em;
  color: var(--gold);
  text-transform: uppercase;
}

footer {
  padding: 60px 10%;
  border-top: 1px solid rgba(201, 168, 76, 0.1);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.footer-name {
  font-family: var(--font-display);
  font-size: 2.5rem;
  letter-spacing: 0.1em;
  color: var(--gold);
}

.footer-copy {
  font-family: var(--font-mono);
  font-size: 0.6rem;
  color: var(--muted);
  letter-spacing: 0.2em;
}

.section-divider {
  height: 1px;
  background: linear-gradient(to right, transparent, var(--gold), transparent);
  opacity: 0.2;
  margin: 0 10%;
}

@media (max-width: 768px) {
  nav {
    padding: 20px 24px;
  }
  .nav-links {
    display: none;
  }
  #baahubali,
  #salaar {
    flex-direction: column;
    gap: 40px;
    padding: 10vh 6%;
  }
  .bahu-visual,
  .salaar-visual {
    flex: 0 0 auto;
    width: 100%;
  }
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  footer {
    flex-direction: column;
    gap: 16px;
    text-align: center;
  }
  .hero-content {
    left: 0;
    padding-left: 6%;
  }
  .salaar-text {
    order: 2;
  }
  .salaar-visual {
    order: 1;
  }
}

#progress-bar {
  position: fixed;
  top: 0;
  left: 0;
  height: 2px;
  background: linear-gradient(to right, var(--gold), var(--red));
  z-index: 1000;
  transform-origin: left;
  transform: scaleX(0);
}

.reveal-up {
  opacity: 0;
  transform: translateY(40px);
}

.img-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  text-align: center;
  padding: 20px;
}

.social-sidebar {
  position: fixed;
  bottom: 0;
  right: 48px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  z-index: 99;
  mix-blend-mode: exclusion;
}

.social-sidebar a {
  color: var(--off-white);
  opacity: 0.4;
  transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  display: block;
}

.social-sidebar a svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

.social-sidebar a:hover {
  opacity: 1;
  color: var(--gold);
  transform: translateY(-4px) scale(1.1);
}

.social-line {
  width: 1px;
  height: 90px;
  background: linear-gradient(to top, var(--gold), transparent);
  opacity: 0.3;
}

@media (max-width: 768px) {
  .social-sidebar {
    right: auto;
    left: 50%;
    transform: translateX(-50%);
    flex-direction: row;
    bottom: 20px;
    gap: 30px;
  }
  .social-line {
    display: none;
  }
}