@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800;900&display=swap');

:root {
  --neon:      #00ffcc;
  --neon2:     #00e5b5;
  --neon-dim:  #00b38f;
  --white:     #ffffff;
  --bg:        #04100e;
  --bg2:       #071a16;
  --bg3:       #0a2520;
  --bg4:       #0d2e28;
  --card-bg:   #071a16;
  --border:    rgba(0,255,204,0.15);
  --glow:      0 0 20px rgba(0,255,204,0.25);
  --glow-sm:   0 0 10px rgba(0,255,204,0.15);
  --text-muted: rgba(255,255,255,0.5);
}

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

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--white);
  font-family: 'Inter', system-ui, sans-serif;
  min-height: 100vh;
  overflow-x: hidden;
}

/* ── SCROLLBAR ── */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg2); }
::-webkit-scrollbar-thumb { background: var(--neon-dim); border-radius: 3px; }

/* ── NAVBAR ── */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: rgba(4,16,14,0.95);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  padding: 0 2rem;
  height: 65px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.nav-logo .logo-icon {
  width: 38px;
  height: 38px;
  background: var(--neon);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  box-shadow: var(--glow-sm);
}

.nav-logo span {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--white);
  letter-spacing: 2px;
}

.nav-logo span em {
  color: var(--neon);
  font-style: normal;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.2rem;
  list-style: none;
}

.nav-links a {
  color: rgba(255,255,255,0.7);
  text-decoration: none;
  padding: 0.5rem 1rem;
  border-radius: 6px;
  font-weight: 500;
  font-size: 0.95rem;
  letter-spacing: 0.5px;
  transition: all 0.2s;
}

.nav-links a:hover, .nav-links a.active {
  color: var(--neon);
  background: rgba(0,255,204,0.08);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.nav-search { position: relative; }

.nav-search input {
  background: var(--bg3);
  border: 1px solid var(--border);
  color: var(--white);
  padding: 0.45rem 1rem 0.45rem 2.2rem;
  border-radius: 20px;
  font-size: 0.85rem;
  width: 200px;
  outline: none;
  transition: all 0.3s;
  font-family: inherit;
}

.nav-search input:focus {
  border-color: var(--neon);
  box-shadow: var(--glow-sm);
  width: 250px;
}

.nav-search .search-icon {
  position: absolute;
  left: 0.7rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-muted);
  font-size: 0.85rem;
}

/* ── BUTTONS ── */
.btn {
  padding: 0.5rem 1.2rem;
  border-radius: 8px;
  font-family: inherit;
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  border: none;
  text-decoration: none;
  transition: all 0.2s;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  letter-spacing: 0.3px;
}

.btn-yellow {
  background: linear-gradient(135deg, var(--neon), var(--neon2));
  color: var(--bg);
  font-weight: 700;
}

.btn-yellow:hover {
  box-shadow: var(--glow);
  transform: translateY(-1px);
  filter: brightness(1.1);
}

.btn-outline {
  background: transparent;
  color: var(--neon);
  border: 1px solid var(--neon);
}

.btn-outline:hover {
  background: rgba(0,255,204,0.1);
  box-shadow: var(--glow-sm);
}

.btn-dark {
  background: var(--bg3);
  color: var(--white);
  border: 1px solid var(--border);
}

.btn-dark:hover {
  border-color: var(--neon);
  color: var(--neon);
}

.btn-sm { padding: 0.35rem 0.8rem; font-size: 0.8rem; }
.btn-lg { padding: 0.8rem 2rem; font-size: 1rem; }

/* ── USER MENU ── */
.user-menu { position: relative; }

.user-avatar {
  width: 36px;
  height: 36px;
  background: linear-gradient(135deg, var(--neon), var(--neon-dim));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: var(--bg);
  font-size: 0.9rem;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all 0.2s;
}

.user-avatar:hover { border-color: var(--neon); box-shadow: var(--glow-sm); }

.user-dropdown {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  background: var(--bg3);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 0.5rem;
  min-width: 160px;
  display: none;
  box-shadow: 0 10px 40px rgba(0,0,0,0.5);
}

