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

/* ===== TOKENS & DESIGN SYSTEM ===== */
:root {
  --bg: #060709;
  --bg-2: #0b0f15;
  --panel: #0e131b;
  --surface: #111722;
  --border: rgba(255, 255, 255, 0.08);
  --border-glow: rgba(16, 185, 129, 0.35);
  
  /* Emerald Neon Color Tokens */
  --emerald: #10b981;
  --emerald-bright: #34d399;
  --emerald-light: #6ee7b7;
  --emerald-deep: #059669;
  --emerald-soft: rgba(16, 185, 129, 0.12);
  --emerald-glow: rgba(16, 185, 129, 0.28);

  /* Legacy variable aliases pointing to Emerald */
  --blue: #10b981;
  --blue-bright: #34d399;
  --blue-deep: #059669;
  --blue-soft: rgba(16, 185, 129, 0.12);
  --green: #10b981;
  --green-soft: rgba(16, 185, 129, 0.12);

  /* Typography Colors */
  --text: #f8fafc;
  --text-main: #ffffff;
  --text-muted: #94a3b8;
  --text-dim: #64748b;
  --red: #ef4444;
  
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --font-heading: 'Plus Jakarta Sans', 'Inter', system-ui, sans-serif;
  --font-body: 'Inter', system-ui, sans-serif;
  --font-mono: 'JetBrains Mono', monospace;
}

/* ===== RESET & ROOT LAYOUT ===== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html, body {
  height: 100%;
  margin: 0;
  padding: 0;
  background-color: #0a0e17 !important;
  color: #e7ecf5 !important;
}

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: #0a0e17 !important;
  color: #e7ecf5 !important;
  font-family: var(--font-body);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

main {
  flex: 1 0 auto;
  width: 100%;
  background: #0a0e17;
}

a {
  color: inherit;
  text-decoration: none;
}

/* ===== BRAND & BLUE LOGO (SOLID ELECTRIC BLUE) ===== */
.brand .logo,
.footer-brand .logo,
img.logo,
.logo {
  height: 34px !important;
  width: auto !important;
  max-height: 34px !important;
  max-width: 44px !important;
  object-fit: contain !important;
  display: inline-block !important;
  vertical-align: middle !important;
  flex-shrink: 0 !important;
  filter: invert(44%) sepia(98%) saturate(3500%) hue-rotate(205deg) brightness(102%) contrast(106%) !important;
}

.footer-brand .logo {
  height: 24px !important;
  max-height: 24px !important;
}

/* ===== FULL-WIDTH SPACIOUS HEADER (70PX HEIGHT, UNCOMPRESSED) ===== */
/* ===== SPACIOUS HEADER (70PX HEIGHT, FAR LEFT & RIGHT PROGRESS) ===== */
header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(10, 14, 23, 0.96);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
  height: 70px;
  min-height: 70px;
  width: 100%;
  display: flex;
  align-items: center;
}

.header-inner {
  width: 100%;
  max-width: 100% !important;
  margin: 0;
  padding: 0 44px !important;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-sizing: border-box;
}

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 0.02em;
  white-space: nowrap;
  color: #ffffff;
  line-height: 1;
}

.brand span {
  color: var(--blue-bright);
  font-weight: 600;
}

.brand .logo {
  height: 38px !important;
  max-height: 38px !important;
  width: auto !important;
  max-width: 48px !important;
  object-fit: contain !important;
  display: inline-block !important;
  vertical-align: middle !important;
  flex-shrink: 0 !important;
  filter: invert(44%) sepia(98%) saturate(3500%) hue-rotate(205deg) brightness(102%) contrast(106%) !important;
}

.header-right-progress {
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
  gap: 14px !important;
  background: transparent !important;
  border: none !important;
  padding: 0 !important;
  white-space: nowrap !important;
}

.header-right-progress span {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-dim);
  line-height: 1;
}

.header-right-progress .progress-track {
  width: 120px;
  height: 6px;
  background: rgba(255, 255, 255, 0.12);
  border-radius: 10px;
  overflow: hidden;
  display: inline-block;
  vertical-align: middle;
}

.header-right-progress .progress-fill {
  height: 100%;
  background: var(--blue);
  border-radius: 10px;
  transition: width 0.3s ease;
}

.header-right-progress .progress-pct {
  font-size: 13px;
  font-weight: 700;
  color: var(--blue-bright);
  min-width: 34px;
  text-align: right;
  line-height: 1;
}

.btn-nav {
  border: 1px solid var(--blue-deep);
  color: var(--blue-bright);
  padding: 7px 16px;
  border-radius: 100px;
  font-size: 13px;
  font-weight: 600;
  transition: all 0.2s ease;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
}

.btn-nav:hover {
  background: var(--blue);
  color: #fff;
  border-color: var(--blue);
}

/* ===== CONTAINERS & HERO SECTION ===== */
.container {
  width: 100%;
  max-width: 1100px;
  margin-left: auto !important;
  margin-right: auto !important;
  padding-left: 44px !important;
  padding-right: 44px !important;
  box-sizing: border-box;
}

.container-wide {
  width: 100%;
  max-width: 1180px;
  margin-left: auto !important;
  margin-right: auto !important;
  padding-left: 44px !important;
  padding-right: 44px !important;
  box-sizing: border-box;
}

.hr {
  height: 1px;
  background: var(--border);
  width: 100%;
}

.hero {
  padding: 52px 44px 36px;
  text-align: center;
  position: relative;
}

.hero .kicker {
  display: inline-block;
  font-size: 11.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--blue-bright);
  background: var(--blue-soft);
  padding: 5px 16px;
  border-radius: 100px;
  border: 1px solid rgba(16, 185, 129, 0.25);
  margin-bottom: 18px;
}

.hero h1 {
  font-family: var(--font-heading);
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 800;
  color: #ffffff;
  line-height: 1.22;
  margin-bottom: 16px;
}

.hero h1 em {
  font-style: normal;
  color: var(--blue-bright);
}

.hero p {
  color: var(--text-dim);
  font-size: 15.5px;
  max-width: 640px;
  margin: 0 auto;
  line-height: 1.55;
}

/* ===== LESSON GROUPS & FULL-WIDTH CARDS ===== */
.lesson-groups {
  width: 100%;
  max-width: 100% !important;
  margin: 0 !important;
  display: flex;
  flex-direction: column;
  gap: 28px;
  padding-top: 24px;
  padding-bottom: 60px;
  box-sizing: border-box;
}

.lesson-group {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.35);
  width: 100%;
}

.lesson-group-header {
  padding: 18px 24px;
  display: flex;
  align-items: center;
  gap: 16px;
  border-bottom: 1px solid var(--border);
  background: rgba(16, 22, 35, 0.6);
}

.lg-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: var(--blue-soft);
  border: 1px solid rgba(16, 185, 129, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--blue-bright);
  flex-shrink: 0;
}

.lg-icon svg {
  width: 20px;
  height: 20px;
}

.lg-body {
  flex: 1;
  min-width: 0;
}

.lg-body h2 {
  font-family: var(--font-heading);
  font-size: 16px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 4px;
}

.lg-meta {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 12px;
  color: var(--text-dim);
  flex-wrap: wrap;
}

.lg-meta-item {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.lg-meta-item svg {
  width: 13px;
  height: 13px;
  color: var(--blue-bright);
}

.lg-progress-badge {
  font-size: 11px;
  font-weight: 700;
  padding: 3px 9px;
  border-radius: 100px;
}

.lg-progress-badge.locked {
  background: rgba(255, 255, 255, 0.06);
  color: var(--text-dim);
}

.lg-progress-badge.wip {
  background: var(--blue-soft);
  color: var(--blue-bright);
}

.lg-progress-badge.done {
  background: var(--green-soft);
  color: var(--green);
}

/* ===== LESSON ITEMS ===== */
.lessons-list {
  display: flex;
  flex-direction: column;
}

.lesson-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 14px 24px;
  border-bottom: 1px solid rgba(33, 44, 63, 0.6);
  transition: all 0.18s ease;
  text-decoration: none !important;
  color: inherit !important;
}

.lesson-item:last-child {
  border-bottom: none;
}

.lesson-item:hover:not(.locked) {
  background: rgba(255, 255, 255, 0.03);
}

.lesson-item.locked {
  opacity: 0.55;
  cursor: not-allowed;
}

.lesson-num {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 700;
  color: var(--text-dim);
  flex-shrink: 0;
}

.lesson-item.watched .lesson-num {
  border-color: var(--green);
  color: var(--green);
  background: var(--green-soft);
}

.lesson-play {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--blue-soft);
  border: 1px solid rgba(16, 185, 129, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--blue-bright);
  flex-shrink: 0;
  transition: transform 0.2s ease;
}

.lesson-item:hover:not(.locked) .lesson-play {
  transform: scale(1.08);
  background: var(--blue);
  color: #fff;
}

.lesson-play svg {
  width: 14px;
  height: 14px;
}

.lesson-info {
  flex: 1;
  min-width: 0;
}

.lesson-info h4 {
  font-size: 14px;
  font-weight: 600;
  color: #fff !important;
  margin-bottom: 2px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.lesson-info p {
  font-size: 12.5px;
  color: var(--text-dim);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.lesson-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.lesson-duration {
  font-size: 12px;
  color: var(--text-dim);
}

.locked-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 11px;
  font-weight: 600;
  color: var(--text-dim);
  background: rgba(255, 255, 255, 0.05);
  padding: 3px 8px;
  border-radius: 6px;
}

.locked-badge svg {
  width: 11px;
  height: 11px;
}

.watched-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 11px;
  font-weight: 600;
  color: var(--green);
  background: var(--green-soft);
  padding: 3px 8px;
  border-radius: 6px;
}

.watched-badge svg {
  width: 11px;
  height: 11px;
}

/* ===== BREADCRUMB ===== */
.breadcrumb {
  padding: 14px 0;
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: var(--text-dim);
  flex-wrap: wrap;
}

.breadcrumb a {
  color: var(--text-dim);
  transition: color 0.2s;
}

.breadcrumb a:hover {
  color: var(--blue-bright);
}

.breadcrumb-sep {
  color: #4a5568;
}


/* ===== AULA CONTENT WRAPPER (PERFECT VIDEO & CONTENT ALIGNMENT) ===== */
.aula-content-wrapper {
  width: 100%;
  max-width: 1000px;
  margin: 0 auto;
  padding: 0;
  box-sizing: border-box;
}

.aula-content-wrapper .player-container {
  width: 100% !important;
  max-width: 100% !important;
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 0 0 20px 0;
}

.aula-content-wrapper .breadcrumb {
  width: 100%;
  padding: 10px 0 14px;
}

.aula-content-wrapper .aula-title,
.aula-content-wrapper .aula-meta,
.aula-content-wrapper .aula-desc,
.aula-content-wrapper .btn-watched,
.aula-content-wrapper .lesson-text,
.aula-content-wrapper .lesson-nav {
  width: 100%;
  box-sizing: border-box;
}

/* ===== AULA PAGE & CONTENT ===== */
.aula-meta {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 8px;
  font-size: 12.5px;
  color: var(--text-dim);
}

.aula-meta-item {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.aula-meta-item svg {
  width: 13px;
  height: 13px;
  color: var(--blue-bright);
}

.aula-title {
  font-family: var(--font-heading);
  font-size: 24px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 8px;
  line-height: 1.25;
}

.aula-desc {
  font-size: 14px;
  color: var(--text-dim);
  line-height: 1.5;
  margin-bottom: 18px;
}

.btn-watched {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border-radius: 8px;
  border: 1px solid var(--border);
  background: var(--panel);
  color: var(--text-dim);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  margin-bottom: 28px;
}

.btn-watched:hover {
  border-color: var(--blue-bright);
  color: #fff;
}

.btn-watched.active {
  border-color: var(--green);
  background: var(--green-soft);
  color: var(--green);
}

.lesson-text {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 24px;
  margin-top: 20px;
}

.lesson-text-label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--blue-bright);
  margin-bottom: 14px;
}

.lesson-text-label svg {
  width: 15px;
  height: 15px;
}

.lesson-text-body {
  font-size: 14px;
  line-height: 1.6;
  color: #d1d8e6;
}

/* ===== COMPACT LESSON NAVIGATION BUTTONS ===== */
.lesson-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
  width: 100%;
}

.lesson-nav-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 9px 20px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: var(--panel);
  cursor: pointer;
  transition: all 0.2s ease;
  width: auto;
  min-width: 125px;
  text-decoration: none;
  font-family: var(--font-heading);
  font-size: 14px;
  font-weight: 700;
  color: #fff;
  letter-spacing: 0.02em;
}

.lesson-nav-btn:hover:not(.disabled) {
  border-color: var(--blue-bright);
  background: #17223b;
  color: var(--blue-bright);
  transform: translateY(-1px);
}

.lesson-nav-btn svg {
  flex-shrink: 0;
  width: 16px;
  height: 16px;
  color: var(--blue-bright);
}

.lesson-nav-btn.nav-next {
  margin-left: auto;
}

.lesson-nav-btn.disabled {
  opacity: 0.22;
  pointer-events: none;
  cursor: not-allowed;
}

/* ===== SIDEBAR LESSON LINKS ===== */
.sidebar-lesson,
.sidebar-lesson:link,
.sidebar-lesson:visited {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 18px;
  border-left: 3px solid transparent;
  transition: all 0.18s ease;
  text-decoration: none !important;
  color: #e7ecf5 !important;
}

.sidebar-lesson:hover {
  background: rgba(255, 255, 255, 0.04);
}

.sidebar-lesson.current {
  border-left-color: var(--blue-bright) !important;
  background: rgba(16, 185, 129, 0.14) !important;
}

.sidebar-lesson .sl-num {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 700;
  color: var(--text-dim);
  flex-shrink: 0;
}

.sidebar-lesson.watched .sl-num {
  border-color: var(--green);
  color: var(--green);
  background: var(--green-soft);
}

.sidebar-lesson .sl-info {
  flex: 1;
  min-width: 0;
}

.sidebar-lesson .sl-title {
  color: #e7ecf5 !important;
  font-size: 13px !important;
  font-weight: 500 !important;
  line-height: 1.35 !important;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.sidebar-lesson:hover .sl-title,
.sidebar-lesson.current .sl-title {
  color: #ffffff !important;
  font-weight: 600 !important;
}

.sidebar-lesson .sl-dur {
  color: var(--text-dim) !important;
  font-size: 11px !important;
  margin-top: 2px;
}

.sidebar-lesson.current .sl-dur {
  color: var(--blue-bright) !important;
  font-weight: 600 !important;
}



/* ===== VIDEO PLAYER LOADING & EMPTY STATE (PERFECTLY CENTERED) ===== */
.no-video {
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  color: var(--text-dim);
  text-align: center;
  background: #000;
  z-index: 10;
  gap: 12px;
  box-sizing: border-box;
}

.no-video .spinner {
  width: 36px;
  height: 36px;
  border: 3px solid rgba(16, 185, 129, 0.2);
  border-top-color: var(--blue-bright);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
  margin: 0 !important;
}

.no-video span {
  font-family: var(--font-heading);
  font-size: 14px;
  font-weight: 600;
  color: #fff;
  letter-spacing: 0.02em;
}

/* ===== VIDEO PLAYER & CONTROLS (HIGH Z-INDEX & INTERACTIVE) ===== */
.player-container {
  width: 100%;
  max-width: 1000px;
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 0 auto 20px auto;
}

.player {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 14px;
  overflow: hidden;
  background: #000;
  border: 2px solid rgba(16, 185, 129, 0.4);
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.75);
  user-select: none;
}

.player video {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  pointer-events: none !important;
}

.video-shield-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 10;
  background: transparent;
  pointer-events: auto;
}

/* ===== SOLID BLUE MUTE BOX (VIBRANT & PULSATING) ===== */
.mute-overlay { display: none !important; }

.mute-overlay.hidden {
  display: none !important;
}

.mute-box { display: none !important; }

.mute-box:hover {
  transform: scale(1.06);
  background: #059669 !important;
  box-shadow: 0 10px 42px rgba(16, 185, 129, 0.85), 0 0 28px rgba(16, 185, 129, 0.6) !important;
}

.mute-box-icon {
  width: 24px;
  height: 24px;
  color: #ffffff !important;
  flex-shrink: 0;
}

.mute-box span {
  font-family: var(--font-heading);
  font-size: 15px;
  font-weight: 700;
  color: #ffffff !important;
  letter-spacing: 0.02em;
  white-space: nowrap;
}

@keyframes pulseMuteBox {
  0% {
    transform: scale(1);
    box-shadow: 0 8px 30px rgba(16, 185, 129, 0.6), 0 0 16px rgba(16, 185, 129, 0.35);
  }
  50% {
    transform: scale(1.035);
    box-shadow: 0 12px 42px rgba(16, 185, 129, 0.85), 0 0 26px rgba(16, 185, 129, 0.6);
  }
  100% {
    transform: scale(1);
    box-shadow: 0 8px 30px rgba(16, 185, 129, 0.6), 0 0 16px rgba(16, 185, 129, 0.35);
  }
}

.speed-toast {
  position: absolute;
  top: 20px;
  right: 20px;
  background: rgba(16, 185, 129, 0.9);
  color: #fff;
  font-family: var(--font-heading);
  font-size: 12px;
  font-weight: 700;
  padding: 6px 14px;
  border-radius: 100px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
  z-index: 45;
}

