/* ================================================
   GAME PROS – Dark Gaming Theme CSS
   Neon Green + Purple Glow + Glassmorphism
   ================================================ */

:root {
  --neon-green: #00ff88;
  --neon-purple: #b347ff;
  --neon-blue: #00c8ff;
  --dark-bg: #080c14;
  --dark-card: rgba(15, 20, 35, 0.85);
  --dark-border: rgba(0, 255, 136, 0.15);
  --text-primary: #e8f0fe;
  --text-secondary: #8892b0;
  --glass-bg: rgba(255, 255, 255, 0.04);
  --glass-border: rgba(255, 255, 255, 0.08);
  --sidebar-w: 260px;
  --header-h: 64px;
  --radius: 16px;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Outfit', sans-serif;
  background: var(--dark-bg);
  color: var(--text-primary);
  min-height: 100vh;
  overflow-x: hidden;
}

/* ── SCREENS ── */
.screen {
  display: none;
  min-height: 100vh;
}

.screen.active {
  display: flex;
}

/* ── SPLASH ── */
#splash-screen {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: var(--dark-bg);
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.splash-bg {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, rgba(0, 255, 136, 0.08) 0%, transparent 70%),
    radial-gradient(ellipse at 80% 20%, rgba(179, 71, 255, 0.1) 0%, transparent 50%);
}

.particles {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.particles span {
  position: absolute;
  width: 3px;
  height: 3px;
  background: var(--neon-green);
  border-radius: 50%;
  animation: float-particle 6s infinite;
  opacity: 0;
}

.particles span:nth-child(1) {
  top: 20%;
  left: 10%;
  animation-delay: 0s;
}

.particles span:nth-child(2) {
  top: 60%;
  left: 80%;
  animation-delay: 1s;
  background: var(--neon-purple);
}

.particles span:nth-child(3) {
  top: 80%;
  left: 30%;
  animation-delay: 2s;
}

.particles span:nth-child(4) {
  top: 10%;
  left: 60%;
  animation-delay: 3s;
  background: var(--neon-blue);
}

.particles span:nth-child(5) {
  top: 40%;
  left: 90%;
  animation-delay: 0.5s;
}

.particles span:nth-child(6) {
  top: 70%;
  left: 5%;
  animation-delay: 1.5s;
  background: var(--neon-purple);
}

.particles span:nth-child(7) {
  top: 30%;
  left: 50%;
  animation-delay: 2.5s;
}

.particles span:nth-child(8) {
  top: 90%;
  left: 70%;
  animation-delay: 3.5s;
  background: var(--neon-blue);
}

.particles span:nth-child(9) {
  top: 5%;
  left: 25%;
  animation-delay: 4s;
}

.particles span:nth-child(10) {
  top: 55%;
  left: 45%;
  animation-delay: 4.5s;
  background: var(--neon-purple);
}

@keyframes float-particle {

  0%,
  100% {
    transform: translateY(0) scale(0);
    opacity: 0;
  }

  50% {
    transform: translateY(-40px) scale(1);
    opacity: 1;
  }
}

.splash-content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  text-align: center;
}

.logo-container {
  position: relative;
  width: 120px;
  height: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: logo-entrance 1s ease-out;
}

@keyframes logo-entrance {
  from {
    transform: scale(0) rotate(-180deg);
    opacity: 0;
  }

  to {
    transform: scale(1) rotate(0);
    opacity: 1;
  }
}

.logo-ring {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 2px solid transparent;
  background: linear-gradient(var(--dark-bg), var(--dark-bg)) padding-box,
    linear-gradient(135deg, var(--neon-green), var(--neon-purple)) border-box;
  animation: spin 3s linear infinite;
}

.ring2 {
  inset: 12px;
  animation-direction: reverse;
  animation-duration: 2s;
  opacity: 0.5;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

.logo-icon {
  font-size: 48px;
  z-index: 1;
  filter: drop-shadow(0 0 20px var(--neon-green));
}

.splash-title {
  font-family: 'Orbitron', sans-serif;
  font-size: 3rem;
  font-weight: 900;
  background: linear-gradient(135deg, var(--neon-green), var(--neon-purple));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: fade-up 0.8s 0.5s both;
  letter-spacing: 4px;
}

.splash-tagline {
  color: var(--text-secondary);
  font-size: 1.1rem;
  letter-spacing: 2px;
  animation: fade-up 0.8s 0.8s both;
}

@keyframes fade-up {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.splash-loader {
  width: 200px;
  height: 3px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 2px;
  overflow: hidden;
  animation: fade-up 0.8s 1s both;
}

.loader-bar {
  height: 100%;
  background: linear-gradient(90deg, var(--neon-green), var(--neon-purple));
  animation: load 2.5s 1.2s ease-out forwards;
  width: 0;
}

@keyframes load {
  to {
    width: 100%;
  }
}

/* ── ONBOARDING ── */
#onboarding-screen {
  background: var(--dark-bg);
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: fixed;
  inset: 0;
  z-index: 999;
}

.onboard-bg {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 30% 50%, rgba(179, 71, 255, 0.12) 0%, transparent 60%),
    radial-gradient(ellipse at 70% 50%, rgba(0, 255, 136, 0.08) 0%, transparent 60%);
}

.onboard-container {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 480px;
  padding: 40px 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 32px;
}

.onboard-slides {
  width: 100%;
  position: relative;
  min-height: 320px;
}

.onboard-slide {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  text-align: center;
  opacity: 0;
  transform: translateX(60px);
  transition: all 0.5s ease;
  pointer-events: none;
}

.onboard-slide.active {
  opacity: 1;
  transform: translateX(0);
  pointer-events: all;
}

.slide-visual {
  position: relative;
  width: 160px;
  height: 160px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.slide-icon-big {
  font-size: 72px;
  animation: float 3s ease-in-out infinite;
}

@keyframes float {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-12px);
  }
}

.orbit-items {
  position: absolute;
  inset: 0;
}