.user-dropdown.open { display: block; }

.user-dropdown a, .user-dropdown button {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.6rem 0.8rem;
  color: rgba(255,255,255,0.8);
  text-decoration: none;
  border-radius: 6px;
  font-size: 0.9rem;
  background: none;
  border: none;
  width: 100%;
  cursor: pointer;
  font-family: inherit;
  transition: all 0.15s;
}

.user-dropdown a:hover, .user-dropdown button:hover {
  background: rgba(0,255,204,0.1);
  color: var(--neon);
}

/* ── HERO ── */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding: 80px 2rem 2rem;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 60% 50%, rgba(0,255,204,0.05) 0%, transparent 70%),
    radial-gradient(ellipse 40% 40% at 80% 20%, rgba(0,255,204,0.07) 0%, transparent 60%);
}

.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(0,255,204,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,255,204,0.03) 1px, transparent 1px);
  background-size: 50px 50px;
  mask-image: radial-gradient(ellipse at center, black 20%, transparent 80%);
}

.hero-content {
  position: relative;
  max-width: 650px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(0,255,204,0.08);
  border: 1px solid rgba(0,255,204,0.25);
  color: var(--neon);
  padding: 0.4rem 1rem;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  letter-spacing: 1px;
}

.hero h1 {
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 1.2rem;
  letter-spacing: -0.5px;
}

.hero h1 span { color: var(--neon); }

.hero p {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.65);
  line-height: 1.7;
  margin-bottom: 2rem;
  max-width: 500px;
}

.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; }

.hero-stats {
  display: flex;
  gap: 2rem;
  margin-top: 3rem;
}

.stat-item { text-align: left; }
.stat-number {
  font-size: 2rem;
  font-weight: 800;
  color: var(--neon);
  display: block;
}
.stat-label { font-size: 0.8rem; color: var(--text-muted); letter-spacing: 1px; }

.hero-visual {
  position: absolute;
  right: -5%;
  top: 50%;
  transform: translateY(-50%);
  width: 55%;
  max-width: 750px;
  opacity: 0.15;
  pointer-events: none;
}

/* ── SECTIONS ── */
.section { padding: 4rem 2rem; }
.section-sm { padding: 2rem; }

.section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.5rem;
}

.section-title {
  font-size: 1.4rem;
  font-weight: 700;
  letter-spacing: -0.3px;
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.section-title::before {
  content: '';
  display: block;
  width: 4px;
  height: 1.2rem;
  background: var(--neon);
  border-radius: 2px;
  box-shadow: var(--glow-sm);
}

/* ── CARDS GRID ── */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 1.2rem;
}

.card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  cursor: pointer;
  transition: all 0.3s;
  text-decoration: none;
  color: inherit;
  display: block;
}

.card:hover {
  border-color: rgba(0,255,204,0.45);
  box-shadow: 0 8px 30px rgba(0,255,204,0.1);
  transform: translateY(-4px);
}

.card-thumb {
  width: 100%;
  aspect-ratio: 2/3;
  background: var(--bg4);
  position: relative;
  overflow: hidden;
}

.card-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s;
}

.card:hover .card-thumb img { transform: scale(1.05); }

.card-thumb-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background: linear-gradient(135deg, var(--bg3), var(--bg4));
  color: var(--text-muted);
  font-size: 2.5rem;
}

.card-thumb-placeholder span {
  font-size: 0.75rem;
  letter-spacing: 1px;
}

.card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.9) 0%, transparent 50%);
  opacity: 0;
  transition: opacity 0.3s;
  display: flex;
  align-items: center;
  justify-content: center;
}

.card:hover .card-overlay { opacity: 1; }

.play-btn {
  width: 50px;
  height: 50px;
  background: var(--neon);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  color: var(--bg);
  box-shadow: var(--glow);
}

.card-badge {
  position: absolute;
  top: 0.5rem;
  right: 0.5rem;
  background: var(--neon);
  color: var(--bg);
  font-size: 0.65rem;
  font-weight: 700;
  padding: 0.2rem 0.5rem;
  border-radius: 4px;
  letter-spacing: 1px;
}

