/* ============================================================
   VEXA STUDIO — instructors.css
   instructor page styles
   ============================================================ */

/* FONTS */
@font-face {
  font-family: 'Vanosky';
  src: url('/fonts/Vanosky.woff2') format('woff2'),
       url('/fonts/Vanosky.woff') format('woff'),
       url('/fonts/Vanosky.otf') format('opentype');
}

@font-face {
    font-family: 'Rollbox';
    src: url('/fonts/RollboxMedium.woff2') format('woff2'),
         url('/fonts/RollboxMedium.woff') format('woff'),
         url('/fonts/RollboxMedium.ttf') format('truetype');
}

@font-face {
  font-family: 'Kilby';
  src: url('/fonts/KILBY.woff2') format('woff2'),
       url('/fonts/KILBY.woff') format('woff'),
       url('/fonts/KILBY.otf') format('opentype');
}

@font-face {
  font-family: 'Hydrogen Whiskey';
  src: url('/fonts/hydrogen-whiskey.regular.woff2') format('woff2'),
       url('/fonts/hydrogen-whiskey.regular.woff') format('woff'),
       url('/fonts/hydrogen-whiskey.regular.otf') format('opentype');
}

@font-face {
  font-family: 'Audio Nugget';
  src: url('/fonts/AudioNugget.woff2') format('woff2'),
       url('/fonts/AudioNugget.woff') format('woff'),
       url('/fonts/AudioNugget.ttf') format('truetype');
}

@font-face {
  font-family: 'Massive Retaliation';
  src: url('/fonts/MassiveRetaliation.woff2') format('woff2'),
       url('/fonts/MassiveRetaliation.woff') format('woff'),
       url('/fonts/MassiveRetaliation.otf') format('opentype');
}

@font-face {
  font-family: 'Vectroid';
  src: url('/fonts/Vectroid.woff2') format('woff2'),
       url('/fonts/Vectroid.woff') format('woff'),
       url('/fonts/Vectroid.otf') format('opentype');
}

@font-face {
  font-family: 'Lofty Goals';
  src: url('/fonts/Loftygoals.woff2') format('woff2'),
       url('/fonts/Loftygoals.woff') format('woff'),
       url('/fonts/Loftygoals.otf') format('opentype');
}

@font-face {
  font-family: 'Liquidasi';
  src: url('/fonts/liquidasi.woff2') format('woff2'),
       url('/fonts/liquidasi.woff') format('woff'),
       url('/fonts/liquidasi.ttf') format('truetype');
}

@font-face {
  font-family: 'Digital Tech';
  src: url('/fonts/Digitaltech.woff2') format('woff2'),
       url('/fonts/Digitaltech.woff') format('woff'),
       url('/fonts/Digitaltech.otf') format('opentype');
}

@font-face {
  font-family: 'DSCaslon';
  src: url('/fonts/DSCaslonGotisch.woff2') format('woff2'),
       url('/fonts/DSCaslonGotisch.woff') format('woff'),
       url('/fonts/DSCaslonGotisch.ttf') format('truetype');
}

@font-face {
    font-family: 'RollboxBOLD';
    src: url('/fonts/rollboxBOLD.woff2') format('woff2'),
         url('/fonts/rollboxBOLD.woff') format('woff'),
         url('/fonts/rollboxBOLD.ttf') format('truetype');
}

@font-face {
  font-family: 'New Academy';
  src: url('/fonts/newacademy-webfont.woff2') format('woff2'),
       url('/fonts/newacademy-webfont.woff') format('woff');
}

@font-face {
  font-family: 'Super Chiby';
  src: url('/fonts/SuperChiby.woff2') format('woff2'),
       url('/fonts/SuperChiby.woff') format('woff'),
       url('/fonts/SuperChiby.ttf') format('truetype');
}

/* ROOT VARIABLES */
:root {
  --white: #ffffff;
  --pink: #ff9dce;
  --black: #000000;
  --title: 'New Academy', serif;
  --body: 'Rollbox', monospace;
  --heading: 'Vanosky', sans-serif;
}

/* RESET */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

