/* ===================================================
   DJ EREZ DALAL — link-in-bio turntable
   Layered realistic deck: desktop.png (base) +
   disk.png (endless spin) + icon.png (static center)
   =================================================== */

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

:root {
  /* ── Turntable geometry (relative to a 900px base design) ── */
  --turntable-width: 900px;
  --disk-width:  474px;
  --disk-height: 476px;
  --disk-top:  49.5%;
  --disk-left: 32.9%;
  --icon-width:  338px;
  --icon-height: 202px;
  --spin-speed: 7s;
  --scale-factor: calc(min(100vw, 860px) / 900);

  /* Invisible hotspots over the baked-in social icons */
  --b1-width: 94px; --b1-height: 90px; --b1-left: 95.1%; --b1-top: 11.9%;
  --b2-width: 93px; --b2-height: 89px; --b2-left: 95.5%; --b2-top: 36.1%;
  --b3-width: 88px; --b3-height: 92px; --b3-left: 95.1%; --b3-top: 60.3%;
  --b4-width: 94px; --b4-height: 97px; --b4-left: 95.5%; --b4-top: 84.2%;

  /* ── Design tokens ── */
  --c-bg:     #0A090F;
  --c-neon:   #FF1A2E;
  --c-accent: #C9A84C;
  --c-text:   #F5F5F5;
  --c-muted:  rgba(200, 195, 190, 0.55);
  --c-border: rgba(255, 255, 255, 0.08);
}

html { scroll-behavior: smooth; overflow-x: hidden; }

body {
  background-color: var(--c-bg);
  background-image:
    radial-gradient(ellipse 80% 50% at 50% -5%,  rgba(255, 26, 46, 0.10) 0%, transparent 60%),
    radial-gradient(ellipse 80% 45% at 50% 100%, rgba(255, 26, 46, 0.07) 0%, transparent 65%);
  min-height: 100vh;
  overflow-x: hidden;
  font-family: 'Heebo', 'Arial Hebrew', Arial, sans-serif;
  color: var(--c-text);
}
a { color: inherit; text-decoration: none; }
img { display: block; }

/* ===================================================
   LOADING SCREEN
   =================================================== */
#loader {
  position: fixed; inset: 0; z-index: 9999;
  background: var(--c-bg);
  display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 28px;
  transition: opacity 0.7s ease;
}
#loader.fade-out { opacity: 0; pointer-events: none; }
.loader-title {
  font-family: 'Heebo', sans-serif; font-weight: 900;
  font-size: clamp(1.8rem, 5vw, 3rem);
  color: var(--c-text); letter-spacing: 2px;
}
.loader-spinner {
  width: 44px; height: 44px; border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.06);
  border-top-color: var(--c-accent);
  animation: spin 1s linear infinite;
}
.loader-sub {
  font-size: 0.70rem; letter-spacing: 5px;
  color: var(--c-muted); text-transform: uppercase;
}

/* Page hidden until images decoded */
.page-wrapper {
  opacity: 0;
  transition: opacity 0.7s ease 0.1s;
  display: flex; flex-direction: column; align-items: stretch;
  width: 100%; max-width: 860px; margin: 0 auto; min-height: 100vh;
  position: relative; z-index: 1;
}
.page-wrapper.visible { opacity: 1; }

/* ===================================================
   FLOATING EMBERS (atmosphere)
   =================================================== */
.embers { position: fixed; inset: 0; pointer-events: none; z-index: 0; overflow: hidden; }
.ember {
  position: absolute; bottom: -10px; border-radius: 50%;
  background: var(--c-neon); opacity: 0;
  animation: floatUp linear infinite;
}
@keyframes floatUp {
  0%   { opacity: 0;    transform: translateY(0) scale(1); }
  12%  { opacity: 0.55; }
  88%  { opacity: 0.15; }
  100% { opacity: 0;    transform: translateY(-105vh) scale(0.3); }
}

/* ===================================================
   HEADER
   =================================================== */
.site-header { width: 100%; text-align: center; padding: 52px 20px 30px; }
.header-eyebrow {
  font-size: 0.62rem; letter-spacing: 7px; color: var(--c-neon);
  text-transform: uppercase; font-weight: 500; margin-bottom: 16px;
}
.header-title {
  font-family: 'Bebas Neue', 'Heebo', sans-serif; font-weight: 400;
  font-size: clamp(3.8rem, 12vw, 8rem);
  letter-spacing: 8px; line-height: 0.92; text-transform: uppercase;
  background: linear-gradient(180deg,
    #ffffff 0%,
    #e8e8e8 15%,
    #b8b8b8 30%,
    #dcdcdc 45%,
    #999999 60%,
    #c8c8c8 75%,
    #888888 100%
  );
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
  filter: drop-shadow(0 2px 4px rgba(0,0,0,0.4))
          drop-shadow(0 0 30px rgba(200,200,210,0.12));
}
.header-sub {
  margin-top: 14px; font-size: clamp(0.75rem, 1.8vw, 0.88rem);
  color: var(--c-muted); letter-spacing: 4px; text-transform: uppercase;
}
.header-rule {
  width: 1px; height: 40px; margin: 24px auto 0; opacity: 0.5;
  background: linear-gradient(180deg, var(--c-neon), transparent);
}

