.resource-detail-page{
  min-height:100vh;
  background:radial-gradient(circle at 78% 8%,rgba(139,92,246,.11),transparent 27%),radial-gradient(circle at 12% 24%,rgba(32,217,233,.08),transparent 24%),#050811;
}

.resource-hero{
  position:relative;
  display:grid;
  grid-template-columns:minmax(0,1.15fr) minmax(330px,.65fr);
  align-items:center;
  gap:clamp(45px,7vw,100px);
  width:min(calc(100% - 48px),1220px);
  min-height:760px;
  margin:0 auto;
  padding:135px 0 100px;
}

.resource-hero-grid{
  position:absolute;
  inset:0;
  z-index:-2;
  opacity:.18;
  background-image:linear-gradient(rgba(255,255,255,.035) 1px,transparent 1px),linear-gradient(90deg,rgba(255,255,255,.035) 1px,transparent 1px);
  background-size:52px 52px;
  mask-image:linear-gradient(to bottom,transparent,#000 20%,#000 75%,transparent);
}

.back-link{
  display:inline-flex;
  margin-bottom:34px;
  color:#8190a6;
  font-size:12px;
  font-weight:700;
}

.back-link:hover{color:var(--cyan)}

.resource-badges{
  display:flex;
  flex-wrap:wrap;
  gap:9px;
  margin-bottom:20px;
}

.resource-badges>span{
  padding:7px 10px;
  color:var(--cyan);
  font-size:9px;
  font-weight:850;
  letter-spacing:.13em;
  border:1px solid rgba(32,217,233,.2);
  border-radius:999px;
  background:rgba(32,217,233,.055);
}

.resource-badges .status-badge{
  display:inline-flex;
  align-items:center;
  gap:7px;
  color:#85dfb4;
  border-color:rgba(59,217,150,.18);
  background:rgba(59,217,150,.05);
}

.status-badge i{
  width:6px;
  height:6px;
  border-radius:50%;
  background:#3bd996;
  box-shadow:0 0 10px rgba(59,217,150,.55);
}

.resource-hero h1{
  margin:0;
  font-size:clamp(62px,8vw,108px);
  line-height:.92;
  letter-spacing:-.065em;
}

.resource-subtitle{
  max-width:760px;
  margin:22px 0 0;
  color:#d5deea;
  font-size:clamp(19px,2.2vw,26px);
  font-weight:650;
  line-height:1.35;
}

.resource-description{
  max-width:720px;
  margin:22px 0 30px;
  color:var(--muted);
  font-size:16px;
}

.tebex-button.is-disabled{
  color:#68758a;
  background:rgba(255,255,255,.02);
  border:1px solid rgba(255,255,255,.08);
  cursor:not-allowed;
  transform:none;
}

.tebex-note{
  margin:14px 0 0;
  color:#657286;
  font-size:11px;
}

.resource-identity{
  position:relative;
  overflow:hidden;
  padding:30px;
  border:1px solid var(--line);
  border-radius:24px;
  background:linear-gradient(145deg,rgba(255,255,255,.045),rgba(255,255,255,.014));
  box-shadow:0 35px 100px rgba(0,0,0,.32);
}

.resource-identity::before{
  position:absolute;
  top:-80px;
  right:-70px;
  width:200px;
  height:200px;
  content:"";
  border-radius:50%;
  background:rgba(32,217,233,.09);
  filter:blur(25px);
}

.identity-mark{
  display:grid;
  place-items:center;
  width:92px;
  height:92px;
  margin-bottom:50px;
  color:#edf4fb;
  font-family:"Cascadia Code","SFMono-Regular",Consolas,monospace;
  font-size:16px;
  font-weight:900;
  letter-spacing:.05em;
  border:1px solid rgba(255,255,255,.14);
  border-radius:23px;
  background:linear-gradient(145deg,rgba(32,217,233,.12),rgba(139,92,246,.1));
}

.identity-row{
  display:grid;
  grid-template-columns:100px 1fr;
  gap:15px;
  padding:15px 0;
  border-top:1px solid rgba(255,255,255,.07);
}

.identity-row span{color:#6f7c90;font-size:10px;text-transform:uppercase;letter-spacing:.1em}
.identity-row strong{color:#d7e0eb;font-size:12px;font-weight:700}

.resource-overview,
.resource-tech,
.resource-purchase,
.resource-bottom-nav{
  width:min(calc(100% - 48px),1220px);
  margin:0 auto;
}

.resource-overview{
  display:grid;
  grid-template-columns:minmax(0,.72fr) minmax(440px,1.28fr);
  gap:clamp(55px,8vw,115px);
  padding:120px 0;
  border-top:1px solid var(--line);
}

.overview-copy{position:sticky;top:115px;align-self:start}

.overview-copy h2,
.resource-tech h2,
.resource-purchase h2{
  margin:0;
  font-size:clamp(43px,5vw,68px);
  line-height:.98;
  letter-spacing:-.05em;
}

.overview-copy>p,
.resource-purchase>div>p{
  margin:24px 0 0;
  color:var(--muted);
}

.feature-stack{border-top:1px solid var(--line)}

.feature-stack article{
  display:grid;
  grid-template-columns:48px 1fr;
  gap:20px;
  padding:30px 0;
  border-bottom:1px solid var(--line);
}

.feature-stack article>span{color:var(--cyan);font-size:10px;font-weight:850;letter-spacing:.12em}
.feature-stack h3{margin:0 0 7px;font-size:20px;letter-spacing:-.025em}
.feature-stack p{margin:0;color:var(--muted);font-size:14px}

.resource-tech{
  display:grid;
  grid-template-columns:minmax(0,.75fr) minmax(420px,1.25fr);
  gap:clamp(55px,8vw,115px);
  padding:110px 0;
  border-top:1px solid var(--line);
}

.resource-tech h2 span,
.resource-purchase h2 span{
  color:transparent;
  background:linear-gradient(100deg,var(--cyan),#ab83ff);
  background-clip:text;
  -webkit-background-clip:text;
}

.tech-panel{
  padding:30px;
  border:1px solid var(--line);
  border-radius:22px;
  background:rgba(255,255,255,.022);
}

.tech-group+.tech-group{margin-top:28px}
.tech-label{display:block;margin-bottom:12px;color:#75839a;font-size:10px;font-weight:800;letter-spacing:.1em;text-transform:uppercase}
.tech-tags{display:flex;flex-wrap:wrap;gap:8px}
.tech-tags span{padding:8px 11px;color:#c5d0de;font-size:11px;border:1px solid rgba(255,255,255,.09);border-radius:999px;background:rgba(255,255,255,.025)}

.tech-note{
  margin-top:30px;
  padding:20px;
  border:1px solid rgba(32,217,233,.14);
  border-radius:14px;
  background:rgba(32,217,233,.04);
}

.tech-note strong{display:block;margin-bottom:6px;font-size:13px}
.tech-note p{margin:0;color:var(--muted);font-size:12px}

.resource-purchase{
  display:grid;
  grid-template-columns:minmax(0,1fr) minmax(330px,.62fr);
  align-items:center;
  gap:70px;
  padding:110px 0;
  border-top:1px solid var(--line);
}

.purchase-card{
  display:flex;
  flex-direction:column;
  gap:18px;
  padding:30px;
  border:1px solid rgba(139,92,246,.18);
  border-radius:22px;
  background:radial-gradient(circle at 80% 0,rgba(139,92,246,.1),transparent 42%),rgba(255,255,255,.02);
}

.purchase-state{color:#748197;font-size:10px;font-weight:800;letter-spacing:.1em;text-transform:uppercase}
.purchase-card strong{font-size:28px;letter-spacing:-.035em}
.purchase-card .button{width:100%}

.resource-bottom-nav{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:16px;
  padding:0 0 100px;
}

.resource-bottom-nav a{
  display:flex;
  flex-direction:column;
  gap:6px;
  padding:26px;
  border:1px solid var(--line);
  border-radius:18px;
  background:rgba(255,255,255,.02);
  transition:border-color .2s ease,transform .2s ease;
}

.resource-bottom-nav a:hover{transform:translateY(-3px);border-color:rgba(32,217,233,.28)}
.resource-bottom-nav span{color:#6f7d91;font-size:10px;font-weight:800;letter-spacing:.1em;text-transform:uppercase}
.resource-bottom-nav strong{font-size:18px}

@media (max-width:900px){
  .resource-hero,.resource-overview,.resource-tech,.resource-purchase{grid-template-columns:1fr}
  .resource-hero{padding-top:130px}
  .resource-identity{max-width:650px}
  .overview-copy{position:static}
}

@media (max-width:700px){
  .resource-hero,.resource-overview,.resource-tech,.resource-purchase,.resource-bottom-nav{width:min(calc(100% - 32px),1220px)}
  .resource-hero{min-height:auto;padding:120px 0 80px}
  .resource-hero h1{font-size:clamp(58px,18vw,82px)}
  .resource-overview,.resource-tech,.resource-purchase{padding:80px 0}
  .resource-overview{gap:42px}
  .resource-tech,.resource-purchase{gap:40px}
  .resource-bottom-nav{grid-template-columns:1fr;padding-bottom:70px}
}


.resource-identity-preview{
  margin:-6px -6px 24px;
  overflow:hidden;
  border:1px solid rgba(255,255,255,.08);
  border-radius:18px;
  background:#090e18;
}

.resource-identity-preview .resource-shot-trigger{
  width:100%;
}

.resource-gallery-section,
.resource-tech,
.resource-purchase,
.resource-bottom-nav{
  width:min(calc(100% - 48px),1220px);
  margin:0 auto;
}

.resource-gallery-section{
  padding:0 0 110px;
  border-top:1px solid var(--line);
}

.resource-gallery-head{
  display:grid;
  grid-template-columns:minmax(0,.82fr) minmax(320px,.88fr);
  gap:42px;
  align-items:end;
  padding:110px 0 42px;
}

.resource-gallery-head h2{
  margin:0;
  font-size:clamp(43px,5vw,68px);
  line-height:.98;
  letter-spacing:-.05em;
}

.resource-gallery-head h2 span{
  color:transparent;
  background:linear-gradient(100deg,var(--cyan),#ab83ff);
  background-clip:text;
  -webkit-background-clip:text;
}

.resource-gallery-head p{
  margin:0;
  color:var(--muted);
}

.resource-gallery-grid{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:18px;
}

.resource-gallery-grid-chat{
  grid-template-columns:minmax(0,1.2fr) minmax(320px,.8fr);
}

.resource-shot-card,
.resource-note-card{
  display:flex;
  flex-direction:column;
  overflow:hidden;
  border:1px solid var(--line);
  border-radius:22px;
  background:rgba(255,255,255,.022);
}

.resource-shot-card-large{
  grid-column:span 2;
}

.resource-gallery-grid-chat .resource-shot-card-large{
  grid-column:auto;
}

.resource-shot-trigger{
  display:block;
  padding:0;
  border:0;
  background:none;
  cursor:zoom-in;
}

.resource-shot-trigger img{
  display:block;
  width:100%;
  aspect-ratio:16/9;
  object-fit:cover;
  transition:transform .35s ease;
}

.resource-shot-card:hover .resource-shot-trigger img,
.resource-identity-preview:hover .resource-shot-trigger img{
  transform:scale(1.02);
}

.resource-shot-meta{
  padding:20px 22px 22px;
  border-top:1px solid rgba(255,255,255,.06);
}

.resource-shot-meta strong{
  display:block;
  margin-bottom:7px;
  font-size:18px;
  letter-spacing:-.03em;
}

.resource-shot-meta p,
.resource-note-card p{
  margin:0;
  color:var(--muted);
  font-size:14px;
}

.resource-note-card{
  justify-content:center;
  gap:18px;
  padding:28px;
  background:radial-gradient(circle at 100% 0,rgba(139,92,246,.11),transparent 42%),rgba(255,255,255,.022);
}

.resource-note-pill{
  display:inline-flex;
  width:max-content;
  padding:8px 11px;
  color:var(--cyan);
  font-size:10px;
  font-weight:850;
  letter-spacing:.12em;
  text-transform:uppercase;
  border:1px solid rgba(32,217,233,.18);
  border-radius:999px;
  background:rgba(32,217,233,.055);
}

.resource-note-card h3{
  margin:0;
  font-size:28px;
  line-height:1.05;
  letter-spacing:-.04em;
}

.resource-note-list{
  display:grid;
  gap:10px;
  margin:0;
  padding:0;
  list-style:none;
}

.resource-note-list li{
  position:relative;
  padding-left:18px;
  color:#c6d2e0;
  font-size:13px;
}

.resource-note-list li::before{
  position:absolute;
  top:6px;
  left:0;
  width:8px;
  height:8px;
  content:"";
  border-radius:50%;
  background:var(--cyan);
  box-shadow:0 0 12px rgba(32,217,233,.42);
}

@media (max-width:900px){
  .resource-gallery-head,
  .resource-gallery-grid,
  .resource-gallery-grid-chat,
  .resource-tech,
  .resource-purchase{
    grid-template-columns:1fr;
  }

  .resource-shot-card-large,
  .resource-gallery-grid-chat .resource-shot-card-large{
    grid-column:auto;
  }
}

@media (max-width:700px){
  .resource-gallery-section,
  .resource-tech,
  .resource-purchase,
  .resource-bottom-nav{
    width:min(calc(100% - 32px),1220px);
  }

  .resource-gallery-section{
    padding-bottom:80px;
  }

  .resource-gallery-head{
    padding:80px 0 34px;
    gap:24px;
  }

  .resource-note-card,
  .resource-shot-meta{
    padding:20px;
  }
}
