* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: #000;
  color: #fff;
  font-family: Arial, sans-serif;
}

.topbar {
  padding: 18px 24px;
  text-align: center;
  position: relative;
}

.title {
  margin: 0;
  color: gold;
  font-size: 28px;
  font-weight: 700;
}

.back-link {
  position: absolute;
  left: 24px;
  top: 22px;
  color: #fff;
  text-decoration: none;
  font-size: 16px;
}

.back-link:hover {
  color: gold;
}

.home {
  min-height: calc(100vh - 80px);
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: 28px;
  padding: 40px 24px;
  flex-wrap: wrap;
}

.category-card,
.module-card {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 10px;
  min-width: 220px;
  min-height: 130px;
  padding: 24px;
  background: #111;
  border-radius: 18px;
  color: #fff;
  text-decoration: none;
  transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.category-card:hover,
.module-card:hover {
  background: gold;
  color: #000;
  transform: translateY(-4px);
}

.category-icon {
  font-size: 28px;
}

.modules-page {
  padding: 20px 24px 40px;
}

.search-box {
  margin-bottom: 24px;
}

.search-box input,
.search-input {
  width: 100%;
  max-width: 420px;
  padding: 14px 16px;
  border-radius: 12px;
  border: 1px solid #333;
  background: #111;
  color: #fff;
  font-size: 16px;
  outline: none;
  margin-bottom: 16px;
}

.search-box input:focus,
.search-input:focus {
  border-color: gold;
}

.modules-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 20px;
}

.module-card-title {
  font-size: 20px;
  font-weight: 700;
}

.module-card-count {
  font-size: 14px;
  opacity: 0.85;
}

.player-layout {
  display: grid;
  grid-template-columns: minmax(0, 3fr) 340px;
  gap: 20px;
  padding: 20px 24px 30px;
}

.player-main {
  min-width: 0;
}

#videoPlayer {
  width: 100%;
  border-radius: 14px;
  background: #111;
  outline: none;
}

.player-actions {
  margin-top: 14px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.btn {
  border: none;
  border-radius: 10px;
  padding: 12px 20px;
  font-size: 18px;
  font-weight: 700;
  cursor: pointer;
}

.btn-gold {
  background: gold;
  color: #000;
}

.btn-dark {
  background: #2a2a2a;
  color: #fff;
}

.btn-success {
  background: #18a558;
  color: #fff;
}

.btn-favorite-active {
  background: #ff9800;
  color: #000;
}

.pdf-link {
  color: #4da3ff;
  text-decoration: none;
  font-size: 18px;
}

.player-sidebar {
  background: #0f0f0f;
  border-radius: 14px;
  padding: 16px;
  max-height: calc(100vh - 120px);
  overflow-y: auto;
}

.sidebar-title {
  margin-top: 0;
  margin-bottom: 16px;
  font-size: 18px;
}

.progress-box {
  margin-bottom: 18px;
}

.progress-text {
  font-size: 14px;
  margin-bottom: 8px;
  color: #ddd;
}

.progress-bar {
  width: 100%;
  height: 10px;
  background: #222;
  border-radius: 999px;
  overflow: hidden;
}

.progress-fill {
  height: 100%;
  width: 0%;
  background: gold;
  transition: width 0.3s ease;
}

.course-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.course-item {
  display: block;
  text-decoration: none;
  color: #fff;
  background: #222;
  padding: 14px;
  border-radius: 10px;
  transition: background 0.2s ease, color 0.2s ease;
}

.course-item:hover {
  background: #333;
}

.course-item.active {
  background: gold;
  color: #000;
  font-weight: 700;
}

.course-item.favorite-item {
  box-shadow: inset 0 0 0 1px #ff9800;
}

.course-item.done {
  border-left: 4px solid #18a558;
}

.course-item.done::after {
  content: " ✔";
  font-weight: 700;
  color: #18a558;
}

.hidden {
  display: none !important;
}

.course-end-box {
  margin-top: 22px;
  background: linear-gradient(135deg, #111, #1b1b1b);
  border: 1px solid #2f2f2f;
  border-radius: 18px;
  padding: 22px;
}

.course-end-box h3 {
  margin-top: 0;
  margin-bottom: 10px;
  color: gold;
  font-size: 24px;
}

.course-end-box p {
  margin-top: 0;
  margin-bottom: 18px;
  color: #ddd;
  font-size: 16px;
}

.auto-next-info {
  margin-bottom: 18px;
  color: #ffd54a;
  font-size: 15px;
  font-weight: 700;
}

.course-end-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.back-module-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}

@media (max-width: 950px) {
  .player-layout {
    grid-template-columns: 1fr;
  }

  .player-sidebar {
    max-height: none;
  }

  .home {
    flex-direction: column;
    align-items: center;
  }

  .back-link {
    position: static;
    display: block;
    margin-bottom: 12px;
    text-align: left;
  }
}
.pdf-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.pdf-section {
  margin-top: 22px;
  background: #0d0d0d;
  border: 1px solid #252525;
  border-radius: 18px;
  padding: 18px;
}

.pdf-section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}

.pdf-section-header h3 {
  margin: 0;
  color: gold;
  font-size: 22px;
}

.pdf-unavailable {
  background: #1b1b1b;
  border: 1px solid #333;
  border-radius: 12px;
  padding: 14px;
  color: #ffb3b3;
  font-weight: 700;
}

.pdf-viewer {
  width: 100%;
  height: 700px;
  border: none;
  border-radius: 12px;
  background: #111;
}

@media (max-width: 950px) {
  .pdf-viewer {
    height: 500px;
  }
}
.empty-state {
  background: #111;
  border-radius: 18px;
  padding: 24px;
  color: #ddd;
  font-size: 18px;
}

.favorite-course-card {
  display: block;
  text-decoration: none;
  color: #fff;
  background: #111;
  border-radius: 18px;
  padding: 20px;
  transition: transform 0.2s ease, background 0.2s ease;
}

.favorite-course-card:hover {
  transform: translateY(-4px);
  background: #1a1a1a;
}

.favorite-course-title {
  font-size: 20px;
  font-weight: 700;
  color: gold;
  margin-bottom: 8px;
}

.favorite-course-meta {
  color: #ccc;
  font-size: 14px;
}

.category-progress-card {
  margin-bottom: 20px;
}

.category-progress-header {
  display: flex;
  justify-content: space-between;
  margin-bottom: 8px;
  font-weight: 700;
}

/* ==============================
   PCR NETFLIX PLAYER STYLE
============================== */

body {
  background: radial-gradient(circle at top, #111827 0%, #050505 45%, #000 100%);
  color: #fff;
}

.topbar {
  background: rgba(0, 0, 0, 0.65);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.title {
  color: #ffe600;
  text-shadow: 0 0 22px rgba(255, 230, 0, 0.35);
}

.player-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 26px;
  padding: 34px;
}

.player-main {
  background: linear-gradient(180deg, rgba(255,255,255,0.06), rgba(255,255,255,0.02));
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 22px;
  padding: 18px;
  box-shadow: 0 30px 90px rgba(0,0,0,0.55);
}

#videoPlayer {
  width: 100%;
  height: 68vh;
  background: #000;
  border-radius: 18px;
  box-shadow: 0 20px 70px rgba(0,0,0,0.75);
}

.player-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 18px;
}

.btn,
.pdf-link,
.support-item {
  border-radius: 14px;
  padding: 13px 22px;
  font-weight: 800;
  transition: 0.25s ease;
  border: 1px solid rgba(255,255,255,0.08);
}

.btn:hover,
.pdf-link:hover,
.support-item:hover {
  transform: translateY(-3px) scale(1.03);
  box-shadow: 0 16px 35px rgba(255,230,0,0.16);
}

