body {
  margin: 0;
  font-family: 'Poppins', sans-serif;
  background: linear-gradient(135deg, #e0f7ff, #ffffff, #f0f9ff, #ffffff);
  background-size: 400% 400%;
  animation: gradientShift 15s ease infinite;
  display: flex;
  justify-content: center;
  flex-direction: column;
  align-items: center;
  text-align: center;
  min-height: 100vh;
  color: #333;
  margin-left: 30px;
  margin-right: 30px;
  user-select: none;
}


* {
  transition: all 0.4s ease-in-out;
}

@keyframes gradientShift {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

.bubble {
  position: absolute;
  border-radius: 50%;
  background: rgba(0, 150, 255, 0.1);
  animation: float 15s infinite ease-in-out;
  opacity: 1;
  transform: scale(1);
}

.bubble:nth-child(1) {
  width: clamp(40px, 10vw, 120px);
  height: clamp(40px, 10vw, 120px);
  top: 5%;
  left: 15%;
}

.bubble:nth-child(2) {
  width: clamp(60px, 20vw, 200px);
  height: clamp(60px, 20vw, 200px);
  top: 60%;
  left: 5%;
}

.bubble:nth-child(3) {
  width: clamp(40px, 15vw, 150px);
  height: clamp(40px, 15vw, 150px);
  top: 25%;
  left: 75%;
}

.bubble:nth-child(4) {
  width: 80px;
  height: 80px;
  top: 70%;
  left: 85%;
}

.bubble:nth-child(5) {
  width: 100px;
  height: 100px;
  top: 50%;
  left: 50%;
}

@keyframes float {
  0% {
    transform: translateY(0) rotate(0deg);
  }
  50% {
    transform: translateY(-30px) rotate(15deg);
  }
  100% {
    transform: translateY(0) rotate(0deg);
  }
}

.card {
  position: relative;
  z-index: 10;
  margin: 20px;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(15px);
  border-radius: clamp(15px, 4vw, 25px);
  padding: clamp(30px, 6vw, 60px) clamp(20px, 5vw, 40px);
  max-width: 500px;
  width: 90%;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  animation: fadeIn 1.5s ease forwards;
}

@keyframes fadeIn {
  0% {
    opacity: 0;
    transform: translateY(20px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

.card h1 {
  font-size: clamp(1.5rem, 6vw, 3rem);
  margin-bottom: 15px;
  font-weight: 700;
  color: #111;
}

.card p {
  font-size: clamp(0.9rem, 3vw, 1.1rem);
  margin-bottom: 30px;
  color: #333;
  line-height: 1.6;
}

.button-container {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  flex-direction: column;
  padding-bottom: clamp(20px, 5vw, 50px);
  gap: 15px;
}

.telegram-btn {
  padding: clamp(10px, 3vw, 15px) clamp(20px, 5vw, 35px);
  font-size: clamp(0.9rem, 3vw, 1.1rem);
  color: #fff;
  background: linear-gradient(135deg, #00bfff, #0077aa);
  border-radius: 50px;
  text-decoration: none;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.15);
}

.telegram-btn:hover {
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.lang-selector {
  position: relative;
  display: inline-block;
  margin-bottom: 20px;
}

.lang-button {
  background: #f0f0f0;
  border-radius: 50px;
  padding: 8px 15px;
  font-size: 0.9rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 5px;
  transition: all 0.3s ease;
}

.lang-button img {
  border-radius: 50%;
}

.lang-button .arrow {
  display: inline-block;
  transition: transform 0.3s ease;
}

.lang-menu {
  position: absolute;
  top: 110%;
  left: 0;
  background: #fff;
  border: 1px solid #ccc;
  border-radius: 8px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
  opacity: 0;
  transform: translateY(-10px);
  pointer-events: none;
  transition: all 0.3s ease;
  z-index: 100;
}

.lang-menu.show {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.lang-menu div {
  padding: 8px 12px;
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  transition: background 0.2s ease;
}

.lang-menu div:hover {
  background-color: #f0f0f0;
}

footer {
  position: static;
  margin-bottom: 15px;
  width: 100%;
  text-align: center;
  font-size: clamp(0.7rem, 2vw, 0.9rem);
  color: #555;
}

footer strong {
  color: #111;
}

@media (max-width: 480px) {
  .bubble:nth-child(4),
  .bubble:nth-child(5) {
    opacity: 0;
    transform: scale(0.5);
  }
}

@media (max-width: 579px) {
  .bubble {
    display: none;
  }
}