/* ==========================================
   LEARNING CENTER — PAGE SPECIFIC STYLES
   Zelzoni Premium Design System
========================================== */

/* ── Hero override ── */
.hero-arcade {
  min-height: auto;
  padding-top: 165px;
  padding-bottom: 0;
  overflow: visible;
  background: transparent;
}

.hero-arcade::before {
  display: none;
}

.hero-arcade::after {
  display: none;
}

/* ── Hero text ── */
.lc-hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(111, 92, 255, 0.08);
  border: 1px solid rgba(111, 92, 255, 0.18);
  color: #6f5cff;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 6px 16px;
  border-radius: 99px;
  margin-bottom: 20px;
}

.lc-hero-eyebrow i { font-size: 0.75rem; }

.lc-hero-title {
  font-size: clamp(2.4rem, 5vw, 4rem);
  font-weight: 800;
  color: #17153a;
  letter-spacing: -0.03em;
  line-height: 1.15;
  margin-bottom: 18px;
  max-width: 820px;
  margin-inline: auto;
}

.lc-hero-title span {
  background: linear-gradient(135deg, #6f5cff 0%, #d12984 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.lc-hero-desc {
  font-size: 1.05rem;
  color: #555273;
  max-width: 620px;
  margin-inline: auto;
  margin-bottom: 32px;
  line-height: 1.65;
}

.lc-hero-stats {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
  margin-top: 10px;
  margin-bottom: 60px;
}

.lc-stat {
  text-align: center;
}

.lc-stat-num {
  display: block;
  font-size: 1.65rem;
  font-weight: 800;
  color: #17153a;
  letter-spacing: -0.02em;
}

.lc-stat-label {
  font-size: 0.82rem;
  color: #8c88ad;
  font-weight: 500;
}

.lc-stat-divider {
  width: 1px;
  height: 40px;
  background: rgba(23, 21, 58, 0.1);
}

/* ── Decorative SVG lines (floating) ── */
.lc-deco-svg {
  position: absolute;
  pointer-events: none;
  z-index: 0;
  opacity: 0.55;
}

.lc-deco-svg-left {
  left: -60px;
  top: 30%;
}

.lc-deco-svg-right {
  right: -80px;
  bottom: 10%;
}

/* ── Filter Tabs ── */
.lc-filters-section {
  padding: 60px 0 0;
  position: relative;
}

.lc-filters-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

.lc-filter-tabs {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.lc-filter-tab {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 9px 20px;
  border-radius: 99px;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  border: 1.5px solid rgba(23, 21, 58, 0.1);
  background: white;
  color: #555273;
  transition: all 0.2s ease;
}

.lc-filter-tab:hover {
  border-color: #6f5cff;
  color: #6f5cff;
}

.lc-filter-tab.active {
  background: #17153a;
  color: white;
  border-color: #17153a;
}

.lc-filter-tab .tab-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: currentColor;
  opacity: 0.5;
}

.lc-filter-tab.active .tab-dot { opacity: 1; }

.lc-search-wrap {
  position: relative;
}

.lc-search-wrap i {
  position: absolute;
  left: 15px;
  top: 50%;
  transform: translateY(-50%);
  color: #8c88ad;
  font-size: 0.88rem;
}

.lc-search {
  padding: 10px 18px 10px 40px;
  border: 1.5px solid rgba(23, 21, 58, 0.1);
  border-radius: 99px;
  font-family: inherit;
  font-size: 0.85rem;
  color: #17153a;
  background: white;
  width: 240px;
  outline: none;
  transition: border-color 0.2s;
}

.lc-search:focus { border-color: #6f5cff; }
.lc-search::placeholder { color: #aaa9c4; }

/* ── Featured Resource Spotlight ── */
.lc-featured-section {
  padding: 0 0 80px;
  position: relative;
}

.lc-featured-card {
  background: white;
  border-radius: 28px;
  overflow: hidden;
  border: 1px solid rgba(23, 21, 58, 0.06);
  box-shadow: 0 20px 60px rgba(23, 21, 58, 0.06);
  display: grid;
  grid-template-columns: 1.4fr 1.2fr;
  min-height: 400px;
}

.lc-featured-thumb {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #1e1b4b 0%, #4f46e5 50%, #6f5cff 100%);
  display: flex;
  align-items: center;
  justify-content: center;
}

.lc-featured-thumb-inner {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 380px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.thumb-pattern {
  position: absolute;
  inset: 0;
  opacity: 0.08;
}

.thumb-icon {
  display: none;
}

.lc-featured-duration {
  position: absolute;
  bottom: 18px;
  right: 18px;
  background: rgba(0,0,0,0.55);
  color: white;
  font-size: 0.78rem;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: 6px;
  letter-spacing: 0.05em;
  backdrop-filter: blur(4px);
}

.lc-featured-badge {
  position: absolute;
  top: 18px;
  left: 18px;
  background: linear-gradient(135deg, #d12984, #ff7eb6);
  color: white;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: 99px;
}

.lc-featured-info {
  padding: 48px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.lc-featured-category {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.75rem;
  font-weight: 700;
  color: #6f5cff;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 14px;
}

.lc-featured-category i { font-size: 0.7rem; }

.lc-featured-info h2 {
  font-size: 1.75rem;
  font-weight: 800;
  color: #17153a;
  letter-spacing: -0.02em;
  line-height: 1.25;
  margin-bottom: 14px;
}

.lc-featured-info p {
  font-size: 0.95rem;
  color: #555273;
  line-height: 1.6;
  margin-bottom: 24px;
}

.lc-featured-meta {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 30px;
  font-size: 0.83rem;
  color: #8c88ad;
  font-weight: 500;
}

.lc-featured-meta span {
  display: flex;
  align-items: center;
  gap: 6px;
}

.lc-enroll-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 28px;
  background: linear-gradient(135deg, #17153a, #3730a3);
  color: white;
  border-radius: 99px;
  font-weight: 700;
  font-size: 0.92rem;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  width: fit-content;
  cursor: pointer;
}

.lc-enroll-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(55, 48, 163, 0.3);
}

/* ── Resource Grid ── */
.lc-grid-section {
  background: #ffffff;
  padding: 60px 0 50px;
  position: relative;
}

.lc-section-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 40px;
}

.lc-section-header h2 {
  font-size: 1.9rem;
  font-weight: 800;
  color: #17153a;
  letter-spacing: -0.02em;
}

.lc-section-header p {
  font-size: 0.9rem;
  color: #8c88ad;
  margin-top: 5px;
}

.lc-count-badge {
  background: rgba(111, 92, 255, 0.08);
  color: #6f5cff;
  font-size: 0.8rem;
  font-weight: 700;
  padding: 6px 14px;
  border-radius: 99px;
}

.lc-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

/* ── Resource Card ── */
.lc-card {
  background: white;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid rgba(23, 21, 58, 0.06);
  box-shadow: 0 4px 20px rgba(23, 21, 58, 0.03);
  transition: transform 0.3s cubic-bezier(0.2, 0.8, 0.2, 1),
              box-shadow 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
  cursor: pointer;
  display: flex;
  flex-direction: column;
}

.lc-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 50px rgba(23, 21, 58, 0.08);
}

.lc-card-thumb {
  position: relative;
  padding-top: 50%;
  overflow: hidden;
}

.lc-card-thumb-inner {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Gradient themes per category */
.lc-card-thumb.theme-purple .lc-card-thumb-inner {
  background: linear-gradient(135deg, #1e1b4b, #4f46e5);
}
.lc-card-thumb.theme-pink .lc-card-thumb-inner {
  background: linear-gradient(135deg, #831843, #d12984);
}
.lc-card-thumb.theme-peach .lc-card-thumb-inner {
  background: linear-gradient(135deg, #9a3412, #f97316);
}
.lc-card-thumb.theme-teal .lc-card-thumb-inner {
  background: linear-gradient(135deg, #0f766e, #14b8a6);
}
.lc-card-thumb.theme-navy .lc-card-thumb-inner {
  background: linear-gradient(135deg, #1e3a5f, #2563eb);
}
.lc-card-thumb.theme-rose .lc-card-thumb-inner {
  background: linear-gradient(135deg, #9f1239, #f43f5e);
}

.card-thumb-icon {
  display: none;
}

.lc-card-duration {
  position: absolute;
  bottom: 12px;
  right: 12px;
  background: rgba(0,0,0,0.55);
  color: white;
  font-size: 0.72rem;
  font-weight: 600;
  padding: 3px 8px;
  border-radius: 5px;
}

.lc-card-cat-pill {
  position: absolute;
  top: 12px;
  left: 12px;
  background: rgba(255,255,255,0.18);
  backdrop-filter: blur(6px);
  color: white;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 3px 10px;
  border-radius: 99px;
  border: 1px solid rgba(255,255,255,0.25);
}

.lc-card-body {
  padding: 24px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.lc-card-body h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: #17153a;
  margin-bottom: 8px;
  line-height: 1.4;
  letter-spacing: -0.01em;
}

.lc-card-body p {
  font-size: 0.88rem;
  color: #8c88ad;
  line-height: 1.55;
  margin-bottom: 18px;
  flex: 1;
}

.lc-card-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.78rem;
  color: #aaa9c4;
  font-weight: 500;
}

.lc-card-meta-left {
  display: flex;
  align-items: center;
  gap: 14px;
}

.lc-card-meta span {
  display: flex;
  align-items: center;
  gap: 5px;
}

.lc-card-level {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 99px;
}

.level-beginner { background: rgba(20, 184, 166, 0.1); color: #0f766e; }
.level-intermediate { background: rgba(234, 179, 8, 0.1); color: #a16207; }
.level-advanced { background: rgba(209, 41, 132, 0.1); color: #d12984; }

/* ── Newsletter / Footer CTA ── */
.lc-newsletter {
  background: linear-gradient(135deg, #17153a 0%, #3730a3 100%);
  padding: 40px 0 20px;
  position: relative;
  overflow: hidden;
}

.lc-newsletter-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 32px;
  position: relative;
  z-index: 2;
}

.lc-newsletter-text h2 {
  font-size: 2.3rem;
  font-weight: 800;
  color: white;
  letter-spacing: -0.02em;
  margin-bottom: 10px;
}

.lc-newsletter-text p {
  font-size: 1.05rem;
  color: rgba(255,255,255,0.7);
  line-height: 1.6;
  max-width: 540px;
  margin: 0 auto;
}

.lc-newsletter-form {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
}

.lc-newsletter-input {
  padding: 15px 24px;
  border-radius: 99px;
  border: 1.5px solid rgba(255,255,255,0.2);
  background: rgba(255,255,255,0.08);
  color: white;
  font-family: inherit;
  font-size: 0.95rem;
  width: 340px;
  outline: none;
  backdrop-filter: blur(8px);
  transition: border-color 0.2s;
}

.lc-newsletter-input::placeholder { color: rgba(255,255,255,0.4); }
.lc-newsletter-input:focus { border-color: rgba(255,255,255,0.5); }

.lc-newsletter-btn {
  padding: 15px 36px;
  border-radius: 99px;
  background: #d12984;
  color: white;
  font-family: inherit;
  font-size: 0.95rem;
  font-weight: 700;
  border: none;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.lc-newsletter-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(209, 41, 132, 0.4);
}

/* Newsletter deco blobs */
.lc-nl-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
}

.lc-nl-blob-1 {
  width: 350px; height: 350px;
  background: rgba(209, 41, 132, 0.25);
  top: -100px; right: -50px;
}

.lc-nl-blob-2 {
  width: 280px; height: 280px;
  background: rgba(111, 92, 255, 0.25);
  bottom: -80px; left: 100px;
}

/* ── Study Modal ── */
.lc-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(15, 13, 38, 0.85);
  backdrop-filter: blur(12px);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.lc-modal-overlay.open {
  opacity: 1;
  pointer-events: all;
}

.lc-modal-box {
  background: #17153a;
  border-radius: 24px;
  overflow: hidden;
  width: min(520px, 90vw);
  position: relative;
  transform: scale(0.92);
  transition: transform 0.3s ease;
  box-shadow: 0 40px 100px rgba(0,0,0,0.5);
}

.lc-modal-overlay.open .lc-modal-box {
  transform: scale(1);
}

.lc-modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255,255,255,0.12);
  border: none;
  color: white;
  font-size: 1rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
  transition: background 0.2s;
}

.lc-modal-close:hover { background: rgba(255,255,255,0.22); }

.lc-modal-header-banner {
  height: 120px;
  background: linear-gradient(135deg, #6f5cff, #d12984);
  display: flex;
  align-items: center;
  justify-content: center;
}

.lc-modal-cap-icon {
  font-size: 3.5rem;
  color: white;
  opacity: 0.9;
}

.lc-modal-info {
  padding: 30px;
}

.lc-modal-info h3 {
  font-size: 1.3rem;
  font-weight: 800;
  color: white;
  margin-bottom: 12px;
  line-height: 1.3;
}

.lc-modal-info p {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.7);
  line-height: 1.5;
}

/* ── Thumbnail Images ── */
.lc-card-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.45;
  transition: opacity 0.3s ease, transform 0.5s cubic-bezier(0.2, 0.8, 0.2, 1);
  z-index: 1;
}

.lc-card:hover .lc-card-img {
  opacity: 0.65;
  transform: scale(1.06);
}

.lc-card-thumb-inner .card-thumb-icon {
  position: relative;
  z-index: 2;
}

.lc-card-thumb-inner .lc-card-cat-pill,
.lc-card-thumb-inner .lc-card-duration {
  z-index: 3;
}

.lc-featured-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.45;
  transition: opacity 0.3s ease, transform 0.5s cubic-bezier(0.2, 0.8, 0.2, 1);
  z-index: 1;
}

.lc-featured-card:hover .lc-featured-img {
  opacity: 0.65;
  transform: scale(1.06);
}

.lc-featured-thumb-inner .thumb-icon {
  position: relative;
  z-index: 2;
}

.lc-featured-thumb-inner .lc-featured-badge,
.lc-featured-thumb-inner .lc-featured-duration {
  z-index: 3;
}

/* ── Responsive ── */
@media (max-width: 1024px) {
  .lc-featured-card {
    grid-template-columns: 1fr;
  }
  .lc-featured-thumb-inner { min-height: 260px; }
  .lc-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 640px) {
  .lc-grid { grid-template-columns: 1fr; }
  .lc-filters-wrap { flex-direction: column; align-items: flex-start; }
  .lc-section-header { flex-direction: column; align-items: flex-start; gap: 12px; }
  .lc-hero-stats { gap: 20px; flex-wrap: wrap; }
  .lc-newsletter-inner { flex-direction: column; }
  .lc-newsletter-form { flex-direction: column; }
  .lc-newsletter-input { width: 100%; }
  .lc-newsletter-text h2 { font-size: 1.5rem; }
}

@media (max-width: 768px) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}

/* Play overlay for video cards */
.lc-card-play {
  position: absolute;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.25);
  border: 1.5px solid rgba(255, 255, 255, 0.5);
  backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.25s cubic-bezier(0.2, 0.8, 0.2, 1), background 0.25s ease;
  z-index: 4;
}

.lc-card:hover .lc-card-play {
  transform: scale(1.15);
  background: rgba(255, 255, 255, 0.35);
}

.lc-card-play i {
  color: white;
  font-size: 1rem;
  margin-left: 3px;
}

/* Video Player Container in Modal */
.vl-modal-player {
  aspect-ratio: 16/9;
  background: #0f0d26;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  color: rgba(255, 255, 255, 0.15);
  border-radius: 12px;
  overflow: hidden;
  position: relative;
  border: 1px solid rgba(255, 255, 255, 0.1);
  margin-bottom: 20px;
}