.speed-toast.show {
  opacity: 1;
}

.custom-subtitles-box {
  position: absolute;
  bottom: 56px;
  left: 50%;
  transform: translateX(-50%);
  max-width: 90%;
  text-align: center;
  pointer-events: none;
  z-index: 30;
  transition: bottom 0.2s ease;
  white-space: nowrap !important;
}

.player.show-controls .custom-subtitles-box {
  bottom: 74px;
}

.custom-subtitle-text {
  display: inline-block;
  background: rgba(0, 0, 0, 0.48) !important;
  color: #ffffff;
  font-family: system-ui, -apple-system, sans-serif;
  font-size: 15px;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: 4px;
  white-space: nowrap !important;
  max-width: 88vw;
  overflow: hidden;
  text-overflow: ellipsis;
}

.center-play-icon {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.85);
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: rgba(16, 185, 129, 0.85);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  opacity: 0;
  pointer-events: none;
  transition: all 0.25s ease;
  z-index: 22;
}

.player.is-paused .center-play-icon {
  opacity: 0.9;
  transform: translate(-50%, -50%) scale(1);
}

.center-play-icon svg {
  width: 28px;
  height: 28px;
}

.player-controls {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.95));
  padding: 16px 20px 12px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  z-index: 40 !important;
  pointer-events: auto !important;
  opacity: 0;
  transition: opacity 0.25s ease;
}

.player:hover .player-controls,
.player.show-controls .player-controls,
.player.is-paused .player-controls {
  opacity: 1;
}

.player-timeline {
  position: relative;
  height: 6px;
  background: rgba(255, 255, 255, 0.25);
  border-radius: 4px;
  cursor: pointer;
  pointer-events: auto !important;
  transition: height 0.15s ease;
  padding: 8px 0;
  background-clip: content-box;
  margin: -8px 0;
  box-sizing: content-box;
}

.player-timeline:hover {
  height: 9px;
}

.timeline-buffer {
  position: absolute;
  top: 8px;
  left: 0;
  height: 6px;
  background: rgba(255, 255, 255, 0.35);
  border-radius: 4px;
  width: 0%;
  pointer-events: none;
  transition: height 0.15s ease;
}

.player-timeline:hover .timeline-buffer {
  height: 9px;
}

.timeline-fill {
  position: absolute;
  top: 8px;
  left: 0;
  height: 6px;
  background: var(--blue-bright);
  border-radius: 4px;
  width: 0%;
  pointer-events: none;
  transition: height 0.15s ease;
}

.player-timeline:hover .timeline-fill {
  height: 9px;
}

.timeline-handle {
  position: absolute;
  right: -6px;
  top: 50%;
  transform: translateY(-50%);
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #ffffff;
  box-shadow: 0 0 8px rgba(16, 185, 129, 0.8), 0 2px 4px rgba(0, 0, 0, 0.6);
  display: block !important;
  opacity: 0;
  transition: opacity 0.15s ease, transform 0.15s ease;
  pointer-events: none;
}

.player-timeline:hover .timeline-handle,
.player.is-seeking .timeline-handle {
  opacity: 1;
  transform: translateY(-50%) scale(1.15);
}

.controls-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  pointer-events: auto !important;
}

.controls-left, .controls-right {
  display: flex;
  align-items: center;
  gap: 14px;
  pointer-events: auto !important;
}

.ctrl-btn {
  background: transparent;
  border: none;
  color: #fff;
  cursor: pointer;
  padding: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.15s ease, color 0.15s ease;
  pointer-events: auto !important;
}

.ctrl-btn:hover {
  transform: scale(1.1);
  color: var(--blue-bright);
}

.ctrl-btn svg {
  width: 19px;
  height: 19px;
}

.ctrl-time {
  font-family: var(--font-mono);
  font-size: 12.5px;
  color: #d1d8e6;
  white-space: nowrap;
}

.ctrl-speed-btn {
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: #fff;
  font-family: var(--font-heading);
  font-size: 11.5px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 6px;
  cursor: pointer;
  pointer-events: auto !important;
  transition: all 0.15s ease;
}

.ctrl-speed-btn:hover,
.ctrl-speed-btn.speed-boost {
  background: var(--blue);
  border-color: var(--blue-bright);
}

.subtitles-wrapper {
  position: relative;
  pointer-events: auto !important;
}

.subtitles-menu {
  position: absolute;
  bottom: 38px;
  right: 0;
  background: #111a2e;
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 6px;
  display: none;
  flex-direction: column;
  gap: 4px;
  z-index: 50 !important;
  min-width: 140px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.85);
  pointer-events: auto !important;
}

.subtitles-item {
  background: transparent;
  border: none;
  color: #d1d8e6;
  font-size: 12.5px;
  padding: 6px 10px;
  text-align: left;
  border-radius: 6px;
  cursor: pointer;
  pointer-events: auto !important;
}

.subtitles-item:hover {
  background: var(--blue-soft);
  color: #fff;
}

.subtitles-item.active {
  background: var(--blue);
  color: #fff;
  font-weight: 600;
}



/* ===== SMART PLAYER CONTROLS (PERFECT ICON TOGGLING) ===== */
/* Play / Pause Toggle */
.player .ctrl-icon-pause {
  display: none !important;
}
.player .ctrl-icon-play {
  display: block !important;
}
.player.is-playing .ctrl-icon-play {
  display: none !important;
}
.player.is-playing .ctrl-icon-pause {
  display: block !important;
}

/* Center Play / Pause Icon */
.player .center-play-icon .icon-pause {
  display: none !important;
}
.player .center-play-icon .icon-play {
  display: block !important;
}
.player.is-playing .center-play-icon .icon-play {
  display: none !important;
}
.player.is-playing .center-play-icon .icon-pause {
  display: block !important;
}

/* Mute / Volume Toggle */
.player .ctrl-icon-muted {
  display: none !important;
}
.player .ctrl-icon-volume {
  display: block !important;
}
.player.is-muted .ctrl-icon-volume {
  display: none !important;
}
.player.is-muted .ctrl-icon-muted {
  display: block !important;
}

/* Fullscreen Toggle */
.player .ctrl-icon-fs-exit {
  display: none !important;
}
.player .ctrl-icon-fs-enter {
  display: block !important;
}
.player.is-fullscreen .ctrl-icon-fs-enter {
  display: none !important;
}
.player.is-fullscreen .ctrl-icon-fs-exit {
  display: block !important;
}

/* ===== FULL-WIDTH ULTRA-PROFESSIONAL FOOTER (EDGE TO EDGE) ===== */
/* ===== MINIMAL CLEAN FOOTER ===== */
footer {
  margin-top: auto !important;
  width: 100%;
  background: #080c14;
  border-top: 1px solid rgba(33, 44, 63, 0.7);
  padding: 26px 0;
  box-sizing: border-box;
}

.footer-inner {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 44px !important;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  box-sizing: border-box;
}

.footer-brand,
.footer-badge {
  display: none !important;
}

.footer-copy {
  font-size: 13px;
  color: var(--text-dim);
  text-align: center;
}

/* ===== LOADING & SPINNERS ===== */
.loading-state {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 48px 0;
  color: var(--text-dim);
}

.spinner {
  width: 28px;
  height: 28px;
  border: 3px solid rgba(16, 185, 129, 0.2);
  border-top-color: var(--blue-bright);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

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

@media(max-width: 768px) {
  .header-inner { padding: 0 14px !important; }
  .header-right-progress { display: none !important; }
  .footer-inner { flex-direction: column; text-align: center; }
  .lesson-nav { flex-direction: column; }
  .lesson-nav-btn { width: 100%; }
}

/* ============================================================
   CUSTOM LOCKED LESSON MODAL (EM BREVE)
   ============================================================ */
.custom-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(5, 7, 15, 0.75);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 999999;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.25s ease;
}

.custom-modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

.custom-modal-box {
  background: #0f1422;
  border: 1px solid rgba(16, 185, 129, 0.3);
  border-radius: 18px;
  padding: 32px 28px 26px;
  max-width: 420px;
  width: 90%;
  text-align: center;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.8), 0 0 35px rgba(16, 185, 129, 0.2);
  transform: scale(0.92) translateY(15px);
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
}

.custom-modal-overlay.active .custom-modal-box {
  transform: scale(1) translateY(0);
}

.custom-modal-box::before {
  content: '';
  position: absolute;
  top: -50px;
  left: 50%;
  transform: translateX(-50%);
  width: 160px;
  height: 100px;
  background: radial-gradient(circle, rgba(16, 185, 129, 0.35) 0%, rgba(16, 185, 129, 0) 70%);
  pointer-events: none;
}

.modal-icon-badge {
  width: 58px;
  height: 58px;
  margin: 0 auto 18px;
  background: rgba(16, 185, 129, 0.15);
  border: 1px solid rgba(16, 185, 129, 0.4);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #10b981;
  box-shadow: 0 0 20px rgba(16, 185, 129, 0.3);
}

.modal-icon-badge svg {
  stroke: #10b981;
}

.modal-title {
  font-size: 20px;
  font-weight: 700;
  color: #ffffff;
  margin: 0 0 10px;
  letter-spacing: -0.3px;
}

.modal-desc {
  font-size: 14px;
  color: #94a3b8;
  line-height: 1.55;
  margin: 0 0 24px;
}

.modal-desc strong {
  color: #e2e8f0;
}

.modal-btn-primary {
  display: block;
  width: 100%;
  padding: 13px 20px;
  background: #10b981;
  border: none;
  border-radius: 10px;
  color: #ffffff;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  box-shadow: 0 4px 15px rgba(16, 185, 129, 0.35);
  transition: all 0.2s ease;
}

.modal-btn-primary:hover {
  background: #0052cc;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
  transform: translateY(-1px);
}

.modal-btn-primary:active {
  transform: translateY(0);
}


/* ===== VIDEO BUFFERING / LOADING OVERLAY ANIMATION (CLEAN TRANSPARENT SPINNER) ===== */
.player-buffering-overlay {
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  width: 100% !important;
  height: 100% !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  background: transparent !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  z-index: 25 !important;
  opacity: 0 !important;
  pointer-events: none !important;
  transition: opacity 0.18s ease-in-out !important;
}

.player-buffering-overlay.active {
  opacity: 1 !important;
}

.buffering-spinner {
  width: 52px !important;
  height: 52px !important;
  border-radius: 50% !important;
  border: 4px solid rgba(16, 185, 129, 0.18) !important;
  border-top-color: #10b981 !important;
  border-right-color: #10b981 !important;
  animation: playerBufferingSpin 0.75s cubic-bezier(0.5, 0.1, 0.5, 0.9) infinite !important;
  box-shadow: 0 0 30px rgba(16, 185, 129, 0.55) !important;
  margin: 0 !important;
}

.buffering-text {
  display: none !important;
}

@keyframes playerBufferingSpin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}
  100% { transform: rotate(360deg); }
}

/* ===== ENHANCED TIMELINE & SEEK CONTROLS ===== */
.ctrl-btn-seek {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  color: #d1d8e6;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
  transition: all 0.15s ease;
}

.ctrl-btn-seek:hover {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  transform: scale(1.1);
}

.ctrl-btn-seek svg {
  width: 20px;
  height: 20px;
}

.ctrl-seek-text {
  position: absolute;
  font-family: var(--font-heading);
  font-size: 8px;
  font-weight: 800;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -46%);
  pointer-events: none;
  letter-spacing: -0.5px;
  color: #fff;
}

.timeline-hover-time {
  position: absolute;
  bottom: 24px;
  transform: translateX(-50%);
  background: rgba(13, 19, 34, 0.95);
  color: #ffffff;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  padding: 3px 8px;
  border-radius: 4px;
  border: 1px solid rgba(16, 185, 129, 0.4);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.7);
  pointer-events: none;
  white-space: nowrap;
  z-index: 60;
}

.timeline-hover-time::after {
  content: '';
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  border-width: 4px;
  border-style: solid;
  border-color: rgba(13, 19, 34, 0.95) transparent transparent transparent;
}

/* Seek Ripples for Double-click / Double-tap */
.seek-ripple {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 38%;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  z-index: 30;
  opacity: 0;
  transition: opacity 0.25s ease;
}

.seek-ripple-left {
  left: 0;
  background: radial-gradient(circle at center left, rgba(16, 185, 129, 0.4) 0%, transparent 70%);
  border-top-left-radius: inherit;
  border-bottom-left-radius: inherit;
}

.seek-ripple-right {
  right: 0;
  background: radial-gradient(circle at center right, rgba(16, 185, 129, 0.4) 0%, transparent 70%);
  border-top-right-radius: inherit;
  border-bottom-right-radius: inherit;
}

.seek-ripple.active {
  opacity: 1;
}

.seek-ripple-icon {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  background: rgba(13, 19, 34, 0.85);
  border: 1px solid rgba(16, 185, 129, 0.5);
  padding: 12px 20px;
  border-radius: 50px;
  color: #fff;
  font-family: var(--font-heading);
  font-size: 14px;
  font-weight: 700;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.8), 0 0 20px rgba(16, 185, 129, 0.4);
  transform: scale(0.85);
  transition: transform 0.2s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.seek-ripple.active .seek-ripple-icon {
  transform: scale(1.05);
}


/* ===== USER AUTH BADGE IN HEADER ===== */
.user-badge {
  display: none;
  align-items: center;
  gap: 8px;
  background: rgba(14, 20, 36, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 20px;
  padding: 4px 10px 4px 6px;
  margin-left: 10px;
}

.user-avatar {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: rgba(16, 185, 129, 0.2);
  color: #10b981;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
}

.user-name {
  font-size: 12.5px;
  font-weight: 600;
  color: #cbd5e1;
}

.btn-logout {
  background: transparent;
  border: none;
  color: #64748b;
  cursor: pointer;
  padding: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 4px;
  transition: all 0.2s;
  margin-left: 2px;
}

.btn-logout:hover {
  color: #f87171;
  background: rgba(239, 68, 68, 0.15);
}


/* ===== CLEAN HEADER LOGOUT BUTTON ===== */
.btn-logout-header {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #94a3b8;
  padding: 5px 11px;
  border-radius: 9px;
  font-size: 12px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
  font-family: inherit;
}

.btn-logout-header:hover {
  color: #f87171;
  background: rgba(239, 68, 68, 0.12);
  border-color: rgba(239, 68, 68, 0.25);
}


/* ===== CLEAN HEADER RIGHT GROUP ===== */
.header-right-group {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-left: auto;
}

.btn-logout-header {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #94a3b8;
  padding: 5px 12px;
  border-radius: 9px;
  font-size: 12px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
  font-family: inherit;
}

.btn-logout-header:hover {
  color: #f87171;
  background: rgba(239, 68, 68, 0.12);
  border-color: rgba(239, 68, 68, 0.25);
}


/* =====================================================================
   ANTI-PIRACY CSS LAYER
   ===================================================================== */

/* Impede seleção de texto em todo conteúdo sensível */
.player,
#video-wrapper,
.aula-content,
.modulo-content,
.lesson-title,
.lesson-description {
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

/* Impede arrastar elementos de mídia */
video, img, canvas {
  -webkit-user-drag: none;
  user-drag: none;
  -khtml-user-drag: none;
}

/* Player canvas watermark — sempre visível */
#wmCanvas {
  pointer-events: none !important;
  z-index: 20 !important;
  mix-blend-mode: screen;
}

/* Proteção de print — conteúdo oculto */
@media print {
  * {
    display: none !important;
    visibility: hidden !important;
  }
  
}

/* Bloquear captura de tela via CSS (suporte parcial em alguns browsers) */
.player {
  -webkit-touch-callout: none;
}



/* ===== COOLDOWN & MATURATION BREAK CARDS (24H REST) ===== */
.cooldown-break-card {
  margin: 14px 0;
  padding: 20px 24px;
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.08) 0%, rgba(20, 16, 5, 0.95) 50%, rgba(245, 158, 11, 0.04) 100%);
  border: 1px solid rgba(245, 158, 11, 0.35);
  border-left: 4px solid #f59e0b;
  border-radius: var(--radius-md, 12px);
  position: relative;
  overflow: hidden;
  box-shadow: 0 10px 30px -10px rgba(245, 158, 11, 0.15), inset 0 1px 0 rgba(255, 255, 255, 0.05);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.cooldown-break-card::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 160px;
  height: 100%;
  background: radial-gradient(circle at 100% 0%, rgba(245, 158, 11, 0.12) 0%, transparent 70%);
  pointer-events: none;
}

.cooldown-break-card.completed {
  border-color: rgba(34, 197, 94, 0.4);
  border-left-color: #22c55e;
  background: linear-gradient(135deg, rgba(34, 197, 94, 0.08) 0%, rgba(5, 20, 10, 0.95) 50%, rgba(34, 197, 94, 0.04) 100%);
  box-shadow: 0 10px 30px -10px rgba(34, 197, 94, 0.15);
}

.cooldown-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
}

.cooldown-title-group {
  display: flex;
  align-items: center;
  gap: 12px;
}