.orbit-item {
  position: absolute;
  font-size: 24px;
  animation: orbit 4s linear infinite;
}

.orbit-item:nth-child(1) {
  animation-delay: 0s;
  top: 0;
  left: 50%;
}

.orbit-item:nth-child(2) {
  animation-delay: -1.3s;
  top: 75%;
  left: 5%;
}

.orbit-item:nth-child(3) {
  animation-delay: -2.6s;
  top: 75%;
  right: 5%;
}

@keyframes orbit {
  0% {
    transform: rotate(0deg) translateX(70px) rotate(0deg);
  }

  100% {
    transform: rotate(360deg) translateX(70px) rotate(-360deg);
  }
}

.onboard-slide h2 {
  font-family: 'Orbitron', sans-serif;
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--text-primary);
}

.onboard-slide p {
  color: var(--text-secondary);
  font-size: 1rem;
  line-height: 1.6;
  max-width: 360px;
}

.onboard-dots {
  display: flex;
  gap: 10px;
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 5px;
  background: rgba(255, 255, 255, 0.2);
  cursor: pointer;
  transition: all 0.3s;
}

.dot.active {
  width: 30px;
  background: var(--neon-green);
  box-shadow: 0 0 10px var(--neon-green);
}

.onboard-actions {
  display: flex;
  gap: 16px;
  width: 100%;
}

.btn-get-started {
  width: 100%;
  padding: 16px;
  font-size: 1.1rem;
}

.hidden {
  display: none !important;
}

/* ── BUTTONS ── */
.btn-primary {
  background: linear-gradient(135deg, var(--neon-green), #00cc70);
  color: #000;
  font-weight: 700;
  border: none;
  border-radius: 10px;
  padding: 12px 24px;
  cursor: pointer;
  font-family: 'Outfit', sans-serif;
  font-size: 0.95rem;
  transition: var(--transition);
  white-space: nowrap;
  box-shadow: 0 0 20px rgba(0, 255, 136, 0.3);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 30px rgba(0, 255, 136, 0.5);
}

.btn-primary:active {
  transform: translateY(0);
}

.btn-primary.large {
  padding: 16px 32px;
  font-size: 1rem;
  border-radius: 12px;
}

.btn-primary.small {
  padding: 8px 16px;
  font-size: 0.8rem;
  border-radius: 8px;
}

.btn-primary:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

.btn-outline {
  background: transparent;
  border: 1.5px solid var(--neon-green);
  color: var(--neon-green);
  border-radius: 10px;
  padding: 12px 24px;
  cursor: pointer;
  font-family: 'Outfit', sans-serif;
  font-size: 0.95rem;
  transition: var(--transition);
  white-space: nowrap;
}

.btn-outline:hover {
  background: rgba(0, 255, 136, 0.1);
  box-shadow: 0 0 20px rgba(0, 255, 136, 0.2);
}

.btn-outline.large {
  padding: 16px 32px;
  font-size: 1rem;
  border-radius: 12px;
}

.btn-outline.small {
  padding: 8px 16px;
  font-size: 0.8rem;
  border-radius: 8px;
}

.btn-outline:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

.btn-ghost {
  background: transparent;
  border: none;
  color: var(--text-secondary);
  cursor: pointer;
  font-family: 'Outfit', sans-serif;
  font-size: 0.95rem;
  padding: 12px 24px;
  transition: color 0.3s;
  flex: 1;
}

.btn-ghost:hover {
  color: var(--text-primary);
}

.btn-back {
  background: transparent;
  border: 1px solid var(--glass-border);
  color: var(--text-secondary);
  padding: 10px 20px;
  border-radius: 10px;
  cursor: pointer;
  font-family: 'Outfit', sans-serif;
  transition: var(--transition);
  margin-bottom: 24px;
  display: inline-block;
}

.btn-back:hover {
  border-color: var(--neon-green);
  color: var(--neon-green);
}

.btn-logout {
  background: transparent;
  border: 1px solid rgba(255, 80, 80, 0.3);
  color: #ff6b6b;
  border-radius: 10px;
  padding: 10px 20px;
  cursor: pointer;
  font-family: 'Outfit', sans-serif;
  width: 100%;
  transition: var(--transition);
  font-size: 0.9rem;
}

.btn-logout:hover {
  background: rgba(255, 80, 80, 0.1);
}

.btn-google {
  width: 100%;
  padding: 12px;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid var(--glass-border);
  color: var(--text-primary);
  border-radius: 10px;
  cursor: pointer;
  font-family: 'Outfit', sans-serif;
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  transition: var(--transition);
}

.btn-google:hover {
  background: rgba(255, 255, 255, 0.12);
}

.full-width {
  width: 100%;
}

/* ── GLASS CARD ── */
.glass-card {
  background: var(--glass-bg);
  backdrop-filter: blur(20px) saturate(180%);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius);
}

/* ── TOAST ── */
.toast {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 99999;
  background: var(--dark-card);
  border: 1px solid var(--neon-green);
  color: var(--text-primary);
  padding: 14px 24px;
  border-radius: 12px;
  font-size: 0.9rem;
  transform: translateY(100px);
  opacity: 0;
  transition: all 0.4s;
  box-shadow: 0 0 20px rgba(0, 255, 136, 0.3);
}

.toast.show {
  transform: translateY(0);
  opacity: 1;
}

.toast.error {
  border-color: #ff6b6b;
  box-shadow: 0 0 20px rgba(255, 107, 107, 0.3);
}

/* ── MAIN APP LAYOUT ── */
#main-app {
  flex-direction: column;
  min-height: 100vh;
}

/* ── SIDEBAR ── */
.sidebar {
  position: fixed;
  top: 0;
  left: -280px;
  height: 100vh;
  width: var(--sidebar-w);
  background: rgba(10, 14, 26, 0.98);
  border-right: 1px solid var(--glass-border);
  backdrop-filter: blur(30px);
  z-index: 1000;
  transition: left 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  flex-direction: column;
  padding: 0;
}

.sidebar.open {
  left: 0;
}