.btn-gold {
  background: linear-gradient(135deg, #ffe600, #ffbf00);
  color: #000;
}

.btn-dark,
.support-item {
  background: rgba(255,255,255,0.11);
  color: white;
}

.player-sidebar {
  background: rgba(18,18,18,0.86);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 22px;
  padding: 22px;
  box-shadow: 0 30px 80px rgba(0,0,0,0.45);
}

.sidebar-title {
  color: #fff;
  font-size: 22px;
  margin-bottom: 14px;
}

.progress-bar {
  height: 9px;
  background: rgba(255,255,255,0.10);
  border-radius: 50px;
  overflow: hidden;
}

.progress-fill {
  height: 100%;
  background: linear-gradient(90deg, #ffe600, #ff9800);
  border-radius: 50px;
}

.search-input {
  width: 100%;
  margin: 20px 0;
  padding: 15px;
  border-radius: 14px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  color: white;
}

.course-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.course-item {
  background: rgba(255,255,255,0.08);
  border-radius: 14px;
  padding: 15px;
  color: white;
  text-decoration: none;
  transition: 0.22s ease;
}

.course-item:hover {
  background: rgba(255,255,255,0.16);
  transform: translateX(-4px);
}

.course-item.active {
  background: linear-gradient(135deg, #ffe600, #ffbf00);
  color: #000;
  font-weight: 900;
}

.course-item.done::after {
  content: " ✓";
  color: #00ff99;
  font-weight: 900;
}

.supports-list,
#quickSupports {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

@media (max-width: 1100px) {
  .player-layout {
    grid-template-columns: 1fr;
    padding: 18px;
  }

  #videoPlayer {
    height: 52vh;
  }
}

/* =========================
   PCR HOME V2 - NETFLIX STYLE
========================= */

body {
  margin: 0;
  font-family: "Poppins", Arial, sans-serif;
  background:
    radial-gradient(circle at top left, rgba(255, 212, 0, 0.10), transparent 28%),
    radial-gradient(circle at top right, rgba(0, 229, 255, 0.08), transparent 25%),
    linear-gradient(180deg, #080808 0%, #000 100%);
  color: #fff;
}

.navbar {
  height: 74px;
  padding: 0 56px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(0,0,0,0.72);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(255,255,255,0.08);
  position: sticky;
  top: 0;
  z-index: 50;
}

.logo {
  font-size: 28px;
  font-weight: 900;
  color: #ffd400;
  text-shadow: 0 0 22px rgba(255,212,0,.45);
}

.menu {
  display: flex;
  gap: 24px;
}

.menu a {
  color: rgba(255,255,255,.78);
  text-decoration: none;
  font-weight: 600;
  transition: .25s;
}

.menu a:hover {
  color: #ffd400;
}

.hero {
  min-height: 430px;
  padding: 90px 70px 50px;
  display: flex;
  align-items: center;
  background:
    linear-gradient(90deg, rgba(0,0,0,.95), rgba(0,0,0,.72), rgba(0,0,0,.25)),
    radial-gradient(circle at 75% 25%, rgba(255,212,0,.15), transparent 28%);
}

.hero-left {
  max-width: 820px;
}

.hero h1 {
  font-size: clamp(38px, 5vw, 72px);
  line-height: 1.02;
  margin: 0 0 22px;
  font-weight: 900;
}

.hero h1 span {
  display: block;
  color: #ffd400;
}

.hero p {
  max-width: 620px;
  color: rgba(255,255,255,.78);
  font-size: 19px;
  line-height: 1.7;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  margin-top: 30px;
}

.btn-primary,
.btn-secondary {
  padding: 15px 26px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 900;
  transition: .25s;
}

.btn-primary {
  background: linear-gradient(135deg, #ffd400, #ffae00);
  color: #000;
}

.btn-secondary {
  background: rgba(255,255,255,.10);
  color: #fff;
  border: 1px solid rgba(255,255,255,.12);
}

.btn-primary:hover,
.btn-secondary:hover {
  transform: translateY(-3px) scale(1.03);
}

.categories {
  padding: 40px 70px 80px;
}

.categories h2 {
  font-size: 30px;
  margin-bottom: 24px;
}

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 22px;
}

.categories .category-card {
  min-height: 190px;
  padding: 28px;
  border-radius: 24px;
  background: linear-gradient(180deg, rgba(255,255,255,.08), rgba(255,255,255,.035));
  border: 1px solid rgba(255,255,255,.08);
  box-shadow: 0 26px 70px rgba(0,0,0,.45);
  color: #fff;
  text-decoration: none;
  transition: .28s ease;
  position: relative;
  overflow: hidden;
}

.categories .category-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at top right, rgba(255,212,0,.20), transparent 36%);
  opacity: 0;
  transition: .28s;
}

.categories .category-card:hover {
  transform: translateY(-8px) scale(1.025);
  border-color: rgba(255,212,0,.45);
  box-shadow: 0 30px 90px rgba(255,212,0,.12);
}

.categories .category-card:hover::before {
  opacity: 1;
}

.categories .category-card {
  font-size: 34px;
}

.categories .category-card h3 {
  font-size: 22px;
  margin: 26px 0 8px;
  position: relative;
  z-index: 2;
}

.categories .category-card p {
  color: rgba(255,255,255,.65);
  margin: 0;
  position: relative;
  z-index: 2;
}

@media (max-width: 850px) {
  .navbar {
    padding: 0 22px;
  }

  .menu {
    display: none;
  }

  .hero {
    padding: 70px 24px 40px;
  }

  .categories {
    padding: 30px 24px 60px;
  }
}

.hero {
  min-height: 560px;
  padding-top: 70px;
  padding-bottom: 35px;
}

.hero h1 {
  max-width: 720px;
  font-size: clamp(42px, 4.2vw, 68px);
}

.categories {
  padding-top: 10px;
}

.cards {
  grid-template-columns: repeat(5, minmax(180px, 1fr));
}

@media (max-width: 1100px) {
  .cards {
    grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  }
}

/* ================= PCR HOME PRO ================= */

.home-v2 {
  background: #020202;
  color: white;
  font-family: "Poppins", Arial, sans-serif;
  overflow-x: hidden;
}

.pcr-navbar {
  height: 86px;
  padding: 0 56px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgba(0,0,0,.82);
  border-bottom: 1px solid rgba(255,255,255,.08);
  backdrop-filter: blur(18px);
  position: sticky;
  top: 0;
  z-index: 99;
}

.pcr-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #ffd400;
  font-size: 34px;
  font-weight: 900;
  text-shadow: 0 0 24px rgba(255,212,0,.45);
}

.pcr-menu {
  display: flex;
  gap: 36px;
}

.pcr-menu a {
  color: white;
  text-decoration: none;
  font-weight: 800;
  opacity: .82;
}

.pcr-menu a.active,
.pcr-menu a:hover {
  color: #ffd400;
}

.pcr-hero {
  min-height: 670px;
  padding: 70px 70px 20px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  background:
    radial-gradient(circle at 75% 42%, rgba(0,157,255,.22), transparent 28%),
    radial-gradient(circle at 85% 50%, rgba(255,212,0,.18), transparent 34%),
    linear-gradient(90deg, #000 0%, #050505 48%, #071018 100%);
}

.pcr-hero-text h1 {
  font-size: clamp(48px, 5.2vw, 82px);
  line-height: .95;
  margin: 0;
  font-weight: 950;
  letter-spacing: -3px;
}

.pcr-hero-text h1::after {
  content: "";
  display: block;
  width: 120px;
  height: 7px;
  margin-top: 26px;
  border-radius: 99px;
  background: linear-gradient(90deg, #ffd400, transparent);
}

.pcr-hero-text p {
  margin-top: 28px;
  font-size: 22px;
  color: rgba(255,255,255,.75);
  line-height: 1.6;
}

.pcr-buttons {
  display: flex;
  gap: 18px;
  margin-top: 32px;
}

.pcr-btn {
  padding: 16px 30px;
  border-radius: 999px;
  font-weight: 900;
  text-decoration: none;
  transition: .25s;
}

.pcr-btn.gold {
  background: linear-gradient(135deg, #ffd400, #ff9d00);
  color: #000;
}

.pcr-btn.dark {
  background: rgba(255,255,255,.10);
  color: white;
  border: 1px solid rgba(255,255,255,.12);
}

.pcr-btn:hover {
  transform: translateY(-4px) scale(1.04);
}

.pcr-stats {
  margin-top: 44px;
  display: grid;
  grid-template-columns: repeat(4, 150px);
  gap: 16px;
}

.pcr-stats div {
  padding: 16px;
  border-radius: 18px;
  background: rgba(255,255,255,.055);
  border: 1px solid rgba(255,212,0,.18);
  box-shadow: 0 20px 60px rgba(0,0,0,.4);
}

.pcr-stats b {
  color: #ffd400;
  font-size: 24px;
  display: block;
}

.pcr-stats span {
  color: rgba(255,255,255,.68);
}

.pcr-hero-logo {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

.pcr-hero-logo::before {
  content: "";
  position: absolute;
  width: 560px;
  height: 560px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,212,0,.20), transparent 65%);
  filter: blur(20px);
}

.pcr-hero-logo img {
  width: min(520px, 42vw);
  position: relative;
  z-index: 2;
  filter:
    drop-shadow(0 0 35px rgba(0,180,255,.55))
    drop-shadow(0 0 55px rgba(255,212,0,.20));
  animation: logoFloat 4s ease-in-out infinite;
}

@keyframes logoFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-14px); }
}

.pcr-categories {
  padding: 40px 70px 80px;
}

.pcr-categories h2 {
  font-size: 34px;
  margin-bottom: 26px;
}

.pcr-card-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(190px, 1fr));
  gap: 26px;
}

.pcr-card {
  min-height: 230px;
  padding: 28px;
  border-radius: 26px;
  background: linear-gradient(180deg, rgba(255,255,255,.08), rgba(255,255,255,.025));
  border: 1px solid rgba(255,255,255,.10);
  color: white;
  text-decoration: none;
  transition: .3s;
  box-shadow: 0 30px 80px rgba(0,0,0,.45);
}

.pcr-card span {
  font-size: 42px;
}

.pcr-card h3 {
  font-size: 26px;
  margin: 28px 0 8px;
}

.pcr-card p {
  color: rgba(255,255,255,.70);
}

.pcr-card button {
  margin-top: 18px;
  padding: 11px 22px;
  border-radius: 999px;
  background: transparent;
  color: white;
  border: 1px solid rgba(255,255,255,.20);
  font-weight: 800;
}

.pcr-card:hover {
  transform: translateY(-10px) scale(1.025);
}

