:root {
  --bg-darkest: #090d16;
  --bg-dark: #0f172a;
  --bg-card: #1e293b;
  --bg-card-hover: #27354f;
  --bg-input: #151e32;
  --text-main: #f8fafc;
  --text-muted: #94a3b8;
  --border: #334155;
  --border-light: rgba(255, 255, 255, 0.08);
  --primary: #3b82f6;
  --primary-hover: #2563eb;
  --primary-glow: rgba(59, 130, 246, 0.35);
  --secondary: #6366f1;
  --success: #10b981;
  --danger: #ef4444;
  --warning: #f59e0b;
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-full: 9999px;
  --font-sans: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
  --font-mono: 'JetBrains Mono', monospace;
}

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

body {
  font-family: var(--font-sans);
  background-color: var(--bg-darkest);
  color: var(--text-main);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  line-height: 1.5;
}

/* Header */
.app-header {
  background: rgba(15, 23, 42, 0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 100;
  padding: 12px 24px;
}

.header-container {
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}

.brand-link {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: inherit;
  cursor: pointer;
}

.brand-badge {
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  box-shadow: 0 4px 12px var(--primary-glow);
}

.brand-text h1 {
  font-size: 17px;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.brand-text p {
  font-size: 11px;
  color: var(--text-muted);
}

.user-nav {
  display: flex;
  align-items: center;
  gap: 14px;
}

.user-profile-badge {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--bg-card);
  padding: 6px 12px;
  border-radius: var(--radius-full);
  font-size: 13px;
  font-weight: 600;
  border: 1px solid var(--border);
}

.user-avatar {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 700;
  color: white;
}

/* Global Breadcrumb & Back Navigation Bar */
.breadcrumb-bar {
  background: #0d1322;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding: 10px 24px;
}

.breadcrumb-container {
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.back-nav-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  color: var(--text-main);
  padding: 6px 14px;
  border-radius: var(--radius-md);
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.15s ease;
}

.back-nav-btn:hover {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
  transform: translateX(-2px);
}

.back-icon {
  font-size: 16px;
  font-weight: 800;
}

.breadcrumb-trail {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  font-size: 13px;
}

.breadcrumb-crumb {
  color: var(--text-muted);
  cursor: pointer;
  transition: color 0.15s;
}

.breadcrumb-crumb:hover {
  color: var(--primary);
  text-decoration: underline;
}

.breadcrumb-crumb.active {
  color: var(--text-main);
  font-weight: 700;
  cursor: default;
  text-decoration: none;
}

.breadcrumb-separator {
  color: rgba(255, 255, 255, 0.2);
  font-size: 11px;
}

/* App Container */
.app-container {
  max-width: 1400px;
  margin: 0 auto;
  width: 100%;
  padding: 24px;
  flex: 1;
}

.view {
  animation: fadeIn 0.2s ease-in-out;
}

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

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 8px 16px;
  font-size: 13px;
  font-weight: 600;
  border-radius: var(--radius-md);
  cursor: pointer;
  border: none;
  transition: all 0.15s;
  text-decoration: none;
  font-family: inherit;
}

.btn-primary { background: var(--primary); color: white; }
.btn-primary:hover { background: var(--primary-hover); box-shadow: 0 4px 12px var(--primary-glow); }
.btn-secondary { background: var(--bg-card); color: var(--text-main); border: 1px solid var(--border); }
.btn-secondary:hover { background: var(--bg-card-hover); border-color: rgba(255, 255, 255, 0.2); }
.btn-outline { background: transparent; color: var(--text-main); border: 1px solid var(--border); }
.btn-outline:hover { background: rgba(255, 255, 255, 0.05); border-color: var(--primary); color: var(--primary); }
.btn-success { background: var(--success); color: white; }
.btn-success:hover { background: #059669; }
.btn-sm { padding: 6px 12px; font-size: 12px; }
.btn-xs { padding: 4px 8px; font-size: 11px; }

/* Inputs */
.input-field {
  width: 100%;
  background: var(--bg-input);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 10px 14px;
  color: var(--text-main);
  font-size: 14px;
  font-family: inherit;
  outline: none;
  transition: border-color 0.15s;
}

.input-field:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px var(--primary-glow);
}

/* Dashboard Header */
.dashboard-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
  gap: 16px;
  flex-wrap: wrap;
}

.dashboard-title h2 {
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 4px;
}

