
@import url('https://fonts.googleapis.com/css2?family=Anton&display=swap');

body {
  margin: 0;
  padding: 0;
  height: 100vh;
  background: #0d0d14;
  font-family: 'Anton', sans-serif;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.overlay {
  background: url('https://images.unsplash.com/photo-1533228088668-41e84f263b84?auto=format&fit=crop&w=1950&q=80') no-repeat center center / cover;
  filter: blur(4px) brightness(0.3);
  position: absolute;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.content {
  z-index: 2;
  text-align: center;
  padding: 1rem;
}

.the-end {
  font-size: 9vw;
  background: linear-gradient(-45deg, #ff4b2b, #ff416c, #00c6ff, #0072ff);
  background-size: 400% 400%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: fireToIce 6s ease-in-out infinite alternate;
  letter-spacing: 0.2em;
  text-shadow: 0 0 30px rgba(255, 255, 255, 0.1);
  word-break: break-word;
}

.quote {
  margin-top: 2rem;
  font-size: 1.4rem;
  color: #99cfe0;
  letter-spacing: 2px;
}

button {
  margin-top: 2.5rem;
  padding: 12px 28px;
  background: #1c1f2b;
  color: #e0e0e0;
  border: 2px solid #4f93f7;
  border-radius: 8px;
  font-size: 1rem;
  letter-spacing: 1px;
  cursor: pointer;
  transition: 0.3s ease;
}

button:hover {
  background: #4f93f7;
  color: #000;
}

.fade-screen {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  z-index: 10;
  pointer-events: none;
  background: radial-gradient(circle at center, rgba(255,255,255,0.2), rgba(200, 240, 255, 0.4), rgba(100, 160, 200, 0.7));
  opacity: 0;
  backdrop-filter: blur(3px) brightness(1.2);
  transition: opacity 3s ease;
}

.fade-screen.freeze {
  opacity: 1;
  animation: freezeCrack 3s ease forwards;
}

@keyframes fireToIce {
  0% {
    background-position: 0% 50%;
  }
  100% {
    background-position: 100% 50%;
  }
}

@keyframes freezeCrack {
  0% {
    filter: blur(2px) brightness(1.1);
  }
  100% {
    filter: blur(6px) brightness(1.5) grayscale(0.5);
  }
}