.sidebar-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 20px;
  border-bottom: 1px solid var(--glass-border);
}

.sidebar-logo {
  font-family: 'Orbitron', sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--neon-green);
  display: flex;
  align-items: center;
  gap: 10px;
}

.sidebar-close {
  background: transparent;
  border: none;
  color: var(--text-secondary);
  cursor: pointer;
  font-size: 1.2rem;
  transition: color 0.3s;
}

.sidebar-close:hover {
  color: var(--text-primary);
}

.sidebar-nav {
  flex: 1;
  padding: 16px 12px;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.nav-link {
  display: block;
  padding: 12px 16px;
  border-radius: 10px;
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
  transition: var(--transition);
}

.nav-link:hover {
  background: rgba(0, 255, 136, 0.08);
  color: var(--neon-green);
}

.nav-link.active {
  background: rgba(0, 255, 136, 0.12);
  color: var(--neon-green);
  box-shadow: inset 3px 0 0 var(--neon-green);
}

.sidebar-footer {
  padding: 20px;
  border-top: 1px solid var(--glass-border);
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.sidebar-contact p {
  color: var(--text-secondary);
  font-size: 0.85rem;
  line-height: 1.8;
}

/* ── HEADER ── */
.app-header {
  height: var(--header-h);
  background: rgba(8, 12, 20, 0.95);
  border-bottom: 1px solid var(--glass-border);
  backdrop-filter: blur(20px);
  position: sticky;
  top: 0;
  z-index: 500;
  display: flex;
  align-items: center;
  padding: 0 20px;
  gap: 16px;
}

.hamburger {
  background: transparent;
  border: none;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 6px;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: var(--transition);
}

.header-brand {
  font-family: 'Orbitron', sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--neon-green);
  flex: 1;
  display: flex;
  align-items: center;
  gap: 8px;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.header-notify {
  position: relative;
  cursor: pointer;
  font-size: 1.2rem;
}

.notify-badge {
  position: absolute;
  top: -4px;
  right: -6px;
  background: var(--neon-purple);
  color: #fff;
  font-size: 0.65rem;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
}

.header-avatar {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  cursor: pointer;
  background: linear-gradient(135deg, var(--neon-green), var(--neon-purple));
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.9rem;
  color: #000;
}

/* ── MAIN CONTENT ── */
.main-content {
  padding: 24px 20px;
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
}

/* ── PAGE ── */
.page {
  display: none;
  animation: page-enter 0.4s ease;
}

.page.active {
  display: block;
}

@keyframes page-enter {
  from {
    opacity: 0;
    transform: translateY(16px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.page-header {
  margin-bottom: 28px;
}

.page-title {
  font-family: 'Orbitron', sans-serif;
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--neon-green);
  margin-bottom: 8px;
}

.page-header p {
  color: var(--text-secondary);
  font-size: 1rem;
}

/* ── HOME – HERO ── */
.hero-section {
  min-height: 70vh;
  display: flex;
  align-items: center;
  gap: 40px;
  padding: 40px 0;
  flex-wrap: wrap;
}

.hero-content {
  flex: 1;
  min-width: 300px;
}

.hero-badge {
  display: inline-block;
  padding: 8px 16px;
  border-radius: 20px;
  background: rgba(0, 255, 136, 0.1);
  border: 1px solid rgba(0, 255, 136, 0.3);
  color: var(--neon-green);
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 20px;
}

.hero-title {
  font-family: 'Orbitron', sans-serif;
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 900;
  line-height: 1.15;
  margin-bottom: 20px;
}

.neon-text {
  background: linear-gradient(135deg, var(--neon-green), var(--neon-purple));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-sub {
  color: var(--text-secondary);
  font-size: 1.1rem;
  line-height: 1.7;
  margin-bottom: 32px;
  max-width: 500px;
}

.hero-btns {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

.hero-stats {
  display: flex;
  gap: 32px;
  flex-wrap: wrap;
}

.stat-item {
  display: flex;
  flex-direction: column;
}

.stat-num {
  font-family: 'Orbitron', sans-serif;
  font-size: 1.8rem;
  font-weight: 900;
  color: var(--neon-green);
}

.stat-label {
  color: var(--text-secondary);
  font-size: 0.85rem;
}

.hero-visual {
  flex: 1;
  min-width: 280px;
  position: relative;
  height: 350px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-orb {
  width: 280px;
  height: 280px;
  border-radius: 50%;
  background: radial-gradient(ellipse, rgba(0, 255, 136, 0.15) 0%, rgba(179, 71, 255, 0.1) 50%, transparent 70%);
  animation: pulse-orb 3s ease-in-out infinite;
  position: absolute;
}

@keyframes pulse-orb {

  0%,
  100% {
    transform: scale(1);
    opacity: 0.8;
  }

  50% {
    transform: scale(1.1);
    opacity: 1;
  }
}

.floating-cards {
  position: absolute;
  inset: 0;
}

.float-card {
  position: absolute;
  padding: 10px 18px;
  border-radius: 10px;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  font-weight: 600;
  font-size: 0.85rem;
  backdrop-filter: blur(10px);
  box-shadow: 0 0 20px rgba(0, 255, 136, 0.1);
  animation: float-card 4s var(--delay) ease-in-out infinite;
  white-space: nowrap;
}

.float-card:nth-child(1) {
  top: 10%;
  left: 5%;
}

.float-card:nth-child(2) {
  top: 25%;
  right: 0%;
}

.float-card:nth-child(3) {
  top: 50%;
  left: 0%;
}

.float-card:nth-child(4) {
  top: 68%;
  right: 5%;
}

.float-card:nth-child(5) {
  top: 85%;
  left: 20%;
}

@keyframes float-card {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-12px);
  }
}

/* ── SECTIONS ── */
.section-title {
  font-family: 'Orbitron', sans-serif;
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 28px;
  color: var(--text-primary);
}

.section-title span {
  color: var(--neon-green);
}

/* ── LEARNING PORTAL ── */
.learning-layout {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 24px;
  align-items: start;
}

@media (max-width: 992px) {
  .learning-layout {
    grid-template-columns: 1fr;
  }
}

.video-player-container {
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.video-player-container video {
  width: 100%;
  border-radius: 8px;
  background: #000;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.video-info h2 {
  font-family: 'Orbitron', sans-serif;
  font-size: 1.4rem;
  color: var(--neon-green);
  margin-bottom: 8px;
}

.playlist-sidebar {
  padding: 20px;
  max-height: 80vh;
  overflow-y: auto;
}

.playlist-sidebar h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 16px;
  border-bottom: 1px solid var(--glass-border);
  padding-bottom: 12px;
}

.module-group {
  margin-bottom: 16px;
}

.module-title {
  font-size: 0.95rem;
  color: var(--neon-blue);
  margin-bottom: 10px;
  cursor: pointer;
}

.video-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.video-item {
  padding: 10px 12px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.03);
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  font-size: 0.85rem;
  transition: var(--transition);
}

.video-item:hover {
  background: rgba(0, 255, 136, 0.1);
}

.video-item.active {
  background: rgba(0, 255, 136, 0.15);
  border-left: 3px solid var(--neon-green);
}

.v-icon {
  font-size: 1rem;
}

.v-time {
  margin-left: auto;
  color: var(--text-secondary);
  font-size: 0.75rem;
}

/* ── CHECKOUT PORTAL ── */
.checkout-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  align-items: start;
}

@media (max-width: 768px) {
  .checkout-layout {
    grid-template-columns: 1fr;
  }
}

.checkout-summary,
.checkout-payment {
  padding: 32px;
  display: flex;
  flex-direction: column;
}

.checkout-summary h3,
.checkout-payment h3 {
  font-family: 'Orbitron', sans-serif;
  font-size: 1.2rem;
  color: var(--neon-green);
  margin-bottom: 24px;
}

.order-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--glass-border);
  margin-bottom: 20px;
}

.oi-thumb {
  width: 60px;
  height: 60px;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(0, 255, 136, 0.1), rgba(179, 71, 255, 0.1));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  border: 1px solid var(--glass-border);
}

