﻿/* ============================================================
   style.css - CHRONOS Luxury Watch Cinematic Experience
   ============================================================ */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --c-gold:        #c9a84c;
  --c-gold-light:  #f0d080;
  --c-silver:      #d0d8e8;
  --c-silver-dark: #8090a8;
  --c-blue-deep:   #03112b;
  --c-blue-mid:    #062050;
  --c-blue-bright: #1a5fd4;
  --c-white:       #ffffff;
  --c-bg:          #000000;
  --watch-size:    340px;
  --bezel-size:    370px;
  --ease-lux:      cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

html, body {
  width: 100%; height: 100%;
  background: var(--c-bg);
  color: var(--c-silver);
  font-family: 'Montserrat', sans-serif;
  overflow-x: hidden;
}

/* -- Caustic canvas -- */
#causticCanvas {
  position: fixed;
  inset: 0;
  width: 100%; height: 100%;
  opacity: .55;
  z-index: 0;
  pointer-events: none;
}

/* -- Sweep lights -- */
.sweep-light {
  position: fixed;
  inset: 0;
  background: linear-gradient(105deg,
    transparent 30%,
    rgba(255,255,255,.03) 48%,
    rgba(255,255,255,.07) 50%,
    rgba(255,255,255,.03) 52%,
    transparent 70%);
  animation: sweepMove 6s ease-in-out infinite;
  pointer-events: none;
  z-index: 1;
}
.sweep-light--2 {
  background: linear-gradient(75deg,
    transparent 30%,
    rgba(201,168,76,.02) 48%,
    rgba(201,168,76,.05) 50%,
    rgba(201,168,76,.02) 52%,
    transparent 70%);
  animation: sweepMove 9s ease-in-out infinite reverse;
  animation-delay: -3s;
}

/* -- Nav -- */
.nav {
  position: fixed; top: 0; left: 0; right: 0;
  display: flex; align-items: center; justify-content: space-between;
  padding: 28px 60px;
  z-index: 100;
  background: linear-gradient(to bottom, rgba(0,0,0,.6), transparent);
}
.nav__logo {
  font-family: 'Cormorant Garamond', serif;
  font-size: 22px;
  font-weight: 600;
  letter-spacing: 8px;
  color: var(--c-gold);
  text-shadow: 0 0 20px rgba(201,168,76,.5);
}
.nav__links { list-style: none; display: flex; gap: 40px; }
.nav__links a {
  font-size: 10px;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: rgba(255,255,255,.5);
  text-decoration: none;
  transition: color .3s;
}
.nav__links a:hover { color: var(--c-gold); }

/* -- Hero layout -- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
}

/* -- Glow rings -- */
.glow-ring {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  animation: ringPulse 4s ease-in-out infinite;
}
.glow-ring--1 {
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(26,95,212,.12) 0%, transparent 70%);
}
.glow-ring--2 {
  width: 900px; height: 900px;
  background: radial-gradient(circle, rgba(201,168,76,.06) 0%, transparent 70%);
  animation-delay: -1.3s;
}
.glow-ring--3 {
  width: 1200px; height: 1200px;
  background: radial-gradient(circle, rgba(26,95,212,.04) 0%, transparent 70%);
  animation-delay: -2.6s;
}