.header-tagline {
  margin-top: 4px;
  font-family: 'Satisfy', 'Heebo', cursive;
  font-size: clamp(2.8rem, 7vw, 4.5rem);
  font-weight: 400;
  letter-spacing: 1px;
  line-height: 1;
  color: var(--c-accent);
  transform: skewX(-2deg) rotate(-1.5deg);
  animation: taglineSlide 0.8s ease-out both;
  animation-delay: 0.2s;
}

@keyframes taglineSlide {
  from {
    opacity: 0;
    transform: skewX(-2deg) rotate(-1.5deg) translateY(20px);
  }
  to {
    opacity: 1;
    transform: skewX(-2deg) rotate(-1.5deg) translateY(0);
  }
}

/* ===================================================
   TURNTABLE HERO
   =================================================== */
.turntable-hero { position: relative; width: 100%; overflow: hidden; }
.turntable-wrapper { position: relative; width: 100%; z-index: 1; overflow: hidden; }
.turntable-container {
  position: relative; width: 100%; height: auto; z-index: 1;
  transition: transform 0.25s ease-out;
  transform-style: preserve-3d;
  overflow: hidden;
}
.base-image { width: 100%; height: auto; display: block; z-index: 1; }

.spinning-disk {
  position: absolute;
  width:  calc(var(--disk-width)  * var(--scale-factor));
  height: calc(var(--disk-height) * var(--scale-factor));
  top: var(--disk-top); left: var(--disk-left);
  transform: translate(-50%, -50%);
  animation: spin var(--spin-speed) linear infinite;
  border-radius: 50%; z-index: 2; cursor: pointer;
  filter: saturate(0.25) brightness(1.05);
}
.spinning-disk.paused { animation-play-state: paused; }

.center-icon {
  position: absolute;
  width:  calc(var(--icon-width)  * var(--scale-factor));
  height: calc(var(--icon-height) * var(--scale-factor));
  top: var(--disk-top); left: var(--disk-left);
  transform: translate(-50%, -50%);
  pointer-events: none; z-index: 3;
  filter: drop-shadow(0 6px 14px rgba(0, 0, 0, 0.55));
}

@keyframes spin {
  from { transform: translate(-50%, -50%) rotate(0deg); }
  to   { transform: translate(-50%, -50%) rotate(360deg); }
}
@keyframes spinReverse {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}

/* Subtle glow under the record */
.disk-glow-ring {
  display: none;
}

/* "click the record" hint */
.spin-hint {
  position: absolute; left: var(--disk-left); top: var(--disk-top);
  transform: translate(-50%, calc(var(--disk-height) * var(--scale-factor) * 0.5 + 14px));
  font-size: 0.6rem; letter-spacing: 4px; text-transform: uppercase;
  color: var(--c-muted); z-index: 4; pointer-events: none;
  opacity: 0; transition: opacity 0.4s ease;
}
.turntable-container:hover .spin-hint { opacity: 0.8; }

/* Invisible clickable hotspots */
.circle-btn {
  position: absolute; transform: translate(-50%, -50%);
  border-radius: 50%; z-index: 10; cursor: pointer;
  background: rgba(255, 255, 255, 0);
  transition: background 0.2s ease, box-shadow 0.2s ease;
}
.circle-btn:hover {
  background: rgba(255, 255, 255, 0.08);
  box-shadow: 0 0 22px rgba(255, 26, 46, 0.45);
}
.btn-1 { width: calc(var(--b1-width) * var(--scale-factor)); height: calc(var(--b1-height) * var(--scale-factor)); top: var(--b1-top); left: var(--b1-left); }
.btn-2 { width: calc(var(--b2-width) * var(--scale-factor)); height: calc(var(--b2-height) * var(--scale-factor)); top: var(--b2-top); left: var(--b2-left); }
.btn-3 { width: calc(var(--b3-width) * var(--scale-factor)); height: calc(var(--b3-height) * var(--scale-factor)); top: var(--b3-top); left: var(--b3-left); }
.btn-4 { width: calc(var(--b4-width) * var(--scale-factor)); height: calc(var(--b4-height) * var(--scale-factor)); top: var(--b4-top); left: var(--b4-left); }

/* ===================================================
   ABOUT
   =================================================== */
