/* =======================
   БАЗОВЫЕ СТИЛИ
======================= */
body {
  font-family: 'Museo Sans Cyrillic', sans-serif;
  background-color: #fffdf9;
  margin: 0;
  padding: 0;
  color: #333;
  font-size: 20px;
  line-height: 1.5;
}

.container {
  max-width: 960px;
  margin: 0 auto;
  padding: 0 20px 40px;
}

/* =======================
   ЗАГОЛОВКИ
======================= */
h1, h2.centered-subtitle {
  text-align: center;
  color: #222;
}

h1,
.centered-title {
  font-family: 'Pacifico', cursive;
  font-size: 54px;
  font-style: italic;
  font-weight: bold;
  line-height: 1.8em;
  margin-bottom: 0.2em;
  letter-spacing: 0;
  color: #222;
}

h2 {
  font-size: 34px;
  margin: 0 0 1em;
}

h3 {
  color: #222;
  margin: 0 0 1em;
}

.centered-title {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  text-align: center;
}

.centered-title .emoji {
  display: inline-block;
  font-style: normal;
  font-size: 1em;
  user-select: none;
}

.centered-title .tilted-text {
  display: inline-block;
  font-style: italic;
  transform: skew(-2deg);
}

/* =======================
   ТЕКСТ И СПИСКИ
======================= */
p, li {
  font-size: 20px;
  color: #222;
}

ul {
  padding-left: 20px;
  margin: 0 0 1em;
}

/* =======================
   ИЗОБРАЖЕНИЯ
======================= */
.puppy-photo {
  width: 100%;
  max-height: 500px;
  object-fit: cover;
  border-radius: 10px;
  margin: 20px 0;
}

/* =======================
   НОВАЯ КНОПКА Telegram
======================= */
.telegram-contact-button {
  text-align: center;
  margin-top: 30px;
}

.telegram-contact-button a {
  display: inline-block;
  background-color: #0088cc;
  color: white;
  padding: 15px 30px;
  font-size: 20px;
  font-weight: bold;
  border-radius: 50px;
  text-decoration: none;
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
  transition: all 0.3s ease;
  animation: pulse 1.8s infinite;
}

.telegram-contact-button a:hover {
  background-color: #0077b3;
  transform: scale(1.05);
}

@keyframes pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.05); }
}

/* =======================
   МОДАЛЬНОЕ ОКНО
======================= */
.modal {
  display: none;
  position: fixed;
  z-index: 1000;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.5);
  overflow: auto;
}

.modal-content {
  background-color: #fff;
  margin: 10% auto;
  padding: 20px;
  border-radius: 10px;
  max-width: 600px;
  width: 90%;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  position: relative;
}

.close {
  position: absolute;
  top: 10px;
  right: 15px;
  font-size: 24px;
  font-weight: bold;
  color: #aaa;
  cursor: pointer;
  transition: color 0.3s ease;
}

.close:hover {
  color: #000;
}

/* =======================
   ПРОКРУТКА НАВЕРХ
======================= */
#scrollTopBtn {
  display: none;
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 999;
  padding: 12px 16px;
  font-size: 18px;
  background-color: #ff7b00;
  color: white;
  border: none;
  border-radius: 50%;
  box-shadow: 0 2px 6px rgba(0,0,0,0.2);
  cursor: pointer;
  transition: background-color 0.3s ease;
}

#scrollTopBtn:hover {
  background-color: #e76f00;
}

/* =======================
   ДОПОЛНИТЕЛЬНЫЕ БЛОКИ
======================= */
.warning {
  background-color: #ffeaa7;
  padding: 15px;
  border-left: 4px solid #e17055;
  margin-top: 20px;
}

.note {
  font-size: 14px;
  color: #777;
  margin-top: 10px;
}

.countdown,
#countdown {
  font-size: 18px;
  font-weight: bold;
  color: #d63031;
  text-align: center;
  margin-top: 20px;
}

.section {
  margin-bottom: 30px;
}

/* =======================
   ФУТЕР
======================= */
footer {
  background-color: #f1f1f1;
  padding: 20px 0;
  text-align: center;
  font-size: 14px;
  color: #555;
  margin-top: 40px;
}

footer a {
  color: #ff7b00;
  text-decoration: none;
  transition: color 0.3s ease;
}

footer a:hover {
  color: #e76f00;
  text-decoration: underline;
}

/* =======================
   ЛОГОТИП
======================= */
.site-logo {
  margin: 0;
  padding: 0;
  text-align: center;
}

.site-logo img {
  display: inline-block;
  margin: 0;
  padding: 0;
}

h1 {
  margin-top: 0 !important;
}

/* =======================
   АДАПТИВНОСТЬ
======================= */
@media (max-width: 768px) {
  .container {
    padding: 0 15px 40px;
  }

  h1,
  .centered-title {
    font-size: 42px;
  }

  h2 {
    font-size: 28px;
  }

  p, li {
    font-size: 18px;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 20px 10px;
  }

  h1,
  .centered-title {
    font-size: 36px;
  }

  h2 {
    font-size: 26px;
  }

  p, li {
    font-size: 16px;
  }
}
