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

:root {
  --primary-gradient: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  --secondary-gradient: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
  --romantic-gradient: linear-gradient(135deg, #ffecd2 0%, #fcb69f 100%);
  --glass-bg: rgba(255, 255, 255, 0.1);
  --glass-border: rgba(255, 255, 255, 0.2);
  --text-primary: #2d3748;
  --text-secondary: #718096;
  --accent-pink: #ff6b9d;
  --accent-purple: #a78bfa;
}

body {
  font-family: "Inter", sans-serif;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 50%, #f093fb 100%);
  background-attachment: fixed;
  min-height: 100vh;
  color: var(--text-primary);
  overflow-x: hidden;
}

.background-overlay {
  background: linear-gradient(
    135deg,
    rgba(102, 126, 234, 0.1) 0%,
    rgba(118, 75, 162, 0.1) 50%,
    rgba(240, 147, 251, 0.1) 100%
  );
  min-height: 100vh;
}

.container-fluid {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Header Styles - Improved */
.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 25px 35px;
  backdrop-filter: blur(25px);
  background: var(--glass-bg);
  border-radius: 25px;
  margin: 25px 0;
  border: 1px solid var(--glass-border);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
  position: relative;
  overflow: hidden;
}

.header-container::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(
    90deg,
    var(--accent-pink),
    var(--accent-purple),
    var(--accent-pink)
  );
  opacity: 0.8;
}

.logo-container {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 0;
}

.logo-img {
  height: 70px;
  width: auto;
  filter: drop-shadow(0 6px 12px rgba(0, 0, 0, 0.2));
  transition: all 0.3s ease;
}

.logo-img:hover {
  transform: scale(1.05);
  filter: drop-shadow(0 8px 16px rgba(255, 107, 157, 0.3));
}

.logo-text {
  font-family: "Playfair Display", serif;
  font-size: 1.8rem;
  font-weight: 600;
  background: linear-gradient(135deg, #fff 0%, var(--accent-pink) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-shadow: 0 2px 10px rgba(255, 255, 255, 0.3);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 25px;
}

.contact-info {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 20px;
  background: rgba(255, 255, 255, 0.15);
  border-radius: 50px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  transition: all 0.3s ease;
}

.contact-info:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(255, 107, 157, 0.2);
}

.contact-icon {
  width: 18px;
  height: 18px;
  fill: rgba(255, 255, 255, 0.9);
}

.contact-link {
  color: rgba(255, 255, 255, 0.95);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
  transition: all 0.3s ease;
}

.contact-link:hover {
  color: white;
  text-shadow: 0 0 8px rgba(255, 255, 255, 0.5);
}

.remove-link-container {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 20px;
  background: linear-gradient(
    135deg,
    rgba(255, 107, 157, 0.2) 0%,
    rgba(167, 139, 250, 0.2) 100%
  );
  border-radius: 50px;
  border: 1px solid rgba(255, 107, 157, 0.4);
  transition: all 0.3s ease;
  text-decoration: none;
}

.remove-link-container:hover {
  background: linear-gradient(
    135deg,
    rgba(255, 107, 157, 0.3) 0%,
    rgba(167, 139, 250, 0.3) 100%
  );
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(255, 107, 157, 0.3);
}

.remove-icon {
  width: 18px;
  height: 18px;
  fill: var(--accent-pink);
  transition: all 0.3s ease;
}

.remove-link-container:hover .remove-icon {
  fill: white;
  transform: rotate(5deg);
}

.remove-link {
  color: var(--accent-pink);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  transition: all 0.3s ease;
}

.remove-link-container:hover .remove-link {
  color: white;
  text-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
}

/* Intro Section */
.intro-section {
  text-align: center;
  padding: 60px 0;
  color: white;
}

/* Intro Section */
.intro-section {
  text-align: center;
  padding: 60px 0;
  color: white;
}

