<style>
  * {
    box-sizing: border-box;
  }

  html {
    scroll-behavior: smooth;
  }

  body {
    margin: 0;
    min-height: 100vh;
    font-family: Tahoma, Arial, sans-serif;
    color: #f8fafc;
    line-height: 1.8;
    background:
      radial-gradient(circle at 12% 18%, rgba(37, 99, 235, 0.42), transparent 28%),
      radial-gradient(circle at 88% 16%, rgba(236, 72, 153, 0.34), transparent 30%),
      radial-gradient(circle at 50% 92%, rgba(16, 185, 129, 0.26), transparent 32%),
      linear-gradient(135deg, #020617 0%, #0f172a 45%, #111827 100%);
    overflow-x: hidden;
  }

  body::before {
    content: "";
    position: fixed;
    inset: 0;
    pointer-events: none;
    background-image:
      linear-gradient(rgba(255,255,255,0.035) 1px, transparent 1px),
      linear-gradient(90deg, rgba(255,255,255,0.035) 1px, transparent 1px);
    background-size: 44px 44px;
    -webkit-mask-image: linear-gradient(to bottom, black, transparent 78%);
    mask-image: linear-gradient(to bottom, black, transparent 78%);
    z-index: -1;
  }

  a {
    color: inherit;
  }

  .navbar {
    position: sticky;
    top: 0;
    z-index: 50;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    padding: 16px min(6vw, 70px);
    background: rgba(2, 6, 23, 0.76);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    border-bottom: 1px solid rgba(148, 163, 184, 0.18);
  }

  .brand {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 900;
    font-size: 20px;
    letter-spacing: 0.3px;
  }

  .brand-logo {
    width: 40px;
    height: 40px;
    display: grid;
    place-items: center;
    border-radius: 15px;
    background: linear-gradient(135deg, #2563eb, #ec4899, #10b981);
    box-shadow: 0 0 26px rgba(236, 72, 153, 0.38);
  }

  .nav-links {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
  }

  .nav-links a {
    padding: 9px 15px;
    border-radius: 999px;
    color: #cbd5e1;
    text-decoration: none;
    border: 1px solid transparent;
    transition: 0.22s ease;
  }

  .nav-links a:hover,
  .nav-links a.active {
    color: white;
    background: linear-gradient(135deg, #2563eb, #ec4899);
    box-shadow: 0 10px 28px rgba(37, 99, 235, 0.28);
  }

  .hero {
    width: min(1180px, 92%);
    margin: 46px auto 30px;
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 24px;
    align-items: stretch;
  }

  .hero-card,
  .panel,
  .card {
    position: relative;
    overflow: hidden;
    background: rgba(15, 23, 42, 0.72);
    border: 1px solid rgba(148, 163, 184, 0.2);
    border-radius: 28px;
    box-shadow: 0 24px 70px rgba(0, 0, 0, 0.34);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
  }

  .hero-card::after,
  .panel::after,
  .card::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: linear-gradient(135deg, rgba(255,255,255,0.09), transparent 35%);
  }

  .hero-card {
    padding: clamp(24px, 4vw, 42px);
  }

  .panel,
  .card {
    padding: 24px;
  }

  .badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 7px 13px;
    border-radius: 999px;
    color: #fecaca;
    background: rgba(239, 68, 68, 0.13);
    border: 1px solid rgba(239, 68, 68, 0.28);
    font-size: 14px;
    margin-bottom: 16px;
  }

  .live-dot {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: #ef4444;
    box-shadow: 0 0 18px #ef4444;
  }

  h1 {
    margin: 0 0 12px;
    font-size: clamp(34px, 5vw, 64px);
    line-height: 1.22;
    background: linear-gradient(135deg, #ffffff, #93c5fd, #f9a8d4);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
  }

  h2,
  h3 {
    margin-top: 0;
  }

  .hero p,
  .card p,
  .section-title p,
  .panel p {
    color: #cbd5e1;
  }

  .hero p {
    font-size: 18px;
    margin: 0 0 24px;
  }

  .actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
  }

  .button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 20px;
    border-radius: 999px;
    color: white;
    text-decoration: none;
    border: 0;
    cursor: pointer;
    font-family: inherit;
    font-size: 15px;
    background: linear-gradient(135deg, #2563eb, #ec4899);
    box-shadow: 0 12px 30px rgba(37, 99, 235, 0.28);
    transition: 0.22s ease;
  }

  .button:hover {
    transform: translateY(-2px);
    box-shadow: 0 18px 38px rgba(236, 72, 153, 0.25);
  }

  .button.secondary {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(148, 163, 184, 0.24);
    box-shadow: none;
  }

  .stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
    margin-top: 20px;
  }

  .stat {
    padding: 18px;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.055);
    border: 1px solid rgba(148, 163, 184, 0.14);
  }

  .stat strong {
    display: block;
    font-size: 26px;
    color: #ffffff;
  }

  .stat span {
    color: #94a3b8;
    font-size: 14px;
  }

  main {
    width: min(1180px, 92%);
    margin: 0 auto 50px;
  }

  .page {
    display: none;
    animation: fade 0.25s ease;
  }

  .page.active {
    display: block;
  }

  @keyframes fade {
    from {
      opacity: 0;
      transform: translateY(8px);
    }

    to {
      opacity: 1;
      transform: translateY(0);
    }
  }

  .section-title {
    margin: 18px 0;
  }

  .section-title h2 {
    margin: 0;
    font-size: 30px;
  }

  .section-title p {
    margin: 5px 0 0;
  }

  .search-box {
    display: flex;
    gap: 12px;
    margin-bottom: 18px;
  }

  .search-box input {
    flex: 1;
    min-width: 0;
    padding: 15px 18px;
    border-radius: 18px;
    border: 1px solid rgba(148, 163, 184, 0.22);
    outline: none;
    background: rgba(2, 6, 23, 0.78);
    color: white;
    font-family: inherit;
    font-size: 16px;
  }

  .search-box input:focus {
    border-color: #60a5fa;
    box-shadow: 0 0 0 4px rgba(96, 165, 250, 0.12);
  }

  .grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
  }

  .card {
    transition: 0.22s ease;
  }

  .card:hover {
    transform: translateY(-5px);
    border-color: rgba(96, 165, 250, 0.5);
  }

  .card h3 {
    margin: 0 0 8px;
  }

  .card p {
    margin: 0 0 16px;
  }

  .channel-icon {
    width: 54px;
    height: 54px;
    display: grid;
    place-items: center;
    border-radius: 19px;
    background: linear-gradient(135deg, #2563eb, #10b981);
    margin-bottom: 12px;
    font-size: 23px;
    box-shadow: 0 12px 30px rgba(16, 185, 129, 0.2);
  }

  .channel-icon img {
    width: 30px;
    height: 30px;
    object-fit: contain;
  }

  .channel-icon.instagram {
    background: linear-gradient(135deg, #f97316, #ec4899, #8b5cf6);
  }

  .channel-icon.telegram {
    background: linear-gradient(135deg, #38bdf8, #2563eb);
  }

  .channel-icon.rubika {
    background: linear-gradient(135deg, #f59e0b, #ef4444);
  }

  .channel-icon.aparat {
    background: linear-gradient(135deg, #ec4899, #be185d);
  }

  .live-layout {
    display: grid;
    grid-template-columns: 1fr 330px;
    gap: 18px;
  }

  .video-wrapper {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%;
    border-radius: 28px;
    overflow: hidden;
    background:
      radial-gradient(circle at center, rgba(37, 99, 235, 0.22), transparent 34%),
      #020617;
    border: 1px solid rgba(148, 163, 184, 0.18);
    box-shadow: 0 24px 70px rgba(0, 0, 0, 0.34);
  }

  .video-placeholder {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 16px;
    padding: 24px;
    text-align: center;
  }

  .video-placeholder h2 {
    margin: 0;
  }

  .schedule-item {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    padding: 13px 0;
    border-bottom: 1px solid rgba(148, 163, 184, 0.13);
    color: #cbd5e1;
  }

  .schedule-item strong {
    color: #ffffff;
  }

  footer {
    width: min(1180px, 92%);
    margin: 0 auto 30px;
    padding: 22px;
    text-align: center;
    color: #94a3b8;
  }

  @media (max-width: 900px) {
    .hero,
    .live-layout {
      grid-template-columns: 1fr;
    }

    .grid {
      grid-template-columns: 1fr 1fr;
    }
  }

  @media (max-width: 620px) {
    .navbar {
      align-items: flex-start;
      flex-direction: column;
    }

    .nav-links {
      width: 100%;
    }

    .nav-links a {
      flex: 1;
      min-width: 110px;
      text-align: center;
    }

    .grid,
    .stats {
      grid-template-columns: 1fr;
    }

    .search-box {
      flex-direction: column;
    }
  }
</style>