@import url('https://api.fontshare.com/v2/css?f[]=clash-display@200,400,600,700&f[]=general-sans@300,400,500,600&display=swap');

:root {
  --color-bg: #070707;
  --color-text: #F3F3F3;
  --color-accent: #C2A06E; /* Elegant cinematic gold */
  --color-secondary: #1a1a1a;
  --color-dark: #000000;
  --color-light: #FFFFFF;
  
  --font-heading: 'Clash Display', sans-serif;
  --font-body: 'General Sans', sans-serif;

  --nav-height: 90px;
  --padding-x: 6vw;
  --transition: all 0.5s cubic-bezier(0.19, 1, 0.22, 1);
}

/* Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  font-size: 16px;
  background: var(--color-bg);
  color: var(--color-text);
  overflow-x: hidden;
}

body {
  font-family: var(--font-body);
  -webkit-font-smoothing: antialiased;
  background: var(--color-bg);
  color: var(--color-text);
  line-height: 1.5;
  overflow-x: hidden;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}

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

/* Typography */
h1, h2, h3, h4, h5 {
  font-family: var(--font-heading);
  font-weight: 600;
  line-height: 1.1;
  text-transform: uppercase;
  letter-spacing: -0.02em;
}

/* Utilities */
.container {
  padding: 0 var(--padding-x);
  width: 100%;
}

.section {
  padding: 10rem 0;
  position: relative;
}

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

/* Buttons */
.btn {
  display: inline-block;
  padding: 1rem 2.5rem;
  border: 1px solid var(--color-text);
  color: var(--color-text);
  font-family: var(--font-heading);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 0.9rem;
  position: relative;
  overflow: hidden;
  border-radius: 50px;
  cursor: pointer;
  background: transparent;
  transition: var(--transition);
}

.btn:hover {
  background: var(--color-text);
  color: var(--color-bg);
  border-color: var(--color-text);
}

/* Navigation */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--nav-height);
  z-index: 100;
  mix-blend-mode: difference;
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 100%;
  padding: 0 var(--padding-x);
}

.logo-wrapper {
  height: 40px;
}

.logo-icon {
  height: 100%;
  filter: invert(1);
}

.nav-links {
  display: flex;
  gap: 3rem;
}

.nav-links a {
  font-family: var(--font-heading);
  text-transform: uppercase;
  font-size: 0.9rem;
  letter-spacing: 0.1em;
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 100%;
  height: 1px;
  background: var(--color-accent);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.4s ease;
}

.nav-links a:hover::after,
.nav-links a.active::after {
  transform: scaleX(1);
  transform-origin: left;
}

.mobile-menu-btn {
  display: none;
}

.mobile-menu {
  display: none;
}

@media (max-width: 900px) {
  .nav-links { display: none; }
  .mobile-menu-btn { 
    display: block; 
    background: none; 
    border: none; 
    color: var(--color-text); 
    font-family: var(--font-heading);
    font-size: 1rem;
    text-transform: uppercase;
    cursor: pointer;
  }
}

/* GSAP Animations */
.reveal-text {
  clip-path: polygon(0 0, 100% 0, 100% 100%, 0% 100%);
}

.reveal-text .word {
  transform: translateY(115%);
  display: inline-block;
  will-change: transform;
}

/* Footer */
footer {
  background: #000;
  color: var(--color-light);
  padding: 8rem 0 3rem;
  position: relative;
  z-index: 10;
}

.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 4rem;
  margin-bottom: 6rem;
}

@media (max-width: 768px) {
  .container { padding: 0 1.5rem !important; }
  .footer-top { grid-template-columns: 1fr; gap: 3rem; text-align: center; }
  .footer-col { display: flex; flex-direction: column; align-items: center; }
}

.footer-col h4 {
  font-size: 1.2rem;
  margin-bottom: 1.5rem;
  color: var(--color-accent);
}

.footer-col ul {
  list-style: none;
}

.footer-col li {
  margin-bottom: 0.75rem;
  color: rgba(255,255,255,0.7);
}

.footer-col a:hover {
  color: var(--color-light);
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.875rem;
  opacity: 0.5;
}

/* Crazy Scroll Experience */
.crazy-scroll-experience {
  height: 100vh;
  width: 100vw;
  position: relative;
  overflow: hidden;
  background: var(--color-bg);
}

.crazy-images {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  pointer-events: none;
}

.crazy-img {
  position: absolute;
  object-fit: cover;
  will-change: transform, opacity, left, right, top, bottom;
}

.c-img-1 { width: 30vw; height: 45vh; top: 50%; left: -40%; transform: translateY(-50%); }
.c-img-2 { width: 25vw; height: 35vh; bottom: -50%; left: 20%; }
.c-img-3 { width: 40vw; height: 50vh; top: -60%; right: 10%; }
.c-img-4 { width: 20vw; height: 30vh; top: 20%; right: -30%; }

.crazy-text-wrapper {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  z-index: 10;
  opacity: 0;
  pointer-events: none;
}

.crazy-text-wrapper h2 {
  font-size: clamp(4rem, 10vw, 12rem);
  color: var(--color-accent);
  line-height: 0.9;
}

/* Infinite Portal Experience */
.infinite-portal {
  height: 100vh;
  width: 100vw;
  position: relative;
  overflow: hidden;
  background: var(--color-bg);
  display: flex;
  align-items: center;
  justify-content: center;
}

.portal-container {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 100vw;
  height: 100vh;
  will-change: transform;
}

.portal-img {
  position: absolute;
  width: 40vw;
  height: 40vh;
  object-fit: cover;
  opacity: 0.3;
}

.p-img-top-left { top: -10%; left: -10%; }
.p-img-top-right { top: -15%; right: -10%; }
.p-img-bottom-left { bottom: -10%; left: -5%; }
.p-img-bottom-right { bottom: -20%; right: -15%; }

.portal-center-frame {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 30vw;
  height: 40vh;
  border: 4px solid var(--color-accent);
  box-shadow: inset 0 0 50px rgba(0,0,0,0.5);
  opacity: 0;
}

.portal-text-wrapper {
  position: relative;
  z-index: 10;
  text-align: center;
  pointer-events: none;
}

.portal-text-wrapper h2 {
  font-size: clamp(3rem, 8vw, 8rem);
  line-height: 1;
}
