/* Import a clean, modern font */
@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@500;700;800&display=swap');

* {
  box-sizing: border-box;
}

body {
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  background: linear-gradient(135deg, #f5f7fa 0%, #e4e8f0 100%);
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  margin: 0;
  padding: 20px;
  overflow: hidden; /* Prevents scrollbars when Large grows 500% */
}

.card {
  background: #ffffff;
  padding: 36px 28px;
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08), 
              0 1px 3px rgba(0, 0, 0, 0.05);
  text-align: center;
  max-width: 380px;
  width: 100%;
  position: relative;
}

h2 {
  color: #1e293b;
  margin: 0 0 28px 0;
  font-size: 1.35rem;
  font-weight: 800;
  line-height: 1.4;
  letter-spacing: -0.02em;
}

.options-container {
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-height: 200px;
  justify-content: center;
  align-items: center;
  position: relative;
}

.btn {
  width: 100%;
  padding: 16px 20px;
  font-family: inherit;
  font-size: 1.05rem;
  font-weight: 700;
  border: 2px solid #e2e8f0;
  border-radius: 12px;
  background-color: #ffffff;
  color: #334155;
  cursor: pointer;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.02);
  transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1), 
              opacity 0.25s ease, 
              border-color 0.2s ease, 
              background-color 0.2s ease;
  outline: none;
  -webkit-tap-highlight-color: transparent;
}

/* Subtle hover/active feel for buttons */
.btn:hover {
  border-color: #cbd5e1;
  background-color: #f8fafc;
  transform: translateY(-2px);
}

.btn:active {
  transform: translateY(0) scale(0.98);
}

/* Make the Large button pop slightly more */
.btn-large {
  border-color: #cbd5e1;
  background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
}

/* Disappearing effect */
.vanished {
  opacity: 0;
  pointer-events: none;
  visibility: hidden;
  transform: scale(0.8);
}

/* Playful, subtle bounce/shake animation */
.shake {
  animation: playfulShake 0.5s cubic-bezier(.36, .07, .19, .97) both;
}

@keyframes playfulShake {
  10%, 90% { transform: translate3d(-3px, 0, 0) rotate(-1deg); }
  20%, 80% { transform: translate3d(5px, 0, 0) rotate(2deg); }
  30%, 50%, 70% { transform: translate3d(-6px, 0, 0) rotate(-2deg); }
  40%, 60% { transform: translate3d(6px, 0, 0) rotate(1deg); }
}

/* 500% smooth scaling growth */
.btn-large.expanded {
  transform: scale(5) !important;
  background: #10b981 !important;
  color: #ffffff !important;
  border-color: #10b981 !important;
  box-shadow: 0 20px 25px -5px rgba(16, 185, 129, 0.4);
  z-index: 999;
}