body {
  background-color: #fceabb;
  background-image: linear-gradient(315deg, #fceabb 0%, #f8b500 74%);
  font-family: 'Comic Sans MS', 'Chalkboard SE', cursive; /* Using whimsical fonts */
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  padding: 20px;
  margin: 0;
}

del {
  text-decoration-color: #ff6b6b; /* Makes the strike-through line a fun color */
  text-decoration-thickness: 3px;
  color: #999; /* Fades the struck-through word slightly */
}

.scrapbook {
  background: white;
  padding: 40px;
  max-width: 500px;
  border: 8px solid #ff6b6b;
  box-shadow: 15px 15px 0px #4ecdc4;
  position: relative;
  transform: rotate(-1deg);
}

.title {
  font-size: 3rem;
  color: #ff6b6b;
  margin: 0;
  line-height: 0.8;
  text-shadow: 2px 2px #f8b500;
}

.tagline {
  font-weight: bold;
  color: #4ecdc4;
  margin-top: 10px;
}

/* Sticker Styles */
.sticker {
  position: absolute;
  background: #eee;
  padding: 10px;
  border: 2px solid #ddd;
  font-size: 0.8rem;
  box-shadow: 3px 3px 0px rgba(0,0,0,0.1);
}


/* Cat Sticker Animations */
.cat-sticker {
  position: absolute;
  width: 100px;
  filter: drop-shadow(5px 5px 0px rgba(0, 0, 0, 0.1));
  z-index: 100;
  transition: transform 0.3s ease;
  animation-timing-function: linear;
  animation-iteration-count: infinite;
  pointer-events: auto;
}

.cat-sticker:hover {
  transform: scale(1.1) rotate(0deg) !important;
  animation-play-state: paused;
}

/* DVD Bounce Animation Keyframes - within the scrapbook */
@keyframes bounce1 {
  0% { left: 0%; top: 0%; transform: rotate(10deg); }
  25% { left: calc(100% - 100px); top: calc(100% - 100px); transform: rotate(15deg); }
  50% { left: calc(100% - 100px); top: 0%; transform: rotate(10deg); }
  75% { left: 0%; top: calc(100% - 100px); transform: rotate(5deg); }
  100% { left: 0%; top: 0%; transform: rotate(10deg); }
}

@keyframes bounce2 {
  0% { left: calc(100% - 100px); top: 0%; transform: rotate(-15deg); }
  25% { left: 0%; top: calc(100% - 100px); transform: rotate(-10deg); }
  50% { left: 0%; top: 0%; transform: rotate(-15deg); }
  75% { left: calc(100% - 100px); top: calc(100% - 100px); transform: rotate(-20deg); }
  100% { left: calc(100% - 100px); top: 0%; transform: rotate(-15deg); }
}

@keyframes bounce3 {
  0% { left: 50%; top: 0%; transform: translateX(-50%) rotate(5deg); }
  33% { left: 0%; top: calc(100% - 100px); transform: translateX(0%) rotate(10deg); }
  66% { left: calc(100% - 100px); top: 50%; transform: translateX(0%) rotate(0deg); }
  100% { left: 50%; top: 0%; transform: translateX(-50%) rotate(5deg); }
}

@keyframes bounce4 {
  0% { left: 0%; top: calc(100% - 100px); transform: rotate(-10deg); }
  33% { left: calc(100% - 100px); top: 50%; transform: rotate(-5deg); }
  66% { left: 50%; top: 0%; transform: translateX(-50%) rotate(-15deg); }
  100% { left: 0%; top: calc(100% - 100px); transform: rotate(-10deg); }
}

.host {
  animation: bounce1 12s linear infinite;
}

.sunbather {
  animation: bounce2 15s linear infinite;
}

.shrimp {
  animation: bounce3 18s linear infinite;
}

.host-photo {
  animation: bounce4 14s linear infinite;
}

.highlight-box {
  background: #fff9c4;
  padding: 15px;
  border-left: 5px solid #f8b500;
  margin: 20px 0;
  position: relative;
}

.thumbtack {
  position: absolute;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  width: 20px;
  height: 20px;
  background: radial-gradient(circle at 30% 30%, #ff6b6b, #d32f2f);
  border-radius: 50%;
  box-shadow: 2px 2px 4px rgba(0,0,0,0.3);
  z-index: 10;
}

.thumbtack::before {
  content: '';
  position: absolute;
  top: -8px;
  left: 50%;
  transform: translateX(-50%);
  width: 4px;
  height: 10px;
  background: linear-gradient(to bottom, #c0c0c0, #808080);
  border-radius: 2px;
}

.food-info {
  border: 2px dashed #4ecdc4;
  padding: 15px;
  border-radius: 10px;
}

.signup-link {
  color: #ff6b6b;
  font-weight: bold;
}

.vices-sticker {
  background: #d1f2eb;
  padding: 10px;
  margin-top: 20px;
  font-size: 0.9rem;
  border-radius: 50% 20% / 10% 40%; /* Wonky shape */
}

.rsvp-btn {
  background: #ff6b6b;
  color: white;
  border: none;
  padding: 15px 30px;
  font-size: 1.2rem;
  font-weight: bold;
  cursor: pointer;
  margin-top: 20px;
  width: 100%;
  transition: transform 0.2s;
}

@media (max-width: 600px) {
  body {
    padding: 10px;
  }
  
  .scrapbook {
    padding: 20px;
    border: 4px solid #ff6b6b;
    box-shadow: 8px 8px 0px #4ecdc4;
    transform: rotate(-0.5deg);
    margin: 10px;
  }
  
  .title {
    font-size: 2.2rem;
  }
  
  .cat-sticker {
    width: 70px;
  }
  
  @keyframes bounce1 {
    0% { left: 0%; top: 0%; transform: rotate(10deg); }
    25% { left: calc(100% - 70px); top: calc(100% - 70px); transform: rotate(15deg); }
    50% { left: calc(100% - 70px); top: 0%; transform: rotate(10deg); }
    75% { left: 0%; top: calc(100% - 70px); transform: rotate(5deg); }
    100% { left: 0%; top: 0%; transform: rotate(10deg); }
  }
  
  @keyframes bounce2 {
    0% { left: calc(100% - 70px); top: 0%; transform: rotate(-15deg); }
    25% { left: 0%; top: calc(100% - 70px); transform: rotate(-10deg); }
    50% { left: 0%; top: 0%; transform: rotate(-15deg); }
    75% { left: calc(100% - 70px); top: calc(100% - 70px); transform: rotate(-20deg); }
    100% { left: calc(100% - 70px); top: 0%; transform: rotate(-15deg); }
  }
  
  @keyframes bounce3 {
    0% { left: 50%; top: 0%; transform: translateX(-50%) rotate(5deg); }
    33% { left: 0%; top: calc(100% - 70px); transform: translateX(0%) rotate(10deg); }
    66% { left: calc(100% - 70px); top: 50%; transform: translateX(0%) rotate(0deg); }
    100% { left: 50%; top: 0%; transform: translateX(-50%) rotate(5deg); }
  }
  
  @keyframes bounce4 {
    0% { left: 0%; top: calc(100% - 70px); transform: rotate(-10deg); }
    33% { left: calc(100% - 70px); top: 50%; transform: rotate(-5deg); }
    66% { left: 50%; top: 0%; transform: translateX(-50%) rotate(-15deg); }
    100% { left: 0%; top: calc(100% - 70px); transform: rotate(-10deg); }
  }
}

.rsvp-btn:hover {
  transform: scale(1.05) rotate(2deg);
}

/* Modal Styles */
.modal {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  animation: fadeIn 0.3s ease;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

.modal-content {
  background: white;
  margin: 10% auto;
  padding: 30px;
  border: 5px solid #ff6b6b;
  border-radius: 15px;
  width: 90%;
  max-width: 400px;
  box-shadow: 10px 10px 0px #4ecdc4;
  animation: slideIn 0.3s ease;
  position: relative;
}

body.modal-open {
  overflow: hidden;
}

.success-content {
  text-align: center;
}

.close {
  color: #ff6b6b;
  float: right;
  font-size: 28px;
  font-weight: bold;
  cursor: pointer;
  line-height: 1;
}

.close:hover {
  color: #d32f2f;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: bold;
  color: #333;
}

.form-group input[type="text"],
.form-group textarea {
  width: 100%;
  padding: 12px;
  border: 2px solid #ddd;
  border-radius: 8px;
  font-family: inherit;
  font-size: 1rem;
  box-sizing: border-box;
  transition: border-color 0.3s;
}

.form-group input[type="text"]:focus,
.form-group textarea:focus {
  outline: none;
  border-color: #4ecdc4;
}

.button-group {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.option-btn {
  flex: 1;
  min-width: 80px;
  padding: 10px 15px;
  border: 2px solid #ddd;
  background: white;
  border-radius: 8px;
  cursor: pointer;
  font-family: inherit;
  font-size: 0.9rem;
  transition: all 0.2s;
}

.option-btn:hover {
  border-color: #4ecdc4;
  background: #f0f9f9;
}

.option-btn.selected {
  background: #4ecdc4;
  border-color: #4ecdc4;
  color: white;
}

.submit-btn {
  background: #ff6b6b;
  color: white;
  border: none;
  padding: 15px 30px;
  font-size: 1.1rem;
  font-weight: bold;
  cursor: pointer;
  width: 100%;
  border-radius: 8px;
  font-family: inherit;
  transition: transform 0.2s;
}

.submit-btn:hover {
  transform: scale(1.02);
}

.submit-btn:disabled {
  background: #ccc;
  cursor: not-allowed;
  transform: none;
}

/* Confetti Canvas */
#confetti-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 2000;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes slideIn {
  from {
    transform: translateY(-50px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

@media (max-width: 600px) {
  .modal-content {
    margin: 10% auto;
    padding: 20px;
    width: 75%;
    max-width: none;
    border: 5px solid #ff6b6b;
    box-shadow: 8px 8px 0px #4ecdc4;
  }
  
  .modal-content h2 {
    font-size: 1.5rem;
  }
  
  .form-group {
    margin-bottom: 12px;
  }
  
  .form-group label {
    font-size: 0.9rem;
    margin-bottom: 5px;
  }
  
  .button-group {
    flex-direction: column;
    gap: 6px;
  }
  
  .option-btn {
    width: 100%;
    padding: 8px 12px;
    font-size: 0.85rem;
  }
  
  .submit-btn {
    padding: 12px 20px;
    font-size: 1rem;
  }
}