.oi-details h4 {
  font-size: 1.1rem;
  color: var(--text-primary);
  margin-bottom: 4px;
}

.oi-details p {
  font-size: 0.85rem;
  color: var(--text-secondary);
}

.order-math {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 24px;
}

.math-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.95rem;
  color: var(--text-secondary);
}

.math-row.discount {
  color: var(--neon-green);
}

.math-row.total {
  margin-top: 8px;
  padding-top: 16px;
  border-top: 1px solid var(--glass-border);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text-primary);
}

.promo-box {
  display: flex;
  gap: 10px;
}

.promo-box input {
  flex: 1;
  padding: 10px 14px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--glass-border);
  color: var(--text-primary);
  font-family: 'Outfit', sans-serif;
}

.promo-box input:focus {
  outline: none;
  border-color: var(--neon-green);
}

.payment-tabs {
  display: flex;
  gap: 8px;
  background: rgba(255, 255, 255, 0.04);
  padding: 4px;
  border-radius: 10px;
  margin-bottom: 24px;
}

.ptab {
  flex: 1;
  padding: 12px;
  background: transparent;
  border: none;
  color: var(--text-secondary);
  cursor: pointer;
  font-family: 'Outfit', sans-serif;
  font-size: 0.9rem;
  border-radius: 8px;
  transition: var(--transition);
}

.ptab.active {
  background: rgba(0, 255, 136, 0.12);
  color: var(--neon-green);
}

.mb-16 {
  margin-bottom: 16px;
}

.pay-method-block {
  animation: fade-up 0.3s ease;
}

.upi-apps {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding: 20px;
  background: rgba(255, 255, 255, 0.02);
  border-radius: 10px;
  border: 1px dashed var(--glass-border);
  margin-bottom: 20px;
}

.secure-badge {
  text-align: center;
  color: var(--neon-green);
  margin-top: 16px;
}

/* ── LIVE CHAT WIDGET ── */
.chat-toggle-btn {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--neon-blue);
  color: #000;
  font-size: 1.8rem;
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 20px rgba(0, 210, 255, 0.4);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.chat-toggle-btn:hover {
  transform: scale(1.1);
}

.chat-widget {
  position: fixed;
  bottom: 96px;
  right: 24px;
  width: 340px;
  height: 480px;
  z-index: 1000;
  display: flex;
  flex-direction: column;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
  transition: all 0.3s ease;
  transform-origin: bottom right;
}

.chat-widget.hidden {
  opacity: 0;
  pointer-events: none;
  transform: scale(0.9);
}

.chat-header {
  padding: 16px;
  background: rgba(0, 210, 255, 0.1);
  border-bottom: 1px solid var(--glass-border);
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-radius: 20px 20px 0 0;
}

.chat-header h4 {
  color: var(--text-primary);
  font-family: 'Orbitron', sans-serif;
  font-size: 1.1rem;
}

.chat-messages {
  flex: 1;
  padding: 16px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.chat-msg {
  padding: 10px 14px;
  border-radius: 12px;
  font-size: 0.9rem;
  max-width: 85%;
  line-height: 1.4;
}

.chat-msg.system {
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-secondary);
  align-self: center;
  font-size: 0.8rem;
  text-align: center;
}

.chat-msg.user {
  background: var(--neon-blue);
  color: #000;
  align-self: flex-end;
  border-bottom-right-radius: 4px;
}

.chat-msg.admin {
  background: rgba(0, 255, 136, 0.15);
  color: var(--text-primary);
  align-self: flex-start;
  border: 1px solid var(--glass-border);
  border-bottom-left-radius: 4px;
}

.chat-input-area {
  padding: 12px;
  border-top: 1px solid var(--glass-border);
  display: flex;
  gap: 8px;
}

.chat-input-area input {
  flex: 1;
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid var(--glass-border);
  border-radius: 20px;
  padding: 8px 16px;
  color: var(--text-primary);
}