/* BODY */
body {
  min-height: 100vh;
  background: linear-gradient(145deg, #ffffff 0%, #fccadf 45%, #d7a6eb 100%);
  font-family: sans-serif;
  display: flex;
  flex-direction: column;
}

/* CURSORS */
* {
   cursor: url('/assets/pinkcursorbig.png'), auto;
}

a, button, [type="submit"], [type="checkbox"], .login-btn, .rr-close, .popup-close {
  cursor: url('/assets/pinkpointerbig.png'), pointer;
}

input, textarea {
  cursor: url('/assets/pinktype.png'), text;
}

/* HEADER */
.header-block {
  text-align: center;
  padding: 5px 20px 0;
}

.site-title {
  font-family: var(--title);
  font-size: clamp(5rem, 16vw, 10rem);
  font-weight: 900;
  color: var(--black);
  letter-spacing: 0.05em;
  line-height: 1;
  text-rendering: optimizeLegibility;
}

.site-subheading {
  font-family: var(--body);
  font-size: clamp(0.65rem, 1.6vw, 1rem);
  font-weight: 400;
  color: var(--black);
  letter-spacing: 0.18em;
  margin-top: -20px;
  margin-bottom: 20px;
  min-height: 1.6em;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* TYPEWRITER CURSOR */
.cursor {
  display: inline-block;
  width: 2px;
  height: 1.1em;
  background: var(--black);
  margin-left: 3px;
  vertical-align: middle;
  animation: blink-cursor 0.75s step-end infinite;
}

@keyframes blink-cursor {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0; }
}

/* NAV */
.nav-wrapper {
  display: flex;
  justify-content: center;
  padding: 20px 16px 0;
}

nav {
  background: var(--black);
  border: 5px solid var(--pink);
  border-radius: 2px;
  padding: 0 20px;
  display: flex;
  align-items: stretch;
  justify-content: space-between;
  width: 75%;
  min-height: 52px;
  overflow: visible;
}

nav a {
  font-family: var(--heading);
  font-size: clamp(1rem, 1.8vw, 1.25rem);
  font-weight: bold;
  color: var(--white);
  text-decoration: none;
  letter-spacing: 0.12em;
  display: flex;
  align-items: center;
  padding: 0px 20px;
  padding-top: 6px;
  transition: color 0.18s ease;
  white-space: nowrap;
}

nav a:hover {
  color: var(--pink);
}

nav a.active {
  position: relative;
  overflow: visible;
}

nav a.active::after {
  content: '';
  position: absolute;
  width: 250px;
  height: 250px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) rotate(-45deg);
  background: url('/assets/singlestarfast.gif') center / contain no-repeat;
  pointer-events: none;
  z-index: 100;
}

/* MAIN */
.page-content {
  flex: 1;
  padding: 40px 0;
}
 
/* ── TWO-COLUMN LAYOUT ── */
.content-columns {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 70px;
  padding: 25px 10%;
  align-items: start;
}
 
.col-left,
.col-right {
  min-width: 0;
}
 
/* ── PROFILE BOX ── */
.profile-box {
  border: 1.5px solid var(--pink);
  background: var(--white);
  padding-bottom: 25px;
}
 
.box-title-bar {
  background: var(--pink);
  color: var(--white);
  font-family: 'Rollbox', 'Courier New', monospace;
  font-size: 0.9rem;
  font-weight: bold;
  letter-spacing: 0.12em;
  padding: 7px 12px;
  text-align: left;
}
 
.profile-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: auto;
  gap: 14px;
  padding: 0px;
  align-items: start;
}
 
.profile-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  margin-top: 30px;
  margin-bottom: 20px;
}
 
.profile-card--empty {
  visibility: hidden;
}
 
.profile-name {
  font-family: 'Rollbox', 'Courier New', monospace;
  font-size: 0.72rem;
  color: #333;
  letter-spacing: 0.06em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  text-align: center;
}
 
.profile-photo {
  width: 55%;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  border: 1px solid #ddd;
  flex-shrink: 0;
}
 
.profile-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

 
/* ── LOGIN BOX ── */
.login-box {
  border: 2px solid #919191;
  background: #fff;
  padding: 18px 50px 20px;
  display: flex;
  flex-direction: column;
  gap: 15px;
}
 
.login-title {
  font-family: 'Rollbox', 'Courier New', monospace;
  font-size: 0.95rem;
  letter-spacing: 0.1em;
  color: #111;
  text-align: center;
  padding-bottom: 4px;
}
 
.login-fields {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
 
.login-field {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 8px;
}
 
.login-field label {
  font-family: 'Rollbox', 'Courier New', monospace;
  font-size: 0.7rem;
  color: #333;
  letter-spacing: 0.08em;
  white-space: nowrap;
  width: 70px;
  flex-shrink: 0;
  text-align: right;
  align-items: right;
  margin-right: 20px;
}
 
.login-field input {
  border: 1px solid #999;
  border-radius: 0;
  padding: 5px 7px;
  font-size: 0.85rem;
  font-family: sans-serif;
  color: #111;
  outline: none;
  background: #fff;
  flex:1;
  min-width: 0;
}
 
.login-field input:focus {
  border-color: #ff69b4;
}
 
.login-remember {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin-top: 8px;
  margin-bottom: 8px;
}
 
.login-remember input[type="checkbox"] {
  accent-color: #ff69b4;
  width: 13px;
  height: 13px;
  flex-shrink: 0;
  margin-right: 2px;
}
 
.login-remember label {
  font-family: 'Rollbox', 'Courier New', monospace;
  font-size: 0.68rem;
  color: #333;
  letter-spacing: 0.06em;
  cursor: pointer;
}
 
.login-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
}
 
