@font-face {
  font-family: 'Bunny';
  src: url('ROLLERGI.TTF') format('truetype');
  font-display: swap;
}

/* ==========================================================
   🐰 bunnyOS 2.0 Design Tokens (Ethereal Pastel Dream)
   Translucent frosted-glass windows, pastel warm pinks,
   soft blush/cream surfaces, soft warm borders, zero purple tones.
   ========================================================== */
:root {
  /* Warm Rose-Ink Text (Clean, high contrast, zero purple) */
  --ink: #5a2039;
  --ink-mid: #78314e;
  --ink-soft: #9c4f6f;
  --ink-subtle: #be7592;

  /* Soft Warm-Pink Borders */
  --border-main: rgba(232, 145, 178, 0.75);
  --border-soft: rgba(243, 190, 210, 0.65);
  --border-subtle: rgba(251, 224, 236, 0.5);

  /* Pastel Warm Pink Accents */
  --accent-pink: #ff6b99;
  --accent-warm: #ff7ea5;
  --accent-soft: #ffd8e7;
  --accent-glow: rgba(255, 107, 153, 0.28);

  /* Titlebars: Active (Warm Pink) vs Inactive (Muted Blush) */
  --titlebar-active-bg: linear-gradient(90deg, rgba(255, 113, 154, 0.88) 0%, rgba(255, 140, 176, 0.88) 100%);
  --titlebar-active-text: #ffffff;
  --titlebar-inactive-bg: linear-gradient(90deg, rgba(252, 226, 236, 0.82) 0%, rgba(247, 210, 224, 0.82) 100%);
  --titlebar-inactive-text: #8e4462;

  /* Translucent Frosted Glass Window Surfaces */
  --surface-window: rgba(255, 252, 254, 0.78);
  --surface-cream: rgba(255, 247, 250, 0.74);
  --surface-tint: rgba(255, 238, 245, 0.68);
  --surface-card: rgba(255, 255, 255, 0.85);

  /* Airy Pink Sky Background */
  --bg-gradient: linear-gradient(155deg, #ffb8d2 0%, #ffeaf2 45%, #ffc8de 100%);

  /* Typography */
  --font-pixel: 'Silkscreen', monospace;
  --font-body: 'Quicksand', 'Bunny', system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  --font-display: 'Bunny', 'Quicksand', cursive, sans-serif;

  /* Taskbar height */
  --taskbar-height: 46px;

  /* Dreamy easing */
  --ease-dream: cubic-bezier(0.22, 1, 0.36, 1);

  color-scheme: light;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  font-family: var(--font-body);
  background: var(--bg-gradient);
  min-height: 100vh;
  cursor: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='28' height='28' viewBox='0 0 28 28'%3E%3Cpath d='M14 24 3 13C-4 4 8-2 14 6 20-2 32 4 25 13Z' fill='%23fff4f7' stroke='%23cf628b' stroke-width='2'/%3E%3C/svg%3E") 14 8, auto;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

button, a, input {
  color: inherit;
  cursor: inherit;
  font: inherit;
}

a {
  text-decoration: none;
}

button:focus-visible, a:focus-visible {
  outline: 3px dashed var(--accent-pink);
  outline-offset: 3px;
}

button {
  touch-action: manipulation;
  user-select: none;
}

h1, h2, h3, h4, p, ul {
  margin: 0;
  padding: 0;
}

/* Background Glitter Canvas */
#glitter {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  width: 100%;
  height: 100%;
}

/* ==========================================================
   19+ Age Gate Screen (Ethereal Soft Transition)
   ========================================================== */
.age-gate {
  position: fixed;
  inset: 0;
  z-index: 99999;
  display: grid;
  place-items: center;
  padding: 24px;
  background: radial-gradient(circle at 50% 40%, rgba(255, 238, 245, 0.94) 0%, rgba(255, 196, 218, 0.96) 100%);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  transition: opacity 0.8s var(--ease-dream), transform 0.8s var(--ease-dream), filter 0.8s var(--ease-dream);
  overflow-y: auto;
}

.age-gate.leaving {
  opacity: 0;
  transform: scale(1.05);
  filter: blur(12px);
  pointer-events: none;
}

.gate-window {
  width: min(440px, 100%);
  text-align: center;
  box-shadow: 0 20px 50px rgba(185, 82, 126, 0.28), 5px 6px 0 rgba(217, 127, 161, 0.35);
  animation: window-appear 0.6s var(--ease-dream);
}

.gate-content {
  padding: 30px 24px 34px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.gate-logo {
  width: min(220px, 75%);
  height: auto;
  display: block;
  filter: drop-shadow(0 6px 14px rgba(185, 68, 115, 0.25));
  transition: transform 0.4s var(--ease-dream);
}

.gate-logo:hover {
  transform: scale(1.04) rotate(-2deg);
}

.gate-warning {
  font-family: var(--font-pixel);
  font-size: 11px;
  line-height: 1.6;
  color: var(--ink-mid);
  max-width: 320px;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  padding: 10px 16px;
  border-radius: 8px;
  border: 1px dashed var(--border-main);
}

/* ==========================================================
   Desktop OS Shell Layout
   ========================================================== */
#desktop {
  position: relative;
  z-index: 1;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  opacity: 1;
  transition: opacity 0.75s var(--ease-dream);
}

#desktop.revealing {
  animation: desktop-reveal 0.85s var(--ease-dream) both;
}