.cooldown-icon-badge {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: rgba(245, 158, 11, 0.15);
  border: 1px solid rgba(245, 158, 11, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fbbf24;
  flex-shrink: 0;
  font-size: 17px;
  animation: pulseCooldown 3s infinite ease-in-out;
}

.cooldown-break-card.completed .cooldown-icon-badge {
  background: rgba(34, 197, 94, 0.15);
  border-color: rgba(34, 197, 94, 0.3);
  color: #4ade80;
  animation: none;
}

@keyframes pulseCooldown {
  0%, 100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(245, 158, 11, 0.2); }
  50% { transform: scale(1.04); box-shadow: 0 0 12px 2px rgba(245, 158, 11, 0.25); }
}

.cooldown-titles {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.cooldown-titles h4 {
  margin: 0;
  font-family: var(--font-heading, Inter, sans-serif);
  font-size: 15px;
  font-weight: 700;
  color: #fff;
  letter-spacing: -0.01em;
  display: flex;
  align-items: center;
  gap: 8px;
}

.cooldown-titles .cooldown-sub {
  font-size: 12px;
  font-weight: 600;
  color: #f59e0b;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.cooldown-break-card.completed .cooldown-titles .cooldown-sub {
  color: #22c55e;
}

.cooldown-status-badge {
  padding: 6px 14px;
  border-radius: 99px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.03em;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(245, 158, 11, 0.15);
  color: #fbbf24;
  border: 1px solid rgba(245, 158, 11, 0.35);
  white-space: nowrap;
}

.cooldown-break-card.completed .cooldown-status-badge {
  background: rgba(34, 197, 94, 0.15);
  color: #86efac;
  border-color: rgba(34, 197, 94, 0.4);
}

.cooldown-desc {
  font-size: 13px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.72);
  margin: 0;
  max-width: 900px;
}

.cooldown-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-top: 8px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  flex-wrap: wrap;
}

.cooldown-timer-box {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-heading, Inter, sans-serif);
}

.cooldown-timer-label {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.5);
  font-weight: 500;
}

.cooldown-timer-digits {
  font-size: 15px;
  font-weight: 800;
  color: #fbbf24;
  letter-spacing: 0.04em;
  font-variant-numeric: tabular-nums;
  background: rgba(0, 0, 0, 0.5);
  padding: 4px 10px;
  border-radius: 6px;
  border: 1px solid rgba(245, 158, 11, 0.25);
}

.cooldown-break-card.completed .cooldown-timer-digits {
  color: #4ade80;
  border-color: rgba(34, 197, 94, 0.3);
}

.cooldown-progress-track {
  flex: 1;
  min-width: 140px;
  max-width: 260px;
  height: 6px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 99px;
  overflow: hidden;
  position: relative;
}

.cooldown-progress-bar {
  height: 100%;
  background: linear-gradient(90deg, #f59e0b, #fbbf24);
  border-radius: 99px;
  transition: width 0.4s ease;
}

.cooldown-break-card.completed .cooldown-progress-bar {
  background: linear-gradient(90deg, #10b981, #34d399);
}

.btn-cooldown-action {
  padding: 8px 18px;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  border: none;
  background: linear-gradient(135deg, #f59e0b, #d97706);
  color: #000;
  box-shadow: 0 4px 14px rgba(245, 158, 11, 0.3);
  transition: all 0.2s;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.btn-cooldown-action:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(245, 158, 11, 0.4);
  filter: brightness(1.1);
}

.btn-cooldown-action.is-started {
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: none;
}

/* Sidebar Cooldown Item */
.sidebar-cooldown-item {
  margin: 8px 10px;
  padding: 10px 14px;
  background: rgba(245, 158, 11, 0.07);
  border: 1px dashed rgba(245, 158, 11, 0.4);
  border-radius: 8px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  color: #fbbf24;
}

.sidebar-cooldown-item.completed {
  background: rgba(34, 197, 94, 0.07);
  border-color: rgba(34, 197, 94, 0.4);
  color: #86efac;
}

.sidebar-cooldown-icon {
  font-size: 15px;
  flex-shrink: 0;
}

.sidebar-cooldown-text {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 1px;
}

.sidebar-cooldown-title {
  font-weight: 700;
  line-height: 1.3;
}

.sidebar-cooldown-timer {
  font-size: 10px;
  opacity: 0.8;
  font-variant-numeric: tabular-nums;
}

/* Notice Box inside Aula Content */
.aula-cooldown-notice {
  margin-top: 24px;
  padding: 20px 24px;
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.12) 0%, rgba(17, 14, 5, 0.95) 100%);
  border: 1px solid rgba(245, 158, 11, 0.4);
  border-left: 4px solid #f59e0b;
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
}

.aula-cooldown-notice.completed {
  border-color: rgba(34, 197, 94, 0.4);
  border-left-color: #22c55e;
  background: linear-gradient(135deg, rgba(34, 197, 94, 0.12) 0%, rgba(5, 17, 8, 0.95) 100%);
}



/* =====================================================================
   NETFLIX / SHARKZ ACADEMY LUXURY THEME
   ===================================================================== */

:root {
  --bg-main: #08090c;
  --bg-card: #0e1117;
  --bg-card-hover: #141824;
  --border-card: rgba(255, 255, 255, 0.08);
  --border-card-hover: rgba(16, 185, 129, 0.4);
  --accent-blue: #059669;
  --accent-blue-bright: #10b981;
  --accent-blue-glow: rgba(16, 185, 129, 0.25);
  --text-main: #f8fafc;
  --text-muted: #94a3b8;
  --text-sub: #64748b;
  --font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

body {
  background-color: var(--bg-main) !important;
  color: var(--text-main);
  font-family: var(--font-family);
  -webkit-font-smoothing: antialiased;
}

/* Header Avatar & Navigation */
.user-avatar-badge {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: linear-gradient(135deg, #4f46e5, #10b981);
  color: #fff;
  font-weight: 800;
  font-size: 13px;
  display: flex;
  align-items: center;
  justify-content: center;
  letter-spacing: 0.5px;
  box-shadow: none;
  border: 2px solid rgba(255, 255, 255, 0.15);
  flex-shrink: 0;
}

/* ===== NETFLIX HERO BANNER ===== */
.netflix-hero-banner {
  width: 100%;
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  background: linear-gradient(135deg, #07090e 0%, #0c1220 50%, #080a10 100%);
  border: 1px solid rgba(16, 185, 129, 0.2);
  box-shadow: 0 20px 50px -10px rgba(0, 0, 0, 0.8), 0 0 40px -10px rgba(16, 185, 129, 0.15);
  margin-bottom: 36px;
  min-height: 240px;
  display: flex;
  align-items: center;
}

.netflix-hero-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 85% 30%, rgba(16, 185, 129, 0.18) 0%, rgba(14, 165, 233, 0.08) 35%, transparent 70%);
  pointer-events: none;
}

.netflix-hero-banner::after {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(16, 185, 129, 0.12) 0%, transparent 60%);
  filter: blur(50px);
  pointer-events: none;
}

.netflix-hero-content {
  position: relative;
  z-index: 2;
  padding: 36px 40px;
  max-width: 680px;
}

.netflix-hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: #34d399;
  margin-bottom: 12px;
  background: rgba(16, 185, 129, 0.1);
  padding: 4px 12px;
  border-radius: 99px;
  border: 1px solid rgba(16, 185, 129, 0.25);
}

.netflix-hero-title {
  font-size: 32px;
  font-weight: 900;
  line-height: 1.15;
  color: #fff;
  letter-spacing: -0.02em;
  margin: 0 0 12px 0;
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.6);
  background: linear-gradient(180deg, #ffffff 0%, #cbd5e1 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.netflix-hero-desc {
  font-size: 14px;
  line-height: 1.6;
  color: #94a3b8;
  margin: 0;
}

/* ===== SECTION HEADER (MÓDULOS) ===== */
.section-title-netflix {
  font-size: 26px;
  font-weight: 800;
  color: #f8fafc;
  letter-spacing: -0.02em;
  margin: 0 0 20px 0;
  display: flex;
  align-items: center;
  gap: 12px;
}

/* ===== MODULES POSTER GRID (ESTILO NETFLIX / SHARKZ) ===== */
.modules-grid-netflix {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 24px;
  margin-bottom: 48px;
}

.module-card-netflix {
  display: flex;
  flex-direction: column;
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: 16px;
  overflow: hidden;
  text-decoration: none;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5);
  cursor: pointer;
}

.module-card-netflix:hover {
  transform: translateY(-6px) scale(1.02);
  border-color: var(--border-card-hover);
  box-shadow: 0 16px 40px -10px rgba(0, 0, 0, 0.8), 0 0 30px -5px var(--accent-blue-glow);
}

.module-card-cover {
  width: 100%;
  aspect-ratio: 3 / 4;
  position: relative;
  overflow: hidden;
  background: linear-gradient(145deg, #0f172a 0%, #090d16 100%);
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Tag MOD 1 / MOD 2 */
.module-card-tag {
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 3;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #fff;
  background: rgba(0, 0, 0, 0.65);
  backdrop-filter: blur(8px);
  padding: 4px 10px;
  border-radius: 6px;
  border: 1px solid rgba(255, 255, 255, 0.12);
}

/* Fallback cover styling (sem capas ainda - preparado com arte dark luxo) */
.module-cover-fallback {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 24px;
  text-align: center;
  position: relative;
  background: radial-gradient(circle at 50% 40%, rgba(16, 185, 129, 0.15) 0%, #0b0f19 80%);
}

.module-cover-fallback::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='40' height='40' viewBox='0 0 40 40' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%233b82f6' fill-opacity='0.03' fill-rule='evenodd'%3E%3Cpath d='M0 40L40 0H20L0 20M40 40V20L20 40'/%3E%3C/g%3E%3C/svg%3E");
  opacity: 0.8;
}

.module-cover-icon {
  font-size: 40px;
  margin-bottom: 12px;
  filter: drop-shadow(0 0 16px rgba(16, 185, 129, 0.4));
  transition: transform 0.3s ease;
}

.module-card-netflix:hover .module-cover-icon {
  transform: scale(1.1);
}

.module-cover-bigtitle {
  font-size: 20px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: -0.01em;
  color: #fff;
  line-height: 1.2;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.8);
}

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

.module-card-netflix:hover .module-cover-img {
  transform: scale(1.05);
}

/* Card Bottom Info */
.module-card-info {
  padding: 16px 18px;
  background: var(--bg-card);
  border-top: 1px solid var(--border-card);
}

.module-card-title {
  font-size: 15px;
  font-weight: 700;
  color: #f8fafc;
  margin: 0 0 6px 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.module-card-meta {
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-sub);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* ===== AULA PAGE (ESTILO IMAGEM 3 & 4) ===== */
.btn-voltar-aulas {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 600;
  color: #94a3b8;
  text-decoration: none;
  margin-bottom: 16px;
  transition: color 0.2s;
}

.btn-voltar-aulas:hover {
  color: #34d399;
}

.aula-modulo-header-title {
  font-size: 24px;
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.02em;
  margin: 0 0 16px 0;
}

.aula-atual-box {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: 14px;
  padding: 18px 22px;
  margin-bottom: 20px;
}

.aula-atual-tag {
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #10b981;
  margin-bottom: 6px;
}

.aula-atual-title {
  font-size: 17px;
  font-weight: 800;
  color: #fff;
  margin: 0;
  line-height: 1.3;
}

/* Action Buttons below Video */
.aula-actions-bar {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 18px 0 24px 0;
  flex-wrap: wrap;
}

.btn-action-salvar {
  background: #11141c;
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #cbd5e1;
  padding: 12px 20px;
  border-radius: 10px;
  font-size: 13.5px;
  font-weight: 700;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.2s;
}

.btn-action-salvar:hover {
  background: #181d28;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.2);
}

.btn-action-concluir {
  background: #059669;
  border: none;
  color: #fff;
  padding: 12px 24px;
  border-radius: 10px;
  font-size: 13.5px;
  font-weight: 700;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 4px 16px rgba(16, 185, 129, 0.4);
  transition: all 0.2s;
  flex: 1;
  min-width: 180px;
  justify-content: center;
}

.btn-action-concluir:hover {
  background: #047857;
  transform: translateY(-1px);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
}

.btn-action-concluir.watched {
  background: #16a34a;
  box-shadow: 0 4px 16px rgba(22, 163, 74, 0.35);
}

.btn-action-proxima {
  background: #0d121f;
  border: 1px solid rgba(16, 185, 129, 0.3);
  color: #34d399;
  padding: 12px 22px;
  border-radius: 10px;
  font-size: 13.5px;
  font-weight: 700;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  transition: all 0.2s;
  justify-content: center;
  width: 100%;
}

.btn-action-proxima:hover {
  background: rgba(16, 185, 129, 0.12);
  border-color: #10b981;
  color: #6ee7b7;
}

.btn-action-proxima.disabled {
  opacity: 0.4;
  pointer-events: none;
  border-color: rgba(255, 255, 255, 0.08);
  color: #64748b;
}

/* Tabs & Trail Section (Estilo Imagem 4) */
.trilha-tabs-bar {
  display: flex;
  align-items: center;
  gap: 20px;
  border-bottom: 1px solid var(--border-card);
  margin-bottom: 16px;
}

.trilha-tab-btn {
  background: none;
  border: none;
  color: #64748b;
  font-size: 14px;
  font-weight: 700;
  padding: 10px 4px 14px 4px;
  cursor: pointer;
  position: relative;
  transition: color 0.2s;
}

.trilha-tab-btn.active {
  color: #fff;
}

.trilha-tab-btn.active::after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 0;
  right: 0;
  height: 2px;
  background: #10b981;
  border-radius: 2px;
}

.trilha-progress-bar-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
  font-size: 12.5px;
  font-weight: 600;
  color: #94a3b8;
}

.trilha-progress-track {
  width: 100%;
  height: 4px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 99px;
  overflow: hidden;
  margin-bottom: 16px;
}

.trilha-progress-fill {
  height: 100%;
  background: #10b981;
  border-radius: 99px;
  transition: width 0.4s ease;
}



/* =====================================================================
   CINEMATIC NETFLIX CAROUSEL & ROWS STYLING
   ===================================================================== */

/* Netflix Hero Banner (Exact Netflix Replica) */
.netflix-hero-cinematic {
  position: relative;
  width: 100%;
  min-height: 380px;
  border-radius: 20px;
  overflow: hidden;
  margin-bottom: 40px;
  background: linear-gradient(180deg, rgba(8, 9, 12, 0.2) 0%, rgba(8, 9, 12, 0.95) 100%),
              radial-gradient(circle at 75% 30%, rgba(16, 185, 129, 0.3) 0%, rgba(15, 23, 42, 0.8) 50%, #08090c 100%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 25px 60px -15px rgba(0, 0, 0, 0.9), 0 0 50px -10px rgba(16, 185, 129, 0.2);
  display: flex;
  align-items: flex-end;
  padding: 48px 48px;
  box-sizing: border-box;
}

.netflix-hero-cinematic::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(90deg, #08090c 0%, rgba(8, 9, 12, 0.8) 45%, rgba(8, 9, 12, 0.2) 100%);
  pointer-events: none;
}

.netflix-hero-body {
  position: relative;
  z-index: 2;
  max-width: 650px;
}

.netflix-badge-series {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #e2e8f0;
  margin-bottom: 12px;
}

.netflix-badge-series span {
  color: #ef4444;
  font-size: 14px;
}

.netflix-hero-cinematic-title {
  font-size: 42px;
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: -0.03em;
  color: #ffffff;
  margin: 0 0 14px 0;
  text-transform: uppercase;
  text-shadow: 0 4px 24px rgba(0, 0, 0, 0.9);
}

.netflix-meta-row {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 13px;
  font-weight: 700;
  color: #cbd5e1;
  margin-bottom: 14px;
  flex-wrap: wrap;
}

.netflix-match-score {
  color: #46d369;
  font-weight: 800;
}

.netflix-meta-tag {
  border: 1px solid rgba(255, 255, 255, 0.25);
  padding: 1px 6px;
  border-radius: 3px;
  font-size: 11px;
  color: #e2e8f0;
}

.netflix-hero-synopsis {
  font-size: 14.5px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.8);
  margin: 0 0 22px 0;
}

.netflix-hero-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.btn-netflix-play {
  background: #ffffff;
  color: #000000;
  padding: 12px 28px;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  transition: all 0.2s ease;
  box-shadow: 0 4px 18px rgba(255, 255, 255, 0.25);
}

.btn-netflix-play:hover {
  background: rgba(255, 255, 255, 0.85);
  transform: scale(1.03);
}

.btn-netflix-info {
  background: rgba(109, 109, 110, 0.7);
  color: #ffffff;
  backdrop-filter: blur(10px);
  padding: 12px 24px;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  transition: all 0.2s ease;
}

.btn-netflix-info:hover {
  background: rgba(109, 109, 110, 0.45);
  transform: scale(1.03);
}

/* Netflix Carousel Section & Rows */
.netflix-row-section {
  margin-bottom: 44px;
  position: relative;
}

.netflix-row-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 16px;
}

.netflix-row-title {
  font-size: 22px;
  font-weight: 800;
  color: #ffffff;
  letter-spacing: -0.02em;
  margin: 0;
  display: flex;
  align-items: center;
  gap: 10px;
}

