/* style.css */
:root {
  --bg: #0d0d0d;
  --text: #f7e4c7;
  --text-soft: rgba(247, 228, 199, 0.8);
  --accent: #f7d9ab;
  --danger: #ff4d4d;
  --overlay: rgba(0, 0, 0, 0.74);
  --card: rgba(15, 15, 15, 0.92);
  --border: rgba(255, 255, 255, 0.08);
}

@font-face {
    font-family: 'Cool' ;
    src: url(Coolvetica\ Rg\ Cram.otf) format('opentype');
    font-weight: normal;
}
@font-face {
    font-family: 'Ciclo';
    src: url(CiclopeRoundedTrial-Rounded.ttf) format('truetype');
    font-weight: normal;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html,
body {
  width: 100%;
  min-height: 100%;
  background: var(--bg);
  color: var(--text);
  font-family: "Elms Sans", sans-serif;
  overflow-x: hidden;
}

body {
  position: relative;
}

.hidden {
  display: none !important;
}

.screen {
  width: 100%;
  min-height: 100vh;
  position: relative;
}

#homeScreen {
  overflow: hidden;
  background: #000;
}

.bg-video {
  position: absolute;
  inset: 0;

  width: 100%;
  height: 100%;

  object-fit: cover;

  z-index: 0;

  pointer-events: none;
}

.bg-overlay {
  position: absolute;
  inset: 0;

  background:
    linear-gradient(
      180deg,
      rgba(0, 0, 0, 0.25) 0%,
      rgba(0, 0, 0, 0.68) 100%
    );

  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
}

.bg-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      180deg,
      rgba(0, 0, 0, 0.4) 0%,
      rgba(0, 0, 0, 0.7) 100%
    );
}

.hero-content {
  position: relative;
  z-index: 2;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 32px 20px;

}
img{
    max-width: 640px;
    margin-block:1rem;
}
.hero-copy {
  max-width: 760px;
  text-align: center;
}

.artists {
  font-family: "Cool", sans-serif;
  font-size: clamp(36px, 4vw, 64px);
  font-weight: normal;
  letter-spacing: 2px;
  margin-bottom: 8px;
}

.hero-copy h1 {
  font-size: clamp(56px, 12vw, 120px);
  line-height: 0.92;
  margin-bottom: 16px;
  font-weight: 900;
  display: none;
}

.hero-copy h2 {
  font-size: clamp(30px, 7vw, 56px);
  margin-bottom: 28px;
  font-family: 'Cool', sans-serif;
  letter-spacing: 1rem;
  font-weight: normal;
}

.description {
  font-size: clamp(12px, 4vw, 22px);
  color: var(--text-soft);
  margin-bottom: 18px;
  line-height: 1.2;
}

.primary-btn,
.secondary-btn,
.danger-btn {
  border: none;
  border-radius: 999px;
  cursor: pointer;
  transition: 0.2s ease;
  font-weight: 800;
  min-height: 56px;
  padding: 0 24px;
}

.primary-btn {
  background: var(--accent);
  color: #1b1b1b;
  font-size: 16px;
  font-family: 'Ciclo';
  margin-top: 2rem;
}

.secondary-btn {
    background: rgba(255, 255, 255, 0.1);
    color: var(--text);
    font-size: 15px;
    font-family: 'Ciclo';
}

.secondary-btn.locked {
  opacity: 0.4;
  cursor: not-allowed;
  font-family: 'Ciclo';
}

.danger-btn {
  background: var(--danger);
  color: #fff;
  font-size: 16px;
  font-family: 'Ciclo';
}

.modal {
  position: fixed;
  inset: 0;
  z-index: 999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.72);
  backdrop-filter: blur(8px);
}

.modal-card {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 420px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 28px;
  padding: 32px 24px;
  text-align: center;
}

.modal-card h3 {
  font-size: 24px;
  margin-bottom: 20px;
}

.timer-wrapper {
  margin-bottom: 24px;
}

.timer {
  font-size: 72px;
  font-weight: 900;
  line-height: 1;
}

.recording-indicator {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-bottom: 24px;
}

.dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--danger);
  animation: pulse 1s infinite;
}

.preview-container {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 24px;
  gap: 20px;
  max-width: 720px;
  margin: 0 auto;
}

.preview-container h2 {
  font-size: clamp(28px, 7vw, 44px);
}

audio {
  width: 100%;
}

.action-stack {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.status-message {
  min-height: 22px;
  font-size: 14px;
  color: var(--text-soft);
}

.browser-overlay {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: #000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.browser-card {
  background: #111;
  border: 1px solid var(--border);
  border-radius: 28px;
  padding: 28px;
  text-align: center;
  max-width: 360px;
}

.browser-card h2 {
  margin-bottom: 12px;
}

.browser-card p {
  color: var(--text-soft);
  line-height: 1.5;
  margin-bottom: 20px;
}

.browser-steps {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.browser-steps span {
  background: rgba(255, 255, 255, 0.08);
  padding: 12px;
  border-radius: 12px;
}

@keyframes pulse {
  0% {
    transform: scale(1);
    opacity: 1;
  }

  50% {
    transform: scale(1.2);
    opacity: 0.5;
  }

  100% {
    transform: scale(1);
    opacity: 1;
  }
}

@media (max-width: 768px) {
  .hero-copy h1 {
    font-size: 72px;
  }

  .description {
    font-size: 18px;
  }
}