.login-btn {
  flex: 0 0 auto;
  width: 125px;
  font-family: 'Rollbox', 'Courier New', monospace;
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  color: #111;
  background: #e8e8e8;
  border: 1.5px solid #888;
  border-radius: 0;
  padding: 6px 0;
  box-shadow: 3px 3px 0px #888;
  transition: box-shadow 0.1s, transform 0.1s;
}
 
.login-btn:hover {
  box-shadow: 1px 1px 0px #888;
  transform: translate(2px, 2px);
} 

.login-btn:active {
  box-shadow: 1px 1px 0px #888;
  transform: translate(2px, 2px);
}
 
.signup-btn {
  background: #fff0f7;
  border-color: #ff69b4;
  box-shadow: 3px 3px 0px #ff69b4;
}
 
.signup-btn:active {
  box-shadow: 1px 1px 0px #ff69b4;
}
 
.login-forgot {
  text-align: center;
  margin-top: -15px;
}
 
.login-forgot a {
  font-family: 'Rollbox', 'Courier New', monospace;
  font-size: 0.65rem;
  color: #666;
  letter-spacing: 0.06em;
  text-decoration: none;
  transition: color 0.15s;
}
 
.login-forgot a:hover {
  color: #ff69b4;
}

/* FOOTER */
footer {
  margin-top: auto;
  padding: 0 0 0;
}
 
.footer-inner {
  max-width: 100%;
  padding: 0 40px;
}
 
.footer-divider {
  height: 1px;
  background: #c0c0c0;
  margin-bottom: 22px;
}
 
.footer-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  padding-bottom: 28px;
}
 
.footer-info {
  display: flex;
  align-items: center;
  gap: 32px;
  flex-wrap: wrap;
}
 
.footer-item {
  display: flex;
  align-items: center;
  gap: 7px;
  font-family: var(--body);
  font-size: 0.78rem;
  color: #444444;
  letter-spacing: 0.06em;
  white-space: nowrap;
}
 
.footer-icon {
  width: 14px;
  height: 14px;
  color: #888;
  flex-shrink: 0;
  position: relative;
  top: 1px;
}
 
.footer-copy {
  font-family: var(--body);
  font-size: 0.72rem;
  color: #888888;
  letter-spacing: 0.08em;
  white-space: nowrap;
}

.footer-link {
  text-decoration: none;
  color: #444444;
  transition: color 0.18s ease;
}
 
.footer-link:hover {
  color: #ff69b4;
}
 
.footer-link:hover .footer-icon {
  color: #ff69b4;
}

/* ── LOGIN FIELDS: stack label above input below 1000px ── */
@media (max-width: 1600px) {
  .login-field {
    flex-direction: column;
    align-items: stretch;
    gap: 3px;
  }
 
  .login-field label {
    width: auto;
    text-align: left;
  }
}

/* ════════════════════════════════════
   HAMBURGER MENU
   ════════════════════════════════════ */

/* hidden on desktop */
.hamburger-btn {
  display: none;
}

.mobile-nav-overlay {
  display: none;
}

