/* Resources tab specific */
.res-page {
  min-height: calc(100vh - 120px);
  position: relative;
  z-index: 1;
}
.res-wrap {
  max-width: 1060px;
  margin: 0 auto;
  padding: 2rem 1rem 4rem;
}
.res-section-title {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 800;
  margin: 2.5rem 0 1.1rem;
  display: flex;
  align-items: center;
  gap: .6rem;
  border-left: 4px solid var(--teal);
  padding-left: .85rem;
}
.cat-tabs {
  display: flex;
  gap: .4rem;
  flex-wrap: wrap;
  margin-bottom: 1.4rem;
}
.cat-tab {
  padding: .42rem 1rem;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: transparent;
  color: var(--text-dim);
  font-size: .78rem;
  font-weight: 600;
  cursor: pointer;
  transition: all .22s;
}
.cat-tab.active, .cat-tab:hover {
  background: var(--teal);
  color: var(--slate);
  border-color: var(--teal);
  box-shadow: 0 0 12px rgba(0,212,200,.25);
}
.repo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.3rem;
  margin-bottom: 2rem;
}
.repo-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 18px;
  overflow: hidden;
  transition: all .25s;
  backdrop-filter: blur(12px);
}
.repo-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 36px rgba(0,212,200,.12);
}
.repo-card-top {
  padding: 1.2rem 1.3rem 0;
}
.repo-badge {
  display: inline-flex;
  align-items: center;
  gap: .3rem;
  font-size: .67rem;
  font-weight: 700;
  letter-spacing: .05em;
  text-transform: uppercase;
  padding: .22rem .65rem;
  border-radius: 999px;
  margin-bottom: .6rem;
}
.repo-name {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 800;
  margin-bottom: .3rem;
  line-height: 1.2;
}
.repo-tagline {
  font-size: .8rem;
  color: var(--text-dim);
  line-height: 1.55;
  margin-bottom: .75rem;
}
.repo-expand {
  display: none;
  padding: 0 1.3rem;
}
.repo-card.open .repo-expand {
  display: block;
}
.repo-usecase {
  background: rgba(0,212,200,.06);
  border: 1px solid rgba(0,212,200,.18);
  border-left: 4px solid var(--teal);
  border-radius: 0 12px 12px 0;
  padding: .7rem 1rem;
  font-size: .8rem;
  line-height: 1.6;
  color: var(--text-dim);
  margin-bottom: .65rem;
}
.repo-why {
  font-size: .78rem;
  color: var(--text-dim);
  line-height: 1.55;
  margin-bottom: .75rem;
  padding: .55rem .75rem;
  background: rgba(255,209,102,.06);
  border: 1px solid rgba(255,209,102,.15);
  border-radius: 10px;
}
.repo-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: .85rem 1.3rem 1.1rem;
  gap: .5rem;
  flex-wrap: wrap;
}
.repo-btn {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  color: var(--slate);
  padding: .42rem 1.1rem;
  border-radius: 999px;
  font-size: .76rem;
  font-weight: 700;
  text-decoration: none;
  transition: all .2s;
  border: none;
  cursor: pointer;
}
.repo-btn:hover {
  transform: scale(1.04);
}
.repo-more-btn {
  background: transparent;
  border: 1px solid var(--border);
  color: var(--text-dim);
  padding: .38rem .85rem;
  border-radius: 999px;
  font-size: .73rem;
  cursor: pointer;
  transition: all .2s;
  display: flex;
  align-items: center;
  gap: .3rem;
}
.repo-more-btn:hover {
  border-color: var(--teal);
  color: var(--teal);
}
.course-cat {
  margin-bottom: 2rem;
}
.course-cat-label {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 800;
  margin-bottom: .9rem;
  display: flex;
  align-items: center;
  gap: .5rem;
}
.course-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(270px, 1fr));
  gap: 1rem;
}
@media (max-width: 600px) {
  .course-grid {
    grid-template-columns: 1fr;
  }
}
.course-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 1.2rem;
  transition: all .25s;
  backdrop-filter: blur(12px);
}
.course-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 28px rgba(255,209,102,.1);
}
.course-icon {
  font-size: 1.6rem;
  margin-bottom: .5rem;
}
.course-title {
  font-family: var(--font-display);
  font-size: .93rem;
  font-weight: 800;
  margin-bottom: .35rem;
  line-height: 1.3;
}
.course-desc {
  font-size: .79rem;
  color: var(--text-dim);
  line-height: 1.55;
  margin-bottom: .65rem;
}
.course-why {
  font-size: .75rem;
  padding: .42rem .7rem;
  background: rgba(255,209,102,.06);
  border: 1px solid rgba(255,209,102,.15);
  border-radius: 8px;
  color: var(--text-dim);
  margin-bottom: .75rem;
  line-height: 1.5;
}
.course-why strong {
  color: var(--gold);
}
.course-btn {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  background: transparent;
  padding: .38rem .95rem;
  border-radius: 999px;
  font-size: .74rem;
  font-weight: 700;
  text-decoration: none;
  transition: all .2s;
  border: 1.5px solid;
}
.course-btn:hover {
  transform: scale(1.04);
}
.playlist-banner {
  position: relative;
  overflow: hidden;
  border-radius: 22px;
  padding: 2.2rem 2rem;
  margin: 2rem 0;
  background: linear-gradient(135deg, #c0392b 0%, #450000 50%, #0f172a 100%);
  border: 1px solid rgba(255,0,0,.3);
  box-shadow: 0 16px 50px rgba(255,0,0,.18);
}
.pb-inner {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 1.8rem;
  flex-wrap: wrap;
}
.pb-yt-icon {
  width: 66px;
  height: 66px;
  background: #FF0000;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.9rem;
  flex-shrink: 0;
  box-shadow: 0 0 26px rgba(255,0,0,.5);
  animation: ytPulse 2.2s ease-in-out infinite;
}
.pb-text {
  flex: 1;
}
.pb-eyebrow {
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: rgba(255,160,130,.85);
  margin-bottom: .3rem;
}
.pb-title {
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 3vw, 1.9rem);
  font-weight: 800;
  color: #fff;
  line-height: 1.2;
  margin-bottom: .4rem;
}
.pb-sub {
  font-size: .85rem;
  color: rgba(255,210,200,.75);
  line-height: 1.5;
  max-width: 460px;
}
.pb-watch-btn {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  background: #FF0000;
  color: #fff;
  padding: .65rem 1.7rem;
  border-radius: 999px;
  font-weight: 800;
  font-size: .88rem;
  text-decoration: none;
  margin-top: .9rem;
  box-shadow: 0 0 22px rgba(255,0,0,.45);
  transition: all .2s;
}
.pb-watch-btn:hover {
  background: #cc0000;
  transform: scale(1.04);
}
.drive-card {
  background: var(--card-bg);
  border: 1px solid rgba(66,133,244,.3);
  border-radius: 20px;
  padding: 1.8rem;
  display: flex;
  align-items: center;
  gap: 1.4rem;
  text-decoration: none;
  transition: all .25s;
  backdrop-filter: blur(12px);
  margin-top: .5rem;
}
.drive-card:hover {
  transform: translateY(-4px);
  border-color: rgba(66,133,244,.6);
  box-shadow: 0 12px 36px rgba(66,133,244,.15);
}
.drive-icon-box {
  width: 60px;
  height: 60px;
  border-radius: 16px;
  background: linear-gradient(135deg, #4285F4, #34A853);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.7rem;
  flex-shrink: 0;
  box-shadow: 0 0 22px rgba(66,133,244,.35);
}
.drive-text {
  flex: 1;
}
.drive-eyebrow {
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .09em;
  text-transform: uppercase;
  color: #4285F4;
  margin-bottom: .25rem;
}
.drive-title {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--text);
  margin-bottom: .25rem;
}
.drive-sub {
  font-size: .8rem;
  color: var(--text-dim);
  line-height: 1.5;
}
.drive-arrow {
  font-size: 1.2rem;
  color: #4285F4;
  opacity: .7;
  transition: transform .2s;
}
.drive-card:hover .drive-arrow {
  transform: translateX(4px);
  opacity: 1;
}