.chat-input-area button {
  border-radius: 20px;
}

/* ── DOMAINS GRID ── */
.domains-section {
  padding: 60px 0;
}

.domains-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 16px;
}

.domain-card {
  padding: 24px 16px;
  border-radius: var(--radius);
  text-align: center;
  cursor: pointer;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.domain-card:hover {
  border-color: var(--neon-green);
  transform: translateY(-4px);
  box-shadow: 0 8px 30px rgba(0, 255, 136, 0.15);
}

.domain-card .d-icon {
  font-size: 2.2rem;
}

.domain-card .d-name {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-secondary);
}

.domain-card:hover .d-name {
  color: var(--neon-green);
}

/* ── TOOLS ── */
.tools-section {
  padding: 40px 0;
}

.tools-scroll {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.tool-badge {
  padding: 10px 20px;
  border-radius: 20px;
  background: rgba(179, 71, 255, 0.08);
  border: 1px solid rgba(179, 71, 255, 0.2);
  color: var(--text-secondary);
  font-size: 0.9rem;
  font-weight: 500;
  transition: var(--transition);
  cursor: default;
}

.tool-badge:hover {
  border-color: var(--neon-purple);
  color: var(--neon-purple);
  transform: translateY(-2px);
}

/* ── TESTIMONIALS ── */
.testimonials-section {
  padding: 60px 0;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
}

.testimonial-card {
  padding: 24px;
}

.t-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--neon-purple), var(--neon-blue));
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1rem;
  color: #fff;
  margin-bottom: 16px;
}

.testimonial-card p {
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 16px;
  font-style: italic;
}

.testimonial-card strong {
  display: block;
  color: var(--text-primary);
  font-weight: 600;
}

.testimonial-card span {
  color: var(--neon-green);
  font-size: 0.85rem;
}

/* ── CTA ── */
.cta-section {
  padding: 48px;
  text-align: center;
  margin: 60px 0;
  background: linear-gradient(135deg, rgba(0, 255, 136, 0.05), rgba(179, 71, 255, 0.05));
  border-color: rgba(0, 255, 136, 0.2);
}

.cta-section h2 {
  font-family: 'Orbitron', sans-serif;
  font-size: 1.8rem;
  margin-bottom: 12px;
}

.cta-section p {
  color: var(--text-secondary);
  margin-bottom: 32px;
  font-size: 1.05rem;
}

.cta-btns {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.cta-btns a {
  text-decoration: none;
}

/* ── COURSES ── */
.courses-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 28px;
}

.filter-btn {
  padding: 8px 18px;
  border-radius: 20px;
  border: 1px solid var(--glass-border);
  background: var(--glass-bg);
  color: var(--text-secondary);
  cursor: pointer;
  font-family: 'Outfit', sans-serif;
  font-size: 0.9rem;
  transition: var(--transition);
}

.filter-btn:hover {
  border-color: var(--neon-green);
  color: var(--neon-green);
}

.filter-btn.active {
  background: rgba(0, 255, 136, 0.1);
  border-color: var(--neon-green);
  color: var(--neon-green);
}

.courses-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
}

.course-card {
  border-radius: var(--radius);
  overflow: hidden;
  cursor: pointer;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

.course-card:hover {
  transform: translateY(-6px);
  border-color: var(--neon-green);
  box-shadow: 0 12px 40px rgba(0, 255, 136, 0.15);
}

.course-card-thumb {
  height: 140px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 4rem;
  background: linear-gradient(135deg, rgba(0, 255, 136, 0.08), rgba(179, 71, 255, 0.08));
  border-bottom: 1px solid var(--glass-border);
}

.course-card-body {
  padding: 20px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.course-tag {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 10px;
  font-size: 0.72rem;
  font-weight: 600;
  margin-bottom: 10px;
  background: rgba(0, 200, 255, 0.1);
  color: var(--neon-blue);
  border: 1px solid rgba(0, 200, 255, 0.2);
}

.course-card h3 {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--text-primary);
}

.course-card p {
  color: var(--text-secondary);
  font-size: 0.85rem;
  line-height: 1.5;
  flex: 1;
}

.course-card-footer {
  padding: 16px 20px;
  border-top: 1px solid var(--glass-border);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.course-duration {
  font-size: 0.82rem;
  color: var(--text-secondary);
}

.course-price {
  font-weight: 700;
  color: var(--neon-green);
  font-size: 1rem;
}

/* ── COURSE DETAIL ── */
.course-detail-hero {
  padding: 40px;
  border-radius: var(--radius);
  margin-bottom: 24px;
  background: linear-gradient(135deg, rgba(0, 255, 136, 0.08), rgba(179, 71, 255, 0.08));
  border: 1px solid var(--glass-border);
  display: flex;
  gap: 32px;
  align-items: center;
  flex-wrap: wrap;
}

.cd-icon {
  font-size: 5rem;
}

.cd-info h1 {
  font-family: 'Orbitron', sans-serif;
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--neon-green);
  margin-bottom: 10px;
}

.cd-info p {
  color: var(--text-secondary);
  font-size: 1rem;
  line-height: 1.7;
}

.cd-meta {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  margin-top: 16px;
}

.cd-meta span {
  padding: 6px 14px;
  border-radius: 8px;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  font-size: 0.85rem;
  color: var(--text-secondary);
}

.course-detail-body {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

@media (max-width: 640px) {
  .course-detail-body {
    grid-template-columns: 1fr;
  }
}

.cd-section {
  padding: 24px;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius);
}

.cd-section h3 {
  color: var(--neon-green);
  margin-bottom: 16px;
  font-size: 1.1rem;
}

.module-list,
.tools-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.module-list li,
.tools-list li {
  padding: 10px 14px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.03);
  border-left: 3px solid var(--neon-green);
  font-size: 0.9rem;
  color: var(--text-secondary);
}

.tools-list li {
  border-left-color: var(--neon-purple);
}

