:root {
  --bg-primary: #15386c;
  --bg-secondary: rgba(33, 71, 126, 0.72);
  --bg-card: rgba(21, 45, 89, 0.78);
  --border-soft: rgba(143, 223, 255, 0.3);
  --accent-primary: #8fdfff;
  --accent-secondary: #f4d98f;
  --accent-strong: #86a8ff;
  --text-primary: #f8fbff;
  --text-secondary: #d4e4ff;
  --text-muted: #a9bedf;
  --shadow-lg: 0 28px 90px rgba(4, 20, 53, 0.34);
  --shadow-md: 0 18px 46px rgba(7, 22, 56, 0.28);
}

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

html {
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  overflow-x: hidden;
  font-family: "Poppins", "Segoe UI", sans-serif;
  color: var(--text-primary);
  background:
    radial-gradient(circle at top left, rgba(143, 223, 255, 0.2), transparent 28%),
    radial-gradient(circle at 80% 18%, rgba(134, 168, 255, 0.2), transparent 26%),
    radial-gradient(circle at bottom right, rgba(180, 235, 255, 0.14), transparent 25%),
    linear-gradient(180deg, #3366a8 0%, #1f4e8a 52%, #163968 100%);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  background:
    radial-gradient(circle at 24% 24%, rgba(143, 223, 255, 0.16), transparent 20%),
    radial-gradient(circle at 75% 18%, rgba(134, 168, 255, 0.15), transparent 24%),
    radial-gradient(circle at 50% 100%, rgba(201, 240, 255, 0.12), transparent 30%);
  animation: pulseGlow 9s ease-in-out infinite;
  pointer-events: none;
}

#particles {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
}

.container {
  position: relative;
  z-index: 1;
  width: min(100%, 1100px);
  margin: 0 auto;
  padding: 32px 20px 48px;
}

.hero,
.cta-section,
.social-section,
.footer {
  animation: fadeUp 0.8s ease both;
}

.hero {
  text-align: center;
  padding: 24px 0 16px;
}

.avatar-container {
  position: relative;
  display: inline-grid;
  place-items: center;
  margin-bottom: 28px;
}

.avatar {
  position: relative;
  width: 158px;
  height: 158px;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 50%;
  cursor: pointer;
  overflow: hidden;
  background:
    radial-gradient(circle at 30% 30%, #f7fbff 0%, #d2e7ff 36%, #4c69a8 72%, #151f41 100%);
  box-shadow:
    0 0 0 10px rgba(121, 232, 255, 0.12),
    0 0 0 20px rgba(111, 140, 255, 0.08),
    var(--shadow-lg);
  transition: transform 0.3s ease, box-shadow 0.3s ease, filter 0.3s ease;
  animation: floatAvatar 3.8s ease-in-out infinite;
}

.avatar:hover {
  transform: translateY(-6px) scale(1.01);
  filter: saturate(1.05);
}

.avatar-ring {
  position: absolute;
  inset: 7px;
  border: 2px solid rgba(255, 255, 255, 0.24);
  border-radius: inherit;
  pointer-events: none;
}

.avatar-image {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 44%;
  border-radius: 50%;
}

.floating-emoji {
  position: absolute;
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 50%;
  background: rgba(27, 27, 27, 0.85);
  box-shadow: var(--shadow-md);
  backdrop-filter: blur(12px);
  font-size: 22px;
}

.emoji-1 {
  top: -14px;
  left: -18px;
}

.emoji-2 {
  top: 12px;
  right: -34px;
}

.emoji-3 {
  bottom: -6px;
  left: -26px;
}

.emoji-4 {
  right: -10px;
  bottom: -24px;
}

.eyebrow {
  margin-bottom: 12px;
  color: var(--accent-secondary);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.title {
  font-size: clamp(2.5rem, 6vw, 4.8rem);
  line-height: 0.95;
  margin-bottom: 18px;
}

.subtitle {
  width: min(100%, 700px);
  margin: 0 auto;
  color: var(--text-secondary);
  font-size: clamp(1rem, 2vw, 1.18rem);
  line-height: 1.75;
}

.cta-section {
  margin-top: 30px;
}

.links-section {
  display: grid;
  gap: 18px;
}

.link-card {
  position: relative;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 18px;
  min-height: 108px;
  padding: 24px;
  border: 1px solid rgba(174, 214, 255, 0.08);
  border-radius: 28px;
  color: inherit;
  text-decoration: none;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0)),
    var(--bg-card);
  box-shadow: var(--shadow-md);
  backdrop-filter: blur(14px);
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
  overflow: hidden;
}

.link-card::before {
  content: "";
  position: absolute;
  top: -20%;
  left: -28%;
  width: 32%;
  height: 140%;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(255, 255, 255, 0.04) 20%,
    rgba(143, 223, 255, 0.42) 50%,
    rgba(255, 255, 255, 0.08) 80%,
    transparent 100%
  );
  transform: translateX(-180%) rotate(14deg);
  transition: transform 0.8s ease;
  pointer-events: none;
}

.link-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at top right, rgba(143, 223, 255, 0.16), transparent 28%),
    linear-gradient(180deg, rgba(143, 223, 255, 0.03), transparent 48%);
  opacity: 0;
  transition: opacity 0.35s ease;
  pointer-events: none;
}

