:root {
  --background: #f6eed9;
  --text-color: #000000;
  --accent-color: #C42127;
}

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

body {
  font-family: 'Poppins', sans-serif;
  background: var(--background);
  color: var(--text-color);
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 20px;
}

.wrapper {
  animation: fadeIn 2s ease;
  max-width: 480px;
  width: 100%;
}

.logo-wrapper {
  position: relative;
  width: fit-content;
  margin: 0 auto 2rem;
}

.logo {
  width: 110px;
  animation: float 2s ease-in-out infinite;
}

h1 {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.8rem;
  margin-bottom: 0.6rem;
  font-weight: 600;
}

.subtext {
  font-size: 1rem;
  color: var(--accent-color);
  margin-bottom: 2rem;
  font-weight: 300;
}

.newsletter {
  margin: 2rem auto;
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  align-items: center;
}

.newsletter input {
  padding: 0.6rem 1rem;
  border: 1px solid var(--accent-color);
  border-radius: 8px;
  width: 250px;
  font-family: 'Poppins', sans-serif;
  font-size: 0.9rem;
}

.newsletter button {
  padding: 0.5rem 1.2rem;
  background-color: var(--accent-color);
  color: white;
  border: none;
  border-radius: 8px;
  font-size: 0.9rem;
  cursor: pointer;
  transition: background-color 0.3s ease;
  font-family: 'Montserrat', sans-serif;
  text-transform: uppercase;
}

.newsletter button:hover {
  background-color: #8A191D;
}

.feedback {
  font-size: 0.8rem;
  color: #333;
}

.footer {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  align-items: center;
  margin-top: 4rem;
}

.mail {
  text-decoration: none;
  color: var(--text-color);
  font-size: 0.9rem;
  opacity: 0.8;
  transition: all 0.2s ease-in-out;
}

.mail:hover {
  opacity: 1;
  color: var(--accent-color);
}

.socials {
  display: flex;
  gap: 1rem;
}

.socials img {
  width: 22px;
  height: 22px;
  opacity: 0.6;
  transition: transform 0.3s ease, opacity 0.3s ease;
  filter: brightness(0) saturate(100%) invert(12%) sepia(46%) saturate(370%) hue-rotate(340deg);
}

.socials a:hover img {
  transform: scale(1.2);
  opacity: 1;
}

/* Animations */
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

@keyframes steamRise {
  0% { transform: translateX(-50%) translateY(0); opacity: 0.6; }
  100% { transform: translateX(-50%) translateY(-40px); opacity: 0; }
}

@keyframes tailWiggle {
  0%, 100% { transform: rotate(0deg); }
  50% { transform: rotate(10deg); }
}

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

@media (max-width: 480px) {
  .logo {
    width: 90px;
  }

  h1 {
    font-size: 1.4rem;
  }

  .subtext {
    font-size: 0.9rem;
  }

  .cat {
    font-size: 1.2rem;
    top: -20px;
    right: -15px;
  }
}