.intro-section h2 {
  font-family: "Playfair Display", serif;
  font-size: 3.5rem;
  font-weight: 600;
  margin-bottom: 20px;
  background: linear-gradient(135deg, #fff 0%, #ffecd2 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-shadow: 0 4px 20px rgba(255, 255, 255, 0.3);
  line-height: 1.2;
}

.intro-section h4 {
  font-size: 1.4rem;
  font-weight: 400;
  opacity: 0.9;
  margin-bottom: 40px;
}

/* Form Styles */
.form-container {
  backdrop-filter: blur(20px);
  background: var(--glass-bg);
  border-radius: 24px;
  padding: 40px;
  border: 1px solid var(--glass-border);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
  margin: 40px 0;
  animation: fadeInUp 0.8s ease-out;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.form-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(0, 1fr));
  gap: 24px;
  margin-bottom: 24px;
}

.form-group {
  display: flex;
  flex-direction: column;
}

.form-group label {
  color: white;
  font-weight: 500;
  margin-bottom: 8px;
  font-size: 0.95rem;
}

.form-group input,
.form-group select,
.form-group textarea {
  padding: 14px 18px;
  border: 2px solid transparent;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.15);
  color: white;
  font-size: 1rem;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: rgba(255, 255, 255, 0.7);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--accent-pink);
  background: rgba(255, 255, 255, 0.2);
  box-shadow: 0 0 20px rgba(255, 107, 157, 0.3);
  transform: translateY(-2px);
}

.form-group select option {
  background: var(--text-primary);
  color: white;
}

.half-width {
  grid-column: span 1;
}

.full-width {
  grid-column: 1 / -1;
}

/* Button Styles */
.btn {
  padding: 16px 40px;
  border: none;
  border-radius: 50px;
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.btn-primary {
  background: var(--secondary-gradient);
  color: white;
  box-shadow: 0 10px 30px rgba(245, 87, 108, 0.4);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 40px rgba(245, 87, 108, 0.6);
}

.btn-primary::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.2),
    transparent
  );
  transition: left 0.5s;
}

.btn-primary:hover::before {
  left: 100%;
}

/* Hint Section */
.centered-hint {
  text-align: center;
  margin: 40px 0;
  animation: bounce 2s infinite;
}

@keyframes bounce {
  0%,
  20%,
  50%,
  80%,
  100% {
    transform: translateY(0);
  }
  40% {
    transform: translateY(-10px);
  }
  60% {
    transform: translateY(-5px);
  }
}

.hint-text {
  color: rgba(255, 255, 255, 0.8);
  font-size: 1.1rem;
  font-weight: 500;
  display: block;
  margin-bottom: 10px;
}

.hint-arrow {
  width: 40px;
  height: 40px;
  filter: invert(1) opacity(0.8);
}

/* Presentation Section */
.presentation {
  backdrop-filter: blur(5px);
  background: var(--glass-bg);
  border-radius: 24px;
  padding: 60px 40px;
  border: 1px solid var(--glass-border);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
  margin: 40px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.presentation::before {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(
    circle,
    rgba(255, 107, 157, 0.1) 0%,
    transparent 70%
  );
  animation: rotate 20s linear infinite;
  pointer-events: none;
}

@keyframes rotate {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

.special-text-title {
  font-family: "Playfair Display", serif;
  font-size: 2rem;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 20px;
  position: relative;
  z-index: 1;
}

.special-text_1 {
  font-family: "Playfair Display", serif;
  font-size: 3rem;
  font-weight: 600;
  background: var(--romantic-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin: 10px 0;
  position: relative;
  z-index: 1;
  text-shadow: 0 4px 20px rgba(255, 255, 255, 0.3);
}

/* Carousel Styles */
/* Carousel Styles */
.carousel-container {
  width: 100%;
  max-width: 400px; /* ou o tamanho desejado */
  aspect-ratio: 3 / 4;
  margin: 40px auto;
  border-radius: 20px;
  overflow: hidden;
  position: relative;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
}

.carousel-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: none;
  transition: all 0.5s ease;
}

.carousel-image.active {
  display: block;
  animation: fadeIn 0.5s ease;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: scale(1.1);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

/* Counter Styles */
.counter-container {
  margin: 40px 0;
  position: relative;
  z-index: 1;
}

#meu-contador-container {
  display: flex;
  justify-content: center;
  align-items: center;
}

#meu-contador {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
}

.time-unit-container {
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.25) 0%,
    rgba(255, 255, 255, 0.15) 100%
  );
  backdrop-filter: blur(10px);
  border-radius: 16px;
  padding: 20px;
  border: 1px solid rgba(255, 255, 255, 0.4);
  text-align: center;
  min-width: 80px;
  transition: all 0.3s ease;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.time-unit-container:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(255, 107, 157, 0.3);
}

