.resources-page {
  --resource-void: #090511;
  --resource-surface: #160d23;
  --resource-line: rgba(191, 142, 245, .27);
  --resource-muted: #b9adca;
  --resource-violet: #c28aff;
  --resource-display: 'Barlow Condensed', Impact, sans-serif;
  background: var(--resource-void);
  color: #f7f2fb;
  font-family: 'DM Sans', Arial, sans-serif;
}
.resources-page [hidden] { display: none !important; }
.resources-page .site-header {
  background: rgba(9, 5, 17, .88);
  border-bottom: 1px solid rgba(177, 127, 223, .18);
  backdrop-filter: blur(18px);
}
.resources-page .nav { height: 56px; }
.resources-page .nav-name {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: #f7f2fb;
  font-family: var(--resource-display);
  font-size: 21px;
  font-weight: 700;
  letter-spacing: .01em;
  text-transform: uppercase;
}
.resources-page .nav-links a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: #c0b1d0;
  font-family: 'DM Sans', Arial, sans-serif;
  font-size: 11px;
}
.resources-page .nav-links a:hover,
.resources-page .nav-links a[aria-current='page'] { color: #fff; }
.resources-page .nav-links a[aria-current='page']::before {
  content: '';
  width: 5px;
  height: 5px;
  margin-right: 7px;
  border-radius: 50%;
  background: #bf7cff;
  box-shadow: 0 0 12px #bf7cff;
}
.resources-page footer {
  background: #090511;
  border-color: rgba(177, 127, 223, .2);
  color: #aaa0b6;
}

.resources-main {
  position: relative;
  isolation: isolate;
  overflow: clip;
  min-height: calc(100vh - 100px);
  background:
    radial-gradient(ellipse 42% 25% at 50% 4%, rgba(115, 35, 205, .16), transparent 82%),
    #090511;
}
.resources-shell {
  position: relative;
  width: min(100%, 860px);
  margin: 0 auto;
  padding: 0 27px 44px;
}
.resources-topline {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  min-height: 46px;
  padding: 2px 2px 0;
  border-bottom: 1px solid rgba(193, 141, 235, .18);
  color: #c6addd;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: .18em;
}
.resources-topline .period { color: var(--resource-violet); }
.resources-topline a {
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  min-height: 44px;
  color: #e1d1ef;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0;
  text-decoration: none;
  white-space: nowrap;
}
.resources-topline a span { margin-left: 6px; color: #c386ff; font-size: 15px; }
.resources-topline a:hover { color: #fff; }

.resources-profile {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  margin-top: 15px;
  border: 1px solid rgba(207, 153, 255, .47);
  border-radius: 19px;
  background: rgba(19, 10, 32, .78);
  box-shadow: inset 0 1px rgba(255, 255, 255, .1), 0 16px 36px rgba(0, 0, 0, .32);
}
.resources-profile::after {
  content: '';
  position: absolute;
  z-index: 2;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  background: linear-gradient(110deg, transparent 54%, rgba(230, 183, 255, .06) 65%, transparent 78%);
}
.profile-cover {
  position: relative;
  overflow: hidden;
  height: 72px;
  background:
    radial-gradient(ellipse 37% 150% at 72% 112%, rgba(217, 137, 255, .78), transparent 67%),
    radial-gradient(ellipse 63% 88% at 40% 3%, rgba(112, 28, 204, .45), transparent 72%),
    linear-gradient(125deg, #1c0b30, #0c0618 55%, #21103a);
}
.profile-cover::before {
  content: 'RESOURCES';
  position: absolute;
  left: 22px;
  bottom: -25px;
  color: rgba(221, 184, 255, .12);
  font: 800 clamp(70px, 12vw, 132px)/1 var(--resource-display);
  letter-spacing: -.035em;
  white-space: nowrap;
}
.profile-cover::after {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 12% 26%, #d5a6ff 1px, transparent 2px),
    radial-gradient(circle at 51% 61%, #d5a6ff 1px, transparent 2px),
    radial-gradient(circle at 82% 18%, #d5a6ff 1px, transparent 2px),
    linear-gradient(180deg, transparent 35%, rgba(12, 6, 22, .75));
  opacity: .64;
}
.cover-label {
  position: absolute;
  z-index: 2;
  top: 14px;
  left: 21px;
  color: #e4d0f6;
  font-size: 8px;
  font-weight: 700;
  letter-spacing: .18em;
}
.cover-orbit {
  position: absolute;
  z-index: 1;
  right: 15%;
  bottom: -79px;
  width: 146px;
  height: 164px;
  border: 2px solid rgba(225, 160, 255, .82);
  border-bottom: 0;
  border-radius: 74px 74px 0 0;
  background: linear-gradient(105deg, #8e32e5, #ce8aff 58%, #7d2bd7);
  box-shadow: 0 0 0 8px rgba(125, 48, 210, .17), 0 0 0 17px rgba(125, 48, 210, .11), 0 0 42px 18px rgba(151, 59, 231, .5), inset 0 0 32px rgba(255, 223, 255, .34);
  transform: rotate(-7deg);
}
.profile-content {
  position: relative;
  display: flex;
  align-items: center;
  gap: 18px;
  min-height: 76px;
  padding: 9px 22px;
  border-top: 1px solid rgba(229, 181, 255, .17);
  background: linear-gradient(115deg, rgba(36, 18, 55, .94), rgba(15, 8, 26, .97) 73%);
  backdrop-filter: blur(15px);
}
.profile-photo {
  position: relative;
  z-index: 3;
  flex: none;
  width: 59px;
  height: 59px;
  padding: 3px;
  border: 1px solid rgba(244, 208, 255, .9);
  border-radius: 50%;
  background: #20112e;
  box-shadow: 0 0 0 5px rgba(85, 35, 125, .29), 0 0 24px rgba(179, 80, 255, .28);
}
.profile-photo::after {
  content: '';
  position: absolute;
  right: 1px;
  bottom: 2px;
  width: 10px;
  height: 10px;
  border: 2px solid #1b102a;
  border-radius: 50%;
  background: #d2a5ff;
  box-shadow: 0 0 10px #b36aff;
}
.profile-photo img {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  object-position: center 22%;
}
.profile-copy { min-width: 0; }
.resources-profile .eyebrow {
  color: #d0b1ea;
  font-size: 8px;
  font-weight: 700;
  letter-spacing: .15em;
}
.resources-profile .eyebrow span { margin: 0 3px; color: #ca87ff; }
.resources-profile h1 {
  margin: 2px 0 0;
  color: #fff;
  font: 700 clamp(30px, 5vw, 40px)/.95 var(--resource-display);
  letter-spacing: .005em;
  text-transform: uppercase;
}
.resources-profile h1 .period,
.group-heading .period { color: var(--resource-violet); }
.resources-intro {
  margin-top: 5px;
  color: #e1d3eb;
  font-size: 11px;
  line-height: 1.35;
}

.resource-status { margin: 22px 0 0; padding: 18px; border: 1px solid rgba(188, 130, 235, .32); border-radius: 15px; color: #baa9c8; text-align: center; }
.resource-status.is-error { color: #f2d5f7; }
.resources-groups { display: grid; gap: 16px; margin-top: 17px; }
.resource-group { min-width: 0; scroll-margin-top: 72px; }
.group-heading {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 15px;
  min-height: 47px;
  margin-bottom: 8px;
  border-top: 1px solid var(--resource-line);
  padding-top: 7px;
}
.group-index {
  display: block;
  margin-bottom: 3px;
  color: #c394ee;
  font-size: 8px;
  font-weight: 700;
  letter-spacing: .19em;
}
.group-heading h2 {
  color: #fff;
  font: 700 29px/.95 var(--resource-display);
  letter-spacing: .015em;
  text-transform: uppercase;
}
.group-heading p {
  max-width: 195px;
  padding-bottom: 2px;
  color: #baa9c8;
  font-size: 10px;
  line-height: 1.4;
  text-align: right;
}
.card-list { display: grid; grid-template-columns: minmax(0, 1fr); gap: 8px; }
.resource-card {
  position: relative;
  display: grid;
  grid-template-columns: 50px minmax(0, 1fr) auto 18px;
  align-items: center;
  gap: 16px;
  min-width: 0;
  min-height: 76px;
  overflow: hidden;
  padding: 11px 16px;
  border: 1px solid rgba(188, 130, 235, .32);
  border-radius: 12px;
  background: linear-gradient(100deg, rgba(48, 24, 71, .75), rgba(21, 11, 35, .96) 72%);
  box-shadow: inset 0 1px rgba(245, 222, 255, .08), 0 5px 15px rgba(0, 0, 0, .16);
  color: #fff;
  text-decoration: none;
  transition: transform .22s ease, border-color .22s ease, background .22s ease;
}
.resource-card:hover {
  transform: translateX(3px);
  border-color: rgba(221, 170, 255, .8);
  background: linear-gradient(100deg, rgba(68, 34, 100, .8), rgba(27, 13, 44, .98) 72%);
}
.resource-mark {
  position: relative;
  display: grid;
  place-items: center;
  flex: none;
  width: 50px;
  height: 50px;
  border: 1px solid rgba(255, 255, 255, .19);
  border-radius: 13px;
  background: #412453;
  color: #f1d6ff;
  font: 700 26px/1 'DM Sans', Arial, sans-serif;
  letter-spacing: -.09em;
  box-shadow: 0 5px 14px rgba(0, 0, 0, .26), inset 0 1px rgba(255, 255, 255, .13);
}
.resource-mark svg { display: block; width: 27px; height: 27px; fill: currentColor; }
.resource-mark img { position: absolute; inset: 0; width: 100%; height: 100%; border-radius: inherit; object-fit: contain; padding: 5px; opacity: 0; background: #241a30; box-sizing: border-box; }
.resource-mark.has-image img { opacity: 1; }
.social-app-mark { background: color-mix(in srgb, var(--social-color, #d0a7ff) 20%, #21122e); color: var(--social-color, #d0a7ff); }
.trends-mark, .academy-mark { background: #11131c; color: #fff; text-shadow: -2px 0 #21d8d2, 2px 0 #f25b91; }
.capcut-mark { background: #f4f4f6; color: #15131c; font-size: 29px; }
.canva-mark, .school-mark { background: linear-gradient(145deg, #00cadb, #4e5eee 65%, #9e5bf0); color: #fff; font-size: 28px; font-style: italic; }
.discord-mark { background: #5865f2; color: #fff; }
.linkedin-mark { background: #0a66c2; color: #fff; font-size: 22px; }
.generic-mark { background: #493260; color: #efd5ff; font-size: 17px; letter-spacing: -.02em; }
.resource-copy { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.resource-copy strong { color: #fbf8ff; font-size: 14px; font-weight: 700; line-height: 1.25; }
.resource-copy .resource-description { display: -webkit-box; overflow: hidden; color: #bdafcb; font-size: 11px; line-height: 1.4; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.resource-type { color: #d0b2e9; font-size: 8px; font-weight: 700; letter-spacing: .12em; white-space: nowrap; }
.resource-card .card-arrow { color: #d8a7ff; font-size: 17px; line-height: 1; transition: transform .2s; }
.resource-card:hover .card-arrow { transform: translateX(3px); }

.featured-section { margin-top: 20px; }
.feature-card {
  display: grid;
  grid-template-columns: 32px minmax(0, 1fr) 18px;
  align-items: center;
  gap: 12px;
  min-height: 68px;
  padding: 11px 15px;
  border: 1px solid rgba(196, 143, 240, .4);
  border-radius: 13px;
  background: linear-gradient(100deg, rgba(99, 40, 150, .45), rgba(25, 13, 40, .9) 57%, rgba(15, 8, 25, .96));
  box-shadow: inset 0 1px rgba(255, 255, 255, .1), 0 8px 20px rgba(0, 0, 0, .18);
  color: #fff;
  text-decoration: none;
  transition: transform .2s, border-color .2s;
}
.feature-card:hover { transform: translateY(-2px); border-color: #d4a1ff; }
.feature-symbol { display: grid; place-items: center; width: 32px; height: 32px; border: 1px solid rgba(214, 162, 255, .34); border-radius: 8px; background: rgba(153, 75, 225, .22); color: #e0b6ff; font-size: 13px; }
.feature-copy { display: flex; flex-direction: column; min-width: 0; }
.card-kicker { color: #d1b8e5; font-size: 8px; font-weight: 700; letter-spacing: .14em; }
.feature-copy strong { margin-top: 2px; color: #fff; font-size: 14px; font-weight: 700; line-height: 1.2; }
.feature-copy > span:last-child { margin-top: 2px; color: #c5b6cf; font-size: 10px; line-height: 1.35; }
.feature-card .card-arrow { color: #d9a9ff; font-size: 17px; }

.resources-page a:focus-visible { outline: 2px solid #e5bbff; outline-offset: 3px; }
@media (max-width: 600px) {
  .resources-page .nav { height: 50px; min-height: 50px; flex-wrap: nowrap; gap: 12px; padding-top: 0; padding-bottom: 0; }
  .resources-page .nav-name { font-size: 18px; }
  .resources-page .nav-links { width: auto; gap: 0; }
  .resources-page .nav-links a:not([aria-current]) { display: none; }
  .resources-page .nav-links a[aria-current] { font-size: 11px; }
  .resources-shell { padding: 0 14px 28px; }
  .resources-topline { min-height: 40px; font-size: 8px; }
  .resources-topline a { min-height: 40px; font-size: 9px; }
  .resources-profile { margin-top: 9px; border-radius: 15px; }
  .profile-cover { height: 43px; }
  .profile-cover::before { left: 12px; bottom: -15px; font-size: 72px; }
  .cover-label { top: 10px; left: 13px; font-size: 6px; }
  .cover-orbit { right: 14%; bottom: -90px; width: 106px; height: 120px; }
  .profile-content { min-height: 62px; gap: 12px; padding: 7px 12px; }
  .profile-photo { width: 49px; height: 49px; padding: 2px; box-shadow: 0 0 0 3px rgba(85, 35, 125, .29); }
  .profile-photo::after { width: 8px; height: 8px; right: -1px; bottom: 1px; }
  .resources-profile .eyebrow { font-size: 6px; letter-spacing: .12em; }
  .resources-profile h1 { margin-top: 2px; font-size: 27px; }
  .resources-intro { margin-top: 3px; font-size: 9px; }
  .resources-groups { gap: 14px; margin-top: 12px; }
  .group-heading { min-height: 43px; gap: 8px; margin-bottom: 8px; padding-top: 6px; }
  .group-index { margin-bottom: 2px; font-size: 7px; }
  .group-heading h2 { font-size: 24px; }
  .group-heading p { max-width: 145px; font-size: 8px; }
  .card-list { gap: 7px; }
  .resource-card { grid-template-columns: 42px minmax(0, 1fr) 16px; gap: 12px; min-height: 68px; padding: 10px 12px; border-radius: 11px; }
  .resource-mark { width: 42px; height: 42px; margin: 0; border-radius: 10px; font-size: 21px; }
  .resource-mark svg { width: 23px; height: 23px; }
  .capcut-mark, .canva-mark, .school-mark { font-size: 23px; }
  .resource-copy strong { overflow: hidden; font-size: 12px; line-height: 1.22; text-overflow: ellipsis; white-space: nowrap; }
  .resource-copy .resource-description { font-size: 10px; line-height: 1.35; }
  .resource-type { display: none; }
  .resource-card .card-arrow { font-size: 16px; }
  .featured-section { margin-top: 16px; }
  .feature-card { min-height: 56px; padding: 9px 11px; }
  .feature-copy > span:last-child { display: none; }
}
@media (max-width: 370px) {
  .resources-topline > span { font-size: 7px; letter-spacing: .14em; }
  .resources-profile h1 { font-size: 24px; }
  .group-heading p { max-width: 112px; }
  .resource-card { gap: 9px; padding: 9px; }
  .resource-copy strong { font-size: 11px; }
}
@media (prefers-reduced-motion: reduce) {
  .resources-page *, .resources-page *::before, .resources-page *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; }
}
