@import url('https://fonts.googleapis.com/css2?family=Creepster&family=Special+Elite&display=swap');

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  user-select: none;
}

body {
  font-family: 'Special Elite', monospace;
  overflow: hidden;
  min-height: 100vh;
  min-height: 100dvh;
  background: url('media/fotkee.png') bottom center no-repeat;
  background-size: cover;
  color: hsl(0, 75%, 55%);
}

/* Scanlines overlay */
.scanlines::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background: repeating-linear-gradient(
    0deg,
    transparent,
    transparent 2px,
    hsla(0, 0%, 0%, 0.1) 2px,
    hsla(0, 0%, 0%, 0.1) 4px
  );
  z-index: 9999;
}

.screen {
  position: fixed;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  padding: 1rem;
}

.screen.active { display: flex; }

.container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
  text-align: center;
}

.ascii-cat {
  font-family: monospace;
  white-space: pre;
  line-height: 1.2;
  text-shadow: 0 0 10px hsla(0, 75%, 45%, 0.5);
  color: hsl(0, 75%, 55%);
}
.ascii-cat.small { font-size: clamp(0.4rem, 1.5vw, 0.6rem); }
.ascii-cat.big { font-size: clamp(0.6rem, 2.5vw, 1rem); }

.grungy-title {
  font-family: 'Creepster', cursive;
  font-size: clamp(2rem, 8vw, 4rem);
  text-shadow: 3px 3px 0 black, -1px -1px 0 hsl(0, 75%, 30%), 0 0 20px hsla(0, 75%, 45%, 0.5);
  letter-spacing: 2px;
}

.subtitle { font-size: clamp(1rem, 3vw, 1.5rem); color: hsl(0, 40%, 50%); }

.valentine-btn {
  border: 2px solid hsl(0, 75%, 55%);
  padding: 0.75rem 1.5rem;
  font-size: clamp(1rem, 3vw, 1.25rem);
  cursor: pointer;
  transition: all 0.2s;
  background-color: hsl(0, 50%, 25%);
  color: hsl(0, 75%, 55%);
  font-weight: bold;
  font-family: 'Special Elite', monospace;
  box-shadow: 4px 4px 0 black, 0 0 15px hsla(0, 75%, 45%, 0.3);
  text-transform: uppercase;
}
.valentine-btn:hover { transform: scale(1.05); background-color: hsl(0, 75%, 45%); color: hsl(0,0%,95%); }

/* BIG JUICY PLAY BUTTON */
.valentine-btn-play {
  padding: 1.5rem 4rem;
  font-size: clamp(2rem, 6vw, 3rem);
  border-width: 4px;
  box-shadow: 6px 6px 0 black, 0 0 30px hsla(0, 75%, 45%, 0.5);
  animation: pulse-glow 1.5s ease-in-out infinite;
}

@keyframes pulse-glow {
  0%, 100% { box-shadow: 6px 6px 0 black, 0 0 30px hsla(0, 75%, 45%, 0.5); }
  50% { box-shadow: 6px 6px 0 black, 0 0 60px hsla(0, 75%, 55%, 0.8); }
}

.yes-btn.big { padding: 1rem 2rem; font-size: clamp(1.25rem, 4vw, 1.5rem); }

.final-text {
  background-color: hsla(0,0%,0%,0.8);
  padding: 1rem 1.5rem;
  border: 2px solid hsl(0,75%,55%);
  font-size: clamp(1rem,3vw,1.5rem);
  font-family: 'Creepster', cursive;
  box-shadow: 6px 6px 0 black;
  text-align: center;
}

.heart-float {
  position: absolute;
  width: 50px;
  height: 50px;
  animation: float 3s linear forwards;
  pointer-events: none;
}

@keyframes float {
  0% { transform: translateY(0) scale(1) rotate(0deg); opacity: 1; }
  100% { transform: translateY(-250px) scale(1.3) rotate(15deg); opacity: 0; }
}

.jumpscare-warning { font-family: 'Creepster', cursive; font-size: clamp(1.5rem,6vw,3rem); text-shadow: 0 0 20px hsl(0,75%,45%); animation: flicker 0.1s infinite; }

@keyframes flicker { 0%,100%{opacity:1;} 50%{opacity:0.8;} }