.enroll-btn-bar {
  margin-top: 24px;
  display: flex;
  gap: 16px;
  align-items: center;
  flex-wrap: wrap;
}

/* ── DASHBOARD ── */
.dashboard-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 24px;
}

.dash-card {
  padding: 24px;
}

.dash-card h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--neon-green);
  margin-bottom: 18px;
}

.course-progress-item {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 16px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--glass-border);
}

.course-progress-item:last-child {
  border-bottom: none;
}

.cp-info {
  display: flex;
  align-items: center;
  gap: 12px;
}

.cp-icon {
  font-size: 1.8rem;
}

.cp-info strong {
  color: var(--text-primary);
  font-size: 0.9rem;
  display: block;
}

.cp-info small {
  color: var(--text-secondary);
  font-size: 0.78rem;
}

.progress-bar {
  width: 100%;
  height: 6px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 3px;
  overflow: hidden;
}

.progress-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--neon-green), var(--neon-purple));
  border-radius: 3px;
}

.progress-pct {
  font-size: 0.8rem;
  color: var(--neon-green);
  font-weight: 600;
}

.continue-learning .btn-primary {
  align-self: flex-start;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.mini-stat {
  text-align: center;
  padding: 16px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--glass-border);
}

.ms-icon {
  font-size: 1.5rem;
  display: block;
  margin-bottom: 6px;
}

.ms-val {
  font-family: 'Orbitron', sans-serif;
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--neon-green);
  display: block;
}

.ms-lbl {
  font-size: 0.75rem;
  color: var(--text-secondary);
  margin-top: 4px;
  display: block;
}

.live-class-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid var(--glass-border);
}

.live-class-item:last-child {
  border-bottom: none;
}

.live-badge {
  padding: 4px 8px;
  border-radius: 6px;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 1px;
  background: rgba(255, 50, 50, 0.2);
  color: #ff5555;
  border: 1px solid rgba(255, 50, 50, 0.3);
  white-space: nowrap;
  animation: blink 1.5s ease infinite;
}

.live-badge.upcoming {
  background: rgba(0, 200, 255, 0.1);
  color: var(--neon-blue);
  border-color: rgba(0, 200, 255, 0.2);
  animation: none;
}

@keyframes blink {

  0%,
  100% {
    opacity: 1;
  }

  50% {
    opacity: 0.5;
  }
}

.live-class-item div strong {
  display: block;
  font-size: 0.9rem;
  color: var(--text-primary);
}

.live-class-item div small {
  color: var(--text-secondary);
  font-size: 0.78rem;
}

.live-class-item .btn-primary,
.live-class-item .btn-outline {
  margin-left: auto;
}

.assignment-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid var(--glass-border);
}

.assignment-item:last-child {
  border-bottom: none;
}

.assign-status {
  font-size: 0.72rem;
  font-weight: 700;
  padding: 4px 8px;
  border-radius: 6px;
  white-space: nowrap;
  background: rgba(255, 200, 0, 0.1);
  color: #ffc800;
  border: 1px solid rgba(255, 200, 0, 0.2);
}

.assign-status.done {
  background: rgba(0, 255, 136, 0.1);
  color: var(--neon-green);
  border-color: rgba(0, 255, 136, 0.2);
}

.assignment-item div strong {
  display: block;
  font-size: 0.9rem;
  color: var(--text-primary);
}

.assignment-item div small {
  color: var(--text-secondary);
  font-size: 0.78rem;
}

.assignment-item .btn-primary,
.assignment-item .btn-outline {
  margin-left: auto;
}

.cert-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid var(--glass-border);
}

.cert-item:last-child {
  border-bottom: none;
}

.cert-icon {
  font-size: 1.8rem;
}

.cert-item div strong {
  display: block;
  font-size: 0.9rem;
  color: var(--text-primary);
}

.cert-item div small {
  color: var(--text-secondary);
  font-size: 0.78rem;
}

.cert-item .btn-primary,
.cert-item .btn-outline {
  margin-left: auto;
}

.cert-item.locked {
  opacity: 0.5;
}

.placement-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid var(--glass-border);
}

.placement-item:last-child {
  border-bottom: none;
}

.placement-co {
  font-size: 0.85rem;
  font-weight: 700;
  white-space: nowrap;
}

.placement-item div strong {
  display: block;
  font-size: 0.9rem;
  color: var(--text-primary);
}

.placement-item div small {
  color: var(--neon-green);
  font-size: 0.78rem;
}

.placement-item .btn-primary {
  margin-left: auto;
}

/* ── BROCHURE PAGE ── */
.brochure-page {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  align-items: start;
}

@media (max-width: 768px) {
  .brochure-page {
    grid-template-columns: 1fr;
  }
}

.brochure-form-card {
  padding: 32px;
}

.brochure-form-card h3 {
  font-family: 'Orbitron', sans-serif;
  font-size: 1.2rem;
  color: var(--neon-green);
  margin-bottom: 8px;
}

.brochure-form-card p {
  color: var(--text-secondary);
  font-size: 0.9rem;
  margin-bottom: 24px;
}

.brochure-types h3 {
  font-family: 'Orbitron', sans-serif;
  font-size: 1.1rem;
  color: var(--text-primary);
  margin-bottom: 16px;
}

.brochure-cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 16px;
}

.brochure-card {
  padding: 24px;
  text-align: center;
  cursor: pointer;
}

.brochure-card:hover {
  border-color: var(--neon-green);
  transform: translateY(-4px);
  box-shadow: 0 8px 30px rgba(0, 255, 136, 0.15);
}

.bro-icon {
  font-size: 2.5rem;
  margin-bottom: 12px;
}

.brochure-card h4 {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 8px;
}

.brochure-card p {
  color: var(--text-secondary);
  font-size: 0.8rem;
  line-height: 1.5;
  margin-bottom: 16px;
}

/* ── ADMIN PANEL ── */
.admin-stats-row {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 16px;
  margin-bottom: 28px;
}

.admin-stat {
  padding: 24px;
  text-align: center;
}

