:root {
  --bg: #05000d;
  --pink: #ff2bd6;
  --hot: #ff1f7a;
  --blue: #2f6bff;
  --cyan: #19b8ff;
  --text: #f4eaff;
  --muted: #a99bc4;
  --card: rgba(18, 8, 38, 0.65);
}

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

html, body { min-height: 100%; }

body {
  font-family: "Vazirmatn", Tahoma, sans-serif;
  background: var(--bg);
  color: var(--text);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

#bg {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

.glow {
  position: fixed;
  width: 55vmax;
  height: 55vmax;
  border-radius: 50%;
  filter: blur(120px);
  opacity: 0.28;
  z-index: 0;
  pointer-events: none;
  animation: drift 14s ease-in-out infinite alternate;
}
.glow-pink { background: var(--pink); top: -25vmax; left: -20vmax; }
.glow-blue { background: var(--blue); bottom: -25vmax; right: -20vmax; animation-delay: -7s; }

@keyframes drift {
  from { transform: translate(0, 0) scale(1); }
  to   { transform: translate(4vmax, 3vmax) scale(1.12); }
}

.wrap {
  position: relative;
  z-index: 1;
  max-width: 520px;
  margin: 0 auto;
  padding: 40px 18px 28px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 26px;
}

/* ---------- Hero ---------- */
.hero { text-align: center; width: 100%; }

.logo-ring {
  width: 190px;
  height: 190px;
  margin: 0 auto 14px;
  position: relative;
  animation: float 5s ease-in-out infinite;
}
.logo-ring::before {
  content: "";
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  background: conic-gradient(from 0deg, var(--pink), var(--blue), var(--cyan), var(--pink));
  filter: blur(22px);
  opacity: 0.55;
  animation: spin 9s linear infinite;
}
.logo-ring img,
.logo-ring svg {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  display: block;
  background: #000;
}

@keyframes spin  { to { transform: rotate(360deg); } }
@keyframes float { 50% { transform: translateY(-8px); } }

.name {
  font-size: 2.4rem;
  font-weight: 800;
  letter-spacing: 2px;
  background: linear-gradient(90deg, var(--pink), var(--blue));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-shadow: 0 0 30px rgba(255, 43, 214, 0.35);
}

.tagline {
  margin-top: 6px;
  color: var(--muted);
  font-size: 0.98rem;
  font-weight: 300;
  min-height: 1.6em;
}
.tagline::after {
  content: "|";
  margin-inline-start: 2px;
  color: var(--pink);
  animation: blink 1s steps(1) infinite;
}
@keyframes blink { 50% { opacity: 0; } }

.live-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 12px;
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 600;
  color: #fff;
  background: rgba(255, 31, 122, 0.18);
  border: 1px solid var(--hot);
  box-shadow: 0 0 18px rgba(255, 31, 122, 0.45);
}
.live-badge .dot {
  width: 9px; height: 9px;
  border-radius: 50%;
  background: var(--hot);
  animation: pulse 1.2s ease-in-out infinite;
}
@keyframes pulse {
  0%   { box-shadow: 0 0 0 0 rgba(255, 31, 122, 0.8); }
  100% { box-shadow: 0 0 0 10px rgba(255, 31, 122, 0); }
}

/* ---------- Links ---------- */
.links {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.link {
  --c: var(--pink);
  position: relative;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 16px;
  border-radius: 16px;
  text-decoration: none;
  color: var(--text);
  background: var(--card);
  border: 1px solid color-mix(in srgb, var(--c) 55%, transparent);
  backdrop-filter: blur(8px);
  box-shadow: 0 0 0 transparent, inset 0 0 18px color-mix(in srgb, var(--c) 10%, transparent);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
  overflow: hidden;
  opacity: 0;
  transform: translateY(18px);
  animation: rise 0.6s ease forwards;
}
.link.blue { --c: var(--blue); }

.link::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, transparent 30%, color-mix(in srgb, var(--c) 28%, transparent) 50%, transparent 70%);
  transform: translateX(120%);
  transition: transform 0.7s ease;
}
.link:hover, .link:focus-visible {
  transform: translateY(-3px) scale(1.015);
  border-color: var(--c);
  box-shadow: 0 0 26px color-mix(in srgb, var(--c) 60%, transparent),
              inset 0 0 22px color-mix(in srgb, var(--c) 16%, transparent);
  outline: none;
}
.link:hover::after, .link:focus-visible::after { transform: translateX(-120%); }

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

.link .ico {
  flex: 0 0 46px;
  width: 46px; height: 46px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: color-mix(in srgb, var(--c) 18%, #000);
  border: 1px solid color-mix(in srgb, var(--c) 70%, transparent);
  box-shadow: 0 0 14px color-mix(in srgb, var(--c) 45%, transparent);
}
.link .ico svg { width: 26px; height: 26px; fill: none; stroke: var(--c); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.link .ico svg .f { fill: var(--c); stroke: none; }

.link .txt { display: flex; flex-direction: column; flex: 1; min-width: 0; }
.link .title { font-weight: 600; font-size: 1.05rem; }
.link .sub { font-size: 0.82rem; color: var(--muted); direction: ltr; text-align: right; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

.link .arrow { width: 20px; height: 20px; stroke: var(--muted); fill: none; stroke-width: 2; transition: transform 0.25s, stroke 0.25s; }
.link:hover .arrow { transform: translateX(-5px); stroke: var(--c); }

/* ---------- Schedule ---------- */
.schedule {
  width: 100%;
  padding: 16px 18px;
  border-radius: 16px;
  background: var(--card);
  border: 1px solid rgba(47, 107, 255, 0.45);
  backdrop-filter: blur(8px);
}
.schedule h2 {
  font-size: 1rem;
  margin-bottom: 10px;
  background: linear-gradient(90deg, var(--pink), var(--blue));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.schedule ul { list-style: none; display: flex; flex-direction: column; gap: 8px; }
.schedule li {
  display: flex;
  justify-content: space-between;
  font-size: 0.92rem;
  padding-bottom: 8px;
  border-bottom: 1px dashed rgba(169, 155, 196, 0.25);
}
.schedule li:last-child { border-bottom: 0; padding-bottom: 0; }
.schedule li span:last-child { color: var(--cyan); direction: ltr; }

/* ---------- Share & footer ---------- */
.share {
  font-family: inherit;
  cursor: pointer;
  color: var(--text);
  background: transparent;
  border: 1px solid var(--pink);
  padding: 10px 22px;
  border-radius: 999px;
  font-size: 0.9rem;
  transition: 0.25s;
}
.share:hover { background: var(--pink); box-shadow: 0 0 24px var(--pink); }

.foot { color: var(--muted); font-size: 0.78rem; opacity: 0.8; }

.toast {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translate(-50%, 30px);
  background: #12062a;
  border: 1px solid var(--blue);
  box-shadow: 0 0 20px rgba(47, 107, 255, 0.55);
  padding: 10px 20px;
  border-radius: 999px;
  font-size: 0.88rem;
  opacity: 0;
  pointer-events: none;
  transition: 0.3s;
  z-index: 5;
}
.toast.show { opacity: 1; transform: translate(-50%, 0); }

@media (max-width: 380px) {
  .logo-ring { width: 160px; height: 160px; }
  .name { font-size: 2rem; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .link { opacity: 1; transform: none; }
}