@media (max-width: 950px) {

  /* hamburger button — fixed top-right */
  .hamburger-btn {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    position: fixed;
    top: 16px;
    right: 16px;
    width: 44px;
    height: 44px;
    background: linear-gradient(145deg, #ffb8d9 0%, #ff9dce 50%, #e87ab8 100%);
    border: 2.5px solid var(--pink);
    border-radius: 2px;
    z-index: 3000;
    padding: 0;
    cursor: url('/assets/pinkpointerbig.png'), pointer;
  }

  .hamburger-btn span {
    display: block;
    width: 20px;
    height: 2px;
    background: var(--black);
    border-radius: 1px;
    transform-origin: center;
  }

  /* X animation when open — springy */
  .hamburger-btn span:nth-child(1),
  .hamburger-btn span:nth-child(2),
  .hamburger-btn span:nth-child(3) {
    transition:
      transform 0.38s cubic-bezier(0.34, 1.56, 0.64, 1),
      opacity   0.22s ease,
      width     0.28s ease;
  }

  .hamburger-btn.open span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }
  .hamburger-btn.open span:nth-child(2) {
    opacity: 0;
    width: 0;
  }
  .hamburger-btn.open span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }

  /* full-screen nav overlay — ripple out from button */
  .mobile-nav-overlay {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    padding-top: 90px;
    position: fixed;
    inset: 0;
    background: var(--black);
    z-index: 2500;
    pointer-events: none;
    opacity: 0;
    clip-path: circle(0% at calc(100% - 38px) 38px);
    will-change: clip-path;
    transform: translateZ(0);
    -webkit-transform: translateZ(0);
    transition:
      opacity   0.3s ease,
      clip-path 0.55s cubic-bezier(0.77, 0, 0.175, 1);
  }

  .mobile-nav-overlay.open {
    opacity: 1;
    pointer-events: all;
    clip-path: circle(150% at calc(100% - 38px) 38px);
  }

  .mobile-nav-links {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0;
    width: 100%;
    padding: 0 32px;
    background: transparent;
    border: none;
    min-height: 0;
  }

  .mobile-nav-links a {
    font-family: var(--heading);
    font-size: clamp(2rem, 10vw, 3rem);
    font-weight: bold;
    color: var(--white);
    text-decoration: none;
    letter-spacing: 0.12em;
    line-height: 1.2;
    text-align: center;
    padding: 10px 0;
    border-bottom: none;
    width: 100%;
    opacity: 0;
    transform: translateY(20px);
    transition:
      color     0.18s ease,
      transform 0.4s cubic-bezier(0.34, 1.45, 0.64, 1),
      opacity   0.3s ease;
  }

  .mobile-nav-links a:last-child {
    border-bottom: none;
  }

  .mobile-nav-overlay.open .mobile-nav-links a {
    opacity: 1;
    transform: translateY(0);
  }

  /* stagger delays */
  .mobile-nav-links a:nth-child(1) { transition-delay: 0.1s; }
  .mobile-nav-links a:nth-child(2) { transition-delay: 0.16s; }
  .mobile-nav-links a:nth-child(3) { transition-delay: 0.22s; }
  .mobile-nav-links a:nth-child(4) { transition-delay: 0.28s; }
  .mobile-nav-links a:nth-child(5) { transition-delay: 0.34s; }

  .mobile-nav-links a:hover,
  .mobile-nav-links a.active {
    color: var(--pink);
  }

  /* no star decoration on mobile active link */
  .mobile-nav-links a.active::after {
    display: none;
  }

  /* small tagline pinned to bottom of viewport */
  .mobile-nav-tagline {
    font-family: var(--body);
    font-size: 0.65rem;
    color: rgba(255, 157, 206, 0.4);
    letter-spacing: 0.22em;
    text-align: center;
    position: absolute;
    bottom: 28px;
    left: 0;
    right: 0;
    opacity: 0;
    transition: opacity 0.3s ease 0.44s;
  }

  .mobile-nav-overlay.open .mobile-nav-tagline {
    opacity: 1;
  }
}

/* ════════════════════════════════════
   RESPONSIVE BREAKPOINTS
   ════════════════════════════════════ */
 
/* TABLET */
@media (max-width: 1250px) {
 
  nav {
    width: 92%;
    padding: 6px 10px;
    min-height: 44px;
    justify-content: space-between;
    gap: 0;
  }
 
  nav a {
    font-size: clamp(0.75rem, 2.5vw, 1rem);
    padding: 4px 10px;
    padding-top: 8px;
    white-space: nowrap;
  }

  nav a.active::after {
    width: 180px;
    height: 180px;
  }

  .content-columns {
    padding: 32px 28px;
  }
 
  .footer-inner {
    padding: 0 24px;
  }
 
  .footer-info {
    gap: 16px;
  }
}
 
/* MOBILE */
@media (max-width: 950px) {
 
  .header-block {
    padding: 90px 16px 0;
  }

  .site-subheading {
    margin-top: 8px;
    margin-bottom: 4px;
  }
 
  nav {
    width: 96%;
    padding: 4px 6px;
    gap: 0;
  }
 
  nav a {
    font-size: 0.7rem;
    padding: 4px 6px;
    padding-top: 8px;
    letter-spacing: 0.05em;
  }

  /* hide desktop nav and two-column layout */
  .nav-wrapper {
    display: none;
  }

  .content-columns {
    display: none;
  }
 
  .footer-inner {
    padding: 0 16px;
  }
 
  .footer-content {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }
 
  .footer-info {
    flex-direction: column;
    gap: 8px;
  }
 
  .footer-item,
  .footer-link {
    white-space: normal;
  }
 
  .footer-copy {
    white-space: normal;
  }
}

/* ════════════════════════════════════
   MOBILE PROFILE GRID
   ════════════════════════════════════ */

/* hidden on desktop */
.mobile-profile-grid-section {
  display: none;
}

.mobile-login-wrap {
  display: none;
}

