@import url('https://fonts.googleapis.com/css2?family=Dancing+Script:wght@400;700&display=swap');

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: Arial, Helvetica, sans-serif;
}

body {
  background: linear-gradient(135deg, #ff4e8b, #ff8fab);
  height: 100vh;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  color: white;
}

.cursive {
  font-family: 'Dancing Script', cursive;
}

.screen {
  display: none;
  width: 100%;
  height: 100vh;
  padding: 20px;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.active {
  display: flex;
}

h1 {
  font-size: 2rem;
  margin-bottom: 30px;
}

button {
  padding: 15px 25px;
  font-size: 1.2rem;
  border: none;
  border-radius: 50px;
  margin: 10px;
  cursor: pointer;
  transition: 0.3s;
}

.action_buttons button {
  width: 7rem;
}

.yes-btn {
  background: rgb(11, 192, 80);
  color: #ffffff;
  font-weight: bold;
}
.yes-btn.wide{
  transform: scale(1.5);
}
.yes-btn.wide-x2{
  transform: scale(2.5);
}

.no-btn {
  background: rgb(255, 44, 44);
  color: white;
  font-weight: bold;
}
.no-btn.tiny {
  transform: scale(0.5);
}

.no-btn.tiny-x2 {
  transform: scale(0.3);
}

.big {
  font-size: 1.5rem;
  transform: scale(1.2);
}
.tenor-gif-embed {
  width: 100%;
  max-width: 400px;   /* prevents it from being too large on desktop */
  margin: 0 auto;     /* centers it */
}
.contract {
  background: white;
  color: #333;
  border-radius: 20px;
  padding: 25px;
  width: 100%;
  max-width: 400px;
}

.fingerprint {
  margin-top: 30px;
  font-size: 4rem;
}

.achievement {
  font-size: 1.5rem;
}

.fade {
  animation: fadeIn 1.5s ease forwards;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.confetti {
  position: fixed;
  top: -10px;
  width: 10px;
  height: 10px;
  background: white;
  animation: fall 3s linear infinite;
  pointer-events: none;
}

@keyframes fall {
  to {
    transform: translateY(100vh) rotate(360deg);
  }
}

.countdown {
  margin-top: 20px;
  font-size: 1.3rem;
}


#achievement {
  background: radial-gradient(circle, #1a1a2e, #0f0f1a);
}
#achievement > .achievement-card {
  background: linear-gradient(145deg, #111, #1c1c2b);
  border: 3px solid gold;
  padding: 5px;
  border-radius: 20px;
  font-size: 20px;
  color: white;
  text-align: center;
  box-shadow: 0 0 25px gold;
  animation: popIn 0.6s ease-out;
}

#achievement > .achievement-card > .title {
  margin-bottom: 4rem;
  width: 100%;
}

#achievement .highlight {
  color: #ff4da6;
  text-shadow: 0 0 10px #ff4da6;
}

#achievement > button {
  margin-top: 30px;
  padding: 15px 30px;
  font-size: 16px;
  border-radius: 10px;
  border: none;
  cursor: pointer;
  background: linear-gradient(45deg, #ff0080, #7928ca);
  color: white;
  transition: all 0.2s ease;
}

#achievement > button:hover {
  transform: scale(1.1);
  box-shadow: 0 0 20px #ff0080;
}

@keyframes popIn {
  0% { transform: scale(0.5); opacity: 0; }
  50% { transform: scale(1.1); }
  100% { transform: scale(1); opacity: 1; }
}

#achievement > #floating-container {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  pointer-events: none;
}

#floating-container > .floating-text {
  position: relative;
  left: 50%;
  transform: translateX(-50%);
  font-weight: bold;
  font-size: 18px;
  animation: floatUp 2s ease-out forwards;
  white-space: nowrap;
}

@keyframes floatUp {
  0% {
    opacity: 0;
    transform: translate(-50%, 60px);
  }
  20% {
    opacity: 1;
  }
  100% {
    opacity: 0;
    transform: translate(-50%, -80px);
  }
}


#contract .active {
  background: radial-gradient(circle at center, #0f0f14, #050508);
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 5px !important;
}
.contract {
  padding: 5px !important;
}
.contract {
  background: linear-gradient(145deg, #1c1c24, #111118);
  padding: 60px 40px;
  width: 90%;
  max-width: 600px;
  border-radius: 20px;
  color: #f5f5f5;
  text-align: center;
  box-shadow: 0 0 40px rgba(255, 0, 100, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.08);
  animation: contractFade 0.6s ease;
}

.contract .title {
  font-size: 1.5rem;
  letter-spacing: 2px;
  margin-bottom: 10px;
  text-transform: uppercase;
  color: #ff4da6;
  text-shadow: 0 0 15px rgba(255, 0, 128, 0.7);
}

.subtitle {
  font-size: 14px;
  opacity: 0.6;
  margin-bottom: 30px;
}

.terms {
  font-size: 18px;
  line-height: 2;
  margin-bottom: 40px;
}

.signature-area {
  margin-top: 20px;
}

.fingerprint {
  display: inline-block;
  cursor: pointer;
  transition: 0.3s ease;
}

.fingerprint img {
  width: 80px;
  filter: invert(1) brightness(1.5) saturate(2);
  transition: 0.3s ease;
}

.fingerprint:hover img {
  transform: scale(1.15);
  filter: invert(1) brightness(2) drop-shadow(0 0 15px #ff4da6);
}


@keyframes contractFade {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}