.dashboard-title p {
  font-size: 13px;
  color: var(--text-muted);
}

.search-input-wrap {
  position: relative;
  min-width: 280px;
}

.search-input-wrap input {
  padding-left: 36px;
}

.search-input-wrap .search-icon {
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-muted);
  pointer-events: none;
}

/* ========================================================
   PAGE 1: BATCHES GRID
   ======================================================== */
.batches-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 20px;
}

.batch-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.2s, border-color 0.2s, box-shadow 0.2s;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25);
  cursor: pointer;
}

.batch-card:hover {
  transform: translateY(-4px);
  border-color: var(--primary);
  box-shadow: 0 10px 25px rgba(59, 130, 246, 0.2);
}

.batch-card.pinned-batch {
  border-color: #f59e0b;
  box-shadow: 0 0 15px rgba(245, 158, 11, 0.15);
  background: linear-gradient(180deg, rgba(245, 158, 11, 0.05) 0%, var(--bg-card) 100%);
}

.batch-banner {
  height: 150px;
  background: #111827;
  position: relative;
  overflow: hidden;
}

.batch-banner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.batch-banner-fallback {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 40px;
  background: linear-gradient(135deg, #1e1b4b, #2e1065);
}

.batch-tag {
  position: absolute;
  top: 10px;
  left: 10px;
  background: rgba(15, 23, 42, 0.9);
  backdrop-filter: blur(6px);
  color: #38bdf8;
  padding: 3px 8px;
  border-radius: var(--radius-sm);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  border: 1px solid rgba(56, 189, 248, 0.3);
}

.batch-card.pinned-batch .batch-tag {
  background: #f59e0b;
  color: #000;
  font-weight: 800;
}

.batch-content {
  padding: 16px;
  display: flex;
  flex-direction: column;
  flex: 1;
  justify-content: space-between;
  gap: 12px;
}

.batch-name {
  font-size: 16px;
  font-weight: 800;
  line-height: 1.3;
  color: var(--text-main);
  margin-bottom: 4px;
}

.batch-desc {
  font-size: 12px;
  color: var(--text-muted);
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.batch-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding-top: 10px;
}

.batch-exam { color: var(--text-muted); font-weight: 500; }
.batch-arrow { color: var(--primary); font-weight: 700; }

/* ========================================================
   PAGE 2: SUBJECTS GRID
   ======================================================== */
.subjects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 16px;
}

.subject-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 20px;
  cursor: pointer;
  transition: transform 0.2s, border-color 0.2s, box-shadow 0.2s;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 14px;
}

.subject-card:hover {
  transform: translateY(-3px);
  border-color: var(--secondary);
  box-shadow: 0 10px 24px rgba(99, 102, 241, 0.2);
}

.subject-card-top {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.subject-card-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  background: rgba(99, 102, 241, 0.15);
  border: 1px solid rgba(99, 102, 241, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  flex-shrink: 0;
}

.subject-card-title {
  font-size: 16px;
  font-weight: 800;
  line-height: 1.35;
  color: var(--text-main);
}

.subject-card-meta {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.subject-meta-pill {
  font-size: 11px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: var(--radius-full);
  background: #111a2e;
  border: 1px solid var(--border);
  color: var(--text-muted);
}

.subject-meta-pill.highlight {
  background: rgba(59, 130, 246, 0.15);
  border-color: rgba(59, 130, 246, 0.3);
  color: #60a5fa;
}

.subject-card-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding-top: 12px;
  font-size: 12.5px;
  font-weight: 700;
  color: var(--secondary);
}

/* ========================================================
   PAGE 3: CHAPTERS GRID
   ======================================================== */
.chapters-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 16px;
}

.chapter-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 20px;
  cursor: pointer;
  transition: transform 0.2s, border-color 0.2s, box-shadow 0.2s;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 14px;
}

.chapter-card:hover {
  transform: translateY(-3px);
  border-color: var(--primary);
  box-shadow: 0 10px 24px rgba(59, 130, 246, 0.2);
}

.chapter-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.chapter-num-badge {
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 3px 8px;
  border-radius: var(--radius-sm);
  background: rgba(59, 130, 246, 0.15);
  border: 1px solid rgba(59, 130, 246, 0.3);
  color: var(--primary);
}

.chapter-card-title {
  font-size: 16px;
  font-weight: 800;
  line-height: 1.35;
  color: var(--text-main);
  margin-top: 8px;
}