@media (max-width: 950px) {

  .mobile-profile-grid-section {
    display: block;
    padding: 24px 16px 0;
  }

  .mobile-profile-grid-section .box-title-bar {
    margin-bottom: 0;
  }

  .mobile-profile-grid-section .profile-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
    padding: 14px;
    background: var(--white);
  }

  .mobile-profile-grid-section .profile-card {
    margin-top: 16px;
    margin-bottom: 10px;
  }

  .mobile-profile-grid-section .profile-photo {
    width: 70%;
  }

  /* hide empty placeholder on mobile */
  .mobile-profile-grid-section .profile-card--empty {
    display: none;
  }

  .mobile-login-wrap {
    display: block;
    padding: 24px 16px 32px;
  }
}

/* LOGIN EASTER EGGS */
.login-error {
  font-family: 'Rollbox', 'Courier New', monospace;
  font-size: 0.68rem;
  color: #cc0000;
  text-align: center;
  letter-spacing: 0.05em;
  min-height: 1em;
  transition: opacity 0.2s;
}
 
#forgot-link {
  position: relative;
}
 
/* ════════════════════════════════════
   RICKROLL POPUP
   ════════════════════════════════════ */
 
.rr-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
  z-index: 2000;
  align-items: center;
  justify-content: center;
}
 
.rr-overlay.active {
  display: flex;
}
 
.rr-modal {
  position: relative;
  background: #000;
  border: 2.5px solid #ff69b4;
  box-shadow:
    0 0 24px rgba(255, 105, 180, 0.35),
    0 8px 32px rgba(0, 0, 0, 0.3);
  width: min(560px, 88vw);
  animation: popIn 0.28s cubic-bezier(0.34, 1.45, 0.64, 1) both;
}
 
.rr-modal video {
  width: 100%;
  display: block;
}
 
.rr-close {
  position: absolute;
  top: -50px;
  right: -50px;
  width: 44px;
  height: 44px;
  background: none;
  border: none;
  padding: 0;
  cursor: url('/assets/pinkpointerbig.png'), pointer;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  color: #ff69b4;
  transition: transform 0.15s ease, opacity 0.15s;
  opacity: 0.85;
}
 
.rr-close:hover {
  transform: scale(1.15);
  opacity: 1;
}
 
.rr-close img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* ════════════════════════════════════
   PROFILE CARD HOVER GLOW
   ════════════════════════════════════ */

.profile-card:not(.profile-card--empty) {
  transition: transform 0.2s ease;
}

.profile-card:not(.profile-card--empty),
.profile-card:not(.profile-card--empty) * {
  cursor: url('/assets/pinkpointerbig.png'), pointer;
}

.profile-card:not(.profile-card--empty):hover {
  transform: translateY(-3px);
}

.profile-card:not(.profile-card--empty):hover .profile-photo {
  border:3px solid #ff69b4;
  box-shadow:
    0 0 10px rgba(255, 105, 180, 0.6),
    0 0 20px rgba(255, 105, 180, 0.3);
}

/* ════════════════════════════════════
   PROFILE POPUP — DESKTOP
   ════════════════════════════════════ */

.popup-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
  z-index: 1000;
  align-items: center;
  justify-content: center;
  padding-top: 90px;
}

.popup-overlay.active {
  display: flex;
}

.popup-modal {
  position: relative;
  border: none;
  box-shadow: none;
  width: 95vw;
  max-width: 1400px;
  max-height: calc(100vh - 110px);
  overflow: visible;
  cursor: default;
  animation: popIn 0.28s cubic-bezier(0.34, 1.45, 0.64, 1) both;
  background: transparent;
  border-radius: 4px;
}

@keyframes popIn {
  from { opacity: 0; transform: scale(0.88); }
  to   { opacity: 1; transform: scale(1); }
}

.popup-close {
  position: absolute;
  top: -16px;
  right: -16px;
  width: 44px;
  height: 44px;
  background: none;
  border: none;
  padding: 0;
  cursor: url('/assets/pinkpointerbig.png'), pointer;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  color: #ff69b4;
  transition: transform 0.15s ease, opacity 0.15s;
  opacity: 0.85;
}

.popup-close:hover {
  transform: scale(1.15);
  opacity: 1;
}

.popup-close img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* ════════════════════════════════════
   POPUP COLUMNS — DESKTOP
   ════════════════════════════════════ */

.popup-columns {
  display: flex;
  align-items: flex-end;
  gap: 28px;
}