.netflix-row-subtitle {
  font-size: 12px;
  font-weight: 700;
  color: #10b981;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

/* Carousel Container with Scroll Snap */
.netflix-carousel-wrapper {
  position: relative;
  width: 100%;
}

.netflix-carousel-track {
  display: flex;
  gap: 18px;
  overflow-x: auto;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  padding: 14px 4px 28px 4px;
  scrollbar-width: none; /* Firefox */
  -ms-overflow-style: none; /* IE */
}

.netflix-carousel-track::-webkit-scrollbar {
  display: none; /* Chrome/Safari */
}

/* Carousel Navigation Arrows */
.netflix-nav-btn {
  position: absolute;
  top: 45%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(15, 23, 42, 0.85);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  opacity: 0;
  transition: all 0.25s ease;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.7);
}

.netflix-carousel-wrapper:hover .netflix-nav-btn {
  opacity: 1;
}

.netflix-nav-btn:hover {
  background: rgba(16, 185, 129, 0.9);
  transform: translateY(-50%) scale(1.1);
  border-color: #10b981;
}

.netflix-nav-prev {
  left: -20px;
}

.netflix-nav-next {
  right: -20px;
}

/* Netflix Vertical Poster Cards (Exact Vertical Aspect Ratio ~ 2:3) */
.netflix-poster-card {
  flex: 0 0 220px;
  width: 220px;
  scroll-snap-align: start;
  background: #0e1117;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  overflow: hidden;
  text-decoration: none;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
  position: relative;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.6);
  cursor: pointer;
}

.netflix-poster-card:hover {
  transform: translateY(-8px) scale(1.05);
  border-color: rgba(16, 185, 129, 0.5);
  box-shadow: 0 20px 45px -10px rgba(0, 0, 0, 0.9), 0 0 30px -5px rgba(16, 185, 129, 0.35);
  z-index: 5;
}

.netflix-poster-media {
  width: 100%;
  aspect-ratio: 2 / 3;
  position: relative;
  overflow: hidden;
  background: linear-gradient(160deg, #111827 0%, #0a0e17 100%);
  display: flex;
  align-items: center;
  justify-content: center;
}

.netflix-poster-tag {
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 3;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #fff;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(8px);
  padding: 3px 8px;
  border-radius: 4px;
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.netflix-poster-count {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 3;
  font-size: 10px;
  font-weight: 800;
  color: #6ee7b7;
  background: rgba(30, 58, 138, 0.6);
  backdrop-filter: blur(8px);
  padding: 3px 7px;
  border-radius: 4px;
  border: 1px solid rgba(16, 185, 129, 0.3);
}

/* Fallback Poster Art (Cinematic spotlight before custom covers) */
.netflix-poster-fallback {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  padding: 20px 16px;
  box-sizing: border-box;
  text-align: center;
  position: relative;
  background: radial-gradient(circle at 50% 30%, rgba(16, 185, 129, 0.22) 0%, rgba(15, 23, 42, 0.9) 65%, #080a10 100%);
}

.netflix-poster-fallback::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(8, 9, 12, 0.95) 100%);
  pointer-events: none;
}

.netflix-poster-icon {
  font-size: 38px;
  margin-bottom: 24px;
  filter: drop-shadow(0 0 20px rgba(16, 185, 129, 0.6));
  transition: transform 0.3s ease;
  position: relative;
  z-index: 2;
}

.netflix-poster-card:hover .netflix-poster-icon {
  transform: scale(1.15) translateY(-4px);
}

.netflix-poster-title-overlay {
  font-size: 16px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: -0.01em;
  color: #ffffff;
  line-height: 1.25;
  position: relative;
  z-index: 2;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.9);
}

.netflix-poster-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.netflix-poster-card:hover .netflix-poster-img {
  transform: scale(1.06);
}

/* Card Bottom Info */
.netflix-poster-info {
  padding: 12px 14px 14px 14px;
  background: #0e1117;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.netflix-poster-title {
  font-size: 13.5px;
  font-weight: 700;
  color: #f1f5f9;
  margin: 0 0 4px 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.netflix-poster-meta {
  font-size: 11px;
  font-weight: 700;
  color: #64748b;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

@media(max-width: 768px) {
  .netflix-hero-cinematic {
    padding: 32px 24px;
    min-height: 320px;
  }
  .netflix-hero-cinematic-title {
    font-size: 28px;
  }
  .netflix-poster-card {
    flex: 0 0 170px;
    width: 170px;
  }
  .netflix-nav-btn {
    display: none;
  }
}



/* ===== HEADER BLACK & CENTRALIZED LOGO ===== */
header {
  background: #000000 !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.6) !important;
  position: sticky;
  top: 0;
  z-index: 100;
  width: 100%;
}

.header-inner {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  height: 68px !important;
  max-width: 1320px !important;
  margin: 0 auto !important;
  padding: 0 24px !important;
  position: relative !important;
}

.header-center-brand {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}

.header-center-logo {
  height: 38px;
  width: auto;
  object-fit: contain;
  filter: drop-shadow(0 0 12px rgba(16, 185, 129, 0.45));
  transition: transform 0.2s ease, filter 0.2s ease;
}

.header-center-logo:hover {
  transform: scale(1.05);
  filter: drop-shadow(0 0 18px rgba(16, 185, 129, 0.7));
}

.header-left-group {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 120px;
}

.header-right-group {
  display: flex !important;
  align-items: center !important;
  gap: 16px !important;
  min-width: 120px;
  justify-content: flex-end;
}

.user-avatar-badge {
  width: 36px !important;
  height: 36px !important;
  border-radius: 50% !important;
  background: linear-gradient(135deg, #059669, #10b981) !important;
  color: #ffffff !important;
  font-weight: 800 !important;
  font-size: 13px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  letter-spacing: 0.5px !important;
  box-shadow: none;
  border: 2px solid rgba(255, 255, 255, 0.15) !important;
  flex-shrink: 0 !important;
}



/* ===== CLEAN FLAT BUTTONS & MASKS (NO EXTERNAL GLOWS) ===== */
.btn-netflix-play {
  background: #ffffff !important;
  color: #000000 !important;
  padding: 12px 26px !important;
  border-radius: 8px !important;
  font-size: 15px !important;
  font-weight: 800 !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 10px !important;
  text-decoration: none !important;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.5) !important;
  border: none !important;
  transition: background 0.2s ease, transform 0.15s ease !important;
}

.btn-netflix-play:hover {
  background: #e2e8f0 !important;
  transform: translateY(-1px) !important;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.6) !important;
}

.btn-action-concluir {
  background: #10b981 !important;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.4) !important;
}

.btn-action-concluir:hover {
  background: #059669 !important;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.4) !important;
}

.user-avatar-badge {
  box-shadow: none !important;
  border: 1px solid rgba(255, 255, 255, 0.12) !important;
}

.header-center-logo {
  filter: none !important;
}
.header-center-logo:hover {
  filter: none !important;
}

.netflix-poster-card:hover {
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.8) !important;
  border-color: rgba(16, 185, 129, 0.6) !important;
}



/* ===== CLEAN METHOD 2K HEADER ===== */
header {
  background: #000000 !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
  height: 72px !important;
  position: sticky;
  top: 0;
  z-index: 100;
  width: 100%;
}

.header-inner {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  height: 100% !important;
  max-width: 1320px !important;
  margin: 0 auto !important;
  padding: 0 24px !important;
  position: relative !important;
}

.header-left-group {
  display: flex !important;
  align-items: center !important;
  min-width: 140px !important;
}

.header-center-brand {
  position: absolute !important;
  left: 50% !important;
  transform: translateX(-50%) !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  text-decoration: none !important;
}

.header-center-logo {
  height: 42px !important;
  max-height: 44px !important;
  width: auto !important;
  object-fit: contain !important;
  display: block !important;
  transition: transform 0.2s ease !important;
}

.header-center-logo:hover {
  transform: scale(1.04) !important;
}

.header-right-group {
  display: flex !important;
  align-items: center !important;
  justify-content: flex-end !important;
  gap: 12px !important;
  min-width: 140px !important;
}

.header-right-progress, #progress-section, #progress-pct {
  display: none !important;
}

.user-avatar-badge {
  width: 36px !important;
  height: 36px !important;
  border-radius: 50% !important;
  background: linear-gradient(135deg, #059669, #10b981) !important;
  color: #ffffff !important;
  font-weight: 800 !important;
  font-size: 13px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  letter-spacing: 0.5px !important;
  border: 1px solid rgba(255, 255, 255, 0.15) !important;
  flex-shrink: 0 !important;
  margin: 0 !important;
}

.btn-logout-header {
  margin: 0 !important;
  flex-shrink: 0 !important;
}



/* ===== INCREASED METHOD 2K LOGO SIZE ===== */
header {
  height: 78px !important;
}

.header-inner {
  height: 78px !important;
}

.header-center-logo {
  height: 54px !important;
  max-height: 56px !important;
  width: auto !important;
  object-fit: contain !important;
  display: block !important;
  transition: transform 0.2s ease !important;
}

.header-center-logo:hover {
  transform: scale(1.04) !important;
}

@media(max-width: 768px) {
  header, .header-inner {
    height: 68px !important;
  }
  .header-center-logo {
    height: 42px !important;
    max-height: 44px !important;
  }
}



/* ===== DARK CHARCOAL THEME (NO EXTERNAL GLOWS) ===== */
html, body {
  background-color: #11141a !important;
  color: #f8fafc !important;
}

body {
  background: #11141a !important;
}

header {
  background: #0a0c10 !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07) !important;
}

.user-avatar-badge, #headerUserAvatar {
  display: none !important;
}

/* Netflix Hero Banner in Charcoal */
.netflix-hero-cinematic {
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.6) !important;
}

/* Dual Hero Action Buttons */
.netflix-hero-actions {
  display: flex !important;
  align-items: center !important;
  gap: 14px !important;
  flex-wrap: wrap !important;
}

.btn-netflix-play-primary {
  background: #ffffff !important;
  color: #000000 !important;
  padding: 12px 24px !important;
  border-radius: 8px !important;
  font-size: 14.5px !important;
  font-weight: 800 !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 8px !important;
  text-decoration: none !important;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.4) !important;
  border: none !important;
  transition: background 0.2s ease, transform 0.15s ease !important;
}

.btn-netflix-play-primary:hover {
  background: #e2e8f0 !important;
  transform: translateY(-1px) !important;
}

.btn-netflix-play-secondary {
  background: rgba(255, 255, 255, 0.1) !important;
  color: #ffffff !important;
  backdrop-filter: blur(8px) !important;
  padding: 12px 24px !important;
  border-radius: 8px !important;
  font-size: 14.5px !important;
  font-weight: 700 !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 8px !important;
  text-decoration: none !important;
  border: 1px solid rgba(255, 255, 255, 0.18) !important;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3) !important;
  transition: all 0.2s ease !important;
}

.btn-netflix-play-secondary:hover {
  background: rgba(255, 255, 255, 0.18) !important;
  border-color: #10b981 !important;
  color: #34d399 !important;
  transform: translateY(-1px) !important;
}

.netflix-poster-card {
  background: #151922 !important;
  border: 1px solid rgba(255, 255, 255, 0.07) !important;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.4) !important;
}

.netflix-poster-card:hover {
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.7) !important;
  border-color: rgba(16, 185, 129, 0.5) !important;
}





body {
  background-color: #161a23 !important;
  background-image: none !important;
  color: #f8fafc !important;
}

main {
  background-color: #161a23 !important;
}

/* 1. Header is 100% PURE BLACK */
header {
  background-color: #000000 !important;
  background: #000000 !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.7) !important;
  height: 78px !important;
}

.header-inner {
  background: #000000 !important;
  height: 78px !important;
}

/* 2. Cards and Surfaces inside the Dark Charcoal Body */
.netflix-poster-card {
  background: #11151e !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.5) !important;
}

.netflix-poster-card:hover {
  background: #151a26 !important;
  border-color: rgba(16, 185, 129, 0.6) !important;
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.8) !important;
}

.netflix-poster-info {
  background: #11151e !important;
}

/* 3. Hero Banner Background */
.netflix-hero-cinematic {
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.6) !important;
}







.netflix-hero-border-wrap::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: conic-gradient(
    from 0deg,
    transparent 0deg,
    #10b981 50deg,
    #34d399 90deg,
    #6ee7b7 110deg,
    transparent 160deg,
    transparent 220deg,
    #059669 270deg,
    #10b981 310deg,
    transparent 360deg
  );
  animation: rotateEmeraldBorder 5s linear infinite;
  z-index: 1;
}

@keyframes rotateEmeraldBorder {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

.netflix-hero-cinematic {
  position: relative;
  z-index: 2;
  border-radius: 20px;
  margin-bottom: 0 !important;
  border: none !important;
  box-shadow: none !important;
}





.netflix-hero-border-wrap::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: conic-gradient(
    from 0deg,
    transparent 0deg,
    transparent 70deg,
    rgba(16, 185, 129, 0.4) 80deg,
    #10b981 90deg,
    #34d399 98deg,
    #6ee7b7 102deg,
    #34d399 106deg,
    rgba(16, 185, 129, 0.4) 114deg,
    transparent 125deg,
    transparent 360deg
  ) !important;
  animation: rotateSingleBeam 3.8s linear infinite !important;
  z-index: 1;
}

@keyframes rotateSingleBeam {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}





.netflix-poster-card:hover {
  transform: translateY(-6px) scale(1.03) !important;
  border-color: rgba(16, 185, 129, 0.5) !important;
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.8) !important;
}

.netflix-poster-media {
  width: 100% !important;
  aspect-ratio: 2 / 3 !important;
  position: relative !important;
  overflow: hidden !important;
  background: #090c12 !important;
}

.netflix-poster-tag {
  position: absolute !important;
  top: 14px !important;
  left: 14px !important;
  z-index: 3 !important;
  font-size: 11px !important;
  font-weight: 800 !important;
  letter-spacing: 0.1em !important;
  text-transform: uppercase !important;
  color: #94a3b8 !important;
  background: transparent !important;
  border: none !important;
  padding: 0 !important;
}

.netflix-poster-info {
  padding: 18px 18px 20px 18px !important;
  background: #11141c !important;
  border-top: none !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 6px !important;
}

.netflix-poster-title {
  font-family: 'Plus Jakarta Sans', var(--font-heading, Inter), sans-serif !important;
  font-size: 17px !important;
  font-weight: 800 !important;
  color: #ffffff !important;
  margin: 0 !important;
  line-height: 1.25 !important;
  white-space: nowrap !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
}

.netflix-poster-count-text {
  font-size: 12px !important;
  font-weight: 700 !important;
  letter-spacing: 0.12em !important;
  text-transform: uppercase !important;
  color: #64748b !important;
  margin: 0 !important;
}





.header-left-group {
  display: flex !important;
  align-items: center !important;
  flex: 1 !important;
  justify-content: flex-start !important;
}

.header-center-brand {
  position: absolute !important;
  left: 50% !important;
  top: 50% !important;
  transform: translate(-50%, -50%) !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  text-decoration: none !important;
  z-index: 5 !important;
}

.header-center-logo {
  height: 60px !important;
  max-height: 64px !important;
  width: auto !important;
  object-fit: contain !important;
  display: block !important;
  filter: none !important;
  transition: transform 0.2s ease !important;
}

.header-center-logo:hover {
  transform: scale(1.03) !important;
}

.header-right-group {
  display: flex !important;
  align-items: center !important;
  justify-content: flex-end !important;
  flex: 1 !important;
  gap: 14px !important;
  z-index: 10 !important;
}

.btn-logout-header {
  background: rgba(255, 255, 255, 0.08) !important;
  border: 1px solid rgba(255, 255, 255, 0.12) !important;
  color: #e2e8f0 !important;
  padding: 8px 16px !important;
  border-radius: 8px !important;
  font-size: 13px !important;
  font-weight: 700 !important;
  cursor: pointer !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 6px !important;
  transition: all 0.2s ease !important;
}

.btn-logout-header:hover {
  background: rgba(239, 68, 68, 0.15) !important;
  border-color: rgba(239, 68, 68, 0.4) !important;
  color: #f87171 !important;
}

@media(max-width: 768px) {
  header, .header-inner {
    height: 72px !important;
    padding: 0 16px !important;
  }
  .header-center-logo {
    height: 46px !important;
    max-height: 48px !important;
  }
}


/* ===== METHOD FARMING: CANONICAL HEADER STYLES ===== */
html {
  background-color: #0c0e13 !important;
}

body {
  background-color: #0c0e13 !important;
  background-image: none !important;
}

header {
  position: sticky !important;
  top: 0 !important;
  z-index: 100 !important;
  width: 100% !important;
  height: 86px !important;
  background-color: #000000 !important;
  background: #000000 !important;
  border-bottom: 1px solid rgba(255,255,255,0.08) !important;
  box-shadow: 0 4px 20px rgba(0,0,0,0.8) !important;
  box-sizing: border-box !important;
}

.header-inner {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  height: 86px !important;
  width: 100% !important;
  max-width: 1360px !important;
  margin: 0 auto !important;
  padding: 0 32px !important;
  position: relative !important;
  box-sizing: border-box !important;
  background: transparent !important;
}

/* LEFT spacer */
.header-left-group {
  flex: 1 !important;
}

/* CENTER logo absolutely positioned */
.header-center-brand {
  position: absolute !important;
  left: 50% !important;
  top: 50% !important;
  transform: translate(-50%, -50%) !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  text-decoration: none !important;
  z-index: 5 !important;
}

.header-center-logo {
  height: 60px !important;
  max-height: 64px !important;
  width: auto !important;
  max-width: 260px !important;
  object-fit: contain !important;
  display: block !important;
  filter: none !important;
}