.pcr-card.purple:hover { border-color: #b84dff; box-shadow: 0 0 45px rgba(184,77,255,.25); }
.pcr-card.cyan:hover { border-color: #00e5ff; box-shadow: 0 0 45px rgba(0,229,255,.25); }
.pcr-card.green:hover { border-color: #00e676; box-shadow: 0 0 45px rgba(0,230,118,.25); }
.pcr-card.yellow:hover { border-color: #ffd400; box-shadow: 0 0 45px rgba(255,212,0,.25); }
.pcr-card.blue:hover { border-color: #2f80ff; box-shadow: 0 0 45px rgba(47,128,255,.25); }

@media (max-width: 1100px) {
  .pcr-hero {
    grid-template-columns: 1fr;
  }

  .pcr-hero-logo img {
    width: 420px;
    margin-top: 40px;
  }

  .pcr-card-grid {
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  }

  .pcr-stats {
    grid-template-columns: repeat(2, 1fr);
  }

  .pcr-menu {
    display: none;
  }
}

.hero-logo img{

animation: floatLogo 6s ease-in-out infinite;

filter:
drop-shadow(0 0 30px rgba(255,255,255,.4))
drop-shadow(0 0 70px rgba(0,170,255,.35))
drop-shadow(0 0 120px rgba(255,215,0,.25));

}

/* ================= PCR HOME CINEMATIC ================= */

.pcr-home {
  margin: 0;
  min-height: 100vh;
  background: #020202;
  color: #fff;
  font-family: "Poppins", Arial, sans-serif;
  overflow-x: hidden;
}

.pcr-nav {
  height: 92px;
  margin: 0;
  padding: 0 58px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(0, 0, 0, 0.72);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 0 0 26px 26px;
  backdrop-filter: blur(22px);
  position: sticky;
  top: 0;
  z-index: 100;
}

.pcr-brand {
  display: flex;
  align-items: center;
  gap: 13px;
  color: #ffe600;
  text-decoration: none;
  font-size: 34px;
  font-weight: 950;
  text-shadow: 0 0 24px rgba(255,230,0,.45);
}

.pcr-brand span {
  filter: drop-shadow(0 0 12px rgba(0,229,255,.8));
}

.pcr-links {
  display: flex;
  align-items: center;
  gap: 34px;
}

.pcr-links a {
  color: rgba(255,255,255,.86);
  text-decoration: none;
  font-weight: 850;
  font-size: 17px;
  position: relative;
}

.pcr-links a.active,
.pcr-links a:hover {
  color: #ffe600;
}

.pcr-links a.active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -19px;
  height: 4px;
  border-radius: 99px;
  background: #ffe600;
  box-shadow: 0 0 18px rgba(255,230,0,.9);
}

.pcr-hero {
  min-height: 640px;
  padding: 55px 68px 30px;
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  align-items: center;
  gap: 20px;
  background:
    radial-gradient(circle at 82% 48%, rgba(255,214,0,.22), transparent 31%),
    radial-gradient(circle at 75% 48%, rgba(0,170,255,.24), transparent 30%),
    radial-gradient(circle at 55% 20%, rgba(255,255,255,.06), transparent 28%),
    linear-gradient(90deg, #000 0%, #030303 43%, #061016 100%);
  position: relative;
}

.pcr-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle, rgba(255,255,255,.18) 1px, transparent 1.5px);
  background-size: 80px 80px;
  opacity: .08;
  pointer-events: none;
}

.pcr-hero-text {
  position: relative;
  z-index: 2;
}

.pcr-hero h1 {
  margin: 0;
  font-size: clamp(54px, 5.3vw, 86px);
  line-height: .95;
  font-weight: 950;
  letter-spacing: -3px;
  text-shadow: 0 12px 40px rgba(0,0,0,.85);
}

.pcr-hero h1::after {
  content: "";
  display: block;
  width: 130px;
  height: 6px;
  margin-top: 28px;
  border-radius: 99px;
  background: linear-gradient(90deg, #ffe600, rgba(255,230,0,0));
  box-shadow: 0 0 20px rgba(255,230,0,.55);
}

.pcr-hero p {
  margin: 28px 0 0;
  font-size: 21px;
  line-height: 1.6;
  color: rgba(255,255,255,.78);
}

.pcr-actions {
  display: flex;
  gap: 18px;
  margin-top: 34px;
}

.pcr-btn {
  min-height: 58px;
  padding: 0 30px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 950;
  transition: .25s ease;
}

.pcr-btn-gold {
  background: linear-gradient(135deg, #ffe600, #ffb000);
  color: #000;
  box-shadow: 0 18px 45px rgba(255,214,0,.22);
}

.pcr-btn-dark {
  background: rgba(255,255,255,.10);
  color: #fff;
  border: 1px solid rgba(255,255,255,.14);
}

.pcr-btn:hover {
  transform: translateY(-4px) scale(1.04);
}

.pcr-stats {
  margin-top: 42px;
  display: grid;
  grid-template-columns: repeat(4, 150px);
  gap: 14px;
}

.pcr-stats div {
  min-height: 82px;
  padding: 13px 15px;
  border-radius: 18px;
  background: rgba(255,255,255,.045);
  border: 1px solid rgba(255,230,0,.18);
  box-shadow: 0 18px 55px rgba(0,0,0,.55);
  backdrop-filter: blur(14px);
}

.pcr-stats span {
  font-size: 24px;
  float: left;
  margin-right: 10px;
}

.pcr-stats b {
  display: block;
  color: #ffe600;
  font-size: 24px;
  font-weight: 950;
}

.pcr-stats p {
  margin: 2px 0 0;
  font-size: 14px;
  color: rgba(255,255,255,.75);
  line-height: 1.2;
}

.pcr-hero-logo {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: center;
  align-items: center;
}

.pcr-hero-logo::before {
  content: "";
  position: absolute;
  width: 640px;
  height: 640px;
  border-radius: 50%;
  background:
    radial-gradient(circle, rgba(0,177,255,.28), transparent 52%),
    radial-gradient(circle, rgba(255,214,0,.18), transparent 65%);
  filter: blur(25px);
}

.pcr-hero-logo img {
  width: min(560px, 43vw);
  position: relative;
  z-index: 3;
  animation: pcrFloat 5.5s ease-in-out infinite;
  filter:
    drop-shadow(0 0 28px rgba(255,255,255,.38))
    drop-shadow(0 0 65px rgba(0,180,255,.46))
    drop-shadow(0 0 120px rgba(255,214,0,.24));
}

@keyframes pcrFloat {
  0%, 100% { transform: translateY(0) scale(1); }
  50% { transform: translateY(-16px) scale(1.015); }
}

.pcr-categories {
  padding: 30px 68px 80px;
  background: linear-gradient(180deg, rgba(4,4,4,.2), #020202);
}

.pcr-categories h2 {
  margin: 0 0 24px;
  font-size: 34px;
  font-weight: 950;
}

.pcr-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(190px, 1fr));
  gap: 24px;
  padding: 22px;
  border-radius: 28px;
  border: 1px solid rgba(255,255,255,.07);
  background: rgba(255,255,255,.025);
}

.pcr-card {
  min-height: 235px;
  padding: 28px;
  border-radius: 25px;
  background: linear-gradient(180deg, rgba(255,255,255,.075), rgba(255,255,255,.022));
  border: 1px solid rgba(255,255,255,.11);
  text-decoration: none;
  color: white;
  transition: .28s ease;
  box-shadow: 0 28px 80px rgba(0,0,0,.48);
}

.pcr-card span {
  font-size: 48px;
  filter: drop-shadow(0 0 16px rgba(255,255,255,.25));
}

.pcr-card h3 {
  margin: 28px 0 8px;
  font-size: 28px;
  font-weight: 950;
}

.pcr-card p {
  margin: 0;
  color: rgba(255,255,255,.72);
  font-size: 17px;
}

.pcr-card em {
  display: inline-flex;
  margin-top: 25px;
  padding: 11px 24px;
  border-radius: 999px;
  font-style: normal;
  font-weight: 850;
  border: 1px solid rgba(255,255,255,.18);
  color: white;
}

.pcr-card:hover {
  transform: translateY(-11px) scale(1.025);
}

.pcr-card.purple { border-color: rgba(187,72,255,.35); }
.pcr-card.cyan { border-color: rgba(0,229,255,.35); }
.pcr-card.green { border-color: rgba(0,230,118,.35); }
.pcr-card.yellow { border-color: rgba(255,214,0,.35); }
.pcr-card.blue { border-color: rgba(47,128,255,.40); }

.pcr-card.purple:hover { box-shadow: 0 0 55px rgba(187,72,255,.28); }
.pcr-card.cyan:hover { box-shadow: 0 0 55px rgba(0,229,255,.24); }
.pcr-card.green:hover { box-shadow: 0 0 55px rgba(0,230,118,.24); }
.pcr-card.yellow:hover { box-shadow: 0 0 55px rgba(255,214,0,.24); }
.pcr-card.blue:hover { box-shadow: 0 0 55px rgba(47,128,255,.28); }

@media (max-width: 1150px) {
  .pcr-hero {
    grid-template-columns: 1fr;
  }

  .pcr-hero-logo img {
    width: 420px;
  }

  .pcr-grid {
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  }

  .pcr-stats {
    grid-template-columns: repeat(2, 150px);
  }

  .pcr-links {
    display: none;
  }
}

@media (max-width: 650px) {
  .pcr-nav {
    padding: 0 22px;
  }

  .pcr-hero,
  .pcr-categories {
    padding-left: 24px;
    padding-right: 24px;
  }

  .pcr-actions {
    flex-direction: column;
  }

  .pcr-stats {
    grid-template-columns: 1fr;
  }
}

/* ================= PCR PRO HOME FINAL ================= */

.pcr-pro-home {
  margin: 0;
  background: #020202;
  color: white;
  font-family: "Poppins", Arial, sans-serif;
  overflow-x: hidden;
}

.pro-nav {
  height: 86px;
  margin: 12px 16px 0;
  padding: 0 42px;
  border-radius: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(0,0,0,.72);
  border: 1px solid rgba(255,255,255,.10);
  backdrop-filter: blur(24px);
  position: sticky;
  top: 10px;
  z-index: 100;
  box-shadow: 0 25px 80px rgba(0,0,0,.55);
}

.pro-brand {
  display: flex;
  align-items: center;
  gap: 14px;
  color: #ffe600;
  text-decoration: none;
  font-size: 36px;
  font-weight: 950;
  text-shadow: 0 0 26px rgba(255,230,0,.55);
}

.pro-brand span {
  filter: drop-shadow(0 0 12px rgba(0,229,255,.8));
}

.pro-menu {
  display: flex;
  align-items: center;
  gap: 34px;
}

.pro-menu a {
  color: rgba(255,255,255,.88);
  text-decoration: none;
  font-weight: 850;
  font-size: 17px;
  position: relative;
}

.pro-menu a.active,
.pro-menu a:hover {
  color: #ffe600;
}

.pro-menu a.active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -22px;
  height: 4px;
  background: #ffe600;
  border-radius: 99px;
  box-shadow: 0 0 20px rgba(255,230,0,.9);
}

.ia-link {
  padding: 12px 20px;
  border-radius: 16px;
  border: 1px solid rgba(255,230,0,.35);
  box-shadow: 0 0 28px rgba(255,230,0,.10);
}

.ia-link small {
  display: block;
  color: white;
  background: linear-gradient(135deg, #7c3cff, #b026ff);
  border-radius: 999px;
  padding: 2px 8px;
  font-size: 10px;
  margin-top: 2px;
}

.pro-page {
  padding: 0 16px 40px;
}

.pro-hero {
  min-height: 640px;
  padding: 42px 55px 20px;
  display: grid;
  grid-template-columns: .95fr 1.05fr;
  align-items: center;
  gap: 20px;
  position: relative;
  overflow: hidden;
  border-radius: 0 0 28px 28px;
  background:
    radial-gradient(circle at 74% 48%, rgba(0,170,255,.30), transparent 28%),
    radial-gradient(circle at 86% 45%, rgba(255,198,0,.28), transparent 33%),
    linear-gradient(90deg, #000 0%, #030303 42%, #061015 100%);
}

.pro-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle, rgba(255,255,255,.24) 1px, transparent 1.5px);
  background-size: 75px 75px;
  opacity: .08;
  pointer-events: none;
}

.pro-left {
  position: relative;
  z-index: 2;
}

.trust-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
  color: rgba(255,255,255,.82);
  font-size: 15px;
}

.avatars {
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(255,255,255,.08);
}

.stars {
  color: #ffe600;
  letter-spacing: 4px;
  text-shadow: 0 0 18px rgba(255,230,0,.7);
}

.pro-hero h1 {
  margin: 0;
  font-size: clamp(54px, 5.2vw, 84px);
  line-height: .95;
  font-weight: 950;
  letter-spacing: -3px;
  text-shadow: 0 14px 45px rgba(0,0,0,.9);
}

.pro-hero h1 span {
  display: block;
  color: #ffe600;
  text-shadow: 0 0 22px rgba(255,230,0,.35);
}

.pro-hero p {
  margin: 26px 0 0;
  color: rgba(255,255,255,.78);
  font-size: 21px;
  line-height: 1.55;
}

.pro-actions {
  margin-top: 30px;
  display: flex;
  gap: 18px;
  align-items: center;
}

.pro-btn {
  min-height: 58px;
  padding: 0 30px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  font-weight: 950;
  transition: .25s ease;
}

.pro-btn.gold {
  background: linear-gradient(135deg, #ffe600, #ffb000);
  color: #000;
  box-shadow: 0 18px 55px rgba(255,214,0,.28);
}

.pro-btn.dark {
  background: rgba(255,255,255,.09);
  color: white;
  border: 1px solid rgba(255,255,255,.16);
}

.pro-btn.ai {
  color: #e9fbff;
  background: rgba(0,229,255,.06);
  border: 1px solid rgba(0,229,255,.55);
  box-shadow: 0 0 35px rgba(0,229,255,.22), inset 0 0 25px rgba(159,57,255,.18);
}

.pro-btn.ai small {
  margin-left: 10px;
  padding: 4px 8px;
  border-radius: 999px;
  background: linear-gradient(135deg, #7c3cff, #b026ff);
  color: white;
  font-size: 11px;
}

.pro-btn:hover {
  transform: translateY(-4px) scale(1.04);
}

.pro-stats {
  margin-top: 34px;
  display: grid;
  grid-template-columns: repeat(5, minmax(130px, 1fr));
  gap: 14px;
  max-width: 920px;
}

.pro-stats div {
  min-height: 76px;
  padding: 14px 16px;
  border-radius: 18px;
  display: grid;
  grid-template-columns: 42px 1fr;
  align-items: center;
  column-gap: 10px;
  background: rgba(255,255,255,.045);
  border: 1px solid rgba(255,230,0,.15);
  box-shadow: 0 18px 55px rgba(0,0,0,.55);
  backdrop-filter: blur(15px);
}

.pro-stats i {
  grid-row: span 2;
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: rgba(0,229,255,.06);
  border: 1px solid rgba(0,229,255,.25);
  font-style: normal;
  font-size: 23px;
}

.pro-stats b {
  color: white;
  font-size: 24px;
  font-weight: 950;
}

.pro-stats span {
  color: rgba(255,255,255,.74);
  font-size: 14px;
}

.pro-logo-zone {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: center;
  align-items: center;
}

.pro-logo-zone::before {
  content: "";
  position: absolute;
  width: 760px;
  height: 760px;
  border-radius: 50%;
  background:
    radial-gradient(circle, rgba(0,173,255,.30), transparent 50%),
    radial-gradient(circle, rgba(255,214,0,.18), transparent 65%);
  filter: blur(22px);
}

.pro-logo-zone::after {
  content: "";
  position: absolute;
  width: 620px;
  height: 340px;
  border: 2px solid rgba(255,210,0,.42);
  border-left-color: rgba(0,180,255,.40);
  border-radius: 50%;
  transform: rotate(-18deg);
  filter: blur(.2px) drop-shadow(0 0 20px rgba(255,210,0,.35));
  animation: orbit 8s linear infinite;
}

.pro-logo-zone img {
  width: min(600px, 43vw);
  position: relative;
  z-index: 4;
  animation: logoFloat 5.5s ease-in-out infinite;
  filter:
    drop-shadow(0 0 28px rgba(255,255,255,.45))
    drop-shadow(0 0 70px rgba(0,180,255,.55))
    drop-shadow(0 0 130px rgba(255,214,0,.28));
}

@keyframes logoFloat {
  0%,100% { transform: translateY(0) scale(1); }
  50% { transform: translateY(-16px) scale(1.015); }
}

@keyframes orbit {
  from { transform: rotate(-18deg); }
  to { transform: rotate(342deg); }
}

.pro-categories {
  margin-top: -20px;
  padding: 0 55px 40px;
  position: relative;
  z-index: 3;
}

.pro-categories h2 {
  margin: 0 0 18px;
  font-size: 32px;
  font-weight: 950;
}

.pro-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(190px, 1fr));
  gap: 22px;
  padding: 28px;
  border-radius: 28px;
  background: rgba(255,255,255,.025);
  border: 1px solid rgba(255,255,255,.08);
  box-shadow: 0 24px 70px rgba(0,0,0,.45);
}

.pro-card {
  min-height: 220px;
  padding: 28px;
  border-radius: 24px;
  color: white;
  text-decoration: none;
  background: linear-gradient(180deg, rgba(255,255,255,.08), rgba(255,255,255,.022));
  border: 1px solid rgba(255,255,255,.12);
  box-shadow: 0 30px 85px rgba(0,0,0,.48);
  transition: .28s ease;
  position: relative;
  overflow: hidden;
}

.pro-card::after {
  content: "";
  position: absolute;
  inset: auto -30px -50px -30px;
  height: 95px;
  opacity: .55;
  filter: blur(18px);
}

.pro-card.purple::after { background: #9d32ff; }
.pro-card.cyan::after { background: #00e5ff; }
.pro-card.green::after { background: #00e676; }
.pro-card.yellow::after { background: #ffe600; }
.pro-card.blue::after { background: #1287ff; }

.pro-card span {
  font-size: 48px;
  position: relative;
  z-index: 2;
}

.pro-card h3 {
  margin: 26px 0 8px;
  font-size: 28px;
  font-weight: 950;
  position: relative;
  z-index: 2;
}

.pro-card p {
  margin: 0;
  color: rgba(255,255,255,.76);
  font-size: 17px;
  position: relative;
  z-index: 2;
}

.pro-card em {
  margin-top: 26px;
  display: inline-flex;
  padding: 11px 25px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.20);
  font-style: normal;
  font-weight: 850;
  position: relative;
  z-index: 2;
}

.pro-card.purple { border-color: rgba(187,72,255,.45); }
.pro-card.cyan { border-color: rgba(0,229,255,.42); }
.pro-card.green { border-color: rgba(0,230,118,.42); }
.pro-card.yellow { border-color: rgba(255,214,0,.45); }
.pro-card.blue { border-color: rgba(47,128,255,.45); }

.pro-card:hover {
  transform: translateY(-10px) scale(1.025);
}

.pro-card.purple:hover { box-shadow: 0 0 55px rgba(187,72,255,.35); }
.pro-card.cyan:hover { box-shadow: 0 0 55px rgba(0,229,255,.30); }
.pro-card.green:hover { box-shadow: 0 0 55px rgba(0,230,118,.30); }
.pro-card.yellow:hover { box-shadow: 0 0 55px rgba(255,214,0,.30); }
.pro-card.blue:hover { box-shadow: 0 0 55px rgba(47,128,255,.35); }

@media (max-width: 1200px) {
  .pro-hero {
    grid-template-columns: 1fr;
  }

  .pro-logo-zone img {
    width: 440px;
  }

  .pro-stats {
    grid-template-columns: repeat(2, 1fr);
  }

  .pro-grid {
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  }

  .pro-menu {
    display: none;
  }
}

/* ===== PCR HOME POLISH V2 ===== */

.pro-nav {
  height: 78px;
  margin: 10px 18px 0;
  padding: 0 34px;
}

.pro-hero {
  min-height: 620px;
  padding-top: 28px;
  padding-bottom: 0;
  grid-template-columns: 0.9fr 1.1fr;
}

.trust-row {
  margin-bottom: 14px;
}

.pro-hero h1 {
  font-size: clamp(56px, 5vw, 82px);
}

.pro-hero p {
  font-size: 22px;
  max-width: 560px;
}

.pro-logo-zone {
  align-self: center;
  transform: translateY(-10px);
}

.pro-logo-zone img {
  width: min(620px, 45vw);
}

.pro-logo-zone::before {
  width: 780px;
  height: 780px;
  background:
    radial-gradient(circle, rgba(0,190,255,.36), transparent 48%),
    radial-gradient(circle, rgba(255,215,0,.25), transparent 66%);
}

.pro-logo-zone::after {
  width: 680px;
  height: 380px;
  border-color: rgba(255,220,0,.55);
  border-left-color: rgba(0,200,255,.55);
}

.pro-stats {
  grid-template-columns: repeat(5, 1fr);
  gap: 14px;
  max-width: 760px;
}

.pro-stats div {
  min-height: 86px;
  border-color: rgba(255,230,0,.28);
}

.pro-categories {
  margin-top: -55px;
}

.pro-grid {
  background: rgba(255,255,255,.035);
  border-color: rgba(255,255,255,.12);
}

.pro-card {
  min-height: 250px;
  transform: translateZ(0);
}

.pro-card span {
  font-size: 56px;
}

.pro-card:hover {
  transform: translateY(-14px) scale(1.035);
}

/* meilleur glow sous les cards */
.pro-card.purple {
  background:
    radial-gradient(circle at bottom, rgba(157,50,255,.22), transparent 45%),
    linear-gradient(180deg, rgba(255,255,255,.09), rgba(255,255,255,.025));
}

.pro-card.cyan {
  background:
    radial-gradient(circle at bottom, rgba(0,229,255,.20), transparent 45%),
    linear-gradient(180deg, rgba(255,255,255,.09), rgba(255,255,255,.025));
}

.pro-card.green {
  background:
    radial-gradient(circle at bottom, rgba(0,230,118,.20), transparent 45%),
    linear-gradient(180deg, rgba(255,255,255,.09), rgba(255,255,255,.025));
}

.pro-card.yellow {
  background:
    radial-gradient(circle at bottom, rgba(255,230,0,.22), transparent 45%),
    linear-gradient(180deg, rgba(255,255,255,.09), rgba(255,255,255,.025));
}

.pro-card.blue {
  background:
    radial-gradient(circle at bottom, rgba(47,128,255,.22), transparent 45%),
    linear-gradient(180deg, rgba(255,255,255,.09), rgba(255,255,255,.025));
}

/* ===== PCR FINAL ALIGN FIX ===== */

.pro-hero {
  min-height: 690px;
  padding-top: 55px;
  align-items: center;
}

.pro-logo-zone {
  transform: translateY(35px);
}

.pro-logo-zone img {
  width: min(560px, 40vw);
}

.pro-logo-zone::before {
  width: 700px;
  height: 700px;
}

.pro-logo-zone::after {
  width: 590px;
  height: 330px;
}

.pro-categories {
  margin-top: -25px;
}

.pro-card {
  min-height: 255px;
  background:
    radial-gradient(circle at bottom, rgba(255,255,255,.08), transparent 48%),
    linear-gradient(180deg, rgba(255,255,255,.10), rgba(255,255,255,.025));
}

.pro-card span {
  font-size: 62px;
}

.pro-card em {
  margin-top: 30px;
}

.pro-card.purple { box-shadow: inset 0 -70px 80px rgba(157,50,255,.15), 0 30px 85px rgba(0,0,0,.5); }
.pro-card.cyan { box-shadow: inset 0 -70px 80px rgba(0,229,255,.13), 0 30px 85px rgba(0,0,0,.5); }
.pro-card.green { box-shadow: inset 0 -70px 80px rgba(0,230,118,.13), 0 30px 85px rgba(0,0,0,.5); }
.pro-card.yellow { box-shadow: inset 0 -70px 80px rgba(255,230,0,.14), 0 30px 85px rgba(0,0,0,.5); }
.pro-card.blue { box-shadow: inset 0 -70px 80px rgba(47,128,255,.15), 0 30px 85px rgba(0,0,0,.5); }

.pro-hero::before{
content:"";
position:absolute;
inset:0;
background:url("images/stars.png");
opacity:.15;
animation:starsMove 60s linear infinite;
}

@keyframes starsMove{
from{transform:translateY(0);}
to{transform:translateY(300px);}
}

.pro-logo-zone img{

filter:
drop-shadow(0 0 18px rgba(255,255,255,.55))
drop-shadow(0 0 45px rgba(0,170,255,.35))
drop-shadow(0 0 120px rgba(255,220,0,.25));

animation:floatLogo 6s ease-in-out infinite;
}

@keyframes floatLogo{

0%,100%{
transform:translateY(0px);
}

50%{
transform:translateY(-14px);
}

}

.hero-left h1{

font-size:78px;
line-height:.95;

}

.hero-btn:hover{

transform:translateY(-5px) scale(1.05);

box-shadow:

0 15px 45px rgba(255,210,0,.45);

}

.pro-card{

backdrop-filter:blur(14px);

border:1px solid rgba(255,255,255,.08);

}

.pro-card:hover{

transform:

translateY(-12px)

scale(1.03);

}

#markWatchedBtn,
.mark-watched-btn,
button[onclick*="mark"]{
  display:none !important;
}

.module-complete-overlay{
  position:fixed;
  inset:0;
  background:rgba(0,0,0,.92);
  display:flex;
  align-items:center;
  justify-content:center;
  z-index:99999;
}

.module-complete-box{
  padding:55px 80px;
  border-radius:30px;
  background:linear-gradient(135deg,#111,#1c1c1c);
  border:1px solid gold;
  text-align:center;
  box-shadow:0 0 90px rgba(255,215,0,.55);
  animation:celebratePop .6s ease;
}

.module-complete-box h1{
  color:gold;
  font-size:48px;
}

.module-complete-box p{
  color:white;
  font-size:22px;
}

@keyframes celebratePop{
  from{ transform:scale(.7); opacity:0; }
  to{ transform:scale(1); opacity:1; }
}

.player-actions .btn-gold:first-child{
  display: none !important;
}

.next-video-popup{

    position:fixed;

    right:25px;

    bottom:-260px;

    width:340px;

    background:#161616;

    border:1px solid gold;

    border-radius:20px;

    padding:22px;

    z-index:99999;

    transition:.45s;

    box-shadow:0 0 35px rgba(255,215,0,.35);

}

.next-video-popup.show{

    bottom:25px;

}

.next-video-popup h3{

    color:#FFD700;

    margin-bottom:15px;

}

.next-video-popup p{

    color:white;

    margin-bottom:20px;

}

.next-countdown{

    font-size:22px;

    color:gold;

    margin-bottom:20px;

}

.next-buttons{

    display:flex;

    justify-content:space-between;

}

.next-buttons button{

    border:none;

    padding:10px 18px;

    border-radius:10px;

    cursor:pointer;

}

#playNextNow{

    background:gold;

    color:black;

}

#cancelNext{

    background:#333;

    color:white;

}

.player-main,
.player-card{
  position: relative !important;
}

.next-miniature{
  position:absolute;
  right:32px;
  bottom:110px;
  width:330px;
  display:none;
  align-items:center;
  gap:14px;
  padding:14px;
  border-radius:16px;
  background:rgba(10,10,10,.88);
  border:1px solid rgba(255,215,0,.75);
  box-shadow:0 0 35px rgba(255,215,0,.35);
  z-index:50;
}

.next-miniature.show{
  display:flex;
}

.mini-thumb{
  width:86px;
  height:58px;
  border-radius:12px;
  background:linear-gradient(135deg,#222,#000);
  display:flex;
  align-items:center;
  justify-content:center;
  color:gold;
  font-size:28px;
  border:1px solid rgba(255,215,0,.45);
}

.next-miniature strong{
  color:gold;
  font-size:16px;
}

.next-miniature p{
  margin:4px 0;
  color:white;
  font-size:14px;
}

.next-miniature small{
  color:#ccc;
}

.next-miniature{
  position:absolute;
  right:22px;
  bottom:82px;
  width:330px;
  display:none;
  align-items:center;
  gap:14px;
  padding:14px;
  border-radius:16px;
  background:rgba(0,0,0,.88);
  border:1px solid gold;
  box-shadow:0 0 35px rgba(255,215,0,.35);
  z-index:9999;
}

.next-miniature.show{
  display:flex;
}

.mini-thumb{
  width:86px;
  height:58px;
  border-radius:12px;
  background:#111;
  color:gold;
  display:flex;
  align-items:center;
  justify-content:center;
  font-size:28px;
}

.next-miniature strong{ color:gold; }
.next-miniature p{ color:white; margin:4px 0; }
.next-miniature small{ color:#ccc; }

.next-miniature{
  position:absolute;
  right:22px;
  bottom:88px;
  width:360px;
  display:none;
  align-items:center;
  gap:14px;
  padding:14px;
  border-radius:18px;
  background:rgba(0,0,0,.88);
  border:1px solid gold;
  box-shadow:0 0 40px rgba(255,215,0,.38);
  z-index:9999;
  animation:nextSlide .35s ease;
}

.next-miniature.show{
  display:flex;
}

.mini-thumb{
  width:90px;
  height:62px;
  border-radius:14px;
  background:linear-gradient(135deg,#222,#000);
  color:gold;
  display:flex;
  align-items:center;
  justify-content:center;
  font-size:30px;
  border:1px solid rgba(255,215,0,.45);
}

.next-miniature strong{
  color:gold;
}

.next-miniature p{
  margin:4px 0;
  color:white;
  font-weight:700;
}

.next-miniature small{
  color:#ccc;
}

#cancelNextMini{
  border:none;
  background:#333;
  color:white;
  border-radius:10px;
  padding:8px 12px;
  cursor:pointer;
}

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

.module-complete-overlay{
  position:fixed;
  inset:0;
  background:rgba(0,0,0,.92);
  display:flex;
  align-items:center;
  justify-content:center;
  z-index:99999;
}

.module-complete-box{
  padding:55px 80px;
  border-radius:30px;
  background:linear-gradient(135deg,#111,#1c1c1c);
  border:1px solid gold;
  text-align:center;
  box-shadow:0 0 90px rgba(255,215,0,.55);
}

.module-complete-box h1{
  color:gold;
  font-size:48px;
}

.module-card-qcm {
  display: block;
}

.module-progress {
  margin-top: 14px;
}

.module-progress-bar {
  width: 100%;
  height: 8px;
  background: #333;
  border-radius: 20px;
  overflow: hidden;
}

.module-progress-fill {
  height: 100%;
  background: #facc15;
}

.module-actions {
  margin-top: 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.module-course-btn,
.module-qcm-btn {
  text-align: center;
  border: none;
  padding: 10px;
  border-radius: 10px;
  font-weight: bold;
  cursor: pointer;
  text-decoration: none;
}

.module-course-btn {
  background: #2563eb;
  color: white;
}

.module-qcm-btn {
  background: #16a34a;
  color: white;
}

.module-qcm-btn.locked {
  background: #555;
  cursor: not-allowed;
}

.module-actions small {
  color: #aaa;
  font-size: 12px;
}

.modules-grid {
  display: grid !important;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 22px;
  padding: 25px;
}

.module-card {
  width: auto !important;
  min-height: 230px;
  background: linear-gradient(180deg, #141414, #0b0b0b);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 22px;
  padding: 24px;
  transition: 0.25s ease;
}

.module-card:hover {
  transform: translateY(-4px);
  border-color: rgba(250,204,21,0.45);
  box-shadow: 0 18px 40px rgba(250,204,21,0.08);
}

.module-card-title {
  font-size: 22px;
  font-weight: 900;
  margin-bottom: 6px;
}

.module-card-count {
  color: #bdbdbd;
  margin-bottom: 18px;
}

.module-progress-bar {
  height: 10px;
  background: #262626;
  border-radius: 999px;
}

.module-progress-fill {
  background: linear-gradient(90deg, #facc15, #eab308);
}

.module-progress span {
  display: block;
  margin-top: 7px;
  color: #facc15;
  font-weight: 700;
}

.module-actions {
  margin-top: 22px;
  gap: 12px;
}

.module-course-btn,
.module-qcm-btn {
  width: 100%;
  border-radius: 14px;
  padding: 13px 16px;
  font-size: 15px;
}

.module-course-btn {
  background: linear-gradient(135deg, #4f46e5, #2563eb);
}

.module-qcm-btn {
  background: linear-gradient(135deg, #22c55e, #16a34a);
}

.module-qcm-btn.locked {
  background: #2f2f2f;
  color: #aaa;
}

.module-actions small {
  color: #8f8f8f;
  line-height: 1.4;
}

.modules-grid {
  display: grid !important;
  grid-template-columns: repeat(auto-fill, minmax(310px, 1fr)) !important;
  gap: 26px !important;
  padding: 34px !important;
}

.module-card {
  width: auto !important;
  min-height: 245px !important;
  background: linear-gradient(145deg, rgba(24,24,27,.95), rgba(9,9,11,.98)) !important;
  border: 1px solid rgba(250,204,21,.12) !important;
  border-radius: 26px !important;
  padding: 26px !important;
  box-shadow: 0 20px 55px rgba(0,0,0,.35) !important;
}

.module-card:hover {
  transform: translateY(-5px);
  border-color: rgba(250,204,21,.45) !important;
}

.module-card-title {
  font-size: 24px !important;
  font-weight: 900 !important;
}

.module-card-count {
  color: #cbd5e1 !important;
}

.module-progress-bar {
  height: 9px !important;
  background: #27272a !important;
  border-radius: 999px !important;
}

.module-progress-fill {
  background: linear-gradient(90deg, #facc15, #f97316) !important;
}

.module-progress span {
  color: #fde047 !important;
  font-weight: 800 !important;
}

.module-course-btn,
.module-qcm-btn {
  border-radius: 16px !important;
  padding: 14px !important;
  font-size: 15px !important;
}

.module-course-btn {
  background: linear-gradient(135deg, #4f46e5, #2563eb) !important;
}

.module-qcm-btn {
  background: linear-gradient(135deg, #22c55e, #15803d) !important;
}

.module-qcm-btn.locked {
  background: #3f3f46 !important;
  color: #a1a1aa !important;
}

body .modules-grid {
  display: grid !important;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)) !important;
  gap: 28px !important;
  padding: 38px !important;
}

body .module-card {
  width: auto !important;
  min-height: 250px !important;
  background: linear-gradient(145deg, rgba(24,24,27,.96), rgba(3,7,18,.98)) !important;
  border: 1px solid rgba(250,204,21,.18) !important;
  border-radius: 28px !important;
  padding: 28px !important;
  box-shadow: 0 25px 65px rgba(0,0,0,.45) !important;
}

body .module-card-title {
  font-size: 26px !important;
  font-weight: 900 !important;
}

body .module-course-btn,
body .module-qcm-btn {
  border-radius: 18px !important;
  padding: 15px !important;
  font-size: 16px !important;
}

/* ===== MODERN MODULE CARDS ===== */

.modules-grid {
  display: grid !important;
  grid-template-columns: repeat(auto-fill, minmax(285px, 1fr)) !important;
  gap: 26px !important;
  padding: 36px !important;
}

.module-card {
  min-height: 245px !important;
  padding: 26px !important;
  border-radius: 26px !important;
  background: linear-gradient(145deg, #111, #050505) !important;
  border: 1px solid rgba(255,255,255,0.08) !important;
  box-shadow: 0 18px 45px rgba(0,0,0,.45) !important;
  transition: .25s ease !important;
}

.module-card:hover {
  transform: translateY(-6px) scale(1.01);
}

.module-biologie {
  border-color: rgba(168,85,247,.45) !important;
  box-shadow: 0 0 35px rgba(168,85,247,.12) !important;
}

.module-biologie:hover {
  box-shadow: 0 0 45px rgba(168,85,247,.45) !important;
}

.module-chirurgie {
  border-color: rgba(59,130,246,.45) !important;
  box-shadow: 0 0 35px rgba(59,130,246,.12) !important;
}

.module-chirurgie:hover {
  box-shadow: 0 0 45px rgba(59,130,246,.45) !important;
}

.module-medicale {
  border-color: rgba(34,197,94,.45) !important;
  box-shadow: 0 0 35px rgba(34,197,94,.12) !important;
}

.module-medicale:hover {
  box-shadow: 0 0 45px rgba(34,197,94,.45) !important;
}

.module-card-title {
  font-size: 25px !important;
  font-weight: 900 !important;
  color: white !important;
}

.module-card-count {
  color: #cbd5e1 !important;
  margin-bottom: 22px !important;
}

.module-progress-bar {
  height: 9px !important;
  background: #2a2a2a !important;
  border-radius: 999px !important;
  overflow: hidden !important;
}

.module-biologie .module-progress-fill {
  background: linear-gradient(90deg, #a855f7, #d946ef) !important;
}

.module-chirurgie .module-progress-fill {
  background: linear-gradient(90deg, #2563eb, #38bdf8) !important;
}

.module-medicale .module-progress-fill {
  background: linear-gradient(90deg, #22c55e, #86efac) !important;
}

.module-progress span {
  display: block;
  margin-top: 8px;
  font-weight: 800;
}

.module-biologie .module-progress span { color: #d946ef !important; }
.module-chirurgie .module-progress span { color: #38bdf8 !important; }
.module-medicale .module-progress span { color: #86efac !important; }

.module-actions {
  margin-top: 22px !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 12px !important;
}

.module-course-btn,
.module-qcm-btn {
  border-radius: 16px !important;
  padding: 14px !important;
  font-size: 15px !important;
  font-weight: 900 !important;
  border: none !important;
}

.module-biologie .module-course-btn {
  background: linear-gradient(135deg, #9333ea, #6d28d9) !important;
}

.module-chirurgie .module-course-btn {
  background: linear-gradient(135deg, #2563eb, #1d4ed8) !important;
}

.module-medicale .module-course-btn {
  background: linear-gradient(135deg, #16a34a, #15803d) !important;
}

.module-qcm-btn {
  background: rgba(255,255,255,.12) !important;
  color: #aaa !important;
}

.module-qcm-btn:not(.locked) {
  color: white !important;
}

.module-biologie .module-qcm-btn:not(.locked) {
  background: linear-gradient(135deg, #a855f7, #7e22ce) !important;
  box-shadow: 0 0 22px rgba(168,85,247,.45) !important;
}

.module-chirurgie .module-qcm-btn:not(.locked) {
  background: linear-gradient(135deg, #2563eb, #0284c7) !important;
  box-shadow: 0 0 22px rgba(59,130,246,.45) !important;
}

.module-medicale .module-qcm-btn:not(.locked) {
  background: linear-gradient(135deg, #22c55e, #15803d) !important;
  box-shadow: 0 0 22px rgba(34,197,94,.45) !important;
}

.module-qcm-btn.locked {
  background: #3f3f46 !important;
  color: #9ca3af !important;
  box-shadow: none !important;
}

.module-actions small {
  color: #9ca3af !important;
}

/* ===== MODULE PAGE PREMIUM BACKGROUND ===== */

body {
  background:
    radial-gradient(circle at 20% 10%, rgba(168,85,247,.18), transparent 28%),
    radial-gradient(circle at 80% 15%, rgba(34,197,94,.14), transparent 30%),
    radial-gradient(circle at 50% 80%, rgba(59,130,246,.12), transparent 35%),
    linear-gradient(180deg, #020617, #000) !important;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    radial-gradient(#ffffff 1px, transparent 1px),
    radial-gradient(#facc15 1px, transparent 1px);
  background-size: 90px 90px, 140px 140px;
  background-position: 0 0, 40px 60px;
  opacity: .18;
  animation: starsMove 35s linear infinite;
  z-index: 0;
}

@keyframes starsMove {
  from { transform: translateY(0); }
  to { transform: translateY(-120px); }
}

.modules-grid,
.modules-page,
main {
  position: relative;
  z-index: 1;
}

/* ===== MODULE CARDS PREMIUM ===== */

body .modules-grid {
  display: grid !important;
  grid-template-columns: repeat(auto-fill, minmax(310px, 1fr)) !important;
  gap: 30px !important;
  padding: 48px !important;
}

body .module-card {
  position: relative;
  overflow: hidden;
  min-height: 260px !important;
  padding: 30px !important;
  border-radius: 30px !important;
  background: rgba(15, 15, 20, .72) !important;
  backdrop-filter: blur(18px);
  border: 1px solid rgba(255,255,255,.08) !important;
  box-shadow: 0 25px 70px rgba(0,0,0,.55) !important;
  transition: .28s ease !important;
}

body .module-card::before {
  content: "";
  position: absolute;
  inset: -1px;
  opacity: .16;
  pointer-events: none;
}

body .module-card:hover {
  transform: translateY(-8px) scale(1.015);
}

/* COLORS BY CATEGORY */

body .module-biologie {
  border-color: rgba(168,85,247,.38) !important;
}
body .module-biologie::before {
  background: radial-gradient(circle at top left, #a855f7, transparent 45%);
}
body .module-biologie:hover {
  box-shadow: 0 0 55px rgba(168,85,247,.42) !important;
}

body .module-chirurgie {
  border-color: rgba(59,130,246,.38) !important;
}
body .module-chirurgie::before {
  background: radial-gradient(circle at top left, #2563eb, transparent 45%);
}
body .module-chirurgie:hover {
  box-shadow: 0 0 55px rgba(59,130,246,.42) !important;
}

body .module-medicale {
  border-color: rgba(34,197,94,.38) !important;
}
body .module-medicale::before {
  background: radial-gradient(circle at top left, #22c55e, transparent 45%);
}
body .module-medicale:hover {
  box-shadow: 0 0 55px rgba(34,197,94,.42) !important;
}

/* TEXT */

body .module-card-title {
  position: relative;
  font-size: 27px !important;
  font-weight: 950 !important;
  color: white !important;
  letter-spacing: -.5px;
}

body .module-card-count {
  position: relative;
  color: #cbd5e1 !important;
  margin: 8px 0 22px !important;
}

/* PROGRESS */

body .module-progress-bar {
  position: relative;
  height: 9px !important;
  background: rgba(255,255,255,.12) !important;
  border-radius: 999px !important;
  overflow: hidden;
}

body .module-biologie .module-progress-fill {
  background: linear-gradient(90deg, #a855f7, #ec4899) !important;
}
body .module-chirurgie .module-progress-fill {
  background: linear-gradient(90deg, #2563eb, #38bdf8) !important;
}
body .module-medicale .module-progress-fill {
  background: linear-gradient(90deg, #22c55e, #86efac) !important;
}

body .module-progress span {
  display: block;
  margin-top: 9px;
  font-weight: 900;
}

body .module-biologie .module-progress span { color: #d946ef !important; }
body .module-chirurgie .module-progress span { color: #38bdf8 !important; }
body .module-medicale .module-progress span { color: #86efac !important; }

/* BUTTONS */

body .module-actions {
  position: relative;
  margin-top: 24px !important;
  display: grid !important;
  grid-template-columns: 1fr !important;
  gap: 12px !important;
}

body .module-course-btn,
body .module-qcm-btn {
  border-radius: 18px !important;
  padding: 15px !important;
  font-size: 16px !important;
  font-weight: 900 !important;
  text-align: center;
}

body .module-biologie .module-course-btn {
  background: linear-gradient(135deg, #9333ea, #7e22ce) !important;
}
body .module-chirurgie .module-course-btn {
  background: linear-gradient(135deg, #2563eb, #1d4ed8) !important;
}
body .module-medicale .module-course-btn {
  background: linear-gradient(135deg, #16a34a, #15803d) !important;
}

body .module-qcm-btn.locked {
  background: rgba(255,255,255,.13) !important;
  color: #9ca3af !important;
  box-shadow: none !important;
}

body .module-qcm-btn:not(.locked) {
  color: white !important;
}

body .module-biologie .module-qcm-btn:not(.locked) {
  background: linear-gradient(135deg, #a855f7, #ec4899) !important;
  box-shadow: 0 0 28px rgba(168,85,247,.55) !important;
}

body .module-chirurgie .module-qcm-btn:not(.locked) {
  background: linear-gradient(135deg, #2563eb, #38bdf8) !important;
  box-shadow: 0 0 28px rgba(59,130,246,.55) !important;
}

body .module-medicale .module-qcm-btn:not(.locked) {
  background: linear-gradient(135deg, #22c55e, #16a34a) !important;
  box-shadow: 0 0 28px rgba(34,197,94,.55) !important;
}

body .module-actions small {
  color: #94a3b8 !important;
  line-height: 1.45;
}

/* ===== FINAL MODULE PAGE POLISH ===== */

body .modules-grid {
  padding-top: 34px !important;
  align-items: stretch !important;
}

body .module-card {
  min-height: 235px !important;
}

body .module-card-title {
  line-height: 1.1 !important;
}

body .module-actions small {
  font-size: 12px !important;
  opacity: .8 !important;
}

#moduleSearch {
  margin: 28px 0 10px 44px !important;
  width: 420px !important;
  height: 50px !important;
  border-radius: 16px !important;
  background: rgba(10,10,12,.75) !important;
  border: 1px solid rgba(255,255,255,.16) !important;
  color: white !important;
  padding: 0 18px !important;
}

#categoryTitle {
  font-size: 30px !important;
  text-shadow: 0 0 22px rgba(250,204,21,.45) !important;
}

.module-card{
    border-radius:32px;
    padding:36px;
    min-height:330px;
}

.module-card-title{
    display:flex;
    align-items:center;
    gap:14px;
}

.module-icon{
    font-size:34px;
}

.module-card{
    overflow:hidden;
    position:relative;
}

.module-card::after{
    content:"";
    position:absolute;
    inset:0;
    background:linear-gradient(
        120deg,
        transparent,
        rgba(255,255,255,.08),
        transparent
    );
    transform:translateX(-150%);
    transition:.8s;
}

.module-card:hover::after{
    transform:translateX(150%);
}

.module-icon {
  width: 58px;
  height: 58px;
  min-width: 58px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(255,255,255,.08);
}

.module-icon svg {
  width: 34px;
  height: 34px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.module-biologie .module-icon {
  color: #d946ef;
  box-shadow: 0 0 28px rgba(217,70,239,.55);
}

.module-chirurgie .module-icon {
  color: #38bdf8;
  box-shadow: 0 0 28px rgba(56,189,248,.55);
}

.module-medicale .module-icon {
  color: #86efac;
  box-shadow: 0 0 28px rgba(134,239,172,.55);
}

/* ===== NEON SVG MODULE ICONS ===== */

.module-card {
  border-color: color-mix(in srgb, var(--module-color) 45%, transparent) !important;
  box-shadow: 0 0 34px color-mix(in srgb, var(--module-color) 18%, transparent) !important;
}

.module-card:hover {
  box-shadow:
    0 0 55px color-mix(in srgb, var(--module-color) 42%, transparent),
    0 25px 80px rgba(0,0,0,.55) !important;
}

.module-icon {
  width: 64px !important;
  height: 64px !important;
  min-width: 64px !important;
  display: grid !important;
  place-items: center !important;
  border-radius: 50% !important;
  color: var(--module-color) !important;
  background:
    radial-gradient(circle, color-mix(in srgb, var(--module-color) 28%, transparent), rgba(255,255,255,.05)) !important;
  border: 1px solid color-mix(in srgb, var(--module-color) 40%, transparent) !important;
  box-shadow:
    0 0 18px color-mix(in srgb, var(--module-color) 55%, transparent),
    0 0 42px color-mix(in srgb, var(--module-color) 30%, transparent),
    inset 0 0 18px color-mix(in srgb, var(--module-color) 16%, transparent) !important;
}

.module-icon svg {
  width: 36px !important;
  height: 36px !important;
  fill: none !important;
  stroke: var(--module-color) !important;
  stroke-width: 2.2 !important;
  stroke-linecap: round !important;
  stroke-linejoin: round !important;
  filter:
    drop-shadow(0 0 6px var(--module-color))
    drop-shadow(0 0 14px var(--module-color)) !important;
}

.module-progress-fill {
  background: linear-gradient(90deg, var(--module-color), color-mix(in srgb, var(--module-color) 55%, white)) !important;
}

.module-progress span {
  color: var(--module-color) !important;
  text-shadow: 0 0 12px color-mix(in srgb, var(--module-color) 70%, transparent) !important;
}

.module-course-btn {
  background: linear-gradient(135deg, var(--module-color), color-mix(in srgb, var(--module-color) 65%, #111827)) !important;
  box-shadow: 0 0 20px color-mix(in srgb, var(--module-color) 28%, transparent) !important;
}

.module-qcm-btn:not(.locked) {
  background: linear-gradient(135deg, var(--module-color), color-mix(in srgb, var(--module-color) 65%, white)) !important;
  box-shadow: 0 0 28px color-mix(in srgb, var(--module-color) 55%, transparent) !important;
}

.module-card-title {
  display: flex !important;
  align-items: center !important;
  gap: 16px !important;
}

.module-icon {
  width: 64px !important;
  height: 64px !important;
  min-width: 64px !important;
  display: grid !important;
  place-items: center !important;
  border-radius: 22px !important;
  font-size: 38px !important;
  background: rgba(255,255,255,.08) !important;
  filter: drop-shadow(0 0 14px var(--module-color)) !important;
  box-shadow:
    0 0 22px color-mix(in srgb, var(--module-color) 45%, transparent),
    inset 0 0 18px rgba(255,255,255,.08) !important;
}

.module-icon svg {
  display: none !important;
}

.module-card-title {
  display: flex !important;
  align-items: center !important;
  gap: 18px !important;
  font-size: 25px !important;
  white-space: normal !important;
  overflow: visible !important;
}

/* ===== PREMIUM FINAL POLISH MODULES ===== */

.module-icon {
  width: 58px !important;
  height: 58px !important;
  min-width: 58px !important;
  font-size: 30px !important;
  border-radius: 18px !important;
  background: rgba(255,255,255,.07) !important;
  box-shadow:
    0 0 12px color-mix(in srgb, var(--module-color) 45%, transparent),
    inset 0 0 15px rgba(255,255,255,.06) !important;
  filter: drop-shadow(0 0 8px var(--module-color)) !important;
}

.module-card-title {
  font-size: 31px !important;
  font-weight: 900 !important;
  letter-spacing: -0.8px !important;
}

.module-card {
  transition: .28s ease !important;
}

.module-card:hover {
  transform: translateY(-8px) scale(1.03) !important;
  box-shadow:
    0 25px 70px rgba(0,0,0,.5),
    0 0 35px color-mix(in srgb, var(--module-color) 35%, transparent) !important;
}

.module-progress-fill {
  background: linear-gradient(
    90deg,
    var(--module-color),
    color-mix(in srgb, var(--module-color) 35%, white)
  ) !important;
  box-shadow: 0 0 18px var(--module-color) !important;
}

.module-course-btn {
  backdrop-filter: blur(20px) !important;
  background: linear-gradient(
    135deg,
    var(--module-color),
    color-mix(in srgb, var(--module-color) 65%, white)
  ) !important;
  box-shadow: 0 0 18px color-mix(in srgb, var(--module-color) 35%, transparent) !important;
}

.module-qcm-btn:not(.locked) {
  background: linear-gradient(135deg, #7c3aed, #ec4899) !important;
  box-shadow: 0 0 25px rgba(236,72,153,.35) !important;
}

.module-qcm-btn.locked {
  background: rgba(255,255,255,.13) !important;
  color: #9ca3af !important;
  box-shadow: none !important;
}

.qcm-page {
  max-width: 900px;
  margin: 40px auto;
  padding: 20px;
  color: white;
}

.progress-bar {
  width: 100%;
  height: 14px;
  background: #1f2937;
  border-radius: 20px;
  overflow: hidden;
  margin-bottom: 25px;
}

#progressFill {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, #00e5ff, #7c3aed);
  border-radius: 20px;
  transition: 0.4s;
}

.question-card {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 18px;
  padding: 22px;
  margin-bottom: 20px;
}

.answer-btn {
  display: block;
  width: 100%;
  padding: 14px;
  margin: 10px 0;
  border-radius: 12px;
  border: none;
  background: #111827;
  color: white;
  cursor: pointer;
  text-align: left;
}

.answer-btn:hover {
  background: #1f2937;
}

.lock-box,
.result-box {
  background: rgba(239,68,68,0.15);
  border: 1px solid rgba(239,68,68,0.5);
  padding: 25px;
  border-radius: 18px;
  margin-bottom: 25px;
}

.hidden {
  display: none;
}

.continue-btn {
  padding: 14px 22px;
  border-radius: 14px;
  border: none;
  background: #00e5ff;
  color: #020617;
  font-weight: bold;
  cursor: pointer;
  margin-top: 15px;
}

.nav-btn{

    position:relative;

    display:flex;
    align-items:center;
    justify-content:center;

    gap:8px;

    height:58px;

    padding:0 28px;

    color:#d6d6d6;

    font-weight:700;

    text-decoration:none;

    border-radius:16px;

    transition:.30s;

    overflow:hidden;
}

.nav-btn::after{

    content:"";

    position:absolute;

    left:20px;
    right:20px;
    bottom:0;

    height:4px;

    border-radius:50px;

    background:#ffe600;

    transform:scaleX(0);

    transition:.30s;
}

.nav-btn:hover{

    color:#ffe600;

    transform:translateY(-2px);
}

.nav-btn:hover::after{

    transform:scaleX(1);

    box-shadow:0 0 18px #ffe600;
}

.logout-btn {
  border: none;
  border-radius: 14px;
  padding: 10px 18px;
  background: rgba(239,68,68,.15);
  color: #fecaca;
  font-weight: 800;
  cursor: pointer;
}

.logout-btn:hover {
  background: #ef4444;
  color: white;
}

.nav-profile-link {
  display: inline-flex;
  align-items: center;
  gap: 9px;
}

.nav-profile-avatar {
  width: 34px;
  height: 34px;
  flex: 0 0 34px;

  display: grid;
  place-items: center;

  overflow: hidden;

  border: 1px solid rgba(139, 92, 246, 0.5);
  border-radius: 50%;

  color: white;
  font-size: 14px;
  font-weight: 900;

  background:
    linear-gradient(
      135deg,
      #7c3aed,
      #3b82f6
    );
}

.nav-profile-avatar img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.support-box{

    margin-top:30px;

    padding:25px;

    border-radius:18px;

    background:#111827;

    border:1px solid rgba(255,255,255,.08);

    text-align:center;

}

.support-box h3{

    color:#FFD700;

    margin-bottom:10px;

}

.support-box p{

    color:#d1d5db;

    margin:6px 0;

}

.support-buttons{

    display:flex;

    gap:15px;

    justify-content:center;

    flex-wrap:wrap;

    margin:20px 0;

}

.support-btn{

    text-decoration:none;

    color:white;

    font-weight:bold;

    padding:14px 24px;

    border-radius:12px;

    transition:.3s;

}

.support-btn.phone{

    background:#2563eb;

}

.support-btn.phone:hover{

    transform:translateY(-2px);

    box-shadow:0 0 20px rgba(37,99,235,.5);

}

.support-btn.whatsapp{

    background:#25D366;

}

.support-btn.whatsapp:hover{

    transform:translateY(-2px);

    box-shadow:0 0 20px rgba(37,211,102,.5);

}

.support-info{

    margin-top:15px;

    color:#f3f4f6;

    font-size:15px;

}

.video-wrapper {
  position: relative;
  width: 100%;
}

.next-miniature {
  position: absolute;
  right: 20px;
  bottom: 20px;
  z-index: 30;

  display: flex;
  align-items: center;
  gap: 12px;

  width: min(390px, calc(100% - 30px));
  padding: 14px;

  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);

  background: rgba(12, 12, 18, 0.96);
  border: 1px solid rgba(255, 221, 0, 0.65);
  border-radius: 16px;

  box-shadow:
    0 18px 50px rgba(0, 0, 0, 0.55),
    0 0 25px rgba(255, 221, 0, 0.18);

  transition:
    opacity 0.25s ease,
    transform 0.25s ease,
    visibility 0.25s ease;
}

.next-miniature.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.next-miniature .mini-thumb {
  display: grid;
  place-items: center;

  min-width: 48px;
  height: 48px;

  border-radius: 12px;
  background: linear-gradient(
    135deg,
    #ffea00,
    #ffb300
  );

  color: #111;
  font-size: 20px;
  font-weight: 900;
}

.next-miniature .mini-info {
  flex: 1;
  min-width: 0;
}

.next-miniature strong {
  display: block;
  color: #ffe600;
  font-size: 14px;
}

.next-miniature p {
  margin: 4px 0;
  overflow: hidden;

  color: #fff;
  font-size: 14px;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.next-miniature small {
  color: #b9b9c5;
}

.next-miniature button {
  border: 0;
  border-radius: 9px;
  padding: 8px 11px;

  cursor: pointer;

  background: #292932;
  color: #fff;
  font-weight: 700;
}

#playNextMini {
  background: #ffe000;
  color: #121212;
}

@media (max-width: 700px) {
  .next-miniature {
    right: 10px;
    bottom: 10px;
    width: calc(100% - 20px);
    flex-wrap: wrap;
  }

  .next-miniature .mini-info {
    width: calc(100% - 65px);
  }
}

/* =====================================================
   NEXT COURSE PREMIUM BUTTONS
===================================================== */

.next-miniature {
  gap: 14px;
  padding: 15px 16px;
}

.next-play-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;

  min-width: 124px;
  height: 42px;
  padding: 0 18px;

  border: 0;
  border-radius: 999px;

  background:
    linear-gradient(
      135deg,
      #7c19ff 0%,
      #a72ee8 45%,
      #e24c9e 100%
    );

  color: #ffffff;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.2px;

  cursor: pointer;

  box-shadow:
    0 9px 24px rgba(128, 28, 255, 0.34),
    0 0 18px rgba(226, 76, 158, 0.2);

  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease,
    filter 0.2s ease;
}

.next-play-button:hover {
  transform: translateY(-2px) scale(1.03);

  box-shadow:
    0 13px 30px rgba(128, 28, 255, 0.44),
    0 0 24px rgba(226, 76, 158, 0.3);

  filter: brightness(1.08);
}

.next-play-button:active {
  transform: scale(0.97);
}

.next-play-icon {
  display: grid;
  place-items: center;

  width: 25px;
  height: 25px;

  border-radius: 50%;

  background: rgba(255, 255, 255, 0.18);

  color: #ffffff;
  font-size: 11px;

  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.18);
}

.next-play-label {
  line-height: 1;
}

.next-cancel-button {
  display: grid;
  place-items: center;

  width: 38px;
  height: 38px;
  padding: 0;

  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 50%;

  background: rgba(255, 255, 255, 0.08);

  color: #c8c8d2;
  font-size: 15px;
  font-weight: 800;

  cursor: pointer;

  transition:
    transform 0.2s ease,
    background 0.2s ease,
    color 0.2s ease,
    border-color 0.2s ease;
}

.next-cancel-button:hover {
  transform: rotate(7deg) scale(1.08);

  background: rgba(255, 70, 95, 0.16);
  border-color: rgba(255, 70, 95, 0.42);

  color: #ff637a;
}

.next-cancel-button:active {
  transform: scale(0.94);
}

/* Réorganise mieux les éléments dans la plaque */
.next-miniature .mini-info {
  flex: 1;
  min-width: 0;
}

.next-miniature .mini-info p {
  margin: 4px 0 2px;
}

@media (max-width: 700px) {
  .next-miniature {
    align-items: center;
    gap: 10px;
  }

  .next-play-button {
    min-width: 108px;
    height: 40px;
    padding: 0 14px;
  }

  .next-play-label {
    font-size: 13px;
  }

  .next-cancel-button {
    width: 36px;
    height: 36px;
  }
}