/* Piyonna Teasing Page - Custom Styles */

/* Font fallback to prevent layout shift */
@font-face {
  font-family: 'Inter Fallback';
  src: local('Arial');
  ascent-override: 90%;
  descent-override: 25%;
  line-gap-override: 0%;
  size-adjust: 107%;
}

/* Smooth scrolling */
html {
  scroll-behavior: smooth;
}

/* Remove default margins */
body {
  margin: 0;
  padding: 0;
  min-height: 100vh;
  font-family: 'Inter', 'Inter Fallback', -apple-system, BlinkMacSystemFont, sans-serif;
}

/* SF Pro fallback styling */
.font-sf-pro {
  font-family: -apple-system, BlinkMacSystemFont, 'SF Pro Display', 'Segoe UI', 'Inter', sans-serif;
}

/* Custom checkbox checked state */
input[type="checkbox"]:checked {
  background-color: #121212;
  border-color: #121212;
}

/* Focus styles for accessibility */
input:focus,
button:focus {
  outline: none;
  box-shadow: 0 0 0 2px rgba(18, 18, 18, 0.2);
}

/* Prevent text selection on timer numbers */
#days, #hours, #minutes, #seconds {
  user-select: none;
}

/* Mobile-first responsive adjustments */
@media (min-width: 768px) {
  section {
    max-width: 100%;
  }
}

@media (min-width: 1024px) {
  section {
    width: 100%;
  }
}

/* Animation for countdown timer */
@keyframes pulse {
  0%, 100% {
    opacity: 1;
  }
  50% {
    opacity: 0.8;
  }
}

/* Subtle pulse animation for colons */
.countdown-colon {
  animation: pulse 1s ease-in-out infinite;
}

/* Button hover effect */
button[type="submit"]:hover:not(:disabled) {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(18, 18, 18, 0.3);
}

button[type="submit"]:active:not(:disabled) {
  transform: translateY(0);
}

/* Loading state for button */
button[type="submit"]:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

/* Input placeholder styling fix for Safari */
input::placeholder {
  opacity: 0.6;
}

/* Remove iOS input styling */
input[type="email"] {
  -webkit-appearance: none;
  appearance: none;
}

input[type="checkbox"] {
  -webkit-appearance: none;
  appearance: none;
}

/* ===== Text Overlay: Hero Section ===== */
.hero-text-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-bottom: 17%;
  pointer-events: none;
  gap: 4.3vw;
}

.hero-tagline {
  color: white;
  font-weight: 500;
  font-size: clamp(18px, 5.6vw, 36px);
  line-height: 1.3;
  letter-spacing: -0.02em;
  text-align: center;
  margin: 0;
  max-width: 90%;
  pointer-events: auto;
  user-select: text;
}

.hero-subtitle {
  color: white;
  font-weight: 400;
  font-size: clamp(12px, 3.467vw, 24px);
  line-height: 1.46;
  text-align: center;
  margin: 0;
  pointer-events: auto;
  user-select: text;
}

/* ===== Text Overlay: CTA Section ===== */
.cta-text-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  pointer-events: none;
  padding-top: 19%;
  gap: 6.4vw;
}

.cta-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6.4vw;
}

.cta-symbol {
  width: 6.667vw;
  height: auto;
  color: #8e1f0b;
}

.cta-text-block {
  display: flex;
  flex-direction: column;
  gap: 2.1vw;
  text-align: center;
  color: #8e1f0b;
  pointer-events: auto;
  user-select: text;
}

.cta-text-light {
  font-weight: 300;
  font-size: clamp(28px, 9.067vw, 50px);
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin: 0;
}

.cta-text-bold {
  font-weight: 700;
  font-size: clamp(28px, 9.067vw, 50px);
  line-height: 1.2;
  letter-spacing: -0.05em;
  margin: 0;
}

.cta-coming-soon {
  color: #a33927;
  font-style: italic;
  font-size: clamp(16px, 5.333vw, 28px);
  letter-spacing: -0.02em;
  text-align: center;
  margin: 0;
  pointer-events: auto;
  user-select: text;
}

/* ===== Desktop Overrides (640px+) ===== */
@media (min-width: 640px) {
  .hero-text-overlay {
    padding-bottom: 2.5%;
    gap: 1.5vw;
  }

  .hero-tagline {
    font-size: clamp(14px, 1.667vw, 28px);
    max-width: 61%;
  }

  .hero-subtitle {
    font-size: clamp(12px, 1.389vw, 24px);
  }

  .cta-text-overlay {
    padding-top: 2.4%;
    gap: 2.4vw;
  }

  .cta-content {
    gap: 1.667vw;
  }

  .cta-text-block {
    gap: 1.1vw;
  }

  .cta-symbol {
    width: 1.736vw;
  }

  .cta-text-light,
  .cta-text-bold {
    font-size: clamp(24px, 2.917vw, 48px);
  }

  .cta-coming-soon {
    font-size: clamp(14px, 1.667vw, 28px);
  }
}
