* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: 'Inter Tight', 'Inter', Verdana, sans-serif;
  color: #FFFFFF;
  background: #00020F;
  padding: 0;
}

.shell {
  max-width: 1260px;
  margin: 0 auto;
  padding: 0 1rem 1rem;
}

/* ── 3-COLUMN LAYOUT ── */
.busy-layout-zone {
  display: grid;
  grid-template-columns: 200px 1fr 200px;
  gap: 1.2rem;
  align-items: start;
  margin-top: 1.2rem;
}

@media (max-width: 1000px) {
  .busy-layout-zone { grid-template-columns: 170px 1fr 170px; gap: 0.8rem; }
}

@media (max-width: 780px) {
  .busy-layout-zone { grid-template-columns: 1fr; }
  .side-column-left { order: 2; }
  .center-stack    { order: 1; }
  .side-column-right { order: 3; }
}

/* ── SIDEBARS ── */
.side-column { display: flex; flex-direction: column; gap: 1rem; }

.side-block {
  background: #11121C;
  border: 1px solid rgba(102,51,255,0.3);
  border-radius: 8px;
  padding: 0.75rem;
}

.side-block h3 {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #a78bfa;
  margin: 0 0 0.6rem;
}

/* AI thumbnail 2×2 grid */
.side-ai-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5px;
  margin-bottom: 0.5rem;
}

.side-ai-thumb {
  position: relative;
  display: block;
  border-radius: 5px;
  overflow: hidden;
  border: 1px solid rgba(102,51,255,0.25);
  text-decoration: none;
}

.side-ai-thumb img {
  display: block;
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
}

.side-ai-label {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  background: rgba(0,2,15,0.75);
  color: #fff;
  font-size: 0.65rem;
  font-weight: 700;
  text-align: center;
  padding: 3px 4px;
}

.side-ai-viewall {
  display: block;
  text-align: center;
  font-size: 0.72rem;
  font-weight: 700;
  color: #a78bfa;
  text-decoration: none;
  padding: 0.3rem 0;
}
.side-ai-viewall:hover { color: #fff; }

/* sidebar link lists */
.side-links-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.side-links-list li { margin-bottom: 0.35rem; }

.side-links-list a {
  color: #A7ADBE;
  text-decoration: none;
  font-size: 0.78rem;
  transition: color 0.12s;
}
.side-links-list a:hover { color: #fff; }

/* ── CENTER COLUMN ── */
.center-stack { min-width: 0; }

.gallery-title-block {
  margin-bottom: 1rem;
}

.gallery-title-block h1 {
  font-size: 1.5rem;
  font-weight: 900;
  color: #fff;
  margin: 0 0 0.2rem;
}

.gallery-title-block p {
  color: #A7ADBE;
  font-size: 0.88rem;
  margin: 0;
}

/* ── PANEL / THUMB GRID ── */
.panel {
  background: #11121C;
  border: 1px solid rgba(102,51,255,0.3);
  border-radius: 8px;
  padding: 1rem;
}

.thumbs {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(110px, 1fr));
  gap: 8px;
}

.thumb {
  border: 1px solid rgba(102,51,255,0.25);
  border-radius: 6px;
  background: #11121C;
  overflow: hidden;
  transition: border-color 0.15s;
}

.thumb:hover { border-color: rgba(102,51,255,0.6); }

.thumb a {
  color: inherit;
  text-decoration: none;
  display: block;
}

.thumb img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
}

.thumb span {
  display: block;
  padding: 5px 6px;
  color: #A7ADBE;
  font-size: 0.75rem;
  text-align: center;
  border-top: 1px solid rgba(102,51,255,0.2);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* ── PAGINATION ── */
.pager,
.controls,
.links {
  margin-top: 0.8rem;
  display: flex;
  gap: 6px;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
}

.pager a,
.controls a,
.links a,
.back {
  text-decoration: none;
  color: #A7ADBE;
  border: 1px solid rgba(102,51,255,0.35);
  border-radius: 5px;
  padding: 5px 10px;
  background: #11121C;
  font-size: 0.82rem;
  transition: all 0.12s;
}

.pager a:hover,
.controls a:hover,
.links a:hover { background: rgba(102,51,255,0.2); color: #fff; }

/* ── PHOTO / PROFILE PAGES ── */
.stage {
  border: 1px solid rgba(102,51,255,0.3);
  border-radius: 8px;
  background: #11121C;
  padding: 1rem;
  text-align: center;
}

.stage img {
  max-width: 100%;
  width: 520px;
  border: 1px solid rgba(102,51,255,0.4);
  border-radius: 6px;
  background: #00020F;
}

.meta {
  margin-top: 0.6rem;
  color: #A7ADBE;
  font-size: 0.85rem;
}

.meta a { color: #a78bfa; text-decoration: none; }
.meta a:hover { color: #fff; }

.profile {
  border: 1px solid rgba(102,51,255,0.3);
  border-radius: 8px;
  background: #11121C;
  padding: 1.2rem;
}

.profile h1 {
  margin: 0 0 0.6rem;
  color: var(--primary-accent, #6633FF);
  font-size: 1.3rem;
  font-weight: 900;
}

/* ── FOOTER ── */
.pr8-site-footer {
  background: linear-gradient(to top, #7c3aed 0%, #5b21b6 18%, #3b0764 40%, #1a0a2e 62%, #00020F 82%);
  border-top: 1px solid rgba(124,58,237,0.6);
  margin-top: 3rem;
  font-family: 'Inter Tight', 'Inter', sans-serif;
}

.pr8-footer-inner {
  max-width: 1260px;
  margin: 0 auto;
  padding: 3rem 5% 2rem;
}

.pr8-footer-cols {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 2rem;
  margin-bottom: 2rem;
}

@media (max-width: 768px) { .pr8-footer-cols { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .pr8-footer-cols { grid-template-columns: 1fr; } }

.pr8-footer-logo {
  font-size: 1.1rem; font-weight: 900; letter-spacing: 0.06em;
  background: linear-gradient(90deg, var(--primary-accent, #6633FF), var(--secondary-accent, #5e19ff));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}

.pr8-footer-brand p { font-size: 0.85rem; color: #A7ADBE; line-height: 1.6; margin-top: 0.5rem; }

.pr8-footer-heading {
  font-size: 0.75rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.08em; color: #fff; margin: 0 0 0.75rem;
}

.pr8-footer-links { list-style: none; margin: 0; padding: 0; }
.pr8-footer-links li { margin-bottom: 0.45rem; }
.pr8-footer-links a { color: #A7ADBE; text-decoration: none; font-size: 0.82rem; transition: color 0.15s; }
.pr8-footer-links a:hover { color: #fff; }

.pr8-footer-bottom { border-top: 1px solid rgba(102,51,255,0.25); padding-top: 1.2rem; text-align: center; }
.pr8-footer-copy { font-size: 0.75rem; color: #A7ADBE; margin: 0.3rem 0; }
.pr8-footer-copy a { color: #a78bfa; text-decoration: none; }
.pr8-footer-copy a:hover { color: #fff; }
.pr8-footer-legal { font-size: 0.7rem; color: #5a6070; margin: 0.3rem 0; }