@keyframes desktop-reveal {
  0% {
    opacity: 0;
    transform: translateY(18px) scale(0.98);
    filter: blur(10px);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
    filter: blur(0);
  }
}

/* Sleek Top Menubar (Translucent Frosted Glass) */
.top-menubar {
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 18px;
  background: rgba(255, 245, 249, 0.78);
  border-bottom: 2px solid var(--border-main);
  font: 11px var(--font-pixel);
  backdrop-filter: blur(18px) saturate(1.2);
  -webkit-backdrop-filter: blur(18px) saturate(1.2);
  box-shadow: 0 2px 10px rgba(185, 82, 126, 0.08);
  position: sticky;
  top: 0;
  z-index: 8000;
}

.menubar-left {
  display: flex;
  align-items: center;
  gap: 14px;
}

.os-brand {
  font-weight: 700;
  color: var(--ink);
  letter-spacing: 0.5px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.os-heart {
  color: var(--accent-pink);
}

.menubar-item {
  background: none;
  border: 1px solid transparent;
  padding: 3px 8px;
  border-radius: 4px;
  color: var(--ink-mid);
  font-size: 10px;
  transition: all 0.25s var(--ease-dream);
  cursor: pointer;
}

.menubar-item:hover {
  background: rgba(255, 255, 255, 0.85);
  border-color: var(--border-soft);
  color: var(--accent-pink);
  transform: translateY(-1px);
}

.menubar-right {
  display: flex;
  align-items: center;
  gap: 12px;
}

.status-live {
  font-size: 10px;
  color: #1e824c;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-weight: bold;
}

#top-clock {
  color: var(--ink);
  font-weight: bold;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  padding: 2px 8px;
  border-radius: 4px;
  border: 1px solid var(--border-soft);
  font-size: 10px;
}

/* Desktop Workspace */
.desktop-workspace {
  flex: 1;
  position: relative;
  padding: 22px 24px calc(var(--taskbar-height) + 26px);
  display: grid;
  grid-template-columns: 100px 1fr;
  gap: 24px;
  align-items: start;
}

/* ==========================================================
   Desktop Left Pastel Shortcuts Grid
   ========================================================== */
.desktop-icons {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding-top: 6px;
  user-select: none;
  z-index: 100;
}

.desktop-icon {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  background: none;
  border: 0;
  padding: 6px 4px;
  border-radius: 8px;
  transition: transform 0.3s var(--ease-dream), background 0.3s ease;
  cursor: pointer;
  text-align: center;
}

.desktop-icon:hover {
  transform: translateY(-5px) scale(1.06);
  background: rgba(255, 255, 255, 0.45);
}

.desktop-icon:active {
  transform: translateY(1px) scale(0.98);
}

.icon-graphic {
  width: 50px;
  height: 50px;
  display: grid;
  place-items: center;
  font-size: 24px;
  background: linear-gradient(135deg, rgba(255, 250, 253, 0.9) 0%, rgba(255, 229, 239, 0.85) 100%);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 2px solid var(--border-main);
  border-radius: 12px;
  box-shadow: 3px 4px 0 rgba(217, 127, 161, 0.28), inset 0 2px #ffffff;
  transition: box-shadow 0.3s var(--ease-dream), transform 0.3s var(--ease-dream);
}

