@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;500;600;700&family=Inter:wght@300;400;500;600&family=Dancing+Script:wght@700&display=swap');

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Inter', sans-serif;
  background: #FFFFFF;
  min-height: 100vh;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Playfair Display', serif;
}

.App {
  min-height: 100vh;
}

button {
  transition: background-color 0.3s ease, transform 0.2s ease, box-shadow 0.3s ease;
}

button:hover {
  transform: translateY(-2px);
}

button:active {
  transform: translateY(0);
}

input, textarea, select {
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

input:focus, textarea:focus, select:focus {
  outline: none;
  border-color: #7C3AED;
  box-shadow: 0 0 0 3px rgba(124, 58, 237, 0.1);
}

::-webkit-scrollbar {
  width: 10px;
}

::-webkit-scrollbar-track {
  background: #F9FAFB;
}

::-webkit-scrollbar-thumb {
  background: #7C3AED;
  border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
  background: #6D28D9;
}

.glass {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(124, 58, 237, 0.1);
  box-shadow: 0 4px 24px 0 rgba(0, 0, 0, 0.06);
}

@keyframes float {
  0%, 100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-20px);
  }
}

.float-animation {
  animation: float 6s ease-in-out infinite;
}

@keyframes shake {
  0%, 100% {
    transform: translateX(0);
  }
  10%, 30%, 50%, 70%, 90% {
    transform: translateX(-3px);
  }
  20%, 40%, 60%, 80% {
    transform: translateX(3px);
  }
}

.shake-animation {
  animation: shake 2s ease-in-out infinite;
}

.artistic-underline {
  position: relative;
  cursor: pointer;
  text-decoration: none;
}

.artistic-underline::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 100%;
  height: 3px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 10'%3E%3Cpath d='M0,5 Q25,0 50,5 T100,5' stroke='%237C3AED' stroke-width='2' fill='none'/%3E%3C/svg%3E");
  background-repeat: repeat-x;
  background-size: 100px 10px;
}

.artistic-underline:hover {
  color: #6D28D9;
}

.artistic-underline:hover::after {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 10'%3E%3Cpath d='M0,5 Q25,0 50,5 T100,5' stroke='%236D28D9' stroke-width='3' fill='none'/%3E%3C/svg%3E");
}

/* Nike Swoosh / Checkmark underline style */
.nike-underline {
  position: relative;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.3s ease;
}

.nike-underline::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 100%;
  height: 4px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 20'%3E%3Cpath d='M 5,15 L 35,5 L 95,18' stroke='%237C3AED' stroke-width='3.5' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-size: 100% 100%;
  opacity: 0.9;
}

.nike-underline:hover {
  color: #6D28D9;
  transform: translateY(-2px);
}

.nike-underline:hover::after {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 20'%3E%3Cpath d='M 5,15 L 35,5 L 95,18' stroke='%236D28D9' stroke-width='4' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  opacity: 1;
}

.purple-accent {
  color: #7C3AED;
}

.purple-bg {
  background: linear-gradient(135deg, #7C3AED 0%, #6D28D9 100%);
}

.section-bg {
  background: linear-gradient(135deg, #F9FAFB 0%, #F3F4F6 100%);
}

/* Fade-in animation for confirmation modal */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: scale(0.95) translateY(10px);
  }
  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

.animate-fade-in {
  animation: fadeIn 0.3s ease-out forwards;
}

/* Cake climbing animation */
@keyframes cakeClimb {
  0% {
    opacity: 0;
    transform: translateY(30px) scale(0.95);
  }
  12.5% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
  25% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
  37.5% {
    opacity: 0;
    transform: translateY(-30px) scale(0.95);
  }
  100% {
    opacity: 0;
    transform: translateY(-30px) scale(0.95);
  }
}

.cake-animate {
  animation-timing-function: ease-in-out;
}