@import url('https://fonts.googleapis.com/css2?family=Press+Start+2P&family=VT323&display=swap');

:root {
  --bg-color: #1a1228;
  --panel-bg: #2d1d3f;
  --window-bg: #e6ceef;
  --window-border: #9b6bb3;
  --text-main: #2b1738;
  --text-light: #f7edfc;
  --pink-accent: #ff60a8;
  --purple-accent: #9356d8;
  --dark-accent: #381f4c;
  --danger-color: #ff3b75;
  --font-pixel: 'Press Start 2P', monospace;
  --font-retro: 'VT323', monospace;
}

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

body {
  background-color: var(--bg-color);
  background-image: 
    radial-gradient(#312048 15%, transparent 16%),
    radial-gradient(#312048 15%, transparent 16%);
  background-size: 20px 20px;
  background-position: 0 0, 10px 10px;
  color: var(--text-light);
  font-family: var(--font-retro);
  font-size: 22px;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* Age Gate Overlay */
#age-gate {
  position: fixed;
  top: 0; left: 0; width: 100vw; height: 100vh;
  background: rgba(15, 8, 25, 0.96);
  z-index: 9999;
  display: flex;
  justify-content: center;
  align-items: center;
}

/* Main Retro Windows */
/* Main Retro Windows */
.retro-window {
  background: var(--window-bg);
  border: 4px solid var(--window-border);
  box-shadow: 6px 6px 0px #000;
  color: var(--text-main);
  
  width: 96vw;
  max-width: 1200px;
  
  /* Fits height purely based on content instead of stretching vertical space */
  height: auto;
  min-height: 0;
  margin: 15px auto 30px auto;
  
  display: flex;
  flex-direction: column;
}

.window-body {
  padding: 15px;
  display: flex;
  flex-direction: column;
}

.bedroom-scene {
  position: relative;
  width: 100%;
  flex: 1;
  min-height: 70vh; /* Ensures the inner canvas stretches taller on large monitors */
  background: url('assets/bedroom-bg.png') center/cover no-repeat;
  border: 4px solid var(--window-border);
  box-shadow: inset 0 0 10px #000, 4px 4px 0px #000;
  overflow: hidden;
}

/* Top Status Bar */
.status-bar {
  width: 100%;
  background: var(--panel-bg);
  border-bottom: 3px solid var(--window-border);
  padding: 8px 15px;
  display: flex;
  justify-content: space-around;
  font-family: var(--font-pixel);
  font-size: 10px;
  color: var(--pink-accent);
  flex-wrap: wrap;
  gap: 10px;
}

/* Navigation Buttons */
.nav-bar {
  display: flex;
  gap: 10px;
  margin: 15px 0 5px 0;
  flex-wrap: wrap;
  justify-content: center;
}

.nav-btn, .action-btn {
  background: var(--pink-accent);
  border: 3px solid #fff;
  box-shadow: 3px 3px 0px #000;
  color: #fff;
  padding: 8px 12px;
  font-family: var(--font-pixel);
  font-size: 10px;
  cursor: pointer;
  text-decoration: none;
  display: inline-block;
  transition: transform 0.1s;
}

.nav-btn:hover, .action-btn:hover {
  transform: translate(-2px, -2px);
  box-shadow: 5px 5px 0px #000;
  background: var(--purple-accent);
}

.onlyfans-btn {
  background: var(--danger-color);
  animation: pulse 1.5s infinite alternate;
}

@keyframes pulse {
  0% { transform: scale(1); }
  100% { transform: scale(1.04); }
}

/* Pixel Bedroom Interactive Container */
.bedroom-scene {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  min-height: 480px;
  background: url('assets/bedroom-bg.png') center/cover no-repeat;
  border: 4px solid var(--window-border);
  box-shadow: inset 0 0 10px #000, 4px 4px 0px #000;
  overflow: hidden;
}

/* Hotspot Interactive Trigger Overlay Boxes */
.bedroom-hotspot {
  position: absolute;
  cursor: pointer;
  border: 2px dashed rgba(255, 255, 255, 0);
  transition: all 0.2s ease-in-out;
  border-radius: 6px;
}

.bedroom-hotspot:hover {
  border-color: var(--pink-accent);
  background: rgba(255, 96, 168, 0.2);
  box-shadow: 0 0 12px rgba(255, 96, 168, 0.8);
}

/* Specific Hotspot Positions on the Scene */
#hotspot-phone    { top: 48%; left: 3%;  width: 14%; height: 26%; }
#hotspot-monitor  { top: 25%; left: 40%; width: 17%; height: 28%; }
#hotspot-album    { top: 43%; left: 31%; width: 14%; height: 26%; }
#hotspot-tipjar   { top: 20%; left: 61%; width: 10%; height: 20%; }
#hotspot-ashtray  { top: 73%; left: 86%; width: 12%; height: 16%; }
#hotspot-avatar   { top: 27%; left: 71%; width: 22%; height: 53%; }

/* Dialogue Box Window */
.dialogue-window {
  margin-top: 15px;
  background: #f3e5f7;
  border: 3px solid var(--window-border);
  box-shadow: 4px 4px 0px #000;
  padding: 12px 18px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.dialogue-icon {
  font-size: 24px;
}

.dialogue-content {
  font-family: var(--font-retro);
  font-size: 24px;
  color: var(--text-main);
}

/* Gallery 3x3 Grid */
.category-menu {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 20px;
}

.photo-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  width: 100%;
  margin-bottom: 15px;
}

.photo-card {
  aspect-ratio: 1 / 1;
  background: var(--panel-bg);
  border: 3px solid var(--window-border);
  overflow: hidden;
  cursor: pointer;
}

.photo-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.2s;
}

.photo-card:hover img {
  transform: scale(1.08);
}

.pagination-controls {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--font-pixel);
  font-size: 10px;
}