.card-body { padding: 0.8rem; }

.card-title {
  font-weight: 600;
  font-size: 0.95rem;
  margin-bottom: 0.3rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.card-meta {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.75rem;
  color: var(--text-muted);
}

.card-category {
  background: rgba(0,255,204,0.1);
  color: var(--neon);
  padding: 0.1rem 0.4rem;
  border-radius: 3px;
  font-size: 0.7rem;
  font-weight: 600;
}

/* ── FEATURED ── */
.featured-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
}

.featured-card {
  border-radius: 12px;
  overflow: hidden;
  position: relative;
  aspect-ratio: 16/9;
  cursor: pointer;
  text-decoration: none;
}

.featured-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s;
}

.featured-card:hover img { transform: scale(1.05); }

.featured-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.9) 30%, transparent 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.2rem;
}

.featured-card-title {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 0.3rem;
}

/* ── FILTER BAR ── */
.filter-bar {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  flex-wrap: wrap;
  padding: 1rem 2rem;
  border-bottom: 1px solid var(--border);
  background: var(--bg2);
  position: sticky;
  top: 65px;
  z-index: 100;
}

.filter-chip {
  padding: 0.4rem 1rem;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 500;
  cursor: pointer;
  border: 1px solid var(--border);
  background: transparent;
  color: rgba(255,255,255,0.6);
  font-family: inherit;
  transition: all 0.2s;
}

.filter-chip:hover, .filter-chip.active {
  background: rgba(0,255,204,0.1);
  border-color: var(--neon);
  color: var(--neon);
}

/* ── WATCH PAGE ── */
.watch-container { padding-top: 65px; }

.player-wrapper {
  background: #000;
  width: 100%;
  aspect-ratio: 16/9;
  position: relative;
}

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

.watch-info {
  padding: 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.watch-title {
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: 0.5rem;
}

.watch-meta {
  display: flex;
  align-items: center;
  gap: 1rem;
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 1rem;
  flex-wrap: wrap;
}

.watch-meta span { display: flex; align-items: center; gap: 0.3rem; }

.watch-desc {
  color: rgba(255,255,255,0.7);
  line-height: 1.8;
  font-size: 0.95rem;
  margin-bottom: 2rem;
}

/* Episodes */
.episodes-section { padding: 0 2rem 2rem; max-width: 1200px; margin: 0 auto; }

.season-tabs {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.season-tab {
  padding: 0.4rem 1rem;
  border-radius: 6px;
  background: var(--bg3);
  border: 1px solid var(--border);
  color: rgba(255,255,255,0.6);
  cursor: pointer;
  font-family: inherit;
  font-size: 0.85rem;
  transition: all 0.2s;
}

.season-tab.active, .season-tab:hover {
  background: rgba(0,255,204,0.1);
  border-color: var(--neon);
  color: var(--neon);
}

.episodes-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 0.8rem;
}

.episode-card {
  background: var(--bg3);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 0.8rem;
  cursor: pointer;
  transition: all 0.2s;
}

.episode-card:hover, .episode-card.active {
  border-color: var(--neon);
  background: rgba(0,255,204,0.05);
}

.ep-num { font-size: 0.75rem; color: var(--neon); font-weight: 600; margin-bottom: 0.3rem; }
.ep-title { font-size: 0.85rem; font-weight: 500; }

/* ── AUTH FORMS ── */
.auth-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  position: relative;
}

.auth-page::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 60% at 30% 50%, rgba(0,255,204,0.04) 0%, transparent 70%);
}

.auth-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 2.5rem;
  width: 100%;
  max-width: 420px;
  position: relative;
}

.auth-logo { text-align: center; margin-bottom: 2rem; }

.auth-logo h1 {
  font-size: 2rem;
  font-weight: 800;
  letter-spacing: 2px;
}

.auth-logo h1 span { color: var(--neon); }
.auth-logo p { color: var(--text-muted); font-size: 0.9rem; margin-top: 0.3rem; }