/* -- Watch stage -- */
.watch-stage {
  position: relative;
  width: var(--bezel-size);
  height: var(--bezel-size);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.watch-shadow {
  position: absolute;
  bottom: -40px; left: 50%;
  transform: translateX(-50%);
  width: 280px; height: 30px;
  background: radial-gradient(ellipse, rgba(201,168,76,.3) 0%, transparent 70%);
  filter: blur(15px);
  animation: shadowPulse 4s ease-in-out infinite;
}

/* -- Watch wrapper (rotation) -- */
.watch-wrapper {
  animation: watchFloat 6s ease-in-out infinite,
             watchTilt  18s ease-in-out infinite;
  transform-style: preserve-3d;
  perspective: 1000px;
}

/* -- Watch body -- */
.watch {
  position: relative;
  width: var(--bezel-size);
  height: var(--bezel-size);
  display: flex;
  align-items: center;
  justify-content: center;
}

/* -- Crown -- */
.watch__crown {
  position: absolute;
  right: -18px; top: 50%;
  transform: translateY(-50%);
  width: 18px; height: 32px;
  background: linear-gradient(90deg, #606878, #b0bcc8, #606878, #8090a0);
  border-radius: 0 6px 6px 0;
  box-shadow: 3px 0 8px rgba(0,0,0,.6), inset 0 0 4px rgba(255,255,255,.2);
}
.watch__crown::before {
  content: '';
  position: absolute;
  top: 4px; left: 2px; right: 2px; bottom: 4px;
  background: repeating-linear-gradient(90deg,
    transparent, transparent 2px,
    rgba(255,255,255,.15) 2px, rgba(255,255,255,.15) 3px);
  border-radius: 0 4px 4px 0;
}

/* -- Bezel -- */
.watch__bezel {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: linear-gradient(135deg, #c0cad8 0%, #8090a8 30%, #d0dae8 50%, #7080a0 70%, #b0bcc8 100%);
  box-shadow:
    0 0 0 2px rgba(255,255,255,.1),
    0 0 60px rgba(201,168,76,.15),
    0 20px 80px rgba(0,0,0,.8),
    inset 0 0 20px rgba(0,0,0,.3);
  overflow: hidden;
}
.bezel-flute {
  position: absolute;
  top: 50%; left: 50%;
  width: 2px; height: 185px;
  transform-origin: top center;
  transform: translateX(-50%) rotate(calc(var(--i) * (360deg / var(--total))));
  background: linear-gradient(to bottom,
    rgba(255,255,255,.5) 0%,
    rgba(255,255,255,.1) 40%,
    transparent 50%);
  pointer-events: none;
}
.bezel-inner-ring {
  position: absolute;
  inset: 14px;
  border-radius: 50%;
  background: linear-gradient(135deg, #a0b0c0, #708090, #c0d0e0, #607080);
  box-shadow: inset 0 0 10px rgba(0,0,0,.5), 0 0 0 1px rgba(255,255,255,.1);
}

/* -- Case -- */
.watch__case {
  position: absolute;
  inset: 20px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, #2a3a4a, #0a1520);
  box-shadow: inset 0 0 30px rgba(0,0,0,.8), 0 0 0 1px rgba(150,170,200,.2);
  overflow: hidden;
}

/* -- Crystal glare -- */
.crystal-glare {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  animation: glareShift 8s ease-in-out infinite;
}
.crystal-glare--1 {
  top: 5%; left: 10%; width: 60%; height: 40%;
  background: linear-gradient(135deg, rgba(255,255,255,.08) 0%, transparent 60%);
  transform: rotate(-20deg);
}
.crystal-glare--2 {
  top: 15%; left: 20%; width: 30%; height: 20%;
  background: radial-gradient(ellipse, rgba(255,255,255,.12) 0%, transparent 70%);
  animation-delay: -2s;
}
.crystal-glare--3 {
  bottom: 10%; right: 10%; width: 40%; height: 30%;
  background: radial-gradient(ellipse, rgba(26,95,212,.06) 0%, transparent 70%);
  animation-delay: -4s;
}

/* -- Dial -- */
.watch__dial {
  position: absolute;
  inset: 4px;
  border-radius: 50%;
  background:
    radial-gradient(ellipse at 30% 25%, rgba(30,70,160,.4) 0%, transparent 50%),
    radial-gradient(ellipse at 70% 80%, rgba(5,15,60,.6) 0%, transparent 50%),
    linear-gradient(160deg, #061840 0%, #020d28 40%, #03112b 100%);
  overflow: hidden;
}
.dial-texture {
  position: absolute; inset: 0;
  background-image: repeating-linear-gradient(
    -45deg,
    transparent, transparent 2px,
    rgba(255,255,255,.012) 2px, rgba(255,255,255,.012) 4px
  );
  border-radius: 50%;
}

/* -- Date window -- */
.dial-date {
  position: absolute;
  right: 28%; top: 50%;
  transform: translateY(-50%);
  width: 24px; height: 20px;
  background: #fff;
  border: 1px solid rgba(150,170,200,.3);
  display: flex; align-items: center; justify-content: center;
  font-size: 9px;
  font-weight: 700;
  color: #111;
}

/* -- Brand on dial -- */
.dial-brand {
  position: absolute;
  top: 30%; left: 50%;
  transform: translateX(-50%);
  text-align: center;
  pointer-events: none;
  white-space: nowrap;
}
.dial-brand__name {
  display: block;
  font-family: 'Cormorant Garamond', serif;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 4px;
  color: rgba(255,255,255,.85);
  text-shadow: 0 0 10px rgba(201,168,76,.4);
}
.dial-brand__sub {
  display: block;
  font-size: 5px;
  letter-spacing: 3px;
  color: rgba(255,255,255,.4);
  margin-top: 3px;
}

/* -- Hour markers -- */
.hour-marker {
  position: absolute;
  top: 50%; left: 50%;
  transform:
    rotate(var(--angle))
    translateY(calc(-1 * var(--dist)));
  transform-origin: 0 0;
}
.hour-marker__diamond {
  width: 5px; height: 12px;
  background: linear-gradient(180deg, #ffffff 0%, #f0d080 40%, rgba(255,255,255,.8) 100%);
  clip-path: polygon(50% 0%, 100% 50%, 50% 100%, 0% 50%);
  box-shadow: 0 0 6px rgba(255,255,255,.8), 0 0 12px rgba(201,168,76,.6);
  animation: diamondSparkle 3s ease-in-out infinite;
}
.hour-marker__diamond--large {
  width: 7px; height: 16px;
  box-shadow: 0 0 10px rgba(255,255,255,.9), 0 0 20px rgba(201,168,76,.8);
}

/* -- Minute dots -- */
.minute-dot {
  position: absolute;
  top: 50%; left: 50%;
  width: 2px; height: 2px;
  background: rgba(255,255,255,.4);
  border-radius: 50%;
  transform: rotate(var(--angle)) translateY(-115px);
  transform-origin: 0 0;
}

/* -- Hands -- */
.watch__hands {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
}
.hand {
  position: absolute;
  bottom: 50%; left: 50%;
  transform-origin: bottom center;
  display: flex;
  justify-content: center;
}
.hand__body--hour {
  width: 6px; height: 75px;
  background: linear-gradient(180deg, rgba(255,255,255,.9) 0%, rgba(200,220,255,.6) 80%, transparent 100%);
  border-radius: 3px 3px 0 0;
  box-shadow: 0 0 8px rgba(255,255,255,.4);
  display: flex; justify-content: center;
}
.hand__body--minute {
  width: 4px; height: 105px;
  background: linear-gradient(180deg, rgba(255,255,255,.9) 0%, rgba(200,220,255,.5) 80%, transparent 100%);
  border-radius: 2px 2px 0 0;
  box-shadow: 0 0 6px rgba(255,255,255,.3);
  display: flex; justify-content: center;
}
.hand__body--second {
  width: 2px; height: 115px;
  background: linear-gradient(180deg, #ff3030 0%, rgba(255,50,50,.3) 80%, transparent 100%);
  border-radius: 1px;
  box-shadow: 0 0 4px rgba(255,50,50,.6);
}
.hand__tail {
  position: absolute;
  top: calc(100% - 4px); left: 50%;
  transform: translateX(-50%);
  width: 2px; height: 28px;
  background: #ff3030;
  border-radius: 0 0 1px 1px;
  box-shadow: 0 0 4px rgba(255,50,50,.6);
}
.hand__lume {
  width: 2px; height: 20px;
  background: rgba(100,255,200,.6);
  border-radius: 1px;
  box-shadow: 0 0 6px rgba(100,255,200,.8);
  margin-top: 4px;
}
.hand__lume--minute { height: 25px; }
.hand__center {
  position: absolute;
  width: 12px; height: 12px;
  background: radial-gradient(circle, #fff 0%, #c9a84c 60%, #805000 100%);
  border-radius: 50%;
  box-shadow: 0 0 8px rgba(201,168,76,.8), 0 0 16px rgba(201,168,76,.4);
  z-index: 10;
}

/* -- Bracelet -- */
.bracelet {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1px;
}
.bracelet--top  { bottom: calc(50% + var(--bezel-size) / 2 - 20px); }
.bracelet--bottom { top: calc(50% + var(--bezel-size) / 2 - 20px); }

.bracelet-link {
  display: flex;
  width: 56px; height: 14px;
  border-radius: 3px;
  overflow: hidden;
  box-shadow: 0 2px 6px rgba(0,0,0,.5), inset 0 1px 0 rgba(255,255,255,.2);
  animation: braceletShine 6s ease-in-out infinite;
  animation-delay: calc(var(--idx) * .4s);
}
.bracelet-link__center {
  flex: 1.6;
  background: linear-gradient(180deg, #c0cad8 0%, #7080a0 50%, #a0b0c0 100%);
}
.bracelet-link__side {
  flex: 1;
  background: linear-gradient(180deg, #8090a8 0%, #506078 50%, #7080a0 100%);
}
.bracelet-link__side--l { border-right: 1px solid rgba(0,0,0,.3); }
.bracelet-link__side--r { border-left:  1px solid rgba(0,0,0,.3); }
.bracelet-clasp {
  margin-top: 2px;
  width: 52px; height: 18px;
  background: linear-gradient(180deg, #b0bcc8 0%, #607088 100%);
  border-radius: 4px;
  box-shadow: 0 2px 8px rgba(0,0,0,.6), inset 0 1px 0 rgba(255,255,255,.25);
  display: flex; align-items: center; justify-content: center;
}
.bracelet-clasp__body {
  width: 36px; height: 10px;
  background: linear-gradient(180deg, #a0aab8 0%, #506078 100%);
  border-radius: 2px;
  border: 1px solid rgba(255,255,255,.1);
}

/* -- Hero text -- */
.hero__text {
  position: absolute;
  left: 10%; top: 50%;
  transform: translateY(-50%);
  max-width: 360px;
  z-index: 5;
}
.hero__tagline {
  font-size: 9px;
  letter-spacing: 6px;
  text-transform: uppercase;
  color: var(--c-gold);
  margin-bottom: 16px;
  opacity: .8;
}
.hero__title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 52px;
  font-weight: 300;
  line-height: 1.05;
  color: var(--c-white);
  text-shadow: 0 0 40px rgba(255,255,255,.1);
  margin-bottom: 20px;
}
.hero__subtitle {
  font-size: 9px;
  letter-spacing: 2px;
  color: rgba(255,255,255,.4);
  line-height: 1.8;
  margin-bottom: 36px;
}
.hero__specs {
  display: flex;
  gap: 28px;
  margin-bottom: 48px;
  padding-top: 28px;
  border-top: 1px solid rgba(201,168,76,.2);
}
.spec { display: flex; flex-direction: column; gap: 6px; }
.spec__value {
  font-family: 'Cormorant Garamond', serif;
  font-size: 22px;
  font-weight: 600;
  color: var(--c-gold);
}
.spec__label {
  font-size: 7px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: rgba(255,255,255,.3);
}

/* -- Buttons -- */
.hero__cta { display: flex; gap: 16px; align-items: center; }
.btn {
  display: inline-block;
  padding: 14px 36px;
  font-size: 9px;
  letter-spacing: 4px;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: 2px;
  transition: all .4s cubic-bezier(0.25,0.46,0.45,0.94);
}
.btn--primary {
  background: var(--c-gold);
  color: #000;
  font-weight: 600;
  box-shadow: 0 0 30px rgba(201,168,76,.3);
}
.btn--primary:hover {
  background: var(--c-gold-light);
  box-shadow: 0 0 50px rgba(201,168,76,.6);
  transform: translateY(-2px);
}
.btn--ghost {
  border: 1px solid rgba(255,255,255,.2);
  color: rgba(255,255,255,.6);
}
.btn--ghost:hover { border-color: var(--c-gold); color: var(--c-gold); }

/* -- Sparks -- */
.sparks { position: absolute; inset: 0; pointer-events: none; }
.spark {
  position: absolute;
  top: 50%; left: 50%;
  width: 2px; height: 2px;
  background: #f0d080;
  border-radius: 50%;
  box-shadow: 0 0 4px rgba(240,208,128,.8);
  animation: sparkFly var(--sd) ease-out infinite;
  animation-delay: var(--sdelay);
  opacity: 0;
}

/* -- Footer -- */
.footer {
  position: fixed; bottom: 0; left: 0; right: 0;
  text-align: center;
  padding: 20px;
  font-size: 8px;
  letter-spacing: 3px;
  color: rgba(255,255,255,.2);
  background: linear-gradient(to top, rgba(0,0,0,.4), transparent);
  z-index: 100;
}

/* -- Responsive -- */
@media (max-width: 900px) {
  .hero { flex-direction: column; gap: 60px; }
  .hero__text {
    position: relative; left: auto; top: auto; transform: none;
    text-align: center; max-width: 90vw; padding: 0 24px;
  }
  .hero__title { font-size: 36px; }
  :root { --watch-size: 260px; --bezel-size: 290px; }
  .nav { padding: 20px 24px; }
  .nav__links { display: none; }
}