.desktop-icon:hover .icon-graphic {
  box-shadow: 4px 6px 0 rgba(217, 127, 161, 0.38), 0 6px 14px rgba(255, 107, 153, 0.2), inset 0 2px #ffffff;
}

.icon-label {
  font: 10px var(--font-pixel);
  color: var(--ink);
  background: rgba(255, 245, 249, 0.9);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  padding: 3px 6px;
  border-radius: 4px;
  border: 1px solid var(--border-soft);
  box-shadow: 1px 2px 0 rgba(185, 82, 126, 0.12);
  white-space: nowrap;
}

/* ==========================================================
   Window Manager & Translucent Windows (Frosted Glass)
   ========================================================== */
.window {
  background: var(--surface-window);
  backdrop-filter: blur(20px) saturate(1.25);
  -webkit-backdrop-filter: blur(20px) saturate(1.25);
  border: 2px solid var(--border-main);
  border-radius: 14px;
  box-shadow: 5px 7px 0 rgba(217, 127, 161, 0.25), 0 20px 48px rgba(185, 82, 126, 0.14), inset 0 1px rgba(255, 255, 255, 0.7);
  overflow: hidden;
  transition: box-shadow 0.35s var(--ease-dream), opacity 0.35s var(--ease-dream), transform 0.35s var(--ease-dream);
}

.os-window {
  margin-bottom: 24px;
  z-index: var(--win-z, 10);
}

.os-window.active-window {
  box-shadow: 6px 9px 0 rgba(217, 127, 161, 0.35), 0 24px 54px rgba(185, 82, 126, 0.22), inset 0 1px rgba(255, 255, 255, 0.85);
}

.os-window.minimized {
  display: none !important;
}

.os-window.maximized {
  margin: 0;
  width: 100% !important;
  border-radius: 0;
}

/* Titlebars (Translucent & Soft Easing) */
.titlebar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 38px;
  padding: 6px 12px;
  background: var(--titlebar-inactive-bg);
  color: var(--titlebar-inactive-text);
  border-bottom: 2px solid var(--border-main);
  font: 11px var(--font-pixel);
  user-select: none;
  cursor: grab;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  transition: background 0.35s var(--ease-dream), color 0.35s var(--ease-dream);
}

.titlebar:active {
  cursor: grabbing;
}

/* Active Window Bright Warm-Pink Titlebar */
.os-window.active-window .titlebar,
.active-titlebar {
  background: var(--titlebar-active-bg);
  color: var(--titlebar-active-text);
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.6);
}

.title-left {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
}

.title-icon {
  font-size: 14px;
  flex-shrink: 0;
}