.link-card:hover {
  transform: translateY(-8px) scale(1.01);
  border-color: var(--border-soft);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.01)),
    var(--bg-card);
  box-shadow:
    0 30px 65px rgba(0, 0, 0, 0.4),
    0 0 0 1px rgba(121, 232, 255, 0.12),
    0 0 28px rgba(121, 232, 255, 0.14),
    0 0 42px rgba(143, 223, 255, 0.12);
}

.link-card:hover::before {
  transform: translateX(430%) rotate(14deg);
}

.link-card:hover::after {
  opacity: 1;
}

.link-card.primary {
  border-color: rgba(121, 232, 255, 0.2);
  background:
    linear-gradient(90deg, rgba(121, 232, 255, 0.09), transparent 32%),
    var(--bg-card);
}

.link-icon {
  display: grid;
  place-items: center;
  width: 72px;
  height: 72px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.05);
  box-shadow: inset 0 0 0 1px rgba(174, 214, 255, 0.08);
}

.link-icon svg {
  width: 36px;
  height: 36px;
}

.link-icon.whatsapp {
  color: #25d366;
}

.link-icon.telegram {
  color: #29a9eb;
}

.link-title {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  margin-bottom: 6px;
  font-size: clamp(1.2rem, 2.2vw, 1.55rem);
  font-weight: 700;
}

.link-badge {
  display: inline-flex;
  align-items: center;
  padding: 5px 12px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--accent-secondary), #ffd36a);
  color: #2b2330;
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.link-description {
  color: var(--text-secondary);
  line-height: 1.65;
}

.link-arrow {
  color: var(--accent-secondary);
  font-size: 2rem;
  font-weight: 700;
  transition: transform 0.25s ease, color 0.25s ease;
}

.link-card:hover .link-arrow {
  color: var(--accent-primary);
  transform: translateX(8px);
}

.social-section {
  margin-top: 34px;
  padding: 28px;
  border: 1px solid rgba(174, 214, 255, 0.08);
  border-radius: 28px;
  background: var(--bg-secondary);
  box-shadow: var(--shadow-md);
}

.social-title {
  margin-bottom: 18px;
  text-align: center;
  font-size: clamp(1.1rem, 2vw, 1.5rem);
}

.social-links {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: center;
}

.social-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 72px;
  height: 72px;
  border-radius: 50%;
  color: #fff;
  font-weight: 700;
  text-decoration: none;
  background:
    radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.12), transparent 35%),
    rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(174, 214, 255, 0.1);
  box-shadow: var(--shadow-md);
  transition: transform 0.25s ease, filter 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
  overflow: hidden;
  position: relative;
}

.social-button::before {
  content: "";
  position: absolute;
  top: -30%;
  left: -45%;
  width: 40%;
  height: 160%;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(255, 255, 255, 0.06) 25%,
    rgba(143, 223, 255, 0.52) 50%,
    rgba(255, 255, 255, 0.06) 75%,
    transparent 100%
  );
  transform: translateX(-180%) rotate(18deg);
  transition: transform 0.75s ease;
  pointer-events: none;
}

.social-button::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at center, rgba(143, 223, 255, 0.12), transparent 58%);
  opacity: 0;
  transition: opacity 0.25s ease;
  pointer-events: none;
}

.social-button:hover {
  transform: translateY(-6px) scale(1.08);
  filter: brightness(1.08);
  border-color: rgba(121, 232, 255, 0.28);
  box-shadow:
    0 20px 40px rgba(0, 0, 0, 0.35),
    0 0 24px rgba(121, 232, 255, 0.16),
    0 0 36px rgba(143, 223, 255, 0.12);
}

.social-button:hover::before {
  transform: translateX(380%) rotate(18deg);
}

.social-button:hover::after {
  opacity: 1;
}

.social-button svg {
  width: 32px;
  height: 32px;
}

.social-button.instagram {
  color: #ffffff;
}

.social-button.whatsapp {
  color: #25d366;
}

.social-button.telegram {
  color: #30a9ea;
}

.footer {
  margin-top: 34px;
  text-align: center;
  color: var(--text-muted);
}

.footer-logo-image {
  width: 82px;
  height: 82px;
  margin: 0 auto 18px;
  display: block;
  object-fit: cover;
  object-position: center 44%;
  border-radius: 50%;
  box-shadow: var(--shadow-md);
}

.footer-text {
  margin-bottom: 8px;
  line-height: 1.7;
}

.footer-copyright {
  margin-top: 10px;
  font-size: 0.92rem;
}

.secret-message {
  position: fixed;
  top: 50%;
  left: 50%;
  z-index: 10;
  padding: 20px 28px;
  border: 1px solid rgba(255, 194, 32, 0.25);
  border-radius: 22px;
  background: rgba(20, 20, 20, 0.94);
  box-shadow: var(--shadow-lg);
  transform: translate(-50%, -50%);
  color: var(--text-primary);
  font-size: 1.05rem;
  font-weight: 700;
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(24px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes pulseGlow {
  0%,
  100% {
    opacity: 0.8;
  }

  50% {
    opacity: 1;
  }
}

@keyframes floatAvatar {
  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-8px);
  }
}

@media (max-width: 720px) {
  .container {
    padding-inline: 16px;
  }

  .link-card {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .link-icon,
  .link-arrow {
    justify-self: center;
  }

  .link-title {
    justify-content: center;
  }

  .social-section {
    padding: 24px 18px;
  }

  .social-button {
    width: 72px;
  }
}