/* RIGHT: Sair button */
.header-right-group {
  display: flex !important;
  align-items: center !important;
  justify-content: flex-end !important;
  flex: 1 !important;
  z-index: 10 !important;
}

.btn-logout-header {
  background: rgba(255,255,255,0.07) !important;
  border: 1px solid rgba(255,255,255,0.12) !important;
  color: #e2e8f0 !important;
  padding: 8px 18px !important;
  border-radius: 8px !important;
  font-size: 13px !important;
  font-weight: 700 !important;
  cursor: pointer !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 7px !important;
  transition: all 0.2s ease !important;
  white-space: nowrap !important;
  text-decoration: none !important;
}

.btn-logout-header:hover {
  background: rgba(239,68,68,0.15) !important;
  border-color: rgba(239,68,68,0.4) !important;
  color: #f87171 !important;
}

/* ===== ANIMATED SINGLE-BEAM EMERALD BORDER FOR HERO BANNER ===== */
.netflix-hero-border-wrap {
  position: relative !important;
  border-radius: 22px !important;
  padding: 2px !important;
  overflow: hidden !important;
  margin-bottom: 44px !important;
  background: #0f131a !important;
  box-shadow: 0 20px 50px -10px rgba(0,0,0,0.9) !important;
}

.netflix-hero-border-wrap::before {
  content: '' !important;
  position: absolute !important;
  top: -50% !important;
  left: -50% !important;
  width: 200% !important;
  height: 200% !important;
  background: conic-gradient(
    from 0deg,
    transparent 0deg,
    transparent 70deg,
    rgba(16, 185, 129, 0.35) 80deg,
    #10b981 90deg,
    #34d399 98deg,
    #6ee7b7 102deg,
    rgba(16, 185, 129, 0.35) 112deg,
    transparent 122deg,
    transparent 360deg
  ) !important;
  animation: rotateSingleBeam 3.5s linear infinite !important;
  z-index: 1 !important;
}

@keyframes rotateSingleBeam {
  0%   { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.netflix-hero-cinematic {
  position: relative !important;
  z-index: 2 !important;
  border-radius: 20px !important;
  border: none !important;
  box-shadow: none !important;
  margin-bottom: 0 !important;
}

/* ===== SECTION TITLES ===== */
.netflix-row-section {
  margin-bottom: 48px !important;
}

.netflix-row-title {
  font-family: 'Plus Jakarta Sans', Inter, sans-serif !important;
  font-size: 22px !important;
  font-weight: 800 !important;
  color: #ffffff !important;
  margin: 0 0 20px 0 !important;
  letter-spacing: -0.01em !important;
}

/* ===== MODULE POSTER CARDS ===== */
.netflix-poster-card {
  flex: 0 0 220px !important;
  width: 220px !important;
  background: #11141c !important;
  border: 1px solid rgba(255,255,255,0.08) !important;
  border-radius: 16px !important;
  overflow: hidden !important;
  text-decoration: none !important;
  display: flex !important;
  flex-direction: column !important;
  position: relative !important;
  box-shadow: 0 8px 24px rgba(0,0,0,0.5) !important;
  transition: all 0.3s cubic-bezier(0.16,1,0.3,1) !important;
}

.netflix-poster-card:hover {
  transform: translateY(-6px) scale(1.03) !important;
  border-color: rgba(16,185,129,0.5) !important;
  box-shadow: 0 16px 36px rgba(0,0,0,0.8) !important;
}

.netflix-poster-media {
  width: 100% !important;
  aspect-ratio: 2 / 3 !important;
  position: relative !important;
  overflow: hidden !important;
  background: #090c12 !important;
}

.netflix-poster-tag {
  position: absolute !important;
  top: 14px !important;
  left: 14px !important;
  z-index: 3 !important;
  font-size: 11px !important;
  font-weight: 800 !important;
  letter-spacing: 0.1em !important;
  text-transform: uppercase !important;
  color: #94a3b8 !important;
}

.netflix-poster-info {
  padding: 16px 16px 18px 16px !important;
  background: #11141c !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 5px !important;
}

.netflix-poster-title {
  font-size: 16px !important;
  font-weight: 800 !important;
  color: #ffffff !important;
  margin: 0 !important;
  line-height: 1.25 !important;
  white-space: nowrap !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
}

.netflix-poster-count-text {
  font-size: 12px !important;
  font-weight: 700 !important;
  letter-spacing: 0.12em !important;
  text-transform: uppercase !important;
  color: #64748b !important;
  margin: 0 !important;
}

/* ===== FALLBACK POSTER (sem capa) ===== */
.netflix-poster-fallback {
  width: 100% !important;
  height: 100% !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  background: linear-gradient(135deg, #0f1520 0%, #0a0f1a 100%) !important;
  gap: 10px !important;
}

.netflix-poster-icon {
  font-size: 38px !important;
  opacity: 0.7 !important;
}

.netflix-poster-title-overlay {
  font-size: 11px !important;
  font-weight: 700 !important;
  text-align: center !important;
  color: rgba(255,255,255,0.5) !important;
  text-transform: uppercase !important;
  letter-spacing: 0.08em !important;
  padding: 0 12px !important;
  line-height: 1.4 !important;
}

@media(max-width: 768px) {
  header { height: 72px !important; }
  .header-inner { height: 72px !important; padding: 0 16px !important; }
  .header-center-logo { height: 46px !important; max-height: 50px !important; }
}



/* ===== FULL-WIDTH ULTRA-WIDE EXPANDED LAYOUT (1600px / 94%) ===== */
.container-wide {
  max-width: 1600px !important;
  width: 94% !important;
  margin: 0 auto !important;
  padding: 0 16px !important;
  box-sizing: border-box !important;
}

.header-inner {
  max-width: 1600px !important;
  width: 94% !important;
  margin: 0 auto !important;
  padding: 0 16px !important;
}

/* Hero Banner expanded & proportional */
.netflix-hero-border-wrap {
  width: 100% !important;
  max-width: 1600px !important;
  margin: 0 auto 40px auto !important;
}

.netflix-hero-cinematic {
  min-height: 480px !important;
  padding: 56px 64px !important;
  background-size: cover !important;
  background-position: center right !important;
}

.netflix-hero-cinematic-title {
  font-size: 52px !important;
  margin-bottom: 16px !important;
}

.netflix-hero-synopsis {
  font-size: 16px !important;
  max-width: 640px !important;
  margin-bottom: 28px !important;
}

/* 5 Cards Row perfectly filling 100% of the container width */
#carousel-all {
  display: flex !important;
  gap: 20px !important;
  width: 100% !important;
  justify-content: space-between !important;
  overflow-x: auto !important;
  scroll-behavior: smooth !important;
  padding: 10px 0 20px 0 !important;
}

#carousel-all .netflix-poster-card {
  flex: 1 1 0 !important;
  min-width: 240px !important;
  max-width: calc((100% - 80px) / 5) !important;
}

/* Ferramentas row balanced */
#carousel-tools {
  display: flex !important;
  gap: 20px !important;
  width: 100% !important;
  padding: 10px 0 20px 0 !important;
}

#carousel-tools .netflix-poster-card {
  flex: 0 0 280px !important;
  width: 280px !important;
}

.netflix-poster-card {
  border-radius: 18px !important;
}

.netflix-poster-media {
  aspect-ratio: 2 / 3 !important;
}

.netflix-poster-img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
}

.netflix-poster-info {
  padding: 16px 18px 20px 18px !important;
}

.netflix-poster-title {
  font-size: 17px !important;
  font-weight: 800 !important;
}

.netflix-poster-count-text {
  font-size: 12px !important;
  letter-spacing: 0.12em !important;
}

@media(max-width: 1200px) {
  #carousel-all .netflix-poster-card {
    flex: 0 0 240px !important;
    max-width: 240px !important;
  }
}



/* ===== HERO BANNER SPACING & RED BOX CONFINED TEXT ===== */
.container-wide {
  padding-top: 44px !important;
  padding-bottom: 70px !important;
}

.netflix-hero-border-wrap {
  margin-top: 8px !important;
  margin-bottom: 48px !important;
}

.netflix-hero-cinematic {
  min-height: 480px !important;
  padding: 48px 56px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: flex-start !important;
  background-position: right center !important;
  background-size: cover !important;
}

.netflix-hero-body {
  max-width: 520px !important;
  width: 48% !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: flex-start !important;
  position: relative !important;
  z-index: 5 !important;
}

.netflix-badge-series {
  margin-bottom: 12px !important;
  font-size: 12px !important;
  letter-spacing: 0.14em !important;
}

.netflix-hero-cinematic-title {
  font-size: 46px !important;
  line-height: 1.05 !important;
  margin: 0 0 14px 0 !important;
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.9) !important;
}

.netflix-meta-row {
  margin-bottom: 16px !important;
}

.netflix-hero-synopsis {
  font-size: 15px !important;
  line-height: 1.6 !important;
  max-width: 480px !important;
  margin: 0 0 24px 0 !important;
  color: rgba(255, 255, 255, 0.9) !important;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.8) !important;
}

.netflix-hero-actions {
  display: flex !important;
  gap: 14px !important;
  flex-wrap: wrap !important;
}

/* 5 Cards Row - Perfectly spaced from MOD 1 to MOD 5 */
#carousel-all {
  display: flex !important;
  gap: 20px !important;
  width: 100% !important;  /* overflow-x: hidden removed — was blocking carousel scroll */
}

#carousel-all .netflix-poster-card {
  flex: 1 1 0 !important;
  min-width: 0 !important;
  max-width: calc((100% - 80px) / 5) !important;
}

/* Ferramentas Essenciais - MOD 6 to MOD 8 */
#carousel-tools {
  display: flex !important;
  gap: 20px !important;
  width: 100% !important;
}

#carousel-tools .netflix-poster-card {
  flex: 0 0 260px !important;
  width: 260px !important;
}



/* ===== ULTRA PITCH DARK CHARCOAL BACKGROUND (#05070a / #07090d) ===== */
html {
  background-color: #05070a !important;
}

body {
  background-color: #05070a !important;
  background-image: none !important;
  color: #ffffff !important;
}

main {
  background-color: #05070a !important;
}

header {
  background-color: #000000 !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06) !important;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.95) !important;
}

.netflix-poster-card {
  background: #090c13 !important;
  border: 1px solid rgba(255, 255, 255, 0.06) !important;
}

.netflix-poster-card:hover {
  background: #0d111a !important;
  border-color: rgba(16, 185, 129, 0.6) !important;
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.9) !important;
}

.netflix-poster-info {
  background: #090c13 !important;
}

.netflix-poster-media {
  background: #040608 !important;
}

.netflix-poster-fallback {
  background: linear-gradient(135deg, #0d111a 0%, #06080d 100%) !important;
}

/* Horizontal Carousels smoothly scrolling on multi-items */
#carousel-all {
  display: flex !important;
  gap: 20px !important;
  width: 100% !important;
  overflow-x: auto !important;
  scroll-behavior: smooth !important;
  padding: 10px 4px 24px 4px !important;
}

#carousel-all .netflix-poster-card {
  flex: 0 0 250px !important;
  width: 250px !important;
  min-width: 250px !important;
}

#carousel-tools {
  display: flex !important;
  gap: 20px !important;
  width: 100% !important;
  overflow-x: auto !important;
  scroll-behavior: smooth !important;
  padding: 10px 4px 24px 4px !important;
}

#carousel-tools .netflix-poster-card {
  flex: 0 0 250px !important;
  width: 250px !important;
  min-width: 250px !important;
}



/* ===== LOCK BADGE & HOVER TOOLTIP FOR BLOCKED MODULES ===== */
.netflix-poster-lock-badge {
  position: absolute;
  top: 10px;
  right: 10px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 9px;
  background: rgba(245, 158, 11, 0.18);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(245, 158, 11, 0.45);
  border-radius: 6px;
  color: #fbbf24;
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  z-index: 8;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
  transition: transform 0.25s ease, background-color 0.25s ease;
}

.netflix-poster-lock-badge svg {
  stroke: #fbbf24;
}

.netflix-poster-card.is-locked {
  cursor: not-allowed;
}

.netflix-poster-card.is-locked .netflix-poster-media::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(5, 7, 10, 0.15);
  transition: background 0.3s ease;
  z-index: 6;
  pointer-events: none;
}

.netflix-poster-lock-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(5, 7, 10, 0.65);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  opacity: 0;
  transition: opacity 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 10;
  pointer-events: none;
}

.netflix-lock-tooltip {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 14px;
  background: rgba(15, 23, 42, 0.95);
  border: 1px solid rgba(245, 158, 11, 0.5);
  border-radius: 8px;
  color: #fef08a;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.04em;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.8), 0 0 12px rgba(245, 158, 11, 0.2);
  transform: translateY(6px);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.netflix-lock-tooltip svg {
  stroke: #fbbf24;
}

.netflix-poster-card.is-locked:hover .netflix-poster-lock-overlay {
  opacity: 1;
}

.netflix-poster-card.is-locked:hover .netflix-lock-tooltip {
  transform: translateY(0);
}

.netflix-poster-card.is-locked:hover {
  border-color: rgba(245, 158, 11, 0.5) !important;
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.9), 0 0 20px rgba(245, 158, 11, 0.15) !important;
}

.netflix-poster-card.is-locked:hover .netflix-poster-lock-badge {
  background: rgba(245, 158, 11, 0.3);
  transform: scale(1.05);
}



/* ===== GRAYSCALE FILTER & LOCKED STYLING ===== */
.netflix-poster-card.is-locked .netflix-poster-img {
  filter: grayscale(100%) brightness(0.55) contrast(1.1) !important;
  transition: filter 0.4s ease, transform 0.4s ease !important;
}

.netflix-poster-card.is-locked:hover .netflix-poster-img {
  filter: grayscale(85%) brightness(0.65) contrast(1.15) !important;
  transform: scale(1.04) !important;
}

.netflix-poster-card.is-locked .netflix-poster-media {
  background: #040507 !important;
}

.netflix-poster-card.is-locked:hover {
  border-color: rgba(16, 185, 129, 0.4) !important;
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.95), 0 0 24px rgba(16, 185, 129, 0.15) !important;
}

.netflix-lock-center-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: rgba(10, 14, 20, 0.85);
  border: 1px solid rgba(16, 185, 129, 0.5);
  box-shadow: 0 0 20px rgba(16, 185, 129, 0.3);
  margin-bottom: 10px;
  transform: scale(0.9);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.netflix-poster-card.is-locked:hover .netflix-lock-center-icon {
  transform: scale(1);
}

.netflix-poster-lock-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: rgba(5, 7, 10, 0.7);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 10;
}

.netflix-poster-card.is-locked:hover .netflix-poster-lock-overlay {
  opacity: 1;
}

.netflix-lock-tooltip {
  padding: 6px 14px;
  background: rgba(15, 23, 42, 0.95);
  border: 1px solid rgba(16, 185, 129, 0.5);
  border-radius: 8px;
  color: #a7f3d0;
  font-size: 11.5px;
  font-weight: 800;
  letter-spacing: 0.05em;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.8);
}

/* ===== EXCLUSIVE MODAL (CINZA FOSCO COM VERDE ESMERALDA & BOTÃO PRETO) ===== */
.exclusive-modal-card {
  background: linear-gradient(180deg, #111622 0%, #0a0e17 100%) !important;
  border: 1px solid rgba(16, 185, 129, 0.35) !important;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.95), 0 0 35px rgba(16, 185, 129, 0.15) !important;
  border-radius: 20px !important;
  max-width: 440px !important;
  width: 90% !important;
  padding: 36px 32px !important;
  text-align: center !important;
  box-sizing: border-box !important;
}

.exclusive-icon-circle {
  width: 68px !important;
  height: 68px !important;
  border-radius: 50% !important;
  background: radial-gradient(circle, rgba(16, 185, 129, 0.2) 0%, rgba(16, 185, 129, 0.05) 100%) !important;
  border: 1.5px solid rgba(16, 185, 129, 0.5) !important;
  box-shadow: 0 0 25px rgba(16, 185, 129, 0.25) !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  margin: 0 auto 20px auto !important;
}

.exclusive-info-box {
  background: rgba(15, 23, 42, 0.7) !important;
  border: 1px solid rgba(16, 185, 129, 0.25) !important;
  border-radius: 12px !important;
  padding: 14px 18px !important;
  text-align: left !important;
  margin-bottom: 24px !important;
}

/* BOTÃO VERDE ESMERALDA COM FONTE PRETA PURA */
.btn-exclusive-modal-close {
  display: block !important;
  width: 100% !important;
  padding: 14px 20px !important;
  background: #10b981 !important;
  color: #000000 !important;
  border: none !important;
  border-radius: 12px !important;
  font-family: 'Plus Jakarta Sans', Inter, sans-serif !important;
  font-size: 15px !important;
  font-weight: 900 !important;
  letter-spacing: 0.03em !important;
  cursor: pointer !important;
  box-shadow: 0 6px 20px rgba(16, 185, 129, 0.35) !important;
  transition: background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease !important;
}

.btn-exclusive-modal-close:hover {
  background: #34d399 !important;
  color: #000000 !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 10px 28px rgba(16, 185, 129, 0.5) !important;
}

.btn-exclusive-modal-close:active {
  transform: translateY(0) !important;
}