.admin-stat span {
  font-size: 2rem;
  display: block;
  margin-bottom: 8px;
}

.admin-stat h3 {
  font-family: 'Orbitron', sans-serif;
  font-size: 1.5rem;
  color: var(--neon-green);
}

.admin-stat p {
  color: var(--text-secondary);
  font-size: 0.85rem;
  margin-top: 4px;
}

.admin-sections {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(380px, 1fr));
  gap: 24px;
}

.admin-panel-card {
  padding: 24px;
}

.admin-panel-card h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--neon-green);
  margin-bottom: 16px;
}

.admin-table-wrapper {
  overflow-x: auto;
  margin-bottom: 16px;
}

.admin-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.85rem;
}

.admin-table th {
  padding: 10px;
  text-align: left;
  color: var(--text-secondary);
  border-bottom: 1px solid var(--glass-border);
  font-weight: 600;
}

.admin-table td {
  padding: 10px;
  border-bottom: 1px solid var(--glass-border);
  color: var(--text-primary);
  vertical-align: middle;
}

.admin-table tr:last-child td {
  border-bottom: none;
}

.status-badge {
  padding: 4px 10px;
  border-radius: 8px;
  font-size: 0.72rem;
  font-weight: 700;
  background: rgba(0, 255, 136, 0.1);
  color: var(--neon-green);
  border: 1px solid rgba(0, 255, 136, 0.2);
}

.status-badge.pending {
  background: rgba(255, 200, 0, 0.1);
  color: #ffc800;
  border-color: rgba(255, 200, 0, 0.2);
}

.admin-course-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 16px;
  max-height: 200px;
  overflow-y: auto;
}

.admin-course-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--glass-border);
}

.admin-course-row span {
  flex: 1;
  font-size: 0.85rem;
  color: var(--text-primary);
}

.admin-course-row button {
  background: transparent;
  border: none;
  cursor: pointer;
  font-size: 0.8rem;
  color: var(--text-secondary);
  transition: color 0.3s;
}

.admin-course-row button:hover {
  color: #ff6b6b;
}

.admin-announce-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.admin-announce-form textarea {
  width: 100%;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--glass-border);
  border-radius: 10px;
  padding: 12px;
  color: var(--text-primary);
  font-family: 'Outfit', sans-serif;
  font-size: 0.9rem;
  resize: vertical;
}

.admin-announce-form textarea:focus {
  outline: none;
  border-color: var(--neon-green);
}

/* ── PROFILE ── */
.profile-layout {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 24px;
  align-items: start;
}

@media (max-width: 768px) {
  .profile-layout {
    grid-template-columns: 1fr;
  }
}

.profile-card {
  padding: 32px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.profile-avatar-big {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--neon-green), var(--neon-purple));
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.8rem;
  color: #000;
  box-shadow: 0 0 30px rgba(0, 255, 136, 0.3);
}

.profile-card h2 {
  font-size: 1.3rem;
  color: var(--text-primary);
}

.profile-card p {
  color: var(--text-secondary);
  font-size: 0.9rem;
}

.profile-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
}

.badge {
  padding: 5px 12px;
  border-radius: 12px;
  font-size: 0.8rem;
  font-weight: 600;
  background: rgba(0, 255, 136, 0.08);
  border: 1px solid rgba(0, 255, 136, 0.2);
  color: var(--neon-green);
}

.profile-details {
  padding: 32px;
}

.profile-details h3 {
  color: var(--neon-green);
  margin-bottom: 20px;
  font-size: 1.05rem;
}

.profile-info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 20px;
}

.pi-item label {
  display: block;
  color: var(--text-secondary);
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 6px;
}

.pi-item span {
  color: var(--text-primary);
  font-size: 0.95rem;
  font-weight: 500;
}

/* ── AUTH PAGES ── */
.auth-page {
  justify-content: center;
  padding: 24px;
}

.auth-card {
  width: 100%;
  max-width: 640px;
  padding: 40px;
}

.auth-logo {
  font-family: 'Orbitron', sans-serif;
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--neon-green);
  margin-bottom: 16px;
  text-align: center;
}

.auth-card h2 {
  font-family: 'Orbitron', sans-serif;
  font-size: 1.5rem;
  text-align: center;
  margin-bottom: 8px;
}

.auth-card>p {
  color: var(--text-secondary);
  text-align: center;
  margin-bottom: 28px;
}

.login-tabs {
  display: flex;
  gap: 4px;
  background: rgba(255, 255, 255, 0.04);
  padding: 4px;
  border-radius: 10px;
  margin-bottom: 24px;
}

.ltab {
  flex: 1;
  padding: 10px;
  background: transparent;
  border: none;
  color: var(--text-secondary);
  cursor: pointer;
  font-family: 'Outfit', sans-serif;
  font-size: 0.9rem;
  border-radius: 8px;
  transition: var(--transition);
}

.ltab.active {
  background: rgba(0, 255, 136, 0.12);
  color: var(--neon-green);
}

.login-options {
  display: flex;
  justify-content: flex-end;
  margin-top: -8px;
  margin-bottom: 8px;
}

.forgot-link {
  color: var(--neon-blue);
  font-size: 0.85rem;
  text-decoration: none;
}

.forgot-link:hover {
  text-decoration: underline;
}

.divider {
  text-align: center;
  position: relative;
  margin: 16px 0;
}

.divider::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--glass-border);
}

.divider span {
  position: relative;
  padding: 0 12px;
  background: transparent;
  color: var(--text-secondary);
  font-size: 0.85rem;
}

.auth-switch {
  text-align: center;
  color: var(--text-secondary);
  font-size: 0.9rem;
  margin-top: 16px;
}

.auth-switch a {
  color: var(--neon-green);
  text-decoration: none;
  font-weight: 600;
}

.auth-switch a:hover {
  text-decoration: underline;
}

/* ── FORMS ── */
.form-group {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.form-row {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 16px;
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-field label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-secondary);
}