.title-text {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.5px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.window-decor {
  font-size: 11px;
  letter-spacing: 2px;
  opacity: 0.85;
}

.window-controls {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
}

.win-btn {
  width: 24px;
  height: 24px;
  display: grid;
  place-items: center;
  padding: 0;
  border: 1px solid var(--border-main);
  border-radius: 4px;
  background: rgba(255, 244, 248, 0.85);
  color: var(--ink);
  font: 13px var(--font-pixel);
  box-shadow: inset 1px 1px #fff, 1px 2px 0 rgba(217, 127, 161, 0.22);
  cursor: pointer;
  transition: transform 0.2s var(--ease-dream), background 0.2s ease;
}

.win-btn:hover {
  background: #ffe2ed;
  transform: translateY(-1px);
}

.win-btn:active {
  transform: translateY(1px);
  box-shadow: none;
}

.win-btn.win-close:hover {
  background: #ff5482;
  color: #ffffff;
}

.window-body {
  background: transparent;
}

/* ==========================================================
   Window 1: Profile Window (profile.exe)
   ========================================================== */
.profile-body {
  padding: 26px 30px;
  display: flex;
  flex-direction: column;
  gap: 26px;
}

.profile-hero {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  align-items: center;
  gap: 28px;
}

.profile-brand {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.profile-logo-img {
  width: 100%;
  max-width: 320px;
  height: auto;
  display: block;
  filter: drop-shadow(0 6px 14px rgba(185, 68, 115, 0.18));
  transition: transform 0.4s var(--ease-dream);
}

.profile-logo-img:hover {
  transform: rotate(-2deg) scale(1.02);
}

.profile-subtitle {
  font: 11px var(--font-pixel);
  color: var(--ink-soft);
  letter-spacing: 0.5px;
}

/* Portrait Frame with Ethereal Floating Click */
.portrait-area {
  position: relative;
  max-width: 220px;
  width: 100%;
  justify-self: center;
}

.portrait-frame {
  position: relative;
  border-radius: 50%;
  padding: 12px;
  background: radial-gradient(circle at 35% 30%, #fffef4 15%, #f5d6d0 55%, #cea2a7 75%, transparent 77%) 0 0 / 18px 18px, linear-gradient(135deg, #ffd3e2, #fff0f5);
  border: 2px solid #fff5ed;
  box-shadow: 0 0 0 3px #eeb7c5, 0 12px 28px rgba(183, 90, 121, 0.2), inset 0 0 0 5px #fff6ea;
  cursor: pointer;
  display: block;
  width: 100%;
  transition: transform 0.4s var(--ease-dream), box-shadow 0.4s ease;
}

.portrait-frame:hover {
  transform: translateY(-5px) scale(1.035);
  box-shadow: 0 0 0 4px #eeb7c5, 0 16px 36px rgba(183, 90, 121, 0.3), inset 0 0 0 5px #fff6ea;
}

.portrait-frame:active {
  transform: translateY(2px) scale(0.97);
}

.portrait-badge {
  position: absolute;
  bottom: -4px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: var(--ink);
  border: 1px solid var(--border-main);
  border-radius: 12px;
  padding: 3px 10px;
  font: 9px var(--font-pixel);
  box-shadow: 0 3px 8px rgba(185, 68, 115, 0.16);
  white-space: nowrap;
  pointer-events: none;
  opacity: 0.95;
  transition: opacity 0.3s ease, background 0.3s ease, color 0.3s ease;
}

.portrait-frame:hover .portrait-badge {
  background: #ffe8f2;
  color: var(--accent-pink);
}

.portrait {
  aspect-ratio: 1;
  border-radius: 50%;
  border: 3px solid #fff4ed;
  overflow: hidden;
  box-shadow: inset 0 0 10px rgba(185, 68, 115, 0.12);
}

#portrait-img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 20%;
  transition: opacity 0.32s var(--ease-dream), transform 0.32s var(--ease-dream), filter 0.32s ease;
}

.spark {
  position: absolute;
  font-size: 46px;
  color: #fff9f0;
  text-shadow: 1px 2px #d87e9e, 0 0 14px rgba(255, 230, 240, 0.85);
  pointer-events: none;
  animation: float-sparkle 3.5s ease-in-out infinite alternate;
}

.spark-one {
  top: 4px;
  right: -20px;
  animation-delay: 0s;
}

.spark-two {
  bottom: 8px;
  left: -20px;
  animation-delay: 1.8s;
}

@keyframes float-sparkle {
  0% { transform: translateY(0) rotate(0deg) scale(1); }
  100% { transform: translateY(-10px) rotate(14deg) scale(1.14); }
}

/* Numbered Folder Grid (01 bookings, 02 exclusive, etc) */
.folder-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  padding: 6px 0;
}

.folder {
  display: flex;
  flex-direction: column;
  align-items: center;
  background: none;
  border: 0;
  padding: 6px;
  position: relative;
  transition: transform 0.3s var(--ease-dream);
  cursor: pointer;
}

.folder-icon {
  display: grid;
  place-items: center;
  position: relative;
  width: 100%;
  max-width: 128px;
  height: 80px;
  border: 2px solid var(--border-main);
  border-radius: 10px 14px 16px 16px;
  background: linear-gradient(rgba(255, 214, 229, 0.82) 4%, rgba(255, 243, 246, 0.88) 14%, rgba(249, 186, 210, 0.78) 92%);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: inset 0 0 0 3px rgba(255, 238, 244, 0.8), inset 0 -6px 8px rgba(237, 159, 189, 0.7), 0 5px 0 rgba(217, 127, 161, 0.3);
  transition: transform 0.35s var(--ease-dream), box-shadow 0.35s ease;
}

.folder-icon:before {
  content: '';
  position: absolute;
  width: 52px;
  height: 14px;
  top: -12px;
  left: -2px;
  background: linear-gradient(rgba(255, 234, 242, 0.9), rgba(249, 191, 212, 0.85));
  border: 2px solid var(--border-main);
  border-bottom: 0;
  border-radius: 10px 12px 0 0;
  z-index: -1;
}

.folder-icon > span {
  font-size: 32px;
  color: var(--accent-pink);
  text-shadow: 0 2px #fff6fa;
  z-index: 1;
  transition: transform 0.3s var(--ease-dream);
}

.folder:hover .folder-icon {
  transform: translateY(-6px) rotate(-1.5deg);
  box-shadow: inset 0 0 0 3px rgba(255, 238, 244, 0.9), 0 9px 16px rgba(217, 127, 161, 0.32), 0 0 16px rgba(255, 107, 153, 0.2);
}

.folder:hover .folder-icon > span {
  transform: scale(1.14);
}

.folder:active .folder-icon {
  transform: translateY(2px);
  box-shadow: inset 0 0 0 3px rgba(255, 238, 244, 0.8), 0 2px 0 rgba(217, 127, 161, 0.3);
}

.folder-name {
  font: 11px var(--font-pixel);
  color: var(--ink);
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  margin-top: 10px;
  padding: 5px 10px;
  border-radius: 6px;
  border: 1px solid var(--border-soft);
  box-shadow: 2px 2px 0 rgba(217, 127, 161, 0.18);
  white-space: nowrap;
  transition: background 0.25s var(--ease-dream), color 0.25s var(--ease-dream), transform 0.25s var(--ease-dream);
}

.folder:hover .folder-name {
  background: #ffffff;
  color: var(--accent-pink);
  transform: translateY(-1px);
}

.window-footer-status {
  text-align: center;
  font: 10px var(--font-pixel);
  color: var(--ink-soft);
  padding-top: 4px;
  border-top: 1px dashed var(--border-soft);
}

/* ==========================================================
   Window 2: Refined Photo Gallery (gallery.exe)
   ========================================================== */
.gallery-body {
  padding: 0;
}

.gallery-toolbar {
  padding: 10px 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font: 10px var(--font-pixel);
  border-bottom: 2px solid var(--border-main);
  background: rgba(255, 242, 246, 0.8);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.gallery-meta {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--ink);
  font-weight: 700;
}

.meta-count {
  color: var(--ink-soft);
  font-weight: normal;
}

.gallery-social-link {
  font-weight: 700;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: var(--ink);
  padding: 4px 10px;
  border-radius: 4px;
  border: 1px solid var(--border-soft);
  box-shadow: 1px 2px 0 rgba(217, 127, 161, 0.15);
  transition: all 0.25s var(--ease-dream);
}

.gallery-social-link:hover {
  background: var(--accent-pink);
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 2px 4px 0 rgba(217, 127, 161, 0.25);
}

/* Symmetrical 16-Photo Grid (4x4, no orphan rows) */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  padding: 18px;
  background: transparent;
}