.form-group { margin-bottom: 1.2rem; }

.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: rgba(255,255,255,0.7);
  margin-bottom: 0.4rem;
  letter-spacing: 0.5px;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  background: var(--bg3);
  border: 1px solid var(--border);
  color: var(--white);
  padding: 0.7rem 1rem;
  border-radius: 8px;
  font-size: 0.95rem;
  outline: none;
  transition: all 0.2s;
  font-family: inherit;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--neon);
  box-shadow: 0 0 0 3px rgba(0,255,204,0.1);
}

.form-group textarea { resize: vertical; min-height: 80px; }

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }

.alert {
  padding: 0.8rem 1rem;
  border-radius: 8px;
  font-size: 0.9rem;
  margin-bottom: 1rem;
  display: none;
}

.alert-error   { background: rgba(255,50,50,0.1);  border: 1px solid rgba(255,50,50,0.3);   color: #FF6B6B; }
.alert-success { background: rgba(0,255,204,0.08);  border: 1px solid rgba(0,255,204,0.25);  color: var(--neon); }
.alert.show { display: block; }

.auth-footer {
  text-align: center;
  margin-top: 1.5rem;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.auth-footer a { color: var(--neon); text-decoration: none; font-weight: 600; }

/* ── ADMIN LAYOUT ── */
.admin-layout {
  display: flex;
  min-height: 100vh;
  padding-top: 65px;
}

.admin-sidebar {
  width: 240px;
  background: var(--bg2);
  border-right: 1px solid var(--border);
  padding: 1.5rem 0;
  position: sticky;
  top: 65px;
  height: calc(100vh - 65px);
  overflow-y: auto;
  flex-shrink: 0;
}

.sidebar-section {
  padding: 0 1rem;
  margin-bottom: 1.5rem;
}

.sidebar-label {
  font-size: 0.7rem;
  letter-spacing: 2px;
  color: var(--text-muted);
  margin-bottom: 0.5rem;
  padding: 0 0.5rem;
  font-weight: 600;
}

.sidebar-link {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.6rem 0.8rem;
  border-radius: 8px;
  color: rgba(255,255,255,0.6);
  text-decoration: none;
  font-size: 0.9rem;
  transition: all 0.2s;
  cursor: pointer;
  border: none;
  background: none;
  width: 100%;
  font-family: inherit;
}

.sidebar-link:hover, .sidebar-link.active {
  background: rgba(0,255,204,0.1);
  color: var(--neon);
}

.admin-main {
  flex: 1;
  padding: 2rem;
  min-width: 0;
}

.admin-panel { display: none; }
.admin-panel.active { display: block; }

.panel-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.5rem;
}

.panel-title {
  font-size: 1.4rem;
  font-weight: 700;
}

/* Stats cards */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 1rem;
  margin-bottom: 2rem;
}

.stat-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1.2rem;
  transition: border-color 0.2s;
}

.stat-card:hover { border-color: rgba(0,255,204,0.3); }

.stat-card-icon {
  font-size: 1.4rem;
  margin-bottom: 0.6rem;
}

.stat-card-value {
  font-size: 2rem;
  font-weight: 800;
  color: var(--neon);
}

.stat-card-label {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 0.2rem;
}

/* Content table */
.content-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--card-bg);
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid var(--border);
}

.content-table th {
  background: var(--bg3);
  padding: 0.8rem 1rem;
  text-align: left;
  font-size: 0.8rem;
  letter-spacing: 1px;
  color: var(--text-muted);
  font-weight: 600;
  border-bottom: 1px solid var(--border);
}

.content-table td {
  padding: 0.8rem 1rem;
  font-size: 0.9rem;
  border-bottom: 1px solid rgba(255,255,255,0.04);
  vertical-align: middle;
}

.content-table tr:last-child td { border-bottom: none; }
.content-table tr:hover td { background: rgba(0,255,204,0.02); }

.type-badge {
  display: inline-block;
  padding: 0.2rem 0.6rem;
  border-radius: 4px;
  font-size: 0.75rem;
  font-weight: 600;
}