/* Responsive Scaling */
@media (max-width: 768px) {
  .bedroom-scene {
    aspect-ratio: 4 / 3;
    min-height: 350px;
  }
  .photo-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 6px;
  }
}
/* ==========================================
   ABOUT PAGE: 90s SCRAPBOOK LAYOUT
   ========================================== */
.scrapbook-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 20px;
  align-items: start;
}

.avatar-card {
  background: var(--panel-bg);
  border: 4px solid var(--window-border);
  padding: 10px;
  box-shadow: 5px 5px 0px #000;
  text-align: center;
}

.avatar-card img {
  width: 100%;
  max-height: 400px;
  object-fit: cover;
  border: 2px solid var(--pink-accent);
}

.stats-box {
  background: #fdf5ff;
  border: 3px dashed var(--purple-accent);
  padding: 12px;
  margin-top: 10px;
  font-family: var(--font-pixel);
  font-size: 10px;
  color: var(--text-main);
  text-align: left;
  line-height: 1.8;
}

.scrapbook-right {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.bio-card-window {
  background: #f5e6fc;
  border: 3px solid var(--window-border);
  box-shadow: 4px 4px 0px #000;
}

.tag-badge {
  display: inline-block;
  background: var(--pink-accent);
  color: #fff;
  font-family: var(--font-pixel);
  font-size: 9px;
  padding: 4px 8px;
  margin: 2px;
  border-radius: 3px;
  border: 1px solid #fff;
}

.favorites-list {
  list-style: none;
  font-family: var(--font-retro);
  font-size: 22px;
  color: var(--text-main);
  line-height: 1.5;
}

.favorites-list li {
  padding: 4px 0;
  border-bottom: 1px dotted var(--purple-accent);
}

.popup-alert-box {
  background: #ffe3f1;
  border: 3px solid var(--danger-color);
  box-shadow: 4px 4px 0px #000;
  padding: 10px;
  font-family: var(--font-pixel);
  font-size: 10px;
  color: var(--danger-color);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* ==========================================
   VIDEOS PAGE: CRT VIDEO ARCADE
   ========================================== */
.video-gallery-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.crt-video-card {
  background: var(--panel-bg);
  border: 4px solid var(--window-border);
  box-shadow: 5px 5px 0px #000;
  overflow: hidden;
}

.crt-video-card .window-titlebar {
  font-size: 9px;
  padding: 4px 8px;
}

.video-screen-container {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #000;
  border-bottom: 3px solid var(--window-border);
}

.video-screen-container iframe {
  width: 100%;
  height: 100%;
  border: none;
}

.video-meta {
  padding: 10px;
  background: #231735;
  color: var(--text-light);
}

.video-title {
  font-family: var(--font-pixel);
  font-size: 11px;
  color: var(--pink-accent);
  margin-bottom: 6px;
}

.video-stats-bar {
  display: flex;
  justify-content: space-between;
  font-family: var(--font-pixel);
  font-size: 9px;
  color: #a894c2;
  margin-top: 8px;
}

/* Responsive Scaling for About/Videos */
@media (max-width: 768px) {
  .scrapbook-grid, .video-gallery-grid {
    grid-template-columns: 1fr;
  }
}
