/* base: фон страницы и шрифты */
body {
  margin: 0;
  font-family: "Trebuchet MS", Arial, sans-serif;
  background: linear-gradient(180deg, #bfe9ff, #e9fbff); /* плавный голубой фон */
  color: #033a4b;
  min-height: 100vh;
}

/* контейнер: ограничение ширины, центрирование */
.container {
  max-width: 760px;
  margin: 30px auto;
  background: rgba(255,255,255,0.85);
  border-radius: 14px;
  padding: 20px;
  box-shadow: 0 8px 30px rgba(25,120,180,0.2); /* мягкая тень */
  border: 1px solid rgba(120,200,230,0.6);
}

/* заголовок */
.site-header h1 {
  margin: 0;
  text-align: center;
  font-size: 28px;
  letter-spacing: 2px;
}

/* секции — карточки */
.section {
  background: rgba(245,255,255,0.6);
  border: 1px solid rgba(160,210,235,0.5);
  border-radius: 10px;
  padding: 12px;
  margin-top: 14px;
}

/* кнопки в стиле "soap" */
.nav .button {
  display: inline-block;
  margin: 6px;
  padding: 8px 14px;
  text-decoration: none;
  border-radius: 10px;
  background: linear-gradient(180deg,#d8f6ff,#b7eaff);
  border: 1px solid rgba(90,160,200,0.6);
  color: #013a50;
  box-shadow: 0 3px 8px rgba(100,170,210,0.15);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.nav .button:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 18px rgba(90,160,200,0.25);
}

/* аватар */
.avatar {
  display: block;
  width: 120px;
  border-radius: 10px;
  margin: 12px auto;
  border: 1px solid rgba(120,180,200,0.4);
}

/* footer */
.footer {
  text-align: center;
  margin-top: 16px;
  color: rgba(1,40,60,0.7);
  font-size: 13px;
}

/* ===== optional bubbles animation ===== */
/* uses CSS variables --d (duration) and --s (size) set inline in HTML */
.bubbles {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  top: 0;
  pointer-events: none; /* чтобы клики шли по сайту */
  overflow: hidden;
}
.bubble {
  position: absolute;
  bottom: -60px;
  width: var(--s, 30px);
  height: var(--s, 30px);
  background: radial-gradient(circle at 35% 35%, rgba(255,255,255,0.95), rgba(255,255,255,0.5));
  border-radius: 50%;
  opacity: 0.9;
  filter: blur(0.2px);
  animation: rise var(--d, 10s) linear infinite;
}
@keyframes rise {
  0% { transform: translateY(0) scale(1) rotate(0deg); opacity: 0.9; }
  50% { opacity: 0.7; }
  100% { transform: translateY(-120vh) scale(1.2) rotate(360deg); opacity: 0; }
}