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

html, body {
  width: 100%;
  min-height: 100%;
  background: #0a0a0a;
  color: #fff;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  overflow-x: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 20px;
}

/* Stars */
.stars {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
}

.star {
  position: absolute;
  width: 2px;
  height: 2px;
  background: #fff;
  border-radius: 50%;
  opacity: 0;
  animation: twinkle 3s ease-in-out infinite;
}

@keyframes twinkle {
  0%, 100% { opacity: 0; transform: scale(0.5); }
  50% { opacity: 0.8; transform: scale(1); }
}

/* Ambient glow */
.bg {
  position: fixed;
  width: 250%;
  height: 250%;
  background:
    radial-gradient(circle at 20% 30%, rgba(99,102,241,0.15), transparent 50%),
    radial-gradient(circle at 80% 70%, rgba(168,85,247,0.12), transparent 50%),
    radial-gradient(circle at 50% 50%, rgba(59,130,246,0.08), transparent 60%);
  filter: blur(100px);
  animation: move 30s ease-in-out infinite alternate, breathe 10s ease-in-out infinite alternate;
  z-index: 0;
}

@keyframes move {
  0%   { transform: translate(-15%, -10%) scale(1); }
  50%  { transform: translate(10%, 8%) scale(1.15); }
  100% { transform: translate(-8%, 12%) scale(1); }
}

@keyframes breathe {
  0% { filter: blur(80px); opacity: 0.85; }
  50% { filter: blur(120px); opacity: 1; }
  100% { filter: blur(80px); opacity: 0.85; }
}

.container {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 40px 35px;
  border-radius: 32px;
  background: rgba(255,255,255,0.03);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255,255,255,0.08);
  box-shadow: 
    0 25px 50px -12px rgba(0,0,0,0.5),
    inset 0 1px 0 rgba(255,255,255,0.05);
  max-width: 900px;
  width: 100%;
}

/* Header */
.header {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  margin-bottom: 30px;
}

.avatar {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  border: 3px solid rgba(255,255,255,0.15);
  object-fit: cover;
  animation: avatarIn 1.2s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.4s ease;
  box-shadow: 0 0 40px rgba(99,102,241,0.3);
  flex-shrink: 0;
}

@keyframes avatarIn {
  0% { opacity: 0; transform: scale(0.5); }
  100% { opacity: 1; transform: scale(1); }
}

.avatar:hover {
  transform: scale(1.1) rotate(5deg);
  box-shadow: 0 0 60px rgba(168,85,247,0.5);
}

.header-text {
  text-align: left;
}

.name {
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 4px;
  background: linear-gradient(135deg, #fff 0%, rgba(255,255,255,0.7) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: fadeUp 0.8s ease 0.3s forwards;
  opacity: 0;
}

.desc {
  font-size: 1rem;
  color: rgba(255,255,255,0.6);
  line-height: 1.5;
  animation: fadeUp 0.8s ease 0.5s forwards;
  opacity: 0;
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Buttons */
.buttons {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 30px;
}

.link {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  text-decoration: none;
  color: #fff;
  padding: 14px 28px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 1rem;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeUp 0.6s ease forwards;
  border: 1px solid rgba(255,255,255,0.1);
  background: rgba(255,255,255,0.04);
  position: relative;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.link::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.1), transparent);
  transition: left 0.5s ease;
}

.link:hover::before {
  left: 100%;
}

.link svg {
  width: 22px;
  height: 22px;
  transition: transform 0.3s ease;
}

.link:hover svg {
  transform: scale(1.2);
}

/* Telegram */
.link.tg { animation-delay: 0.7s; border-color: rgba(0,170,255,0.2); }
.link.tg svg { fill: #00aaff; }
.link.tg:hover {
  transform: translateY(-4px) scale(1.02);
  border-color: #00aaff;
  box-shadow: 0 10px 40px -10px rgba(0,170,255,0.5), 0 0 20px rgba(0,170,255,0.3);
  background: rgba(0,170,255,0.1);
}

/* YouTube */
.link.yt { animation-delay: 0.8s; border-color: rgba(255,50,50,0.2); }
.link.yt svg { fill: #ff3333; }
.link.yt:hover {
  transform: translateY(-4px) scale(1.02);
  border-color: #ff3333;
  box-shadow: 0 10px 40px -10px rgba(255,50,50,0.5), 0 0 20px rgba(255,50,50,0.3);
  background: rgba(255,50,50,0.1);
}

/* Instagram */
.link.ig { animation-delay: 0.9s; border-color: rgba(225,48,108,0.2); }
.link.ig svg { fill: url(#ig-gradient); }
.link.ig:hover {
  transform: translateY(-4px) scale(1.02);
  border-color: #e1306c;
  box-shadow: 0 10px 40px -10px rgba(225,48,108,0.5), 0 0 20px rgba(225,48,108,0.3);
  background: rgba(225,48,108,0.1);
}

/* Video Section */
.video-section {
  margin-top: 10px;
}

.video-title {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 15px;
  color: rgba(255,255,255,0.85);
}

.video-wrapper {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 30px -8px rgba(0,0,0,0.5);
}

.video-wrapper iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

/* Responsive */
@media (max-width: 600px) {
  .container {
    padding: 30px 20px;
  }
  
  .header {
    flex-direction: column;
    gap: 16px;
    margin-bottom: 25px;
  }
  
  .header-text {
    text-align: center;
  }
  
  .avatar {
    width: 90px;
    height: 90px;
  }
  
  .name {
    font-size: 1.6rem;
  }
  
  .desc {
    font-size: 0.95rem;
  }
  
  .buttons {
    flex-direction: column;
    gap: 12px;
  }
  
  .link {
    width: 100%;
    max-width: 280px;
    padding: 12px 24px;
    font-size: 0.95rem;
  }
  
  .link svg {
    width: 20px;
    height: 20px;
  }
  
  .video-title {
    font-size: 1rem;
  }
}