.chapter-card-stats {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.chapter-card-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding-top: 12px;
  font-size: 12.5px;
  font-weight: 700;
  color: var(--primary);
}

/* ========================================================
   PAGE 4: CHAPTER CONTENT (CLASSES & NOTES)
   ======================================================== */
.content-pills-tabs {
  display: inline-flex;
  background: #111a2e;
  border: 1px solid var(--border);
  border-radius: var(--radius-full);
  padding: 3px;
  gap: 4px;
}

.pill-tab-btn {
  background: transparent;
  border: none;
  color: var(--text-muted);
  font-size: 12.5px;
  font-weight: 700;
  padding: 7px 16px;
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: all 0.15s ease;
}

.pill-tab-btn:hover { color: #fff; }
.pill-tab-btn.active {
  background: var(--primary);
  color: #fff;
  box-shadow: 0 2px 8px var(--primary-glow);
}

.classes-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(290px, 1fr));
  gap: 16px;
}

.class-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform 0.2s, border-color 0.2s, box-shadow 0.2s;
  cursor: pointer;
}

.class-card:hover {
  transform: translateY(-3px);
  border-color: #6366f1;
  box-shadow: 0 10px 24px rgba(99, 102, 241, 0.22);
}

.class-thumbnail-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #0f172a;
  overflow: hidden;
}

.class-thumbnail-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.class-card:hover .class-thumbnail-wrap img {
  transform: scale(1.04);
}

.class-play-badge {
  position: absolute;
  bottom: 10px;
  right: 10px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #4f46e5;
  box-shadow: 0 4px 14px rgba(79, 70, 229, 0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-size: 15px;
  transition: transform 0.2s, background 0.2s;
}

.class-card:hover .class-play-badge {
  transform: scale(1.12);
  background: #4338ca;
}

.class-duration-badge {
  position: absolute;
  bottom: 10px;
  left: 10px;
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(4px);
  color: #f1f5f9;
  font-size: 11px;
  font-weight: 700;
  padding: 3px 7px;
  border-radius: 4px;
}

.class-card-body {
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
  justify-content: space-between;
}

.class-title {
  font-size: 14px;
  font-weight: 700;
  line-height: 1.4;
  color: var(--text-main);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.class-meta-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 11.5px;
  color: var(--text-muted);
}

.class-action-btn {
  width: 100%;
  margin-top: 4px;
}

/* Notes Grid */
.notes-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(290px, 1fr));
  gap: 16px;
}

.note-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 16px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 12px;
  transition: transform 0.15s, border-color 0.15s;
}

.note-card:hover {
  transform: translateY(-2px);
  border-color: var(--primary);
}

