@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@400;700&display=swap');

* { box-sizing: border-box; margin:0; padding:0; }
body {
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  background: linear-gradient(135deg, #0f2027, #203a43, #2c5364);
  font-family: 'Roboto', sans-serif;
  overflow: hidden;
}

/* Glow effect پشت صفحه */
body::after {
  content: "";
  position: absolute;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(255,255,255,0.05) 0%, transparent 70%);
  top: -50%;
  left: -50%;
  animation: rotateGlow 20s linear infinite;
  pointer-events: none; /* مهم: موس و لمس به کارت برسه */
}

@keyframes rotateGlow {
  0% {transform: rotate(0deg);}
  100% {transform: rotate(360deg);}
}

/* Card */
.card {
  background: rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(12px);
  padding: 40px 35px;
  border-radius: 16px;
  text-align: center;
  width: 340px;
  box-shadow: 0 0 40px rgba(0,0,0,0.5);
  opacity: 0;
  transform: translateY(50px) scale(0.9);
  animation: cardEntry 1s forwards ease-out;
}

@keyframes cardEntry {
  0% {opacity: 0; transform: translateY(50px) scale(0.9);}
  60% {opacity: 1; transform: translateY(-10px) scale(1.02);}
  100% {opacity: 1; transform: translateY(0) scale(1);}
}

.title {
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 30px;
  letter-spacing: 2px;
  color: #fff;
  text-shadow: 0 0 15px rgba(255,255,255,0.2);
}

/* Links */
.links {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.links a {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  text-decoration: none;
  color: white;
  background: rgba(255,255,255,0.08);
  padding: 14px;
  border-radius: 12px;
  font-size: 16px;
  font-weight: 500;
  transition: all 0.3s ease;
  opacity: 0;
  pointer-events: auto; /* لینک‌ها قابل کلیک */
  animation: linkFade 0.6s forwards ease-out;
}

.links a:nth-child(1){animation-delay:0.5s;}
.links a:nth-child(2){animation-delay:0.7s;}
.links a:nth-child(3){animation-delay:0.9s;}

@keyframes linkFade {
  to {opacity: 1;}
}

.links a:hover {
  background: rgba(255,255,255,0.25);
  transform: scale(1.05);
  box-shadow: 0 0 15px rgba(255,255,255,0.2);
}

.links i {
  font-size: 22px;
}

.telegram { color: #2aa7da; }
.instagram { color: #e1306c; }
.channel { color: #00bfff; }

/* Responsive */
@media (max-width: 400px) {
  .card { width: 90%; padding: 30px 20px; }
  .title { font-size: 24px; }
  .links a { font-size: 14px; padding: 12px; }
  .links i { font-size: 18px; }
}