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

body {
  font-family: 'Poppins', sans-serif;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 20px;
}

.container {
  max-width: 600px;
  width: 100%;
}

.invitation-card {
  background: white;
  border-radius: 20px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  overflow: hidden;
  position: relative;
  animation: fadeIn 0.8s ease-in;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.decorative-border {
  height: 8px;
  background: linear-gradient(90deg, #667eea, #764ba2, #f093fb, #667eea);
  background-size: 200% 100%;
  animation: gradientShift 3s ease infinite;
}

.decorative-border.bottom {
  margin-top: 0;
}

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

.content {
  padding: 40px 30px;
}

.header {
  text-align: center;
  margin-bottom: 40px;
}

.icon {
  font-size: 64px;
  margin-bottom: 20px;
  animation: bounce 2s ease-in-out infinite;
}

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

h1 {
  font-family: 'Playfair Display', serif;
  font-size: 42px;
  color: #333;
  margin-bottom: 10px;
  font-weight: 700;
}

.subtitle {
  font-size: 16px;
  color: #666;
  margin-bottom: 5px;
  font-weight: 300;
}

h2 {
  font-family: 'Playfair Display', serif;
  font-size: 32px;
  color: #667eea;
  font-weight: 700;
}

.details {
  margin: 30px 0;
}

.detail-item {
  display: flex;
  align-items: flex-start;
  padding: 20px;
  margin-bottom: 15px;
  background: #f8f9fa;
  border-radius: 12px;
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
}

.detail-item:hover {
  transform: translateX(5px);
  box-shadow: 0 4px 12px rgba(102, 126, 234, 0.15);
}

.detail-icon {
  font-size: 32px;
  margin-right: 20px;
  min-width: 40px;
}

.detail-content {
  flex: 1;
}

.detail-label {
  font-size: 12px;
  color: #888;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 5px;
  font-weight: 600;
}

.detail-value {
  font-size: 16px;
  color: #333;
  line-height: 1.6;
  font-weight: 400;
}

.map-buttons {
  display: flex;
  gap: 15px;
  justify-content: center;
  flex-wrap: wrap;
  margin: 30px 0;
}

.btn {
  display: inline-block;
  padding: 14px 32px;
  background: white;
  color: #667eea;
  text-decoration: none;
  border-radius: 30px;
  font-weight: 600;
  border: 2px solid #667eea;
  transition: all 0.3s ease;
  cursor: pointer;
  font-size: 16px;
}

.btn:hover {
  background: #667eea;
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(102, 126, 234, 0.4);
}

.btn-primary {
  background: linear-gradient(135deg, #667eea, #764ba2);
  color: white;
  border: none;
  padding: 16px 48px;
  font-size: 18px;
}

.btn-primary:hover {
  transform: translateY(-2px) scale(1.05);
  box-shadow: 0 8px 25px rgba(102, 126, 234, 0.5);
}

.message {
  text-align: center;
  margin: 30px 0;
  padding: 20px;
  background: linear-gradient(
    135deg,
    rgba(102, 126, 234, 0.1),
    rgba(118, 75, 162, 0.1)
  );
  border-radius: 12px;
}

.message p {
  font-size: 18px;
  color: #333;
  margin-bottom: 10px;
}

.message .small {
  font-size: 14px;
  color: #666;
  font-style: italic;
}

.rsvp-section {
  text-align: center;
  margin-top: 30px;
}

.footer {
  text-align: center;
  margin-top: 30px;
  color: white;
  font-size: 16px;
}

/* Responsive Design */
@media (max-width: 768px) {
  .content {
    padding: 30px 20px;
  }

  h1 {
    font-size: 32px;
  }

  h2 {
    font-size: 24px;
  }

  .icon {
    font-size: 48px;
  }

  .detail-item {
    padding: 15px;
  }

  .detail-icon {
    font-size: 24px;
    margin-right: 15px;
  }

  .detail-value {
    font-size: 14px;
  }

  .btn {
    padding: 12px 24px;
    font-size: 14px;
  }

  .btn-primary {
    padding: 14px 36px;
    font-size: 16px;
  }
}

@media (max-width: 480px) {
  h1 {
    font-size: 28px;
  }

  h2 {
    font-size: 20px;
  }

  .message p {
    font-size: 16px;
  }
}
