/* Pure Minimalist Black & White Stage for Jithin J */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body {
  width: 100%;
  height: 100%;
  background-color: #000000;
  color: #FFFFFF;
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* Fullscreen Centered Stage with Dynamic Mobile Viewport */
.page-stage {
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  padding: 3rem 1.5rem 2.25rem;
  text-align: center;
}

/* Center Stage Content (Title, Video, 2-Line Timer) */
.content-center {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: 900px;
  margin: auto 0;
}

/* Clean Top Title */
.page-title {
  font-size: clamp(1.35rem, 2.5vw, 2.25rem);
  font-weight: 600;
  line-height: 1.35;
  letter-spacing: -0.025em;
  color: #FFFFFF;
  max-width: 820px;
  margin: 0 auto 1.5rem;
  text-align: center;
}

/* Seamless Middle Video (Desktop: 50% width | Mobile: 92% width) */
.video-container {
  width: min(50vw, 640px);
  margin: 0 auto;
  background: #000000;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  user-select: none;
  -webkit-user-select: none;
}

.video-shield {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 10;
  background: transparent;
  pointer-events: auto;
  user-select: none;
}

.seamless-video {
  width: 100%;
  height: auto;
  display: block;
  background: #000000;
  mix-blend-mode: screen;
  pointer-events: none;
}

/* Timer & Dialogue Section */
.timer-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: 1.8rem;
  width: 100%;
  max-width: 900px;
  text-align: center;
}

.timer-dialogue {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  width: 100%;
  gap: 0.35rem;
}

.timer-line {
  display: block;
  text-align: center;
  width: 100%;
}

.timer-prefix {
  font-size: clamp(0.95rem, 1.8vw, 1.25rem);
  color: #A1A1AA;
  font-weight: 500;
  line-height: 1.4;
}

/* Dynamic Live Counter Line (Centered & Expands Naturally) */
.time-readout {
  font-size: clamp(1.4rem, 2.8vw, 2.2rem);
  font-weight: 700;
  color: #FFFFFF;
  letter-spacing: -0.02em;
  line-height: 1.35;
  margin: 0.2rem auto;
  max-width: 900px;
}

/* Pinned Bottom Footer */
.page-bottom {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  max-width: 900px;
  margin-top: 2rem;
  padding-bottom: 1.25rem;
}

/* Pure Vector Logos Row (4 Logos, Perfectly Aligned) */
.logos-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2.5rem;
}

.pure-logo-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px;
  color: rgba(255, 255, 255, 0.75);
  text-decoration: none;
  transition: color 0.2s cubic-bezier(0.16, 1, 0.3, 1), transform 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  -webkit-tap-highlight-color: transparent;
}

.pure-logo-link:hover {
  color: #FFFFFF;
  transform: translateY(-2px);
}

/* Optical Sizing for Individual Vector Marks */
.logo-svg {
  display: block;
  fill: currentColor;
  transition: transform 0.2s ease;
}

.svg-behance {
  width: 33px;
  height: 23px;
  transform: translateY(2px);
}

.svg-artstation {
  width: 25.5px;
  height: 25.5px;
}

.svg-linkedin {
  width: 23.5px;
  height: 23.5px;
}

.svg-instagram {
  width: 24.5px;
  height: 24.5px;
}

/* Mobile & Tablet Optimizations */
@media (max-width: 768px) {
  .page-stage {
    padding: 2.25rem 1.25rem 1.75rem;
  }

  .page-title {
    font-size: clamp(1.2rem, 5vw, 1.65rem);
    margin-bottom: 1.2rem;
    padding: 0 0.5rem;
  }

  /* Video fills the phone screen width prominently instead of being tiny */
  .video-container {
    width: min(92vw, 440px);
  }

  .timer-section {
    margin-top: 1.4rem;
  }

  .timer-prefix {
    font-size: 0.95rem;
  }

  .time-readout {
    font-size: clamp(1.2rem, 5.2vw, 1.55rem);
    padding: 0 0.5rem;
  }

  .page-bottom {
    margin-top: 1.5rem;
    padding-bottom: 0.75rem;
  }

  .logos-row {
    gap: 1.75rem;
  }
}

/* Small Mobile Screens (e.g. iPhone SE, 375px and under) */
@media (max-width: 380px) {
  .page-stage {
    padding: 1.75rem 1rem 1.25rem;
  }

  .video-container {
    width: 95vw;
  }

  .logos-row {
    gap: 1.25rem;
  }

  .pure-logo-link {
    padding: 6px;
  }
}

/* Minimalist Audio Toggle Pill */
.sound-toggle {
  position: fixed;
  top: 1.5rem;
  right: 1.5rem;
  z-index: 100;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.45rem 0.85rem;
  background: rgba(18, 18, 18, 0.75);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 9999px;
  color: #FFFFFF;
  font-family: inherit;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  outline: none;
  user-select: none;
  -webkit-user-select: none;
}

.sound-toggle:hover {
  background: rgba(35, 35, 35, 0.9);
  border-color: rgba(255, 255, 255, 0.45);
  transform: translateY(-1px);
}

.sound-toggle:active {
  transform: translateY(0);
}

.sound-svg {
  width: 14px;
  height: 14px;
  fill: currentColor;
  flex-shrink: 0;
  transition: transform 0.2s ease;
}

.sound-svg-hidden {
  display: none !important;
}

.sound-toggle.is-active {
  border-color: rgba(255, 255, 255, 0.5);
  background: rgba(255, 255, 255, 0.15);
  box-shadow: 0 0 16px rgba(255, 255, 255, 0.1);
}

@media (max-width: 600px) {
  .sound-toggle {
    top: 1rem;
    right: 1rem;
    padding: 0.4rem 0.75rem;
    font-size: 0.68rem;
  }
}