.gallery-cell {
  display: block;
  border: 2px solid var(--border-main);
  padding: 0;
  margin: 0;
  background: rgba(255, 234, 241, 0.7);
  box-shadow: 3px 3px 0 rgba(217, 127, 161, 0.22);
  border-radius: 8px;
  overflow: hidden;
  transition: transform 0.35s var(--ease-dream), box-shadow 0.35s ease;
  cursor: pointer;
}

.gallery-cell:hover {
  transform: translateY(-5px) scale(1.035);
  box-shadow: 5px 8px 0 rgba(217, 127, 161, 0.3), 0 10px 20px rgba(185, 82, 126, 0.18);
  z-index: 2;
}

.gallery-cell:active {
  transform: translateY(1px);
  box-shadow: 1px 1px 0 rgba(217, 127, 161, 0.2);
}

.gallery-cell > .photo {
  display: block;
  aspect-ratio: 1/1;
  overflow: hidden;
}

.photo {
  position: relative;
  background: rgba(255, 234, 241, 0.6);
  display: grid;
  place-items: center;
}

.photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 20%;
  transition: transform 0.45s var(--ease-dream), filter 0.45s ease;
}

.gallery-cell:hover .photo img {
  transform: scale(1.09);
  filter: saturate(1.06) brightness(1.03);
}

/* ==========================================================
   Window 3: Numbered Links Window (links.exe)
   ========================================================== */