.popup-col-left {
  flex: 3;
  background-color: var(--popup-bg-left, #fafafa);
  background-image: var(--popup-bg-image, none);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  height: 700px;
  max-height: 80vh;
  overflow-y: auto;
  box-shadow: 0 4px 24px rgba(0,0,0,0.13);
  padding: 22px 20px 20px;
  border: 6px solid var(--popup-border, #ddd);
}

.popup-col-right {
  flex: 3;
  background: transparent;
  height: 625px;
  max-height: 80vh;
  align-self: flex-end;
  display: flex;
  flex-direction: column;
  gap: 12px;
  overflow: visible;
  border: none;
  box-shadow: none;
}

/* ════════════════════════════════════
   POPUP BIO INTERIOR — LEFT COLUMN
   ════════════════════════════════════ */

.bio-name {
  font-family: var(--popup-name-font), var(--title);
  font-size: clamp(1.7rem, 3.5vw, 2.6rem);
  color: var(--popup-title, #111);
  letter-spacing: 0.05em;
  margin-bottom: 14px;
  margin-top: 10px;
  line-height: 1;
}

.bio-top-row {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 0;
}

.bio-photo-wrap {
  flex-shrink: 0;
  width: 65%;
  overflow: hidden;
}

.bio-photo {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  display: block;
  border: 1px solid #ddd;
  margin-bottom: 15px;
}

.bio-text-wrap {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  gap: 8px;
  align-self: flex-start;
  padding-bottom: 2px;
}

.bio-tagline {
  font-family: var(--popup-font, var(--body));
  font-size: 0.9rem;
  color: var(--popup-tagline, #ff69b4);
  letter-spacing: 0.1em;
  font-style: italic;
  line-height: 1.4;
  font-weight: bold;
  text-align: center;
  margin-left: 25px;
  margin-right: 25px;
  margin-bottom: 20px;
  margin-top: 5px;
}

.bio-body {
  font-family: var(--popup-font, var(--body));
  font-size: 0.8rem;
  font-weight: bold;
  color: var(--popup-body, #444);
  letter-spacing: 0.04em;
  line-height: 1.7;
  margin-left: 10px;
  margin-right: 10px;
  margin-bottom: 0;
  margin-top: 0;
}

/* ── FRUTIGER AERO PLAYER ── */
.bio-player-row {
  width: 65%;
  margin-top: 8px;
}

.bio-player {
 background: linear-gradient(180deg,
  rgba(255,255,255,0.38) 0%,
  var(--player-color, #a0c8ff) 28%,
  var(--player-color-dark, #5090d0) 72%,
  rgba(255,255,255,0.10) 100%
);
  border-radius: 999px;
  border: 1.5px solid rgba(255,255,255,0.7);
  box-shadow:
    0 2px 8px rgba(0,0,0,0.22),
    0 1px 0 rgba(255,255,255,0.6) inset,
    0 -1px 0 rgba(0,0,0,0.12) inset;
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 0;
  padding: 5px 10px 5px 6px;
  user-select: none;
  height: 38px;
  position: relative;
  overflow: hidden;
}

/* gloss sheen overlay */
.bio-player::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 52%;
  background: linear-gradient(180deg,
    rgba(255,255,255,0.55) 0%,
    rgba(255,255,255,0.08) 100%
  );
  border-radius: 999px 999px 0 0;
  pointer-events: none;
}

/* left: button cluster */
.player-btns {
  display: flex;
  align-items: center;
  gap: 3px;
  flex-shrink: 0;
  z-index: 1;
}

.player-ctrl-btn {
  background: rgba(255,255,255,0.25);
  border: 1px solid rgba(255,255,255,0.5);
  border-radius: 50%;
  width: 20px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.42rem;
  color: rgba(255,255,255,0.95);
  cursor: url('/assets/pinkpointerbig.png'), pointer;
  padding: 0;
  line-height: 1;
  text-shadow: 0 1px 2px rgba(0,0,0,0.3);
  box-shadow: 0 1px 3px rgba(0,0,0,0.2), 0 1px 0 rgba(255,255,255,0.4) inset;
  transition: background 0.15s, transform 0.1s;
  flex-shrink: 0;
}

.player-ctrl-btn:hover {
  background: rgba(255,255,255,0.4);
}

.player-ctrl-btn:active {
  transform: scale(0.92);
}

.player-ctrl-play {
  width: 24px;
  height: 24px;
  font-size: 0.55rem;
  background: rgba(255,255,255,0.35);
  padding-left: 2px;
}

/* right: display window */
.player-display {
  flex: 1;
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 6px;
  margin-left: 8px;
  margin-right: 4px;
  min-width: 0;
  z-index: 1;
  background: rgba(0,0,0,0.55);
  border-radius: 6px;
  padding: 3px 7px;
  border: 1px solid rgba(0,0,0,0.3);
  box-shadow: inset 0 1px 3px rgba(0,0,0,0.4);
}

.player-marquee-wrap {
  overflow: hidden;
  flex: 1;
  min-width: 0;
}

.player-marquee-text {
  font-family: var(--player-track-font, 'Courier New', monospace);
  font-size: 0.7rem;
  font-weight: bold;
  color: rgba(255,255,255,0.95);
  text-shadow: 0 1px 2px rgba(0,0,0,0.3);
  letter-spacing: 0.05em;
  white-space: nowrap;
  display: inline-block;
  animation: marquee-scroll 14s linear infinite;
  padding-bottom: 8px;
}

@keyframes marquee-scroll {
  0%   { transform: translateX(100%); }
  100% { transform: translateX(-100%); }
}

.player-time {
  font-family: 'Courier New', monospace;
  font-size: 0.75rem;
  font-weight: bold;
  color: rgba(255,255,255,0.75);
  letter-spacing: 0.08em;
  text-shadow: 0 1px 2px rgba(0,0,0,0.3);
  flex-shrink: 0;
  white-space: nowrap;
}

/* ── MOOD + ONLINE ROW ── */
.bio-mood-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-top: 16px;
  gap: 15px;
}

.bio-mood-left {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.bio-mood-line,
.bio-view-line {
  font-family: var(--popup-font, var(--body));
  font-size: 0.9rem;
  font-weight: bold;
  color: var(--popup-body, #333);
  letter-spacing: 0.05em;
  display: flex;
  align-items: center;
  gap: 5px;
  flex-wrap: wrap;
  margin-top: 15px;
  margin-bottom: 8px;
}

.bio-mood-value {
  font-family: var(--mood-font, 'Rollbox', monospace);
  font-size: 1rem;
}

.bio-label {
  color: var(--popup-label, #888);
  font-size: 0.5rem;
  letter-spacing: 0.08em;
}

.bio-label-large {
  font-size: 0.9rem;
}

.bio-link {
  color: var(--popup-link, #0000cc);
  font-family: var(--popup-font, var(--body));
  font-size: 0.9rem;
  letter-spacing: 0.05em;
  text-decoration: underline;
  transition: color 0.15s;
}

.bio-link:hover { color: #ff69b4; }

.bio-sep { color: #bbb; font-size: 0.65rem; }

.bio-online-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  flex-shrink: 0;
}

.bio-online-icon { width: 28px; height: 28px; color: #aaa; }
.bio-online-icon svg { width: 100%; height: 100%; }

.bio-online-status {
  font-family: var(--popup-font, var(--body));
  font-size: 0.7rem;
  letter-spacing: 0.06em;
}

.bio-online-status.online  { color: #2ecc40; }
.bio-online-status.offline { color: #aaa; }

.bio-last-login {
  font-family: var(--popup-font, var(--body));
  font-size: 0.58rem;
  color: #999;
  letter-spacing: 0.04em;
  text-align: center;
  line-height: 1.5;
}

/* ════════════════════════════════════
   POPUP BIO INTERIOR — RIGHT COLUMN
   ════════════════════════════════════ */

.exp-box {
  display: flex;
  flex-direction: column;
  flex: 4;
  min-height: 0;
  max-height: 600px;
  background-color: var(--popup-bg-right, #fafafa);
  background-image: var(--popup-bg-image, none);
  background-size: cover;
  background-position: center;
  border: 6px solid var(--popup-border, #ddd);
  box-shadow: 0 4px 24px rgba(0,0,0,0.10);
  overflow: hidden;
}

.exp-box-inner {
  overflow-y: auto;
  flex: 1;
  min-height: 0;
}

.exp-title-bar {
  background: var(--popup-title-bar, #ff69b4);
  color: #fff;
  font-family: var(--popup-font, var(--body));
  font-size: 0.85rem;
  font-weight: bold;
  letter-spacing: 0.14em;
  padding: 7px 12px;
  text-align: center;
}

.exp-list {
  list-style: none;
  padding: 16px 16px 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.exp-list li {
  font-family: var(--popup-font, var(--body));
  font-size: 0.75rem;
  color: var(--popup-body, #333);
  letter-spacing: 0.04em;
  line-height: 1.6;
  display: flex;
  align-items: center;
  gap: 8px;
}

.exp-list li::before {
  content: '';
  display: inline-block;
  width: 20px;
  height: 20px;
  background: var(--popup-bullet, url('/assets/tinystar.png')) center / contain no-repeat;
  flex-shrink: 0;
  margin-top: 0;
}

/* Intro paragraph */
.exp-intro {
  font-family: var(--popup-font, var(--body));
  font-size: 0.85rem;
  color: var(--popup-body, #333);
  letter-spacing: 0.06em;
  line-height: 1.7;
  padding: 25px 30px 15px;
}

/* Classes box */
.classes-box {
  display: flex;
  flex-direction: column;
  flex: 1;
  min-height: 0;
  background-color: var(--popup-bg-right, #fafafa);
  background-image: var(--popup-bg-image, none);
  background-size: cover;
  background-position: center;
  border: 6px solid var(--popup-border, #ddd);
  box-shadow: 0 4px 24px rgba(0,0,0,0.10);
  overflow: hidden;
}

.classes-box-inner {
  overflow-y: auto;
  flex: 1;
  min-height: 0;
}

.popup-classes-list {
  padding: 20px 20px;
  font-family: var(--popup-font, var(--body));
  font-size: 0.85rem;
  font-weight: bold;
  color: var(--popup-body, #333);
  letter-spacing: 0.06em;
  line-height: 2;
  flex-wrap: wrap;
  display: flex;
  align-items: center;
  text-align: center;
  gap: 4px;
}

.popup-classes-list a {
  color: var(--popup-link, #0000cc);
  text-decoration: underline;
  transition: color 0.15s;
  white-space: nowrap;
}

.popup-classes-list a:hover { color: #ff69b4; }

.classes-sep {
  color: #676767;
  font-size: 0.85rem;
  user-select: none;
}



/* ════════════════════════════════════
   POPUP — MOBILE OVERRIDES
   ════════════════════════════════════ */

@media (max-width: 950px) {

  /* overlay: top-aligned with padding at bottom so tapping below closes */
  .popup-overlay {
    align-items: flex-start;
    justify-content: center;
    padding: 60px 0 80px;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }

  /* modal: full-width, auto height, scrolls with overlay */
  .popup-modal {
    width: calc(100% - 32px);
    max-width: 480px;
    max-height: none;
    overflow: visible;
  }

  /* close button: top-right corner, inside the modal */
  .popup-close {
    top: 8px;
    right: 8px;
    z-index: 20;
  }

  /* stack columns vertically */
  .popup-columns {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
  }

  /* left column: auto height, no fixed height, no scroll */
  .popup-col-left {
    height: auto;
    max-height: none;
    overflow: visible;
    flex: none;
    padding: 18px 16px 20px;
  }

  /* right column: auto height, column layout, no fixed height */
  .popup-col-right {
    height: auto;
    max-height: none;
    flex: none;
    overflow: visible;
    gap: 12px;
  }

  /* exp-box and classes-box: shrink to content */
  .exp-box,
.classes-box {
  flex: none;
  min-height: 0;
  overflow: hidden;
}

.exp-box-inner,
.classes-box-inner {
  overflow: visible;
}

  /* stack photo above bio text */
  .bio-top-row {
    flex-direction: column;
    gap: 10px;
  }

  .bio-photo-wrap {
    width: 100%;
  }

  .bio-text-wrap {
    align-self: stretch;
  }

  /* player spans full card width */
  .bio-player-row {
    width: 100%;
  }

  /* scale down text slightly */
  .bio-name {
    font-size: clamp(1.4rem, 7vw, 2rem);
    margin-bottom: 10px;
  }

  .bio-tagline  { font-size: 0.75rem; margin: 10px 10px 14px; }
  .bio-body     { font-size: 0.7rem; }

  .bio-mood-line,
  .bio-view-line { font-size: 0.75rem; margin-top: 10px; margin-bottom: 6px; }

  .bio-label-large { font-size: 0.75rem; }
  .bio-link        { font-size: 0.75rem; }

  .bio-mood-row  { margin-top: 12px; }
  .bio-player    { height: 34px; }

  .exp-intro     { font-size: 0.78rem; padding: 18px 18px 12px; }
  .exp-list      { gap: 10px; padding: 10px 14px 16px; }
  .exp-list li   { font-size: 0.72rem; }
  .exp-title-bar { font-size: 0.78rem; }

  .popup-classes-list {
    font-size: 0.78rem;
    padding: 14px 16px;
  }
}

@media (max-width: 950px) {
  .footer-inner {
    padding: 0 20px;
  }

  .footer-content {
    flex-direction: column;
    align-items: center;
    gap: 0;
    padding-bottom: 32px;
  }

  .footer-info {
    flex-direction: column;
    align-items: center;
    gap: 14px;
    margin-bottom: 20px;
    width: 100%;
  }

  .footer-item {
    font-size: 0.62rem;
    white-space: normal;
    line-height: 1.5;
    gap: 6px;
  }

  .footer-link {
    white-space: normal;
    font-size: 0.62rem;
  }

  .footer-icon {
    flex-shrink: 0;
    position: relative;
    top: 1px;
  }

  .footer-copy {
    font-size: 0.58rem;
    white-space: normal;
    color: #aaa;
    text-align: center;
  }

  .footer-divider {
    margin-bottom: 28px;
    margin-top: 12px;
  }
}