/* ================================
   ELITE LINKUP THEME (V3-STYLE)
   Drop-in for FREE app
================================ */

/* Base */
html { -webkit-text-size-adjust: 100%; }
*, *::before, *::after { box-sizing: border-box; }

body {
  background: #000;
  color: #fff;
  font-family: 'Inter', system-ui, sans-serif;
  margin: 0;
}

/* Layout */
.course-main {
  max-width: 1400px;
  margin: 0 auto;
  padding: 20px;
}

/* Logo */
.elite-logo-wrap {
  text-align: center;
  margin: 20px 0 30px;
}
.elite-logo-img {
  width: 180px;
}

/* Section Titles */
.section-title-wrap {
  text-align: center;
  margin-bottom: 30px;
}
.section-label {
  font-size: 14px;
  letter-spacing: 2px;
  color: rgba(212,175,55,0.75);
  text-transform: uppercase;
}
.section-title-big {
  font-size: 38px;
  font-weight: 800;
  background: linear-gradient(90deg, #d4af37, #f3e29f);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* ================================
   DASHBOARD GRID + MENTOR CARDS
   (This is screenshot #3 system)
================================ */
.course-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.mentor-style-card {
  background: #0e0e0e;
  border: 1px solid rgba(212,175,55,0.35);
  border-radius: 14px;
  padding: 26px 22px 32px;
  text-align: center;
  cursor: pointer;
  transition: transform .25s ease, box-shadow .25s ease;
}

.mentor-style-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 26px rgba(212,175,55,0.35);
}

.mentor-card-title {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 8px;
}

.mentor-card-desc {
  font-size: 14px;
  opacity: 0.65;
  margin: 0 0 16px;
  line-height: 1.45;
}

.mentor-card-btn {
  background: transparent;
  border: 1px solid rgba(212,175,55,0.55);
  color: rgba(212,175,55,0.9);
  padding: 8px 18px;
  border-radius: 6px;
  font-size: 14px;
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease, transform 0.1s ease, box-shadow 0.1s ease;
}

.mentor-card-btn:hover {
  background: rgba(212,175,55,0.12);
  border-color: rgba(212,175,55,1);
  box-shadow: 0 0 12px rgba(212,175,55,0.35);
}

.mentor-card-btn:active {
  transform: scale(0.96);
  box-shadow: 0 0 6px rgba(212,175,55,0.25);
}

/* “Back” button styling (V3-like) */
.secondary-btn {
  border-radius: 999px;
  padding: 12px 28px;
  font-weight: 700;
  letter-spacing: 0.4px;
  border: 1px solid rgba(212,175,55,0.65);
  background: linear-gradient(120deg, rgba(212,175,55,0.15), rgba(212,175,55,0.05));
  color: rgba(212,175,55,0.95);
  text-decoration: none;
  display: inline-block;
  position: relative;
  overflow: hidden;
}

.secondary-btn::before {
  content: "";
  position: absolute;
  top: 0;
  left: -120%;
  width: 120%;
  height: 100%;
  background: linear-gradient(120deg, transparent, rgba(212,175,55,0.45), transparent);
  transition: left 0.5s ease;
}

.secondary-btn:hover::before {
  left: 120%;
}

.secondary-btn:hover {
  box-shadow: 0 0 18px rgba(212,175,55,0.55), 0 0 36px rgba(212,175,55,0.25);
  transform: translateY(-2px);
  border-color: rgba(212,175,55,1);
}

/* Helpers */
.lesson-actions {
  display: flex;
  justify-content: center;
  gap: 14px;
  margin-top: 18px;
}

/* ================================
   KEEP YOUR ORIGINAL HERO CARDS
   (So free_course landing doesn’t break if used elsewhere)
================================ */
.elite-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

@media (min-width: 768px) {
  .elite-grid {
    grid-template-columns: repeat(auto-fit, minmax(420px, 1fr));
    gap: 28px;
  }
}

.hero-card {
  background: #0f0f0f;
  border: 1px solid rgba(212,175,55,0.45);
  border-radius: 22px;
  padding: 46px 26px 48px;
  text-align: center;
  cursor: pointer;
  transition: transform .25s ease, box-shadow .25s ease;
}

.hero-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 40px rgba(212,175,55,0.55);
}

.hero-img-wrap {
  width: 150px;
  height: 150px;
  margin: 0 auto 20px;
}

.hero-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  border: 4px solid rgba(212,175,55,0.6);
}

.hero-title {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 6px;
}

.hero-sub {
  font-size: 15px;
  opacity: 0.75;
  margin-bottom: 18px;
}

.hero-desc {
  font-size: 15px;
  opacity: 0.7;
  margin-bottom: 24px;
}

.hero-btn {
  background: transparent;
  border: 1px solid rgba(212,175,55,0.7);
  color: rgba(212,175,55,0.9);
  padding: 10px 28px;
  border-radius: 8px;
  cursor: pointer;
}

.hero-btn:hover {
  background: rgba(212,175,55,0.15);
}

/* ================================
   MOBILE
================================ */
@media (max-width: 768px) {
  .course-main { padding: 14px; }
  .elite-logo-img { width: 140px; }

  .course-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .mentor-style-card {
    padding: 18px 16px 22px;
  }

  .mentor-card-title { font-size: 16px; }
  .mentor-card-btn {
    width: 100%;
    padding: 12px;
    font-size: 15px;
  }
}