.note-top {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

.note-icon {
  font-size: 32px;
  line-height: 1;
}

.note-title {
  font-size: 13.5px;
  font-weight: 700;
  line-height: 1.4;
  color: var(--text-main);
}

.note-meta {
  margin-top: 6px;
  display: flex;
  gap: 8px;
  align-items: center;
  font-size: 11.5px;
  color: var(--text-muted);
}

.note-actions-row {
  display: flex;
  gap: 8px;
  margin-top: 4px;
}

/* ========================================================
   PAGE 5: DEDICATED FULL-PAGE VIDEO PLAYER
   ======================================================== */
.player-page-container {
  display: flex;
  flex-direction: column;
  gap: 20px;
  max-width: 1200px;
  margin: 0 auto;
}

.theater-player-box {
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #000;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.7);
}

.theater-player-box iframe,
.theater-player-box video {
  width: 100%;
  height: 100%;
  border: none;
}

.player-info-panel {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 22px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.player-info-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
  flex-wrap: wrap;
}

.dedicated-player-title {
  font-size: 20px;
  font-weight: 800;
  line-height: 1.35;
  color: var(--text-main);
  margin-bottom: 8px;
}

.dedicated-player-meta {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.meta-tag {
  font-size: 11.5px;
  font-weight: 600;
  padding: 3px 8px;
  border-radius: var(--radius-sm);
  background: #111a2e;
  border: 1px solid var(--border);
  color: var(--text-muted);
}

.source-tag {
  background: rgba(99, 102, 241, 0.15);
  border-color: rgba(99, 102, 241, 0.3);
  color: #a5b4fc;
}

.class-prev-next-nav {
  display: flex;
  gap: 8px;
}

.player-speed-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  padding: 12px 16px;
  background: #111a2e;
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
}

.speed-control-bar {
  display: flex;
  align-items: center;
  gap: 6px;
}

.speed-label {
  font-size: 11px;
  font-weight: 800;
  color: var(--text-muted);
  margin-right: 4px;
}

.speed-pill {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: var(--text-muted);
  font-size: 11px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.15s ease;
}

.speed-pill:hover { background: rgba(255, 255, 255, 0.1); color: #fff; }
.speed-pill.active {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
}

.skip-buttons-wrap {
  display: flex;
  gap: 6px;
}

.player-actions-bar {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 16px;
}

/* ========================================================
   MODAL & TOAST
   ======================================================== */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(8px);
  z-index: 1000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.modal-overlay.active { display: flex; }

.modal-dialog {
  background: var(--bg-dark);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  max-width: 1000px;
  width: 100%;
  height: 85vh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.7);
}

.modal-header {
  padding: 14px 18px;
  border-bottom: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.modal-close {
  background: none;
  border: none;
  color: var(--text-muted);
  font-size: 20px;
  cursor: pointer;
}
.modal-close:hover { color: #fff; }

.modal-body {
  flex: 1;
  background: #000;
}

.modal-body iframe {
  width: 100%;
  height: 100%;
  border: none;
}

.toast-container {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 2000;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.toast {
  background: var(--bg-dark);
  border: 1px solid var(--border);
  padding: 10px 16px;
  border-radius: var(--radius-md);
  font-size: 13px;
  font-weight: 600;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
  animation: slideIn 0.25s ease-out;
  display: flex;
  align-items: center;
  gap: 8px;
}

.toast.success { border-color: var(--success); color: #34d399; }
.toast.error { border-color: var(--danger); color: #f87171; }
.toast.info { border-color: var(--primary); color: #60a5fa; }

@keyframes slideIn {
  from { transform: translateX(100%); opacity: 0; }
  to { transform: translateX(0); opacity: 1; }
}

.spinner {
  width: 32px;
  height: 32px;
  border: 3px solid rgba(255, 255, 255, 0.1);
  border-top-color: var(--primary);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
  margin: 30px auto;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* Login */
.login-wrap {
  max-width: 440px;
  margin: 60px auto;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

.login-header {
  text-align: center;
  margin-bottom: 24px;
}

.login-header .icon {
  font-size: 44px;
  margin-bottom: 12px;
}

.login-header h2 {
  font-size: 22px;
  font-weight: 800;
  margin-bottom: 6px;
}

.login-header p {
  color: var(--text-muted);
  font-size: 13px;
}

.form-group {
  margin-bottom: 16px;
}

.form-label {
  display: block;
  font-size: 12px;
  font-weight: 700;
  color: var(--text-muted);
  margin-bottom: 6px;
  text-transform: uppercase;
}

.divider {
  display: flex;
  align-items: center;
  text-align: center;
  margin: 20px 0;
  color: var(--text-muted);
  font-size: 12px;
}

.divider::before, .divider::after {
  content: '';
  flex: 1;
  border-bottom: 1px solid var(--border);
}

.divider span {
  padding: 0 10px;
}

/* --- High-Yield DRM Video Player & Fallback View --- */
.drm-theater-card {
  width: 100%;
  height: 100%;
  min-height: 380px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 36px 24px;
  text-align: center;
  background: radial-gradient(circle at center, rgba(79, 70, 229, 0.22) 0%, #080d1a 100%);
  color: #fff;
  border-radius: var(--radius-lg);
  box-sizing: border-box;
}

.drm-theater-icon {
  font-size: 52px;
  margin-bottom: 14px;
  filter: drop-shadow(0 0 16px rgba(99, 102, 241, 0.5));
}

.drm-theater-title {
  font-size: 20px;
  font-weight: 800;
  color: #f8fafc;
  margin-bottom: 10px;
  max-width: 90%;
  line-height: 1.3;
}

.drm-theater-desc {
  font-size: 13px;
  color: #94a3b8;
  max-width: 520px;
  line-height: 1.6;
  margin-bottom: 22px;
}

.drm-theater-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  margin-bottom: 16px;
  width: 100%;
}

.drm-theater-hint {
  font-size: 12px;
  color: #64748b;
  max-width: 480px;
  line-height: 1.5;
  background: rgba(15, 23, 42, 0.6);
  padding: 8px 16px;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.theater-native-video {
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #000;
}