/* ===== EXACT REFERENCE MATCH: METHOD GREEN & CLEAN CARD FRAMING ===== */
.text-green-highlight {
  color: #10b981 !important;
  text-shadow: 0 0 30px rgba(16, 185, 129, 0.45) !important;
}

.text-green-strong {
  color: #10b981 !important;
  font-weight: 700 !important;
}

/* Card Outer Frame */
.netflix-poster-card {
  position: relative !important;
  display: block !important;
  background: #06090e !important;
  border: 1px solid rgba(16, 185, 129, 0.28) !important;
  border-radius: 14px !important;
  overflow: hidden !important;
  text-decoration: none !important;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.3s ease, box-shadow 0.3s ease !important;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.7) !important;
}

.netflix-poster-card:hover {
  transform: translateY(-5px) !important;
  border-color: rgba(16, 185, 129, 0.75) !important;
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.9), 0 0 25px rgba(16, 185, 129, 0.22) !important;
}

.netflix-poster-inner-frame {
  display: flex !important;
  flex-direction: column !important;
  height: 100% !important;
  padding: 12px 14px 14px 14px !important;
  box-sizing: border-box !important;
  background: #070a0f !important;
}

/* Card Header (MOD X + BLOQUEADO) */
.netflix-poster-header-bar {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  margin-bottom: 10px !important;
  min-height: 22px !important;
}

.netflix-card-mod-badge {
  font-family: 'Inter', system-ui, sans-serif !important;
  font-size: 11.5px !important;
  font-weight: 800 !important;
  color: #10b981 !important;
  letter-spacing: 0.08em !important;
  text-transform: uppercase !important;
}

.netflix-poster-lock-badge {
  position: static !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 4px !important;
  padding: 3px 7px !important;
  background: rgba(245, 158, 11, 0.15) !important;
  border: 1px solid rgba(245, 158, 11, 0.4) !important;
  border-radius: 4px !important;
  color: #fbbf24 !important;
  font-size: 9.5px !important;
  font-weight: 800 !important;
  letter-spacing: 0.08em !important;
}

/* Poster Artwork Area */
.netflix-poster-media-area {
  position: relative !important;
  width: 100% !important;
  aspect-ratio: 2 / 3 !important;
  border-radius: 8px !important;
  overflow: hidden !important;
  background: #040608 !important;
}

.netflix-poster-img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  border-radius: 8px !important;
  transition: transform 0.4s ease !important;
}

.netflix-poster-card:hover .netflix-poster-img {
  transform: scale(1.03) !important;
}

/* Card Footer: "• X AULAS" */
.netflix-poster-footer-bar {
  display: flex !important;
  align-items: center !important;
  gap: 6px !important;
  margin-top: 12px !important;
  padding-left: 2px !important;
}

.netflix-footer-dot {
  width: 6px !important;
  height: 6px !important;
  border-radius: 50% !important;
  background: #10b981 !important;
  box-shadow: 0 0 8px #10b981 !important;
  display: inline-block !important;
}

.netflix-footer-count {
  font-family: 'Inter', system-ui, sans-serif !important;
  font-size: 11px !important;
  font-weight: 700 !important;
  color: #34d399 !important;
  letter-spacing: 0.1em !important;
  text-transform: uppercase !important;
}

/* Locked Card Filter */
.netflix-poster-card.is-locked .netflix-poster-img {
  filter: grayscale(100%) brightness(0.55) contrast(1.1) !important;
}

.netflix-poster-card.is-locked:hover .netflix-poster-img {
  filter: grayscale(80%) brightness(0.65) contrast(1.15) !important;
}

.netflix-poster-card.is-locked {
  cursor: pointer !important;
  border-color: rgba(245, 158, 11, 0.25) !important;
}

.netflix-poster-card.is-locked:hover {
  border-color: rgba(245, 158, 11, 0.6) !important;
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.9), 0 0 20px rgba(245, 158, 11, 0.2) !important;
}



/* ===== FULL-BLEED POSTER CARD (EXATAMENTE IGUAL À IMAGEM ANEXADA) ===== */
.netflix-poster-card {
  position: relative !important;
  display: block !important;
  aspect-ratio: 2 / 3 !important;
  background: #05070a !important;
  border: 1px solid rgba(16, 185, 129, 0.35) !important;
  border-radius: 12px !important;
  overflow: hidden !important;
  text-decoration: none !important;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.8) !important;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.3s ease, box-shadow 0.3s ease !important;
  padding: 0 !important;
}

.netflix-poster-card:hover {
  transform: translateY(-6px) !important;
  border-color: rgba(16, 185, 129, 0.85) !important;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.95), 0 0 28px rgba(16, 185, 129, 0.28) !important;
}

.netflix-card-img-wrap {
  position: absolute !important;
  inset: 0 !important;
  width: 100% !important;
  height: 100% !important;
  z-index: 1 !important;
  background: #040608 !important;
}

.netflix-poster-img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  display: block !important;
  transition: transform 0.4s ease !important;
}

.netflix-poster-card:hover .netflix-poster-img {
  transform: scale(1.04) !important;
}

/* Top Overlay: "MOD X" + "BLOQUEADO" */
.netflix-card-top-overlay {
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  padding: 12px 14px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  z-index: 5 !important;
  background: linear-gradient(180deg, rgba(5, 7, 10, 0.75) 0%, transparent 100%) !important;
  pointer-events: none !important;
}

.netflix-card-mod-tag {
  font-family: 'Inter', system-ui, sans-serif !important;
  font-size: 11px !important;
  font-weight: 800 !important;
  color: #10b981 !important;
  letter-spacing: 0.12em !important;
  text-transform: uppercase !important;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.9) !important;
}

.netflix-poster-lock-badge {
  display: inline-flex !important;
  align-items: center !important;
  gap: 4px !important;
  padding: 3px 7px !important;
  background: rgba(245, 158, 11, 0.25) !important;
  backdrop-filter: blur(6px) !important;
  -webkit-backdrop-filter: blur(6px) !important;
  border: 1px solid rgba(245, 158, 11, 0.6) !important;
  border-radius: 4px !important;
  color: #fbbf24 !important;
  font-size: 9px !important;
  font-weight: 800 !important;
  letter-spacing: 0.08em !important;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.6) !important;
}

/* Bottom Overlay: "• X AULAS" */
.netflix-card-bottom-overlay {
  position: absolute !important;
  bottom: 0 !important;
  left: 0 !important;
  right: 0 !important;
  padding: 12px 14px !important;
  display: flex !important;
  align-items: center !important;
  gap: 6px !important;
  z-index: 5 !important;
  background: linear-gradient(0deg, rgba(5, 7, 10, 0.85) 0%, transparent 100%) !important;
  pointer-events: none !important;
}

.netflix-card-green-dot {
  width: 5px !important;
  height: 5px !important;
  border-radius: 50% !important;
  background: #10b981 !important;
  box-shadow: 0 0 6px #10b981 !important;
  display: inline-block !important;
}

.netflix-card-lessons-text {
  font-family: 'Inter', system-ui, sans-serif !important;
  font-size: 10.5px !important;
  font-weight: 700 !important;
  color: #34d399 !important;
  letter-spacing: 0.1em !important;
  text-transform: uppercase !important;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.9) !important;
}

/* Grayscale for Locked */
.netflix-poster-card.is-locked .netflix-poster-img {
  filter: grayscale(100%) brightness(0.55) contrast(1.1) !important;
}

.netflix-poster-card.is-locked:hover .netflix-poster-img {
  filter: grayscale(80%) brightness(0.65) contrast(1.15) !important;
}

.netflix-poster-card.is-locked {
  border-color: rgba(245, 158, 11, 0.3) !important;
}

.netflix-poster-card.is-locked:hover {
  border-color: rgba(245, 158, 11, 0.75) !important;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.95), 0 0 25px rgba(245, 158, 11, 0.25) !important;
}



/* ===== REFINEMENTS: NO GLOW ON FARMING, DISTANCED BUTTONS, LARGER GREEN DOT, WHITE LESSONS TEXT ===== */
.text-green-highlight {
  color: #10b981 !important;
  text-shadow: none !important; /* Sem brilho externo */
  filter: none !important;
}

/* Distância dos botões Assistir Aula 1 e Continuar Assistindo */
.netflix-hero-actions {
  margin-top: 36px !important;
  display: flex !important;
  gap: 14px !important;
  flex-wrap: wrap !important;
}

/* Bolinha verde esmeralda maior no rodapé dos cards */
.netflix-card-green-dot {
  width: 8px !important;
  height: 8px !important;
  border-radius: 50% !important;
  background: #10b981 !important;
  box-shadow: 0 0 8px rgba(16, 185, 129, 0.8) !important;
  display: inline-block !important;
  flex-shrink: 0 !important;
}

/* Texto de aulas em BRANCO PURO */
.netflix-card-lessons-text {
  font-family: 'Inter', system-ui, sans-serif !important;
  font-size: 11px !important;
  font-weight: 800 !important;
  color: #ffffff !important; /* Letra branca */
  letter-spacing: 0.08em !important;
  text-transform: uppercase !important;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.9) !important;
}



/* ===== CENTER LOCK ICON ON BLOCKED CARDS ===== */
.netflix-card-center-lock {
  position: absolute !important;
  top: 50% !important;
  left: 50% !important;
  transform: translate(-50%, -50%) !important;
  z-index: 4 !important;
  pointer-events: none !important;
}

.netflix-card-center-lock-circle {
  width: 58px !important;
  height: 58px !important;
  border-radius: 50% !important;
  background: rgba(8, 12, 18, 0.85) !important;
  backdrop-filter: blur(8px) !important;
  -webkit-backdrop-filter: blur(8px) !important;
  border: 1.5px solid rgba(16, 185, 129, 0.6) !important;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.9), 0 0 16px rgba(16, 185, 129, 0.3) !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s ease, border-color 0.3s ease !important;
}

.netflix-poster-card.is-locked:hover .netflix-card-center-lock-circle {
  transform: scale(1.1) !important;
  border-color: #10b981 !important;
  box-shadow: 0 6px 25px rgba(0, 0, 0, 0.95), 0 0 25px rgba(16, 185, 129, 0.55) !important;
}

/* Botão Fechar (X) no topo direito do Modal */
.btn-exclusive-modal-x {
  position: absolute !important;
  top: 18px !important;
  right: 18px !important;
  background: rgba(255, 255, 255, 0.08) !important;
  border: 1px solid rgba(255, 255, 255, 0.12) !important;
  color: rgba(255, 255, 255, 0.7) !important;
  border-radius: 50% !important;
  width: 32px !important;
  height: 32px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  cursor: pointer !important;
  transition: background 0.2s ease, color 0.2s ease !important;
}

.btn-exclusive-modal-x:hover {
  background: rgba(255, 255, 255, 0.18) !important;
  color: #ffffff !important;
}

/* BOTÃO FALAR NO WHATSAPP COM FONTE PRETA PURA */
.btn-exclusive-modal-whatsapp {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 10px !important;
  width: 100% !important;
  padding: 15px 24px !important;
  background: #10b981 !important;
  color: #000000 !important;
  border: none !important;
  border-radius: 12px !important;
  font-family: 'Plus Jakarta Sans', Inter, sans-serif !important;
  font-size: 15.5px !important;
  font-weight: 900 !important;
  letter-spacing: 0.03em !important;
  text-decoration: none !important;
  cursor: pointer !important;
  box-shadow: 0 8px 24px rgba(16, 185, 129, 0.45) !important;
  transition: background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease !important;
  box-sizing: border-box !important;
}

.btn-exclusive-modal-whatsapp svg {
  fill: #000000 !important;
}

.btn-exclusive-modal-whatsapp:hover {
  background: #34d399 !important;
  color: #000000 !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 12px 30px rgba(16, 185, 129, 0.6) !important;
}



/* ===== BULLETPROOF FIXED EXCLUSIVE MODAL (HIDDEN BY DEFAULT, 100% FIXED & CENTERED) ===== */
#exclusiveModuleModal {
  position: fixed !important;
  inset: 0 !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  bottom: 0 !important;
  width: 100vw !important;
  height: 100vh !important;
  background: rgba(0, 0, 0, 0.85) !important;
  backdrop-filter: blur(12px) !important;
  -webkit-backdrop-filter: blur(12px) !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  z-index: 9999999 !important;
  padding: 20px !important;
  box-sizing: border-box !important;
  opacity: 0 !important;
  visibility: hidden !important;
  pointer-events: none !important;
  transition: opacity 0.25s ease, visibility 0.25s ease !important;
}

#exclusiveModuleModal.active {
  opacity: 1 !important;
  visibility: visible !important;
  pointer-events: auto !important;
}

#exclusiveModuleModal .exclusive-modal-card {
  position: relative !important;
  background: linear-gradient(180deg, #121824 0%, #0a0e17 100%) !important;
  border: 1px solid rgba(16, 185, 129, 0.45) !important;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.98), 0 0 45px rgba(16, 185, 129, 0.2) !important;
  border-radius: 22px !important;
  max-width: 460px !important;
  width: 100% !important;
  padding: 40px 34px !important;
  text-align: center !important;
  box-sizing: border-box !important;
  transform: scale(0.92) translateY(10px);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1) !important;
  margin: auto !important;
}

#exclusiveModuleModal.active .exclusive-modal-card {
  transform: scale(1) translateY(0) !important;
}


.exclusive-info-box {
  background: rgba(15, 23, 42, 0.85) !important;
  border: 1px solid rgba(16, 185, 129, 0.3) !important;
  border-radius: 14px !important;
  padding: 16px 20px !important;
  text-align: left !important;
  margin: 18px 0 24px 0 !important;
}

.btn-exclusive-modal-x {
  position: absolute !important;
  top: 18px !important;
  right: 18px !important;
  background: rgba(255, 255, 255, 0.08) !important;
  border: 1px solid rgba(255, 255, 255, 0.12) !important;
  color: rgba(255, 255, 255, 0.7) !important;
  border-radius: 50% !important;
  width: 32px !important;
  height: 32px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  cursor: pointer !important;
  transition: background 0.2s ease, color 0.2s ease !important;
}

.btn-exclusive-modal-x:hover {
  background: rgba(255, 255, 255, 0.2) !important;
  color: #ffffff !important;
}

.btn-exclusive-modal-whatsapp {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 10px !important;
  width: 100% !important;
  padding: 15px 24px !important;
  background: #10b981 !important;
  color: #000000 !important;
  border: none !important;
  border-radius: 12px !important;
  font-family: 'Plus Jakarta Sans', Inter, sans-serif !important;
  font-size: 15.5px !important;
  font-weight: 900 !important;
  letter-spacing: 0.03em !important;
  text-decoration: none !important;
  cursor: pointer !important;
  box-shadow: 0 8px 24px rgba(16, 185, 129, 0.45) !important;
  transition: background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease !important;
  box-sizing: border-box !important;
}

.btn-exclusive-modal-whatsapp svg {
  fill: #000000 !important;
}

.btn-exclusive-modal-whatsapp:hover {
  background: #34d399 !important;
  color: #000000 !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 12px 30px rgba(16, 185, 129, 0.6) !important;
}



/* ===== HEXAGON LOCK BADGE WITH SIDE LINES (EXACT IMAGE MATCH) ===== */
.netflix-hex-lock-container {
  position: absolute !important;
  bottom: 24px !important;
  left: 0 !important;
  right: 0 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 8px !important;
  padding: 0 12px !important;
  z-index: 4 !important;
  pointer-events: none !important;
}

.netflix-hex-line {
  flex: 1 !important;
  height: 1px !important;
  background: linear-gradient(90deg, transparent 0%, rgba(255, 255, 255, 0.35) 50%, rgba(255, 255, 255, 0.45) 100%) !important;
}

.netflix-hex-lock-container .netflix-hex-line:last-child {
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.45) 0%, rgba(255, 255, 255, 0.35) 50%, transparent 100%) !important;
}

.netflix-hex-badge {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 38px !important;
  height: 38px !important;
  border-radius: 8px !important;
  background: rgba(10, 14, 22, 0.92) !important;
  backdrop-filter: blur(8px) !important;
  -webkit-backdrop-filter: blur(8px) !important;
  border: 1px solid rgba(255, 255, 255, 0.28) !important;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.9), 0 0 10px rgba(255, 255, 255, 0.08) !important;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.3s ease, box-shadow 0.3s ease !important;
}

.netflix-poster-card.is-locked:hover .netflix-hex-badge {
  transform: scale(1.1) !important;
  border-color: rgba(255, 255, 255, 0.6) !important;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.95), 0 0 16px rgba(255, 255, 255, 0.2) !important;
}

/* Ensure ALL parts of locked cards trigger the click properly */
.netflix-poster-card.is-locked {
  cursor: pointer !important;
}

.netflix-poster-card.is-locked * {
  pointer-events: none !important;
}



/* ===== MODAL EXCLUSIVO SEM BRILHO EXTERNO (ZERO GLOW) ===== */
#exclusiveModuleModal .exclusive-modal-card {
  position: relative !important;
  background: #0d121c !important;
  border: 1px solid rgba(255, 255, 255, 0.12) !important;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.95) !important; /* Apenas sombra escura pura, sem glow verde */
  border-radius: 20px !important;
  max-width: 440px !important;
  width: 100% !important;
  padding: 36px 30px !important;
  text-align: center !important;
  box-sizing: border-box !important;
  transform: scale(0.94);
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1) !important;
  margin: auto !important;
}