.form-field input,
.form-field select {
  padding: 12px 16px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--glass-border);
  color: var(--text-primary);
  font-family: 'Outfit', sans-serif;
  font-size: 0.95rem;
  transition: var(--transition);
}

.form-field input:focus,
.form-field select:focus {
  outline: none;
  border-color: var(--neon-green);
  box-shadow: 0 0 0 3px rgba(0, 255, 136, 0.1);
}

.form-field select option {
  background: #0a0e1a;
  color: var(--text-primary);
}

.form-field input::placeholder {
  color: rgba(136, 146, 176, 0.5);
}

.password-strength {
  height: 4px;
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.08);
  margin-top: 6px;
  overflow: hidden;
}

.password-strength::after {
  content: '';
  display: block;
  height: 100%;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--neon-green), var(--neon-purple));
  width: var(--strength, 0);
  transition: width 0.4s;
}

.mode-selector {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  padding-top: 4px;
}

.mode-opt {
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  color: var(--text-secondary);
  font-size: 0.9rem;
}

.mode-opt input[type="radio"] {
  accent-color: var(--neon-green);
}

.mode-opt:has(input:checked) {
  color: var(--neon-green);
}

.file-upload-area {
  border: 2px dashed var(--glass-border);
  border-radius: 10px;
  padding: 24px;
  text-align: center;
  cursor: pointer;
  color: var(--text-secondary);
  font-size: 0.9rem;
  transition: var(--transition);
  position: relative;
}

.file-upload-area:hover {
  border-color: var(--neon-green);
  color: var(--neon-green);
}

.file-upload-area input {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
}

.form-error {
  color: #ff6b6b;
  font-size: 0.85rem;
  padding: 12px;
  border-radius: 8px;
  background: rgba(255, 107, 107, 0.1);
  border: 1px solid rgba(255, 107, 107, 0.2);
}

/* ── OTP INPUTS ── */
.otp-inputs {
  display: flex;
  gap: 10px;
  justify-content: center;
  margin: 20px 0;
}

.otp-box {
  width: 48px;
  height: 56px;
  text-align: center;
  font-size: 1.2rem;
  font-weight: 700;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--glass-border);
  color: var(--text-primary);
  font-family: 'Orbitron', sans-serif;
}

.otp-box:focus {
  outline: none;
  border-color: var(--neon-green);
  box-shadow: 0 0 0 3px rgba(0, 255, 136, 0.1);
}

/* ── MODALS ── */
.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(6px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.modal-card {
  padding: 32px;
  width: 100%;
  max-width: 500px;
  animation: modal-in 0.3s ease;
}

@keyframes modal-in {
  from {
    opacity: 0;
    transform: scale(0.9) translateY(20px);
  }

  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

.modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
}

.modal-header h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--neon-green);
}

.modal-close {
  background: transparent;
  border: none;
  color: var(--text-secondary);
  cursor: pointer;
  font-size: 1.2rem;
  transition: color 0.3s;
}

.modal-close:hover {
  color: var(--text-primary);
}

/* ── SIDEBAR OVERLAY ── */
.sidebar-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 999;
  display: none;
  backdrop-filter: blur(2px);
}

.sidebar-overlay.visible {
  display: block;
}

/* ── SCROLLBAR ── */
::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}

::-webkit-scrollbar-track {
  background: transparent;
}

::-webkit-scrollbar-thumb {
  background: rgba(0, 255, 136, 0.2);
  border-radius: 3px;
}

::-webkit-scrollbar-thumb:hover {
  background: rgba(0, 255, 136, 0.4);
}

/* ── RESPONSIVE ── */
@media (max-width: 768px) {
  .hero-section {
    flex-direction: column;
    min-height: auto;
    padding: 24px 0;
  }

  .hero-visual {
    display: none;
  }

  .hero-title {
    font-size: 2rem;
  }

  .dashboard-grid {
    grid-template-columns: 1fr;
  }

  .admin-sections {
    grid-template-columns: 1fr;
  }

  .cta-section {
    padding: 28px 20px;
  }

  .auth-card {
    padding: 24px;
  }

  .domains-grid {
    grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
  }

  .brochure-page {
    grid-template-columns: 1fr;
  }
}

/* ── ADMIN PANEL ENHANCEMENTS ── */
.section-header-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}

.admin-table-wrapper {
  overflow-x: auto;
  margin-bottom: 20px;
}

.admin-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
}

.admin-table th,
.admin-table td {
  padding: 12px 16px;
  text-align: left;
  border-bottom: 1px solid var(--glass-border);
}

.admin-table th {
  color: var(--text-dim);
  font-weight: 600;
  text-transform: uppercase;
  font-size: 0.75rem;
  letter-spacing: 1px;
}

.admin-table td {
  color: var(--text-primary);
}

.admin-actions {
  display: flex;
  gap: 8px;
}

.admin-actions .btn-outline.delete {
  border-color: rgba(255, 107, 107, 0.3);
  color: #ff6b6b;
}

.admin-actions .btn-outline.delete:hover {
  background: rgba(255, 107, 107, 0.1);
}

.divider {
  display: flex;
  align-items: center;
  text-align: center;
  color: var(--text-dim);
  margin: 16px 0;
  font-size: 0.8rem;
}

.divider::before,
.divider::after {
  content: '';
  flex: 1;
  border-bottom: 1px solid var(--glass-border);
}

.divider:not(:empty)::before {
  margin-right: 12px;
}

.divider:not(:empty)::after {
  margin-left: 12px;
}

/* ── LESSONS PREVIEW (Student View) ── */
.lessons-preview-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.lesson-preview-item {
  display: flex;
  justify-content: space-between;
  padding: 12px 16px;
  background: rgba(255, 255, 255, 0.03);
  border-radius: 8px;
  font-size: 0.9rem;
  color: var(--text-secondary);
}

.lesson-preview-item .lock {
  color: var(--text-dim);
}

.admin-panel-card {
  margin-bottom: 24px;
  padding: 24px;
}

#course-lessons-manager {
  border-top: 1px solid var(--glass-border);
  margin-top: 10px;
}