.time-unit {
  font-size: 2.5rem;
  font-weight: 700;
  color: white;
  margin-bottom: 5px;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
  line-height: 1;
}

.label {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.9);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.special-text_2_a,
.special-text_2_c {
  font-family: "Playfair Display", serif;
  font-size: 1.6rem;
  color: rgba(255, 255, 255, 0.9);
  margin: 30px 0;
  position: relative;
  z-index: 1;
}

.optional-message {
  font-size: 1.2rem;
  color: rgba(255, 255, 255, 0.8);
  font-style: italic;
  margin: 30px 0;
  padding: 20px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  position: relative;
  z-index: 1;
}

/* Error Messages */
.error-message {
  color: #ff6b9d;
  font-weight: 500;
  margin-top: 10px;
  padding: 10px;
  background: rgba(255, 107, 157, 0.1);
  border-radius: 8px;
  border: 1px solid rgba(255, 107, 157, 0.3);
}

.flashes {
  list-style: none;
  margin-top: 20px;
}

.flashes li {
  color: #ff6b9d;
  font-weight: 500;
  padding: 10px;
  background: rgba(255, 107, 157, 0.1);
  border-radius: 8px;
  border: 1px solid rgba(255, 107, 157, 0.3);
  margin-bottom: 10px;
}

/* Responsive Design */
@media (max-width: 768px) {
  .container-fluid {
    padding: 0 15px;
  }

  .intro-section h2 {
    font-size: 2.5rem;
  }

  .intro-section h4 {
    font-size: 1.2rem;
  }

  .form-container {
    padding: 24px;
  }

  .form-row {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .special-text_1 {
    font-size: 2.2rem;
  }

  .header-container {
    flex-direction: column;
    gap: 20px;
  }

  #meu-contador {
    gap: 15px;
  }

  .time-unit-container {
    min-width: 70px;
    padding: 16px;
  }

  .time-unit {
    font-size: 2rem;
  }
}

@media (max-width: 480px) {
  .intro-section h2 {
    font-size: 2rem;
  }

  .special-text_1 {
    font-size: 1.8rem;
  }

  .form-container {
    padding: 20px;
  }

  .presentation {
    padding: 40px 20px;
  }
}

.contact-info i,
.remove-link-container i {
  font-size: 1rem;
  margin-right: 6px;
  color: rgba(255, 255, 255, 0.9);
  transition: transform 0.3s ease;
}

.remove-link-container:hover i,
.contact-info:hover i {
  transform: scale(1.1);
  color: white;
}
@media (max-width: 768px) {
  .nav-links {
    flex-direction: column;
    gap: 12px;
    align-items: flex-start; /* ou center se quiser centralizar */
  }

  .contact-info,
  .remove-link-container {
    width: 100%;
    justify-content: flex-start;
  }
}

.contact-info {
  text-decoration: none;
  color: inherit; /* opcional: mantém a cor do texto como herdada */
}

.contact-info:hover {
  text-decoration: none;
  color: inherit; /* opcional: mantém a cor no hover também */
}

.form-group select {
  width: 100%;
  max-width: 100%;
}

.form-group input[type="file"] {
  width: 100%;
  max-width: 100%;
}