.links-window-body {
  padding: 18px 22px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.links-nav-tabs {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 4px;
}

.links-tab {
  background: rgba(255, 242, 246, 0.75);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid var(--border-soft);
  border-radius: 6px;
  padding: 6px 12px;
  font: 11px var(--font-pixel);
  color: var(--ink);
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.25s var(--ease-dream);
}

.links-tab:hover {
  background: #ffffff;
  border-color: var(--border-main);
  color: var(--accent-pink);
  transform: translateY(-1px);
}

.links-tab.active {
  background: rgba(255, 255, 255, 0.95);
  border-color: var(--border-main);
  box-shadow: 2px 2px 0 rgba(217, 127, 161, 0.28);
  color: var(--accent-pink);
  font-weight: 700;
}

/* ==========================================================
   Links List in Windows & Modals
   ========================================================== */
.link-list {
  display: grid;
  gap: 10px;
}

.link-list a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 14px 18px;
  border: 2px solid var(--border-main);
  border-radius: 8px;
  box-shadow: 3px 3px 0 rgba(217, 127, 161, 0.22);
  background: linear-gradient(110deg, rgba(255, 250, 253, 0.85) 0%, rgba(255, 234, 242, 0.78) 100%);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  font: 11px var(--font-pixel);
  transition: transform 0.28s var(--ease-dream), background 0.28s ease, box-shadow 0.28s ease;
}

.link-list a:hover {
  transform: translateX(5px);
  background: linear-gradient(110deg, rgba(255, 255, 255, 0.98) 0%, rgba(255, 214, 229, 0.92) 100%);
  box-shadow: 4px 6px 0 rgba(217, 127, 161, 0.32), 0 8px 18px rgba(185, 82, 126, 0.15);
}

.link-list a:active {
  transform: translateX(2px) translateY(2px);
  box-shadow: 1px 1px 0 rgba(217, 127, 161, 0.2);
}

.link-label-group {
  display: flex;
  flex-direction: column;
  gap: 4px;
  text-align: left;
}

.link-title {
  font: 12px var(--font-pixel);
  color: var(--ink);
  font-weight: 700;
}

.link-sub {
  font: 10px var(--font-pixel);
  color: var(--accent-pink);
  word-break: break-all;
}

.link-arrow {
  font-size: 14px;
  color: var(--accent-pink);
  font-weight: 700;
}

/* ==========================================================
   Persistent Bottom Taskbar (Translucent Frosted Glass)
   ========================================================== */
.taskbar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  height: var(--taskbar-height);
  background: rgba(255, 245, 249, 0.82);
  border-top: 2px solid var(--border-main);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 0 12px;
  z-index: 9000;
  backdrop-filter: blur(18px) saturate(1.2);
  -webkit-backdrop-filter: blur(18px) saturate(1.2);
  box-shadow: 0 -4px 18px rgba(185, 82, 126, 0.1);
}

/* Start Button */
.start-container {
  position: relative;
}