.about-section {
  width: 100%; padding: 56px clamp(24px, 6vw, 72px) 40px;
  border-top: 1px solid var(--c-border);
  display: flex; flex-direction: column; align-items: center;
}
.about-inner { width: 100%; max-width: 600px; text-align: center; }
.about-eyebrow {
  font-size: 0.62rem; letter-spacing: 5px; color: var(--c-neon);
  text-transform: uppercase; font-weight: 500; margin-bottom: 10px;
}
.about-rule { width: 40px; height: 1px; background: var(--c-neon); margin: 0 auto 20px; opacity: 0.5; }
.about-title { font-size: clamp(1.4rem, 3.5vw, 2rem); font-weight: 900; margin-bottom: 14px; line-height: 1; }
.about-lead {
  font-size: clamp(0.75rem, 1.7vw, 0.88rem); color: var(--c-muted);
  letter-spacing: 2px; margin-bottom: 22px; text-transform: uppercase;
}
.about-body {
  font-size: clamp(0.92rem, 1.9vw, 1.06rem); line-height: 2;
  color: rgba(200, 195, 185, 0.75); margin-bottom: 0.9em;
}
.about-body:last-child { margin-bottom: 0; }

/* ===================================================
   CTA — book now
   =================================================== */
.cta-section {
  display: flex; flex-wrap: wrap; justify-content: center; align-items: center;
  gap: 14px; padding: 8px 20px 8px;
}
.book-btn {
  display: inline-flex; align-items: center; gap: 0.6rem;
  padding: 0.95rem 2.2rem; border-radius: 50px;
  font-weight: 700; font-size: 0.95rem; letter-spacing: 1px;
  color: #fff;
  background: linear-gradient(135deg, var(--c-neon) 0%, #b3000f 100%);
  box-shadow: 0 0 30px rgba(255, 26, 46, 0.45), 0 6px 22px rgba(0, 0, 0, 0.5);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.book-btn:hover {
  transform: translateY(-2px) scale(1.03);
  box-shadow: 0 0 46px rgba(255, 26, 46, 0.65), 0 8px 26px rgba(0, 0, 0, 0.6);
}
.book-btn.whatsapp-cta {
  background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
  box-shadow: 0 0 30px rgba(37, 211, 102, 0.4), 0 6px 22px rgba(0, 0, 0, 0.5);
}
.book-btn.whatsapp-cta:hover { box-shadow: 0 0 46px rgba(37, 211, 102, 0.6), 0 8px 26px rgba(0, 0, 0, 0.6); }
.book-btn.book-btn-ghost {
  background: transparent; color: var(--c-text);
  border: 1.5px solid var(--c-border); box-shadow: none;
}
.book-btn.book-btn-ghost:hover {
  border-color: var(--c-neon); color: var(--c-neon);
  box-shadow: 0 0 24px rgba(255, 26, 46, 0.3);
}

/* ===================================================
   FLOATING WHATSAPP
   =================================================== */
.wa-float {
  position: fixed; bottom: 22px; left: 22px; z-index: 1000;
  width: 58px; height: 58px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: #fff; background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4), 0 0 0 0 rgba(37, 211, 102, 0.6);
  animation: waPulse 2.4s ease-out infinite;
  transition: transform 0.2s ease;
}
.wa-float:hover { transform: scale(1.1); }
@keyframes waPulse {
  0%   { box-shadow: 0 6px 20px rgba(0,0,0,0.4), 0 0 0 0 rgba(37, 211, 102, 0.55); }
  70%  { box-shadow: 0 6px 20px rgba(0,0,0,0.4), 0 0 0 16px rgba(37, 211, 102, 0); }
  100% { box-shadow: 0 6px 20px rgba(0,0,0,0.4), 0 0 0 0 rgba(37, 211, 102, 0); }
}

/* ===================================================
   SOCIAL FOOTER
   =================================================== */
.social-footer {
  width: 100%; display: flex; flex-direction: column; align-items: center;
  gap: 22px; padding: 48px 20px 56px; border-top: 1px solid var(--c-border);
}
.social-footer-title {
  font-size: 0.60rem; letter-spacing: 6px; color: var(--c-muted);
  text-transform: uppercase;
}
.social-nav { display: flex; justify-content: center; align-items: center; gap: clamp(28px, 5vw, 48px); }
.social-btn {
  display: flex; align-items: center; justify-content: center;
  color: rgba(195, 185, 165, 0.5);
  transition: color 0.3s ease, transform 0.3s ease;
}
.social-btn svg { width: 24px; height: 24px; display: block; }
.social-btn:hover { color: var(--c-neon); transform: scale(1.18); }
.footer-credit { font-size: 0.62rem; letter-spacing: 3px; color: rgba(200, 195, 190, 0.35); }

/* ===================================================
   RESPONSIVE
   =================================================== */
@media (max-width: 600px) {
  .site-header   { padding: 38px 16px 22px; }
  .about-section { padding: 36px 20px 32px; }
  .social-footer { padding: 36px 16px 48px; gap: 18px; }
  .social-nav    { gap: 32px; }
}

/* ===================================================
   REDUCED MOTION
   =================================================== */
@media (prefers-reduced-motion: reduce) {
  .spinning-disk, .loader-spinner, .disk-glow-ring, .ember, .wa-float { animation: none !important; }
}