#exclusiveModuleModal.active .exclusive-modal-card {
  transform: scale(1) !important;
}

/* Ícone de Cadeado sem brilho externo */

.exclusive-info-box {
  background: rgba(15, 23, 42, 0.6) !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
  border-radius: 12px !important;
  padding: 14px 18px !important;
  text-align: left !important;
  margin: 18px 0 22px 0 !important;
  box-shadow: none !important;
}

/* Botão Falar no WhatsApp sem brilho externo */
.btn-exclusive-modal-whatsapp {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 10px !important;
  width: 100% !important;
  padding: 15px 22px !important;
  background: #10b981 !important;
  color: #000000 !important;
  border: none !important;
  border-radius: 12px !important;
  font-family: 'Plus Jakarta Sans', Inter, sans-serif !important;
  font-size: 15.5px !important;
  font-weight: 900 !important;
  letter-spacing: 0.03em !important;
  text-decoration: none !important;
  cursor: pointer !important;
  box-shadow: none !important; /* Sem brilho externo */
  transition: background 0.2s ease, transform 0.2s ease !important;
  box-sizing: border-box !important;
}

.btn-exclusive-modal-whatsapp svg {
  fill: #000000 !important;
  filter: none !important;
}

.btn-exclusive-modal-whatsapp:hover {
  background: #34d399 !important;
  color: #000000 !important;
  transform: translateY(-2px) !important;
  box-shadow: none !important; /* Sem brilho externo */
}

.btn-exclusive-modal-whatsapp:active {
  transform: translateY(0) !important;
}



/* ===== REMOVE TOP GLOW ON MODAL (ZERO MANCHA VERDE NO TOPO) ===== */
.custom-modal-box::before,
.exclusive-modal-card::before {
  display: none !important;
  content: none !important;
  opacity: 0 !important;
  background: none !important;
}

#exclusiveModuleModal .exclusive-modal-card {
  background: #0c1018 !important;
  border: 1px solid rgba(255, 255, 255, 0.12) !important;
  box-shadow: 0 25px 70px rgba(0, 0, 0, 0.95) !important;
}

/* ===== HEXAGON LOCK WITH PERFECTLY PROPORTIONED INTERNAL LOCK ICON ===== */
.netflix-hex-lock-container {
  position: absolute !important;
  bottom: 22px !important;
  left: 0 !important;
  right: 0 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 10px !important;
  padding: 0 16px !important;
  z-index: 4 !important;
  pointer-events: none !important;
}

.netflix-hex-line {
  flex: 1 !important;
  height: 1px !important;
  background: linear-gradient(90deg, transparent 0%, rgba(255, 255, 255, 0.25) 50%, rgba(255, 255, 255, 0.35) 100%) !important;
}

.netflix-hex-lock-container .netflix-hex-line:last-child {
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.35) 0%, rgba(255, 255, 255, 0.25) 50%, transparent 100%) !important;
}

.netflix-hex-badge {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 32px !important;
  height: 34px !important;
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  flex-shrink: 0 !important;
  transition: transform 0.25s ease !important;
}

.netflix-poster-card.is-locked:hover .netflix-hex-badge {
  transform: scale(1.1) !important;
}



/* ===== CENTERED TEXT IN EXCLUSIVE MODAL BOX ===== */
.exclusive-info-box {
  background: rgba(15, 23, 42, 0.6) !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
  border-radius: 12px !important;
  padding: 16px 20px !important;
  text-align: center !important;
  margin: 18px 0 24px 0 !important;
  box-shadow: none !important;
}



/* ===== CENTERED INFO BOX AND HEADER ===== */
.exclusive-info-box {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  background: rgba(15, 23, 42, 0.6) !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
  border-radius: 12px !important;
  padding: 16px 20px !important;
  text-align: center !important;
  margin: 18px 0 24px 0 !important;
  box-sizing: border-box !important;
  box-shadow: none !important;
}

.exclusive-info-header {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 8px !important;
  width: 100% !important;
  font-weight: 700 !important;
  color: #34d399 !important;
  font-size: 13.5px !important;
  margin-bottom: 8px !important;
  text-align: center !important;
}

.exclusive-info-text {
  font-size: 13px !important;
  color: rgba(255, 255, 255, 0.88) !important;
  line-height: 1.55 !important;
  text-align: center !important;
  width: 100% !important;
}



/* ===== STATIC GRID FOR ADICIONAIS & SMART NAV BUTTONS ===== */
.netflix-static-grid {
  display: grid !important;
  grid-template-columns: repeat(auto-fill, minmax(210px, 240px)) !important;
  gap: 20px !important;
  width: 100% !important;
  box-sizing: border-box !important;
  padding: 8px 0 20px 0 !important;
}

@media(max-width: 900px) {
  .netflix-static-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 14px !important;
  }
}

@media(max-width: 500px) {
  .netflix-static-grid {
    grid-template-columns: 1fr !important;
  }
}

/* Transições suaves dos botões de navegação da Mentoria */
.netflix-nav-btn {
  transition: opacity 0.25s ease, transform 0.25s ease, background 0.2s ease !important;
}



/* ===== STATIC GRID FOR ADICIONAIS & SMART NAV BUTTONS ===== */
.netflix-static-grid {
  display: grid !important;
  grid-template-columns: repeat(auto-fill, minmax(210px, 240px)) !important;
  gap: 20px !important;
  width: 100% !important;
  box-sizing: border-box !important;
  padding: 8px 0 20px 0 !important;
}

@media(max-width: 900px) {
  .netflix-static-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 14px !important;
  }
}

@media(max-width: 500px) {
  .netflix-static-grid {
    grid-template-columns: 1fr !important;
  }
}

/* Transições suaves dos botões de navegação da Mentoria */
.netflix-nav-btn {
  transition: opacity 0.25s ease, transform 0.25s ease, background 0.2s ease !important;
}



/* ===== OVERRIDE CAROUSEL CONFLICTS (ENABLE SMOOTH SCROLLING) ===== */
#carousel-all {
  display: flex !important;
  gap: 20px !important;
  width: 100% !important;
  overflow-x: auto !important; /* Desbloqueia o scroll */
  scroll-behavior: smooth !important;
  scrollbar-width: none !important;
  -ms-overflow-style: none !important;
  padding: 10px 4px 20px 4px !important;
  box-sizing: border-box !important;
  justify-content: flex-start !important;
}

#carousel-all::-webkit-scrollbar {
  display: none !important;
}

#carousel-all .netflix-poster-card {
  flex: 0 0 240px !important;
  min-width: 240px !important;
  max-width: 240px !important;
  box-sizing: border-box !important;
}

@media(max-width: 900px) {
  #carousel-all .netflix-poster-card {
    flex: 0 0 200px !important;
    min-width: 200px !important;
    max-width: 200px !important;
  }
}



/* ===== CAROUSEL BULLETPROOF SCROLLING FIX ===== */
.netflix-carousel-track,
#carousel-all {
  display: flex !important;
  gap: 20px !important;
  width: 100% !important;
  overflow-x: auto !important;
  overflow-y: hidden !important;
  scroll-behavior: smooth !important;
  scroll-snap-type: none !important; /* Desativa snap que impedia o scroll suave */
  -webkit-overflow-scrolling: touch !important;
  scrollbar-width: none !important;
  -ms-overflow-style: none !important;
  padding: 10px 6px 24px 6px !important;
  box-sizing: border-box !important;
  justify-content: flex-start !important;
}

.netflix-carousel-track::-webkit-scrollbar,
#carousel-all::-webkit-scrollbar {
  display: none !important;
  width: 0 !important;
  height: 0 !important;
}

#carousel-all .netflix-poster-card {
  flex: 0 0 240px !important;
  width: 240px !important;
  min-width: 240px !important;
  max-width: 240px !important;
  scroll-snap-align: none !important;
  box-sizing: border-box !important;
}

@media(max-width: 900px) {
  #carousel-all .netflix-poster-card {
    flex: 0 0 200px !important;
    width: 200px !important;
    min-width: 200px !important;
    max-width: 200px !important;
  }
}

/* Garante clique infalível nos botões de navegação */
.netflix-nav-btn {
  z-index: 20 !important;
  cursor: pointer !important;
  pointer-events: auto !important;
}

.netflix-nav-btn * {
  pointer-events: none !important;
}



/* ===== DRAG TO SCROLL & CAROUSEL FLUIDITY ===== */
#carousel-all {
  cursor: grab !important;
  user-select: none !important;
  -webkit-user-select: none !important;
}

#carousel-all:active {
  cursor: grabbing !important;
}

#carousel-all img {
  pointer-events: none !important; /* Evita que o navegador tente arrastar a imagem em vez do carrossel */
  user-select: none !important;
}

/* ===============================================================
   FINAL DEFINITIVE CAROUSEL OVERRIDE — NEVER BLOCK SCROLL
   =============================================================== */
#carousel-all {
  display: flex !important;
  flex-wrap: nowrap !important;
  overflow-x: auto !important;
  overflow-y: hidden !important;
  scroll-behavior: smooth !important;
  scroll-snap-type: none !important;
  -webkit-overflow-scrolling: touch !important;
  scrollbar-width: none !important;
  -ms-overflow-style: none !important;
  gap: 20px !important;
  padding: 10px 6px 24px 6px !important;
  width: 100% !important;
  box-sizing: border-box !important;
  cursor: grab !important;
}

#carousel-all:active { cursor: grabbing !important; }

#carousel-all::-webkit-scrollbar {
  display: none !important;
  height: 0 !important;
}

#carousel-all .netflix-poster-card {
  flex: 0 0 240px !important;
  min-width: 240px !important;
  max-width: 240px !important;
  scroll-snap-align: none !important;
}

#carousel-all img {
  pointer-events: none !important;
  user-select: none !important;
  -webkit-user-drag: none !important;
}

/* Navigation buttons — always clickable and not blocked */
#btn-prev-mentoria,
#btn-next-mentoria {
  z-index: 100 !important;
  pointer-events: auto !important;
  cursor: pointer !important;
  position: absolute !important;
}

#btn-prev-mentoria svg,
#btn-next-mentoria svg {
  pointer-events: none !important;
}

.netflix-carousel-wrapper {
  position: relative !important;
  overflow: visible !important;
}

/* ── OCULTAR SCROLLBAR HOME (AREA DE MEMBROS) ── */
html:not(.aula-page) body::-webkit-scrollbar { display: none !important; width: 0 !important; }
html:not(.aula-page) body { scrollbar-width: none !important; -ms-overflow-style: none !important; }


/* ===============================================================
   GLOBAL ZERO SCROLLBAR — PLATAFORMA 100% LIMPA (SEM BARRAS VISÍVEIS)
   =============================================================== */
html, body, div, main, section, aside, nav, ul, ol, textarea, pre {
  scrollbar-width: none !important;
  -ms-overflow-style: none !important;
}

::-webkit-scrollbar {
  display: none !important;
  width: 0 !important;
  height: 0 !important;
  background: transparent !important;
}

* {
  scrollbar-width: none !important;
  -ms-overflow-style: none !important;
}


/* ============================================================
   KIWIFY STYLE DIGITAL FLIP COUNTDOWN BOXES
============================================================ */
.kiwify-countdown-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin: 18px auto 22px auto;
  user-select: none;
}

.kiwify-time-col {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}

.kiwify-digits-group {
  display: flex;
  gap: 4px;
}

.kiwify-digit-card {
  width: 40px;
  height: 54px;
  background: #0d121b;
  border: 1px solid rgba(16, 185, 129, 0.35);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Plus Jakarta Sans', 'Inter', monospace;
  font-size: 28px;
  font-weight: 800;
  color: #ffffff;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12), 0 6px 18px rgba(0, 0, 0, 0.45);
  position: relative;
  overflow: hidden;
  transition: transform 0.15s ease, border-color 0.2s ease;
}

/* Divisória central estilo flip clock */
.kiwify-digit-card::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  top: 50%;
  height: 1px;
  background: rgba(0, 0, 0, 0.5);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.06);
}

.kiwify-colon {
  font-size: 26px;
  font-weight: 800;
  color: #10b981;
  margin-bottom: 20px;
  animation: kiwifyColonPulse 1s infinite;
}

@keyframes kiwifyColonPulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.3; transform: scale(0.95); }
}

.kiwify-unit-label {
  font-size: 10px;
  font-weight: 700;
  color: #9ca3af;
  letter-spacing: 0.8px;
  text-transform: uppercase;
}


/* ============================================================
   CENTER DRIP COUNTDOWN BOX ON CARDS
============================================================ */
.netflix-center-drip-box {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: rgba(10, 14, 22, 0.9);
  border: 1px solid rgba(245, 158, 11, 0.45);
  border-radius: 12px;
  padding: 10px 14px;
  backdrop-filter: blur(12px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.65), 0 0 18px rgba(245, 158, 11, 0.18);
  pointer-events: none;
  z-index: 10;
  text-align: center;
  min-width: 126px;
  user-select: none;
  transition: transform 0.25s ease;
}

.netflix-poster-card:hover .netflix-center-drip-box {
  transform: translate(-50%, -50%) scale(1.05);
}

.center-drip-lock-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 4px;
}

.center-drip-label {
  font-size: 10.5px;
  font-weight: 800;
  color: #fbbf24;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  margin-bottom: 2px;
}

.center-drip-countdown {
  font-family: 'Plus Jakarta Sans', 'Inter', monospace;
  font-size: 16px;
  font-weight: 900;
  color: #ffffff;
  letter-spacing: 1px;
}


/* ============================================================
   MECHANICAL FLIP CLOCK COUNTDOWN (Estilo Imagem Anexada)
============================================================ */
.flip-clock-container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  margin: 4px 0 0 0;
  user-select: none;
}

.flip-tile {
  position: relative;
  width: 44px;
  height: 48px;
  background: linear-gradient(180deg, #262a33 0%, #1b1e26 49%, #0c0e12 51%, #151820 100%);
  border-radius: 7px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 
    0 4px 12px rgba(0, 0, 0, 0.7),
    inset 0 1px 0 rgba(255, 255, 255, 0.18),
    inset 0 -1px 0 rgba(0, 0, 0, 0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

/* Fenda mecânica horizontal no meio */
.flip-tile::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  top: 50%;
  height: 2px;
  background: #06080b;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.08);
  z-index: 2;
}

.flip-tile-digits {
  font-family: 'Plus Jakarta Sans', 'Inter', -apple-system, monospace;
  font-size: 22px;
  font-weight: 900;
  color: #f8fafc;
  letter-spacing: 1px;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.9);
  z-index: 1;
  line-height: 1;
}

/* Center Box no Card */
.netflix-center-drip-box {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: rgba(8, 12, 18, 0.92);
  border: 1px solid rgba(245, 158, 11, 0.45);
  border-radius: 12px;
  padding: 8px 12px 10px 12px;
  backdrop-filter: blur(12px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.75), 0 0 18px rgba(245, 158, 11, 0.18);
  pointer-events: none;
  z-index: 10;
  text-align: center;
  min-width: 148px;
  user-select: none;
  transition: transform 0.25s ease;
}

.netflix-poster-card:hover .netflix-center-drip-box {
  transform: translate(-50%, -50%) scale(1.05);
}

.center-drip-label {
  font-size: 10.5px;
  font-weight: 800;
  color: #fbbf24;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  margin-bottom: 2px;
  text-shadow: 0 1px 3px rgba(0,0,0,0.8);
}


/* ===== BOTÃO SAIR DA CONTA (NEUTRO POR PADRÃO, VERMELHO NO HOVER) ===== */
.btn-logout-header, .btn-logout {
  background: rgba(255, 255, 255, 0.05) !important;
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
  color: #94a3b8 !important;
  padding: 6px 14px !important;
  border-radius: 8px !important;
  font-size: 13px !important;
  font-weight: 600 !important;
  cursor: pointer !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 6px !important;
  transition: all 0.2s ease !important;
  font-family: inherit !important;
}

.btn-logout-header:hover, .btn-logout:hover {
  background: rgba(239, 68, 68, 0.14) !important;
  border-color: rgba(239, 68, 68, 0.4) !important;
  color: #f87171 !important;
  box-shadow: 0 4px 12px rgba(239, 68, 68, 0.18) !important;
}

.center-drip-days-text {
  font-family: 'Plus Jakarta Sans', 'Inter', -apple-system, sans-serif;
  font-size: 15px;
  font-weight: 800;
  color: #ffffff;
  letter-spacing: 0.5px;
  margin-top: 3px;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.8);
}


/* ============================================================
   PADRONIZAÇÃO DEFINITIVA DO HEADER (IDÊNTICO EM TODAS AS TELAS)
============================================================ */
header {
  position: sticky !important;
  top: 0 !important;
  left: 0 !important;
  width: 100% !important;
  height: 64px !important;
  background: rgba(13, 17, 23, 0.96) !important;
  backdrop-filter: blur(16px) !important;
  -webkit-backdrop-filter: blur(16px) !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
  z-index: 100 !important;
  display: flex !important;
  align-items: center !important;
}

.header-inner, .header-inner-aula {
  width: 100% !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  padding: 0 32px !important;
}

.header-left-slot, .header-left-group {
  display: flex !important;
  align-items: center !important;
  justify-content: flex-start !important;
  flex: 1 !important;
}