.start-button {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: linear-gradient(180deg, #ff7ba0 0%, #ff5284 100%);
  color: #ffffff;
  border: 2px solid var(--border-main);
  border-radius: 6px;
  padding: 6px 14px;
  font: 11px var(--font-pixel);
  box-shadow: inset 1px 1px #ffc1d3, 2px 2px 0 rgba(217, 127, 161, 0.28);
  cursor: pointer;
  transition: transform 0.2s var(--ease-dream), box-shadow 0.2s ease;
}

.start-button:hover {
  transform: translateY(-2px);
  box-shadow: inset 1px 1px #ffc1d3, 3px 4px 0 rgba(217, 127, 161, 0.35);
}

.start-button:active, .start-button.active {
  transform: translateY(1px);
  box-shadow: inset 1px 1px #ff2a6a, 1px 1px 0 rgba(217, 127, 161, 0.25);
}

.start-heart {
  font-size: 13px;
}

/* Retro Start Menu Popup (Frosted Glass) */
.start-menu {
  position: absolute;
  bottom: calc(var(--taskbar-height) + 8px);
  left: 0;
  width: 250px;
  background: rgba(255, 247, 250, 0.88);
  backdrop-filter: blur(20px) saturate(1.25);
  -webkit-backdrop-filter: blur(20px) saturate(1.25);
  border: 2px solid var(--border-main);
  border-radius: 10px;
  box-shadow: 5px 6px 0 rgba(217, 127, 161, 0.32), 0 20px 44px rgba(185, 82, 126, 0.2);
  overflow: hidden;
  z-index: 9999;
  animation: window-appear 0.32s var(--ease-dream);
}

.start-header {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  background: var(--titlebar-active-bg);
  color: #ffffff;
  border-bottom: 2px solid var(--border-main);
}

.start-header-logo {
  font-size: 24px;
}

.start-header-titles {
  display: flex;
  flex-direction: column;
}

.start-os-name {
  font: 11px var(--font-pixel);
  font-weight: 700;
}

.start-user-name {
  font-size: 10px;
  opacity: 0.9;
}

.start-items {
  padding: 8px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.start-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 10px;
  border-radius: 6px;
  border: 1px solid transparent;
  background: transparent;
  font: 11px var(--font-pixel);
  color: var(--ink);
  cursor: pointer;
  text-align: left;
  transition: all 0.2s var(--ease-dream);
}

.start-item:hover {
  background: rgba(255, 255, 255, 0.9);
  border-color: var(--border-soft);
  box-shadow: 2px 2px 0 rgba(217, 127, 161, 0.22);
  color: var(--accent-pink);
  transform: translateX(2px);
}

.start-item-icon {
  font-size: 14px;
  width: 20px;
  text-align: center;
}

.start-divider {
  height: 1px;
  background: var(--border-soft);
  margin: 4px 6px;
}

/* Taskbar Running Window Tabs */
.taskbar-tabs {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: 1;
  overflow-x: auto;
  padding: 2px 0;
}

.taskbar-tab {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: var(--ink);
  border: 1px solid var(--border-main);
  border-radius: 5px;
  font: 10px var(--font-pixel);
  box-shadow: 1px 2px 0 rgba(217, 127, 161, 0.18);
  white-space: nowrap;
  cursor: pointer;
  transition: all 0.25s var(--ease-dream);
  max-width: 170px;
  overflow: hidden;
  text-overflow: ellipsis;
}

.taskbar-tab:hover {
  background: #fff0f5;
  color: var(--accent-pink);
  transform: translateY(-1px);
}

.taskbar-tab.active {
  background: linear-gradient(180deg, #ff82a5 0%, #ff5284 100%);
  color: #ffffff;
  box-shadow: inset 1px 1px #ffa9c2, 1px 1px 0 rgba(217, 127, 161, 0.28);
}

/* System Tray */
.system-tray {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.tray-pill {
  padding: 4px 10px;
  border-radius: 20px;
  border: 1px solid var(--border-main);
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  font: 10px var(--font-pixel);
  color: var(--ink);
  box-shadow: 1px 2px 0 rgba(217, 127, 161, 0.12);
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.sfx-pill {
  cursor: pointer;
  transition: transform 0.25s var(--ease-dream), background 0.25s ease;
}

.sfx-pill:hover {
  background: #ffe8f2;
  transform: translateY(-2px);
}

.status-pill {
  color: #1e824c;
}

.pulse-dot {
  animation: pulse-dot 2.2s ease-in-out infinite;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.35; transform: scale(0.8); }
}

.tray-clock {
  font: 10px var(--font-pixel);
  font-weight: 700;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  padding: 4px 8px;
  border-radius: 4px;
  border: 1px solid var(--border-main);
}

/* ==========================================================
   Modals & Dialogs (links.exe, photo-viewer.exe)
   ========================================================== */
.modal {
  padding: 0;
  width: min(500px, calc(100% - 32px));
  max-height: 85dvh;
  color: var(--ink);
  overflow-y: auto;
  border: 2px solid var(--border-main);
  border-radius: 14px;
  background: rgba(255, 252, 254, 0.85);
  backdrop-filter: blur(24px) saturate(1.25);
  -webkit-backdrop-filter: blur(24px) saturate(1.25);
  box-shadow: 6px 8px 0 rgba(217, 127, 161, 0.3), 0 24px 55px rgba(185, 82, 126, 0.24);
}

.modal::backdrop {
  background: rgba(90, 32, 57, 0.35);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.modal[open] {
  animation: window-appear 0.4s var(--ease-dream);
}

.modal.closing {
  animation: window-disappear 0.3s var(--ease-dream) forwards;
}

@keyframes window-appear {
  0% {
    opacity: 0;
    transform: scale(0.93) translateY(20px);
    filter: blur(8px);
  }
  100% {
    opacity: 1;
    transform: scale(1) translateY(0);
    filter: blur(0);
  }
}

@keyframes window-disappear {
  0% {
    opacity: 1;
    transform: scale(1) translateY(0);
    filter: blur(0);
  }
  100% {
    opacity: 0;
    transform: scale(0.95) translateY(14px);
    filter: blur(8px);
  }
}

.close {
  width: 24px;
  height: 24px;
  display: grid;
  place-items: center;
  padding: 0;
  border: 1px solid var(--border-main);
  border-radius: 4px;
  background: rgba(255, 240, 246, 0.85);
  color: var(--ink);
  font: 14px var(--font-pixel);
  box-shadow: inset 1px 1px #fff, 1px 2px 0 rgba(217, 127, 161, 0.22);
  transition: all 0.2s var(--ease-dream);
  cursor: pointer;
}

.close:hover {
  background: var(--accent-pink);
  color: #ffffff;
  transform: translateY(-1px);
}

.modal-content {
  padding: 22px;
}

/* Photo Viewer Lightbox */
.lightbox {
  width: min(700px, calc(100% - 32px));
  border-radius: 14px;
}

.lightbox-photo {
  margin: 16px;
  height: min(65dvh, 580px);
  overflow: hidden;
  border-radius: 8px;
  border: 2px solid var(--border-main);
  background: rgba(255, 244, 248, 0.7);
}

.lightbox-photo img {
  object-fit: contain;
  width: 100%;
  height: 100%;
  transition: opacity 0.32s var(--ease-dream), transform 0.32s var(--ease-dream), filter 0.32s ease;
}

.lightbox-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 4px 18px 18px;
  font: 11px var(--font-pixel);
}

/* Tactile Pink Buttons */
.pink-button, .small-button {
  display: inline-flex;
  justify-content: center;
  gap: 10px;
  align-items: center;
  border: 2px solid var(--border-main);
  background: linear-gradient(180deg, #ff7ea5 0%, #ff5284 100%);
  color: #ffffff;
  border-radius: 6px;
  padding: 13px 26px;
  font: 11px var(--font-pixel);
  box-shadow: inset 1px 1px #ffc1d3, 3px 3px 0 rgba(217, 127, 161, 0.3);
  transition: transform 0.25s var(--ease-dream), box-shadow 0.25s ease, background 0.25s ease;
  cursor: pointer;
}

.pink-button:hover, .small-button:hover {
  transform: translateY(-2px);
  background: linear-gradient(180deg, #ff8cb0 0%, #ff6291 100%);
  box-shadow: inset 1px 1px #ffc1d3, 4px 6px 0 rgba(217, 127, 161, 0.35), 0 6px 14px rgba(255, 107, 153, 0.25);
}

.pink-button:active, .small-button:active {
  transform: translateY(2px);
  box-shadow: inset 1px 1px #ff2a6a, 1px 1px 0 rgba(217, 127, 161, 0.22);
}

.small-button {
  font-size: 10px;
  padding: 8px 14px;
  box-shadow: inset 1px 1px #ffc1d3, 2px 2px 0 rgba(217, 127, 161, 0.25);
}

/* Heart Particle FX (Dreamy Floating Easing) */
.heart-particle {
  position: fixed;
  pointer-events: none;
  z-index: 99999;
  color: var(--accent-pink);
  text-shadow: 0 1px 4px rgba(255, 255, 255, 0.95);
  animation: heart-float 1.1s var(--ease-dream) forwards;
  will-change: transform, opacity;
  user-select: none;
}

@keyframes heart-float {
  from {
    opacity: 1;
    transform: translate(-50%, -50%) scale(0.6);
  }
  to {
    opacity: 0;
    transform: translate(calc(-50% + var(--dx)), calc(-50% + var(--dy))) rotate(var(--rot)) scale(1.4);
  }
}

/* ==========================================================
   Responsive Adaptations & Mobile Stacking
   ========================================================== */
@media (max-width: 900px) {
  .desktop-workspace {
    grid-template-columns: 1fr;
    padding: 14px 14px calc(var(--taskbar-height) + 24px);
    gap: 16px;
  }

  .desktop-icons {
    flex-direction: row;
    overflow-x: auto;
    padding-bottom: 6px;
    gap: 10px;
  }

  .desktop-icon {
    flex-shrink: 0;
  }

  .icon-graphic {
    width: 44px;
    height: 44px;
    font-size: 22px;
  }

  .profile-hero {
    grid-template-columns: 1fr;
    gap: 20px;
    text-align: center;
  }

  .profile-logo-img {
    margin: 0 auto;
  }

  .portrait-area {
    max-width: 180px;
  }

  .folder-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }

  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
    padding: 12px;
  }

  .taskbar-tabs {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  *, *:before, *:after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
  .heart-particle {
    display: none;
  }
}

[hidden] {
  display: none !important;
}