.type-movie  { background: rgba(0,255,204,0.12); color: var(--neon); }
.type-series { background: rgba(100,200,255,0.15); color: #64C8FF; }

.role-badge {
  display: inline-block;
  padding: 0.2rem 0.6rem;
  border-radius: 4px;
  font-size: 0.75rem;
  font-weight: 600;
}
.role-admin { background: rgba(0,255,204,0.15); color: var(--neon); }
.role-user  { background: rgba(255,255,255,0.08); color: rgba(255,255,255,0.6); }

.action-btns { display: flex; gap: 0.4rem; }

/* Modal */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.8);
  z-index: 2000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  backdrop-filter: blur(4px);
}

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

.modal {
  background: var(--bg3);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 2rem;
  width: 100%;
  max-width: 550px;
  max-height: 90vh;
  overflow-y: auto;
}

.modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.5rem;
}

.modal-title {
  font-size: 1.2rem;
  font-weight: 700;
}

.modal-close {
  background: none;
  border: none;
  color: var(--text-muted);
  font-size: 1.2rem;
  cursor: pointer;
  padding: 0.2rem;
  transition: color 0.2s;
}

.modal-close:hover { color: var(--neon); }

/* ── EMPTY STATE ── */
.empty-state {
  text-align: center;
  padding: 4rem 2rem;
  color: var(--text-muted);
}

.empty-state .empty-icon { font-size: 3rem; margin-bottom: 1rem; }
.empty-state h3 { font-size: 1.2rem; margin-bottom: 0.5rem; color: rgba(255,255,255,0.5); }
.empty-state p { font-size: 0.9rem; }

/* ── LOADING ── */
.skeleton {
  background: linear-gradient(90deg, var(--bg3) 25%, var(--bg4) 50%, var(--bg3) 75%);
  background-size: 200% 100%;
  animation: shimmer 1.5s infinite;
  border-radius: 6px;
}

@keyframes shimmer {
  0%   { background-position:  200% 0; }
  100% { background-position: -200% 0; }
}

/* ── TOAST ── */
.toast-container {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.toast {
  background: var(--bg3);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 0.8rem 1.2rem;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  min-width: 250px;
  animation: slideIn 0.3s ease;
  box-shadow: 0 4px 20px rgba(0,0,0,0.4);
}

.toast.success { border-color: rgba(0,255,204,0.35); }
.toast.success .toast-icon { color: var(--neon); }
.toast.error   { border-color: rgba(255,50,50,0.4); }
.toast.error   .toast-icon { color: #FF6B6B; }

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

/* ── PAGE CONTAINER ── */
.page-container {
  padding-top: 65px;
  min-height: 100vh;
}

.page-hero {
  background: var(--bg2);
  border-bottom: 1px solid var(--border);
  padding: 2rem 2rem 1.5rem;
}

.page-hero h1 {
  font-size: 2rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  gap: 0.7rem;
}

.page-hero p { color: var(--text-muted); margin-top: 0.3rem; font-size: 0.9rem; }

/* ── RESPONSIVE ── */
@media (max-width: 768px) {
  .nav-search { display: none; }
  .hero { padding: 80px 1rem 2rem; }
  .hero-stats { gap: 1rem; }
  .hero-visual { display: none; }
  .section { padding: 2.5rem 1rem; }
  .filter-bar { padding: 0.8rem 1rem; }
  .cards-grid { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 0.8rem; }
  .admin-sidebar { display: none; }
  .admin-main { padding: 1rem; }
  .form-row { grid-template-columns: 1fr; }
}

/* ── GLOW EFFECTS ── */
.neon-text {
  color: var(--neon);
  text-shadow: 0 0 10px rgba(0,255,204,0.5), 0 0 30px rgba(0,255,204,0.2);
}

.neon-border {
  border-color: var(--neon) !important;
  box-shadow: var(--glow-sm);
}

/* DIVIDER */
.divider {
  border: none;
  border-top: 1px solid var(--border);
  margin: 1.5rem 0;
}