.header-center-slot, .header-center-brand {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  flex-shrink: 0 !important;
  text-decoration: none !important;
}

.header-center-logo {
  height: 38px !important;
  max-height: 40px !important;
  width: auto !important;
  display: block !important;
  filter: none !important;
  transition: transform 0.2s ease !important;
}

.header-center-logo:hover {
  transform: scale(1.03) !important;
}

.header-right-slot, .header-right-group {
  display: flex !important;
  align-items: center !important;
  justify-content: flex-end !important;
  flex: 1 !important;
}

.btn-logout-custom, .btn-logout-header {
  display: inline-flex !important;
  align-items: center !important;
  gap: 7px !important;
  color: #94a3b8 !important;
  font-size: 13px !important;
  font-weight: 600 !important;
  text-decoration: none !important;
  padding: 8px 15px !important;
  border-radius: 8px !important;
  background: #161b22 !important;
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
  transition: all 0.2s ease !important;
  cursor: pointer !important;
  font-family: inherit !important;
}

.btn-logout-custom:hover, .btn-logout-header:hover {
  color: #f87171 !important;
  background: rgba(239, 68, 68, 0.12) !important;
  border-color: rgba(239, 68, 68, 0.35) !important;
  box-shadow: 0 4px 12px rgba(239, 68, 68, 0.2) !important;
}


/* ===== SPINNERS VERDE ESMERALDA (MENORES E MAIS GROSSOS) ===== */
.spinner, .buffering-spinner, .loading-spinner {
  width: 38px !important;
  height: 38px !important;
  border: 4px solid rgba(16, 185, 129, 0.2) !important;
  border-top-color: #10b981 !important;
  border-radius: 50% !important;
  animation: spin 0.75s linear infinite !important;
}

.player-buffering-overlay {
  position: absolute !important;
  inset: 0 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  background: rgba(0, 0, 0, 0.6) !important;
  z-index: 25 !important;
  pointer-events: none !important;
}


/* ===== SIDEBAR ACCORDION COM BADGE ABAIXO DO TÍTULO E ÍCONES SVG ===== */
.sidebar-module-group-header {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  padding: 14px 16px !important;
  gap: 12px !important;
  cursor: pointer !important;
  background: rgba(18, 24, 36, 0.6) !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05) !important;
  transition: background 0.2s ease !important;
}

.sidebar-module-group-header:hover {
  background: rgba(18, 24, 36, 0.9) !important;
}

.sidebar-module-group.is-open .sidebar-module-group-header {
  background: rgba(22, 30, 44, 0.95) !important;
  border-bottom-color: rgba(16, 185, 129, 0.25) !important;
}

.mod-badge-sidebar {
  font-size: 11px !important;
  font-weight: 800 !important;
  color: #34d399 !important;
  background: rgba(16, 185, 129, 0.12) !important;
  border: 1px solid rgba(16, 185, 129, 0.3) !important;
  padding: 4px 8px !important;
  border-radius: 6px !important;
  flex-shrink: 0 !important;
}

.mod-group-title-wrap {
  display: flex !important;
  flex-direction: column !important;
  gap: 3px !important;
  flex: 1 !important;
  min-width: 0 !important;
}

.mod-group-name {
  font-size: 13.5px !important;
  font-weight: 700 !important;
  color: #f1f5f9 !important;
  line-height: 1.3 !important;
  white-space: normal !important;
}

.mod-drip-subline {
  display: inline-flex !important;
  align-items: center !important;
  gap: 5px !important;
  font-size: 11.5px !important;
  font-weight: 700 !important;
  line-height: 1 !important;
  margin-top: 2px !important;
}

.mod-group-meta-wrap {
  display: flex !important;
  align-items: center !important;
  gap: 8px !important;
  flex-shrink: 0 !important;
}

.mod-group-counter {
  font-size: 12px !important;
  font-weight: 600 !important;
  color: #64748b !important;
}

.mod-group-chevron {
  width: 15px !important;
  height: 15px !important;
  color: #64748b !important;
  transition: transform 0.25s ease !important;
}

.sidebar-module-group.is-open .mod-group-chevron {
  transform: rotate(180deg) !important;
  color: #10b981 !important;
}


/* ============================================================
   LOGO HEADER GRANDE E PROMINENTE (50px)
============================================================ */
header {
  position: sticky !important;
  top: 0 !important;
  left: 0 !important;
  width: 100% !important;
  height: 74px !important;
  background: rgba(13, 17, 23, 0.98) !important;
  backdrop-filter: blur(16px) !important;
  -webkit-backdrop-filter: blur(16px) !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
  z-index: 100 !important;
  display: flex !important;
  align-items: center !important;
}

.header-inner, .header-inner-aula {
  width: 100% !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  padding: 0 32px !important;
}

.header-center-logo {
  height: 50px !important;
  max-height: 54px !important;
  width: auto !important;
  display: block !important;
  filter: drop-shadow(0 2px 8px rgba(0,0,0,0.5)) !important;
  transition: transform 0.2s ease !important;
}

.header-center-logo:hover {
  transform: scale(1.04) !important;
}

.btn-logout-custom, .btn-logout-header {
  display: inline-flex !important;
  align-items: center !important;
  gap: 7px !important;
  color: #94a3b8 !important;
  font-size: 13px !important;
  font-weight: 600 !important;
  text-decoration: none !important;
  padding: 8px 16px !important;
  border-radius: 8px !important;
  background: #161b22 !important;
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
  transition: all 0.2s ease !important;
  cursor: pointer !important;
  font-family: inherit !important;
}

.btn-logout-custom:hover, .btn-logout-header:hover {
  color: #f87171 !important;
  background: rgba(239, 68, 68, 0.14) !important;
  border-color: rgba(239, 68, 68, 0.4) !important;
  box-shadow: 0 4px 12px rgba(239, 68, 68, 0.2) !important;
}


/* ============================================================
   HEADER HARMONIOSO COM LOGO PROMINENTE E VISÍVEL
============================================================ */
header {
  position: sticky !important;
  top: 0 !important;
  left: 0 !important;
  width: 100% !important;
  height: 64px !important;
  background: rgba(10, 14, 20, 0.97) !important;
  backdrop-filter: blur(16px) !important;
  -webkit-backdrop-filter: blur(16px) !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
  z-index: 100 !important;
  display: flex !important;
  align-items: center !important;
}

.header-inner, .header-inner-aula {
  width: 100% !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  padding: 0 28px !important;
}

.header-center-logo {
  height: 44px !important;
  max-height: 46px !important;
  width: auto !important;
  display: block !important;
  object-fit: contain !important;
  filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.6)) !important;
  transition: transform 0.2s ease !important;
}

.header-center-logo:hover {
  transform: scale(1.05) !important;
}


/* ============================================================
   ÍCONE NÃO CORTADO NA TELA DE DRIP LOCK
============================================================ */
.player:has(.no-video) {
  overflow: visible !important;
}

.player.drip-lock-active {
  overflow: visible !important;
}

.player .no-video {
  position: absolute !important;
  inset: 0 !important;
  border-radius: 14px !important;
  overflow: hidden !important;
  z-index: 5 !important;
}


/* ============================================================
   EXCLUSIVE ICON CIRCLE — REGRA DEFINITIVA (NÃO DUPLICAR)
============================================================ */
.exclusive-icon-circle {
  width: 72px !important;
  height: 72px !important;
  border-radius: 50% !important;
  background: rgba(16, 185, 129, 0.12) !important;
  border: 1.5px solid rgba(16, 185, 129, 0.45) !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  margin: 0 auto 20px auto !important;
  overflow: visible !important;
  flex-shrink: 0 !important;
  box-shadow: 0 0 20px rgba(16, 185, 129, 0.2) !important;
}


/* ============================================================
   TIMELINE SEEK BAR — CORRECAO DEFINITIVA
   Fix: clique correto, cor verde esmeralda, handle visivel
============================================================ */
.player-timeline {
  position: relative !important;
  height: 5px !important;
  background: rgba(255, 255, 255, 0.2) !important;
  border-radius: 3px !important;
  cursor: pointer !important;
  pointer-events: auto !important;
  padding: 10px 0 !important;
  margin: -10px 0 !important;
  background-clip: content-box !important;
  box-sizing: content-box !important;
  touch-action: none !important;
  user-select: none !important;
}
.player-timeline:hover {
  height: 7px !important;
}
.timeline-buffer {
  position: absolute !important;
  top: 10px !important;
  left: 0 !important;
  height: 5px !important;
  background: rgba(255, 255, 255, 0.3) !important;
  border-radius: 3px !important;
  width: 0% !important;
  pointer-events: none !important;
  transition: width 0.3s ease !important;
}
.player-timeline:hover .timeline-buffer {
  height: 7px !important;
}
.timeline-fill {
  position: absolute !important;
  top: 10px !important;
  left: 0 !important;
  height: 5px !important;
  background: linear-gradient(90deg, #10b981, #34d399) !important;
  border-radius: 3px !important;
  pointer-events: none !important;
  transition: height 0.15s ease !important;
}
.player-timeline:hover .timeline-fill {
  height: 7px !important;
}
.timeline-handle {
  position: absolute !important;
  right: -7px !important;
  top: 50% !important;
  transform: translateY(-50%) !important;
  width: 14px !important;
  height: 14px !important;
  border-radius: 50% !important;
  background: #ffffff !important;
  box-shadow: 0 0 8px rgba(16, 185, 129, 0.9), 0 2px 6px rgba(0, 0, 0, 0.5) !important;
  opacity: 0 !important;
  transition: opacity 0.15s ease, transform 0.15s ease !important;
  pointer-events: none !important;
}
.player-timeline:hover .timeline-handle, .player.is-seeking .timeline-handle {
  opacity: 1 !important;
  transform: translateY(-50%) scale(1.2) !important;
}


/* ============================================================
   HEADER PADRONIZADO COM LOGO EXPANDIDA & PROMINENTE
============================================================ */
header {
  position: sticky !important;
  top: 0 !important;
  left: 0 !important;
  width: 100% !important;
  height: 76px !important;
  background: rgba(10, 14, 20, 0.98) !important;
  backdrop-filter: blur(20px) !important;
  -webkit-backdrop-filter: blur(20px) !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
  z-index: 100 !important;
  display: flex !important;
  align-items: center !important;
}

.header-inner, .header-inner-aula {
  width: 100% !important;
  height: 100% !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  padding: 0 32px !important;
}

.header-center-slot, .header-center-brand {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  text-decoration: none !important;
  height: 100% !important;
}

.header-center-logo {
  height: 56px !important;
  max-height: 60px !important;
  width: auto !important;
  display: block !important;
  object-fit: contain !important;
  filter: drop-shadow(0 2px 10px rgba(0, 0, 0, 0.7)) !important;
  transition: transform 0.2s ease !important;
}

.header-center-logo:hover {
  transform: scale(1.06) !important;
}

/* Otimização de carregamento e transição suave das capas */
.netflix-card-img-wrap {
  position: relative !important;
  width: 100% !important;
  height: 100% !important;
  background: #090d14 !important;
  overflow: hidden !important;
}

.netflix-poster-img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  display: block !important;
  image-rendering: auto !important;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.2s ease !important;
}


/* ============================================================
   VISIBILIDADE INSTANTÂNEA E NÍTIDA DAS CAPAS
============================================================ */
.netflix-card-img-wrap {
  position: relative !important;
  width: 100% !important;
  height: 100% !important;
  background: #090d14 !important;
  overflow: hidden !important;
}

.netflix-poster-img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  display: block !important;
  opacity: 1 !important;
  image-rendering: auto !important;
  will-change: transform !important;
}

.netflix-poster-card.is-locked .netflix-poster-img {
  filter: grayscale(80%) brightness(0.65) contrast(1.1) !important;
  opacity: 1 !important;
}

.netflix-poster-card.is-locked:hover .netflix-poster-img {
  filter: grayscale(50%) brightness(0.8) contrast(1.15) !important;
  transform: scale(1.04) !important;
}


/* ============================================================
   MOD TAG HEADER DAS CAPAS (BADGE ESMERALDA ULTRA-DESTACADA)
============================================================ */
.netflix-card-top-overlay {
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  padding: 10px 12px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  z-index: 6 !important;
  background: linear-gradient(180deg, rgba(3, 7, 12, 0.85) 0%, rgba(3, 7, 12, 0.3) 65%, transparent 100%) !important;
  pointer-events: none !important;
}

.netflix-card-mod-tag {
  font-family: 'Inter', system-ui, -apple-system, sans-serif !important;
  font-size: 10px !important;
  font-weight: 800 !important;
  color: #34d399 !important;
  letter-spacing: 0.14em !important;
  text-transform: uppercase !important;
  background: rgba(16, 185, 129, 0.2) !important;
  border: 1px solid rgba(16, 185, 129, 0.55) !important;
  padding: 3px 9px !important;
  border-radius: 5px !important;
  backdrop-filter: blur(10px) !important;
  -webkit-backdrop-filter: blur(10px) !important;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.7), 0 0 12px rgba(16, 185, 129, 0.25) !important;
  text-shadow: 0 0 10px rgba(52, 211, 153, 0.7) !important;
  transition: all 0.25s ease !important;
}

.netflix-poster-card:hover .netflix-card-mod-tag {
  background: rgba(16, 185, 129, 0.35) !important;
  border-color: rgba(52, 211, 153, 0.9) !important;
  color: #ffffff !important;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.8), 0 0 18px rgba(16, 185, 129, 0.5) !important;
  transform: translateY(-1px) !important;
}

.netflix-card-bottom-overlay {
  position: absolute !important;
  bottom: 0 !important;
  left: 0 !important;
  right: 0 !important;
  padding: 10px 12px !important;
  display: flex !important;
  align-items: center !important;
  gap: 6px !important;
  z-index: 6 !important;
  background: linear-gradient(0deg, rgba(3, 7, 12, 0.9) 0%, rgba(3, 7, 12, 0.4) 70%, transparent 100%) !important;
}

.netflix-card-lessons-text {
  font-family: 'Inter', system-ui, sans-serif !important;
  font-size: 10.5px !important;
  font-weight: 700 !important;
  color: rgba(255, 255, 255, 0.9) !important;
  letter-spacing: 0.08em !important;
  text-transform: uppercase !important;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.9) !important;
}

.netflix-card-green-dot {
  width: 6px !important;
  height: 6px !important;
  border-radius: 50% !important;
  background: #10b981 !important;
  box-shadow: 0 0 8px #10b981 !important;
  flex-shrink: 0 !important;
}


/* ============================================================
   DESIGN EXATO DO CARD (MOD CINZA + FOOTER TÍTULO & AULAS)
============================================================ */
.netflix-poster-card {
  position: relative !important;
  display: flex !important;
  flex-direction: column !important;
  background: #080c14 !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
  border-radius: 12px !important;
  overflow: hidden !important;
  text-decoration: none !important;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.8) !important;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.3s ease, box-shadow 0.3s ease !important;
  padding: 0 !important;
  cursor: pointer !important;
}

.netflix-poster-card:hover {
  transform: translateY(-6px) !important;
  border-color: rgba(16, 185, 129, 0.7) !important;
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.95), 0 0 24px rgba(16, 185, 129, 0.2) !important;
}

.netflix-card-img-wrap {
  position: relative !important;
  width: 100% !important;
  aspect-ratio: 1 / 1.15 !important;
  background: #040608 !important;
  overflow: hidden !important;
}

.netflix-poster-img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  display: block !important;
  transition: transform 0.4s ease !important;
}

.netflix-poster-card:hover .netflix-poster-img {
  transform: scale(1.05) !important;
}

/* Tag Superior Cinza (Clean, exatamente igual à imagem anexada) */
.netflix-card-top-overlay {
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  padding: 10px 12px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  z-index: 5 !important;
  background: linear-gradient(180deg, rgba(4, 6, 10, 0.8) 0%, transparent 100%) !important;
  pointer-events: none !important;
}

.netflix-card-mod-tag {
  font-family: 'Inter', system-ui, -apple-system, sans-serif !important;
  font-size: 11px !important;
  font-weight: 800 !important;
  color: #94a3b8 !important; /* Cor Cinza Clara */
  letter-spacing: 0.1em !important;
  text-transform: uppercase !important;
  background: transparent !important;
  border: none !important;
  padding: 0 !important;
  box-shadow: none !important;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.9) !important;
}

.netflix-poster-card:hover .netflix-card-mod-tag {
  color: #cbd5e1 !important;
}

/* Rodapé do Card (Título do Módulo + Quantidade de Aulas) */
.netflix-card-info-footer {
  padding: 12px 14px 14px 14px !important;
  background: #080c14 !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 3px !important;
  z-index: 2 !important;
  flex: 1 !important;
  justify-content: center !important;
}

.netflix-card-info-title {
  font-family: 'Inter', system-ui, -apple-system, sans-serif !important;
  font-size: 14px !important;
  font-weight: 700 !important;
  color: #f8fafc !important;
  line-height: 1.35 !important;
  white-space: nowrap !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
}

.netflix-card-info-lessons {
  font-family: 'Inter', system-ui, -apple-system, sans-serif !important;
  font-size: 10.5px !important;
  font-weight: 700 !important;
  color: #64748b !important;
  letter-spacing: 0.08em !important;
  text-transform: uppercase !important;
}
