body {
  margin: 0;
  padding: 0;
  font-family: "Comic Sans MS", cursive, sans-serif;
  background: linear-gradient(160deg, #f9fff9, #d4ffd4);
  color: #222;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  min-height: 100vh;
  overflow-x: hidden;
}

header {
  padding: 2rem 1rem;
}

.subtitle {
  color: #4b9;
  font-size: 1.2rem;
  margin-top: -0.5rem;
}

/* === АНИМАЦИЯ ЗМЕИ === */
.snake {
  position: relative;
  width: 200px;
  height: 100px;
  margin: 2rem auto;
}

.body {
  width: 100%;
  height: 40px;
  background: linear-gradient(90deg, #44bb66, #228844);
  border-radius: 20px;
  position: relative;
  animation: wiggle 2s infinite ease-in-out;
}

.eye {
  width: 10px;
  height: 10px;
  background: white;
  border-radius: 50%;
  position: absolute;
  top: 10px;
  animation: blink 4s infinite;
}

.eye.left { left: 20px; }
.eye.right { left: 40px; }

.tongue {
  width: 4px;
  height: 20px;
  background: red;
  position: absolute;
  right: -6px;
  top: 10px;
  border-radius: 2px;
  animation: tongue 1.5s infinite;
}

@keyframes wiggle {
  0%, 100% { transform: rotate(0deg); }
  25% { transform: rotate(3deg); }
  50% { transform: rotate(-3deg); }
  75% { transform: rotate(2deg); }
}

@keyframes blink {
  0%, 90%, 100% { transform: scaleY(1); }
  95% { transform: scaleY(0.1); }
}

@keyframes tongue {
  0%, 100% { height: 20px; opacity: 1; }
  50% { height: 30px; opacity: 0.5; }
}

/* === Контент === */
.card {
  background: white;
  border-radius: 1rem;
  padding: 2rem;
  box-shadow: 0 0 20px rgba(0,0,0,0.1);
  max-width: 400px;
  margin: 1rem;
}

.quote {
  font-style: italic;
  color: #555;
}

.socials {
  margin-top: 1.5rem;
}

.socials a {
  display: inline-block;
  margin: 0.5rem;
  text-decoration: none;
  color: #227755;
  font-weight: bold;
  transition: transform 0.2s;
}

.socials a:hover {
  transform: scale(1.1);
}

footer {
  margin-top: auto;
  padding: 1rem;
  font-size: 0.9rem;
  color: #666;
}

.heart {
  color: red;
}
