:root {
      color-scheme: dark;
    }

    * {
      box-sizing: border-box;
    }

    body {
      margin: 0;
      min-height: 100vh;
      font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
        sans-serif;
      background:
        url("assets/logo.jpg") center center / contain no-repeat,
        #020617;
      display: flex;
      align-items: center;
      justify-content: center;
    }

    body::after {
      content: "";
      position: fixed;
      inset: 0;
      background: radial-gradient(circle at top, #020617bb, #020617ff);
      z-index: -1;
    }

    .card {
      background: rgba(15, 23, 42, 0.92);
      padding: 1.75rem 1.5rem;
      border-radius: 18px;
      max-width: 960px;
      width: 100%;
      box-shadow: 0 24px 60px rgba(0, 0, 0, 0.7);
    }

    h1 {
      margin: 0 0 0.25rem;
      font-size: 1.8rem;
      color: #f9fafb;
    }

    .subtitle {
      margin: 0 0 1.25rem;
      font-size: 0.95rem;
      color: #9ca3af;
    }

    /* Tabs */
    .tabs {
      display: flex;
      gap: 0.5rem;
      margin-bottom: 1rem;
      border-bottom: 1px solid #1f2937;
      padding-bottom: 0.25rem;
    }

    .tab {
      position: relative;
      border: none;
      background: transparent;
      color: #9ca3af;
      padding: 0.5rem 1rem;
      border-radius: 999px;
      font-size: 0.95rem;
      font-weight: 500;
      cursor: pointer;
      display: inline-flex;
      align-items: center;
      gap: 0.4rem;
    }

    .tab::after {
      content: "";
      position: absolute;
      left: 12%;
      right: 12%;
      bottom: -0.45rem;
      height: 2px;
      border-radius: 999px;
      background: transparent;
      transition: background 0.15s ease;
    }

    .tab.active {
      background: #0f172a;
      color: #f9fafb;
    }

    .tab.active::after {
      background: #22c55e;
    }

    .tab.locked {
      opacity: 0.7;
    }

    .tab-icon {
      font-size: 1rem;
    }

    .tab-panel {
      display: none;
    }

    .tab-panel.active {
      display: block;
    }

    /* Live password vs content */
    .live-password-screen,
    .live-content {
      display: none;
    }

    .live-password-screen.active,
    .live-content.active {
      display: block;
    }

    label {
      display: block;
      text-align: left;
      margin-bottom: 0.25rem;
      font-size: 0.85rem;
      color: #e5e7eb;
    }

    input[type="password"] {
      width: 100%;
      padding: 0.6rem 0.75rem;
      border-radius: 8px;
      border: 1px solid #4b5563;
      background: #020617;
      color: #f9fafb;
      margin-bottom: 0.75rem;
    }

    button {
      display: inline-block;
      padding: 0.6rem 1.25rem;
      border-radius: 999px;
      border: none;
      cursor: pointer;
      font-weight: 600;
      background: #22c55e;
      color: #022c22;
    }

    .error {
      margin-top: 0.5rem;
      font-size: 0.8rem;
      color: #f97373;
      display: none;
    }

    video,
    iframe {
      width: 100%;
      max-width: 100%;
      border-radius: 12px;
      border: 0;
    }

    .hint {
      margin-top: 0.75rem;
      font-size: 0.8rem;
      color: #9ca3af;
    }

    /* Simple VOD layout */
    .vod-grid {
      display: grid;
      grid-template-columns: minmax(0, 1fr);
      gap: 1rem;
    }

    @media (min-width: 768px) {
      .vod-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
      }
    }

    .vod-card {
      background: #020617;
      border-radius: 14px;
      padding: 0.75rem;
      border: 1px solid #1f2937;
    }

    .vod-title {
      margin: 0.5rem 0 0.15rem;
      font-size: 0.95rem;
      color: #f9fafb;
    }

    .vod-meta {
      margin: 0;
      font-size: 0.8rem;
      color: #9ca3af;
    }