/* ╔══════════════════════════════════════════════════╗
   ║  КотоСофт — Windows 95 Style                    ║
   ║  "Designed in Catertino, built for the web"      ║
   ╚══════════════════════════════════════════════════╝ */

* {
  box-sizing: border-box;
}

/* ===== WIN95 CLASSIC SCROLLBARS ===== */
::-webkit-scrollbar {
  width: 16px;
  height: 16px;
  background: #dfdfdf;
}

::-webkit-scrollbar-track {
  background: #dfdfdf;
  background-image: repeating-linear-gradient(45deg, #dfdfdf, #dfdfdf 2px, #fff 2px, #fff 4px);
}

::-webkit-scrollbar-thumb {
  background: #c0c0c0;
  border: 2px outset #ffffff;
  box-shadow: 1px 1px 0 #000;
}

::-webkit-scrollbar-thumb:active {
  background: #b0b0b0;
  border: 2px inset #ffffff;
}

body {
  margin: 0;
  padding: 0;
  background: #008080;
  font-family: "MS Sans Serif", "Microsoft Sans Serif", Arial, sans-serif;
  font-size: 12px;
  color: #000;
  height: 100vh;
  display: flex;
  flex-direction: column;
  padding-bottom: 36px;
}

/* ===== BLINK ANIMATIONS ===== */
@keyframes blink {
  0%, 49% { opacity: 1; }
  50%, 100% { opacity: 0; }
}

@keyframes pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.05); }
}

@keyframes spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

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

@keyframes rainbow {
  0% { color: #ff0000; }
  16% { color: #ff8800; }
  33% { color: #ffff00; }
  50% { color: #00cc00; }
  66% { color: #0088ff; }
  83% { color: #8800ff; }
  100% { color: #ff0000; }
}

@keyframes construction {
  0%, 49% { background-position: 0 0; }
  50%, 100% { background-position: 14px 0; }
}

/* ===== MINIMIZE / RESTORE ANIMATIONS ===== */
/* Win95 Genie-style minimize: window collapses downward smoothly */
@keyframes winMinimize {
  0% {
    opacity: 1;
    transform: perspective(900px) rotateX(0deg) scaleY(1) scaleX(1) translateY(0);
    filter: brightness(1);
  }
  10% {
    opacity: 1;
    transform: perspective(900px) rotateX(-1deg) scaleY(0.97) scaleX(1.01) translateY(1%);
    filter: brightness(1.03);
  }
  25% {
    opacity: 0.95;
    transform: perspective(900px) rotateX(-3deg) scaleY(0.82) scaleX(0.92) translateY(10%);
    filter: brightness(1.06);
  }
  40% {
    opacity: 0.85;
    transform: perspective(900px) rotateX(-6deg) scaleY(0.6) scaleX(0.75) translateY(25%);
    filter: brightness(1.08);
  }
  55% {
    opacity: 0.65;
    transform: perspective(900px) rotateX(-10deg) scaleY(0.4) scaleX(0.55) translateY(45%);
    filter: brightness(1.12) saturate(0.8);
  }
  70% {
    opacity: 0.4;
    transform: perspective(900px) rotateX(-14deg) scaleY(0.2) scaleX(0.35) translateY(65%);
    filter: brightness(1.18) saturate(0.55);
  }
  85% {
    opacity: 0.15;
    transform: perspective(900px) rotateX(-18deg) scaleY(0.06) scaleX(0.15) translateY(85%);
    filter: brightness(1.25) saturate(0.3);
  }
  100% {
    opacity: 0;
    transform: perspective(900px) rotateX(-22deg) scaleY(0) scaleX(0.03) translateY(100vh);
    filter: brightness(1.5) saturate(0);
  }
}

/* Win95 Genie-style restore: window expands upward smoothly */
@keyframes winRestore {
  0% {
    opacity: 0;
    transform: perspective(900px) rotateX(-22deg) scaleY(0) scaleX(0.03) translateY(100vh);
    filter: brightness(1.5) saturate(0);
  }
  15% {
    opacity: 0.15;
    transform: perspective(900px) rotateX(-18deg) scaleY(0.06) scaleX(0.15) translateY(85%);
    filter: brightness(1.25) saturate(0.3);
  }
  30% {
    opacity: 0.4;
    transform: perspective(900px) rotateX(-14deg) scaleY(0.2) scaleX(0.35) translateY(65%);
    filter: brightness(1.18) saturate(0.55);
  }
  45% {
    opacity: 0.65;
    transform: perspective(900px) rotateX(-10deg) scaleY(0.4) scaleX(0.55) translateY(45%);
    filter: brightness(1.12) saturate(0.8);
  }
  60% {
    opacity: 0.85;
    transform: perspective(900px) rotateX(-6deg) scaleY(0.6) scaleX(0.75) translateY(25%);
    filter: brightness(1.08);
  }
  75% {
    opacity: 0.95;
    transform: perspective(900px) rotateX(-3deg) scaleY(0.82) scaleX(0.92) translateY(10%);
    filter: brightness(1.06);
  }
  88% {
    opacity: 1;
    transform: perspective(900px) rotateX(-1deg) scaleY(0.97) scaleX(1.01) translateY(1%);
    filter: brightness(1.03);
  }
  95% {
    opacity: 1;
    transform: perspective(900px) rotateX(0.5deg) scaleY(1.01) scaleX(1) translateY(-0.3%);
    filter: brightness(1);
  }
  100% {
    opacity: 1;
    transform: perspective(900px) rotateX(0deg) scaleY(1) scaleX(1) translateY(0);
    filter: brightness(1);
  }
}

/* Glow pulse on taskbar button during animation — softer */
@keyframes taskbarPulse {
  0% { box-shadow: 0 0 0 rgba(0,0,128,0); background: #c0c0c0; }
  50% { box-shadow: 0 0 16px rgba(0,0,128,0.5), inset 0 0 6px rgba(255,255,255,0.25); background: #d0d0d0; }
  100% { box-shadow: 0 0 0 rgba(0,0,128,0); background: #c0c0c0; }
}

/* Desktop background with subtle Win95 teal */
body {
  background: #008080;
  background-image:
    radial-gradient(circle at 20% 30%, rgba(0,128,128,0.3) 0%, transparent 50%),
    radial-gradient(circle at 80% 70%, rgba(0,100,100,0.2) 0%, transparent 50%);
}

/* Win95 desktop icons area (always visible, behind the window) */
.desktop-area {
  display: block;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 36px;
  padding: 16px;
  z-index: 1;
  opacity: 1;
}

.desktop-icon {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  width: 86px;
  padding: 6px 4px;
  margin: 0 6px 12px 0;
  cursor: pointer;
  text-align: center;
  vertical-align: top;
  user-select: none;
  -webkit-user-select: none;
  touch-action: manipulation;
}

.desktop-icon:hover {
  background: rgba(0,0,128,0.3);
  outline: 1px dotted #fff;
}

.desktop-icon-img {
  font-size: 32px;
  line-height: 1;
  margin-bottom: 4px;
}

.desktop-icon-label {
  color: #fff;
  font-size: 11px;
  text-shadow: 1px 1px 2px #000, 0 0 4px #000;
  word-break: normal;
  overflow-wrap: normal;
  white-space: normal;
  hyphens: none;
  line-height: 1.25;
}

/* Window minimize states */
.win95-window.minimizing {
  animation: winMinimize 0.85s cubic-bezier(0.45, 0, 0.7, 0.15) forwards;
  pointer-events: none;
  transform-origin: bottom center;
}

.win95-window.restoring {
  animation: winRestore 0.75s cubic-bezier(0.15, 0, 0.35, 1) forwards;
  transform-origin: bottom center;
}

.win95-window.minimized {
  display: none;
}

/* Taskbar glow during animation */
.taskbar-task.animating {
  animation: taskbarPulse 0.6s ease-in-out;
}

/* Taskbar button states */
.taskbar-task.active {
  border: 2px inset #808080;
  background: #b8b4ac;
  font-weight: bold;
}

.taskbar-task.minimized-state {
  border: 2px outset #fff;
  background: #c0c0c0;
  font-weight: normal;
}

/* ===== WIN95 DESKTOP WINDOW WRAPPER ===== */
.win95-window {
  margin: 16px;
  border: 2px solid;
  border-color: #dfdfdf #404040 #404040 #dfdfdf;
  box-shadow: 2px 2px 0 #000, inset 1px 1px 0 #fff;
  display: flex;
  flex-direction: column;
  background: #c0c0c0;
  position: relative;
  z-index: 10;
  max-height: calc(100vh - 70px);
  overflow-y: auto;
}

/* ===== TITLE BAR ===== */
.title-bar {
  background: linear-gradient(90deg, #000080, #1084d0);
  color: #fff;
  font-weight: bold;
  font-size: 12px;
  padding: 3px 4px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.title-bar-text {
  font-size: 12px;
  text-shadow: 1px 1px 0 rgba(0,0,0,0.3);
}

.title-bar-controls {
  display: flex;
  gap: 2px;
}

.tb-btn {
  width: 16px;
  height: 14px;
  background: #c0c0c0;
  border: 2px outset #fff;
  font-size: 9px;
  line-height: 10px;
  text-align: center;
  cursor: pointer;
  padding: 0;
  font-family: "Marlett", Arial, sans-serif;
}

.tb-btn:hover {
  background: #d4d0c8;
}

.tb-btn:active {
  border-style: inset;
}

.tb-close {
  font-weight: bold;
}

/* ===== MENU BAR ===== */
.menu-bar {
  background: #c0c0c0;
  border-bottom: 1px solid #808080;
  padding: 2px 4px;
}

.menu-item {
  display: inline-block;
  padding: 2px 8px;
  font-size: 12px;
  cursor: pointer;
}

.menu-item:hover {
  background: #000080;
  color: #fff;
}

/* ===== ADDRESS BAR WITH BLINKING CURSOR ===== */
.address-bar {
  background: #c0c0c0;
  border-bottom: 2px solid #808080;
  padding: 3px 4px;
  display: flex;
  align-items: center;
  gap: 4px;
}

.address-label {
  font-weight: bold;
  font-size: 12px;
}

.address-input-wrap {
  flex: 1;
  position: relative;
  display: flex;
  align-items: center;
}

.address-input {
  width: 100%;
  height: 20px;
  border: 2px inset #808080;
  background: #fff;
  font-size: 12px;
  padding: 0 4px;
  outline: none;
  color: #000;
  font-family: "MS Sans Serif", "Microsoft Sans Serif", Arial, sans-serif;
}

.address-cursor {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 2px;
  height: 14px;
  background: #000;
  animation: blink 1s step-end infinite;
  pointer-events: none;
  transition: left 0.1s;
}

.go-btn {
  background: #c0c0c0;
  border: 2px outset #fff;
  padding: 2px 10px;
  font-size: 12px;
  cursor: pointer;
  font-family: "MS Sans Serif", Arial, sans-serif;
}

.go-btn:hover {
  background: #d4d0c8;
}

.go-btn:active {
  border-style: inset;
}

/* ===== TOOLBAR ===== */
.toolbar {
  background: #c0c0c0;
  border-bottom: 2px solid #808080;
  padding: 2px 4px;
  display: flex;
  gap: 2px;
  flex-wrap: wrap;
}

.toolbar-btn {
  background: #c0c0c0;
  border: 2px outset #fff;
  padding: 2px 8px;
  font-size: 11px;
  cursor: pointer;
  font-family: "MS Sans Serif", Arial, sans-serif;
  text-decoration: none;
  color: #000;
  display: inline-flex;
  align-items: center;
  gap: 2px;
}

.toolbar-btn:hover {
  background: #d4d0c8;
}

.toolbar-btn:active {
  border-style: inset;
}

.toolbar-btn.active {
  border-style: inset;
  background: #b8b4ac;
  font-weight: bold;
}

.toolbar-sep {
  width: 2px;
  height: 22px;
  border-left: 1px solid #808080;
  border-right: 1px solid #fff;
  margin: 0 3px;
}

/* ===== PAGE ===== */
.page {
  background: #c0c0c0;
  padding: 8px;
}

/* ===== CONTENT AREA (white box inside page - Compact) ===== */
.content-area {
  background: #fff;
  border: 2px inset #808080;
  padding: 8px 10px;
  margin-top: 4px;
}

/* ===== HEADER BANNER (div-based) ===== */
.header-banner {
  width: 100%;
  background: #2b1b4f;
  border: 2px outset #7a4a8c;
  box-shadow: 1px 1px 2px rgba(0, 0, 0, 0.2);
  display: flex;
  min-height: 75px;
  position: relative;
  overflow: hidden;
}

/* ===== ELEGANT HEADER VARIANT (Compact -25%) ===== */
.header-banner--elegant {
  min-height: auto;
  background:
    linear-gradient(rgba(0, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(135deg, #1b0f33 0%, #2b1b4f 25%, #4a2d7a 50%, #7a4a8c 75%, #be799e 100%);
  background-size: 8px 8px, 8px 8px, 100% 100%;
  border: 2px outset #9a6aac;
  box-shadow:
    1px 1px 0px #000,
    inset 0 1px 0 rgba(255, 255, 255, 0.1),
    inset 0 -1px 0 rgba(0, 0, 0, 0.3);
  padding: 0;
  justify-content: center;
  align-items: center;
}

.banner-elegant-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 8px 16px;
  width: 100%;
}

.header-banner--elegant .logo-icon {
  font-size: 32px;
  filter: drop-shadow(0 0 6px rgba(255, 100, 200, 0.4));
  animation: pulse 2.5s ease-in-out infinite;
  flex-shrink: 0;
}

.banner-elegant-text {
  display: flex;
  flex-direction: column;
  gap: 1px;
}

.header-banner--elegant .logo-company {
  font-family: "Impact", "Arial Black", sans-serif;
  font-size: 21px;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 2px;
  text-shadow:
    2px 2px 0px #1b0f33,
    0 0 8px rgba(128, 255, 255, 0.2);
  line-height: 1.1;
}

.logo-tagline {
  font-family: "MS Sans Serif", Arial, sans-serif;
  font-size: 10px;
  color: #ffea88;
  text-shadow: 1px 1px 0px #000;
  letter-spacing: 0.6px;
  font-style: italic;
}

.header-banner--elegant .banner-win95 {
  margin-left: auto;
  flex-shrink: 0;
  white-space: nowrap;
  background: rgba(0, 0, 0, 0.4);
  border: 2px outset #543c7a;
  padding: 2px 8px;
  font-size: 10px;
  border-radius: 0;
}

.banner-left {
  background: linear-gradient(180deg, #6e4e9e, #3d2766); /* Lighter soft purple gradient */
  width: 110px;
  flex-shrink: 0;
  padding: 8px;
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
  border-right: 2px outset #7a4a8c;
}

.banner-logo-area {
  color: #fff;
}

.logo-icon {
  font-size: 38px;
  filter: drop-shadow(0 0 4px rgba(255, 0, 127, 0.3));
  animation: pulse 2.5s ease-in-out infinite;
}

.logo-company {
  font-family: "Impact", "Arial Black", sans-serif;
  font-size: 16px;
  color: #ffffff; /* Crisp white text, no blur */
  text-transform: uppercase;
  letter-spacing: 1px;
  text-shadow: 2px 2px 0px #3d2766;
}

.logo-sub {
  font-size: 8px;
  font-family: "Arial", sans-serif;
  font-weight: bold;
  color: #ffea88; /* Soft pastel yellow */
  text-shadow: 1px 1px 0px #000;
  letter-spacing: 0.5px;
}

.banner-center {
  flex: 1;
  padding: 8px;
  /* Lighter soft pastel sunset gradient with a very subtle grid */
  background: linear-gradient(to bottom, #3d2766, #7a4a8c 50%, #be799e 90%);
  background-image: 
    linear-gradient(rgba(0, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(to bottom, #3d2766, #7a4a8c 50%, #be799e 90%);
  background-size: 12px 12px, 12px 12px, 100% 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 6px;
  border-left: 1px solid rgba(255, 255, 255, 0.08);
}

.banner-nav {
  text-align: center;
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-pill {
  display: inline-block;
  padding: 5px 16px;
  font-family: "MS Sans Serif", Arial, sans-serif;
  font-size: 13px;
  font-weight: bold;
  text-decoration: none;
  border: 2px outset #fff;
  letter-spacing: 0.5px;
  transition: all 0.1s;
  box-shadow: 2px 2px 0px #000;
  text-transform: uppercase;
}

.nav-pill:hover {
  transform: translateY(-1px);
  box-shadow: 3px 3px 0px #000;
}

.nav-pill:active {
  border-style: inset;
  transform: translateY(1px);
  box-shadow: 1px 1px 0px #000;
}

.red {
  background: linear-gradient(180deg, #c74d82, #942b58); /* Soft muted pastel red-pink */
  color: #fff;
  border-color: #d985ab #6b143c #6b143c #d985ab;
  text-shadow: 1px 1px 0px #000;
}

.red:hover {
  background: linear-gradient(180deg, #d66294, #a83667);
  box-shadow: 3px 3px 0px #000;
}

.purple {
  background: linear-gradient(180deg, #4da3a3, #227070); /* Soft muted pastel cyan-blue */
  color: #fff;
  border-color: #85d1d1 #124d4d #124d4d #85d1d1;
  text-shadow: 1px 1px 0px #000;
}

.purple:hover {
  background: linear-gradient(180deg, #5eb5b5, #2c8585);
  box-shadow: 3px 3px 0px #000;
}

.blue {
  background: linear-gradient(180deg, #4da3a3, #227070); /* Fallback to same, or we can make it blue: */
  background: linear-gradient(180deg, #5a7ec7, #2d458c); /* Muted blue */
  color: #fff;
  border-color: #8aabf2 #142358 #142358 #8aabf2;
  text-shadow: 1px 1px 0px #000;
}

.blue:hover {
  background: linear-gradient(180deg, #6c8fd9, #3853a1);
  box-shadow: 3px 3px 0px #000;
}

.nav-amp {
  font-size: 18px;
  font-weight: bold;
  color: #ffea88; /* Soft pastel yellow */
  vertical-align: middle;
  padding: 0 6px;
  text-shadow: 1px 1px 0px #000;
}

.banner-win95 {
  text-align: center;
  font-size: 12px;
  color: #ffffff;
  padding: 3px 10px;
  background: #1b122e;
  border: 2px outset #543c7a;
  box-shadow: inset 1px 1px 0px rgba(255,255,255,0.05);
  font-family: "MS Sans Serif", Arial, sans-serif;
  text-shadow: 1px 1px 0px #000;
}

.banner-win95 b {
  font-size: 13px;
  font-family: "MS Sans Serif", Arial, sans-serif;
  font-weight: bold;
  color: #80ffff;
  text-shadow: 1px 1px 0px #000;
}

.cool-link-box {
  background: linear-gradient(180deg, #ffea00, #ffaa00); /* Neon gold */
  color: #000;
  font-family: "Impact", "Arial Black", sans-serif;
  font-size: 11px;
  padding: 3px 8px;
  text-align: center;
  border: 2px outset #fff;
  border-color: #ffff99 #996600 #996600 #ffff99;
  cursor: pointer;
  box-shadow: 2px 2px 0px #000;
  text-transform: uppercase;
}

.cool-link-box:hover {
  background: linear-gradient(180deg, #ffff33, #ffcc00);
  box-shadow: 0 0 8px #ffea00, 3px 3px 0px #000;
}

.banner-right {
  width: 110px;
  text-align: center;
  vertical-align: middle;
  padding: 8px;
  background: linear-gradient(180deg, #ff007f, #790cbe);
  border-left: 2px outset #ff007f;
}

.globe-icon {
  font-size: 36px;
  display: inline-block;
  animation: spin 12s linear infinite;
}

.visit-btn {
  display: block;
  background: linear-gradient(180deg, #004488, #003366);
  color: #fff;
  text-decoration: none;
  font-size: 10px;
  padding: 3px 6px;
  margin: 4px 0;
  border: 2px outset #fff;
  text-align: center;
}

.visit-btn:hover {
  background: linear-gradient(180deg, #005599, #004477);
}

.visit-btn:active {
  border-style: inset;
}

.banner-tagline {
  font-size: 9px;
  color: #003366;
  font-style: italic;
}

/* ===== MARQUEE BANNER ===== */
.marquee-bar {
  background: linear-gradient(90deg, #ffff00, #ffdd00, #ffff00);
  border-top: 2px solid #cccc00;
  border-bottom: 2px solid #888800;
  padding: 3px 0;
  overflow: hidden;
  white-space: nowrap;
  position: relative;
}

.marquee-text {
  display: inline-block;
  animation: marquee 15s linear infinite;
  font-weight: bold;
  font-size: 12px;
  color: #cc0000;
}

/* ===== UNDER CONSTRUCTION ===== */
.construction-bar {
  background: repeating-linear-gradient(
    45deg,
    #ffcc00,
    #ffcc00 8px,
    #000 8px,
    #000 16px
  );
  height: 4px;
  margin: 4px 0;
  border: 1px inset #808080;
}

/* ===== HR (Clean classic Win95 1px 3D line) ===== */
.page-hr,
.win95-hr {
  border: none;
  border-top: 1px solid #808080;
  border-bottom: 1px solid #ffffff;
  margin: 8px 0;
  clear: both;
}

.page-hr.fancy {
  border: none;
  border-top: 1px solid #808080;
  border-bottom: 1px solid #ffffff;
  margin: 6px 12px;
}

/* ===== SECTIONS PANEL (Win95 Explorer style) ===== */
.sections-panel {
  padding: 6px 12px;
  display: flex !important;
  flex-direction: column !important;
}

.section-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 6px 8px;
  margin: 2px 0;
  text-decoration: none;
  color: #000;
  border: 1px solid transparent;
  cursor: pointer;
  transition: all 0.1s;
}

.section-item:hover {
  background: #000080;
  color: #fff;
  border-color: #000080;
}

.section-item:hover .section-title,
.section-item:hover .section-desc {
  color: #fff;
}

.section-icon {
  font-size: 24px;
  width: 32px;
  text-align: center;
  flex-shrink: 0;
}

.section-info {
  display: flex;
  flex-direction: column;
}

.section-title {
  font-size: 13px;
  font-weight: bold;
  color: #000080;
}

.section-desc {
  font-size: 11px;
  color: #666;
}

/* ===== LINKS LIST (legacy, kept for other pages) ===== */
.links-list {
  padding: 8px 20px;
}

.links-list ul {
  margin: 0;
  padding: 0 0 0 20px;
}

.links-list li {
  margin: 6px 0;
  font-size: 13px;
}

.links-list a {
  color: #0000cc;
  text-decoration: underline;
  transition: color 0.15s;
}

.links-list a:hover {
  color: #cc0000;
}

.links-list a:visited {
  color: #551a8b;
}

/* ===== VISITOR COUNTER ===== */
.visitor-counter {
  text-align: center;
  margin: 10px 0;
  padding: 6px;
}

.counter-box {
  display: inline-flex;
  background: #111;
  border: 2px inset #808080;
  padding: 2px;
  gap: 1px;
}

.counter-box .digit {
  display: inline-block;
  width: 14px;
  height: 22px;
  line-height: 22px;
  text-align: center;
  background: #000;
  color: #ff007f; /* Neon pink matching our Miami style */
  font-family: "Courier New", monospace;
  font-size: 14px;
  font-weight: bold;
  border-right: 1px solid #222;
  box-shadow: inset 1px 1px 1px rgba(0, 0, 0, 0.8);
  text-shadow: 0 0 4px #ff007f;
}

.counter-box .digit:last-child {
  border-right: none;
}

.counter-label {
  font-size: 10px;
  color: #666;
  margin-top: 2px;
}

/* ===== WEBMASTER BADGE ===== */
.webmaster-box {
  text-align: center;
  margin: 8px 0;
  padding: 4px;
}

.netscape-badge {
  display: inline-block;
  background: linear-gradient(180deg, #000066, #000099);
  color: #fff;
  font-size: 10px;
  padding: 3px 8px;
  border: 1px solid #4444aa;
  font-family: "Arial", sans-serif;
}

.netscape-badge b {
  color: #00ccff;
}

/* ===== BOTTOM LOGO ===== */
.bottom-logo {
  text-align: center;
  margin: 12px 0;
}

.logo-badge {
  display: inline-block;
  background: linear-gradient(180deg, #f0f0f0, #fff);
  color: #000080;
  border: 2px solid #000080;
  padding: 6px 12px;
  font-size: 12px;
  text-align: center;
  box-shadow: 2px 2px 0 rgba(0,0,0,0.15);
}

/* ===== STATUS BAR ===== */
.status-bar {
  background: #c0c0c0;
  border-top: 2px solid #808080;
  padding: 2px 6px;
  font-size: 11px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.status-bar .status-section {
  border: 1px inset #808080;
  padding: 1px 6px;
  flex: 1;
}

/* ===== TASKBAR ===== */
.taskbar {
  background: #c0c0c0;
  border-top: 2px solid #dfdfdf;
  padding: 2px 4px;
  display: flex;
  align-items: center;
  gap: 4px;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: 32px;
}

.start-btn {
  background: #c0c0c0;
  border: 2px outset #fff;
  padding: 2px 8px;
  font-size: 12px;
  font-weight: bold;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 4px;
  font-family: "MS Sans Serif", Arial, sans-serif;
}

.start-btn:hover {
  background: #d4d0c8;
}

.start-btn:active {
  border-style: inset;
}

.taskbar-divider {
  width: 2px;
  height: 22px;
  border-left: 1px solid #808080;
  border-right: 1px solid #fff;
  margin: 0 2px;
}

.taskbar-task {
  background: #c0c0c0;
  border: 2px inset #808080;
  padding: 2px 8px;
  font-size: 11px;
  cursor: pointer;
  max-width: 160px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-weight: bold;
}

.taskbar-clock {
  margin-left: auto;
  border: 1px inset #808080;
  padding: 2px 8px;
  font-size: 11px;
  min-width: 60px;
  text-align: center;
}

/* ===== BOTTOM NAV (Win95 style buttons) ===== */
.bottom-nav {
  text-align: center;
  padding: 10px 8px;
  font-size: 12px;
  display: flex;
  justify-content: center;
  gap: 4px;
  flex-wrap: wrap;
}

.bottom-nav a {
  display: inline-block;
  background: #c0c0c0;
  border: 2px outset #fff;
  color: #000;
  text-decoration: none;
  padding: 3px 10px;
  font-size: 11px;
  font-family: "MS Sans Serif", Arial, sans-serif;
  transition: all 0.1s;
}

.bottom-nav a:hover {
  background: #d4d0c8;
}

.bottom-nav a:active {
  border-style: inset;
}

.bottom-nav a.current {
  border-style: inset;
  background: #b8b4ac;
  font-weight: bold;
  color: #000080;
}

.bottom-nav .sep {
  display: none;
}

/* ===== FOOTER ===== */
.footer {
  text-align: center;
  font-size: 11px;
  color: #555;
  padding: 6px;
}

/* ===== TIP OF THE DAY (Windows 95 Help Tip) ===== */
.cat-fact {
  background: #c0c0c0;
  border: 2px solid;
  border-color: #ffffff #808080 #808080 #ffffff;
  box-shadow: 1px 1px 0 #000;
  padding: 0;
  margin: 10px 12px;
  font-size: 12px;
}

.cat-fact .tip-header {
  background: linear-gradient(90deg, #000080, #1084d0);
  color: #fff;
  padding: 2px 6px;
  font-weight: bold;
  font-size: 11px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.cat-fact .tip-sys {
  font-size: 9px;
  opacity: 0.8;
  font-family: monospace;
}

.cat-fact .tip-body {
  padding: 8px 12px;
  background: #ffffe1; /* Classic Win95 yellow notepad / tooltip color */
  border: 2px inset #808080;
  margin: 4px;
  display: flex;
  align-items: flex-start;
  gap: 8px;
}

.cat-fact .tip-icon {
  font-size: 20px;
  flex-shrink: 0;
}

.cat-fact .tip-text {
  font-size: 11px;
  line-height: 1.4;
  color: #000;
}

.cat-fact .tip-footer {
  padding: 3px 6px 4px 6px;
  text-align: right;
  background: #c0c0c0;
}

.error-404 {
  text-align: center;
  padding: 20px;
  font-size: 14px;
  color: #666;
}

.broken-img {
  display: inline-block;
  width: 32px;
  height: 32px;
  border: 1px solid #999;
  background: #c0c0c0;
  font-size: 11px;
  text-align: center;
  line-height: 32px;
  font-family: monospace;
  color: #666;
}

/* ===== SIDE NAV ===== */
.side-nav {
  background: #f0f0f0;
  border: 2px outset #fff;
  padding: 6px;
  margin: 8px 0;
}

.side-nav-title {
  font-weight: bold;
  font-size: 12px;
  color: #000080;
  background: linear-gradient(90deg, #000080, #4488cc);
  color: #fff;
  padding: 3px 8px;
  margin: -6px -6px 6px -6px;
  text-shadow: 1px 1px 0 rgba(0,0,0,0.3);
}

.side-nav a {
  display: block;
  color: #0000cc;
  text-decoration: none;
  padding: 3px 8px;
  font-size: 12px;
  border-bottom: 1px dotted #ccc;
}

.side-nav a:hover {
  background: #000080;
  color: #fff;
}

.side-nav a.current {
  background: #ddeeff;
  color: #000080;
  font-weight: bold;
  border-left: 3px solid #000080;
}

/* ===== APP PAGE ===== */
.app-content {
  background: #fff;
  border: 2px inset #808080;
  padding: 8px 10px;
  margin: 4px;
  margin-top: 4px;
}

.app-content h1 {
  font-size: 16px;
  color: #000080;
  margin: 0 0 6px 0;
  border-bottom: 2px solid #000080;
  padding-bottom: 3px;
}

.app-content h2 {
  font-size: 14px;
  color: #003366;
  margin: 12px 0 6px 0;
  background: linear-gradient(90deg, #ddeeff, #f8f8ff);
  border-left: 4px solid #000080;
  padding: 4px 8px;
}

.app-content p {
  line-height: 1.6;
  margin: 6px 0;
}

.app-meta {
  background: linear-gradient(180deg, #f8f8f8, #e8e8e8);
  border: 2px outset #fff;
  padding: 8px;
  margin: 8px 0;
  font-size: 12px;
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.app-meta span {
  display: inline-block;
}

.back-btn {
  display: inline-block;
  background: #c0c0c0;
  border: 2px outset #fff;
  padding: 4px 12px;
  font-size: 12px;
  cursor: pointer;
  text-decoration: none;
  color: #000;
  margin: 4px 0;
}

.back-btn:hover {
  background: #d4d0c8;
}

.back-btn:active {
  border-style: inset;
}

/* ===== APP CARD (Win95 Program Properties style) ===== */
.app-card {
  background: #c0c0c0;
  border: 2px solid;
  border-color: #ffffff #808080 #808080 #ffffff;
  box-shadow: 1px 1px 0 #000;
  padding: 8px 12px;
  margin: 8px 0;
  transition: all 0.15s;
}

.app-card:hover {
  background: #d4d0c8;
}

.app-card h3 {
  margin: 0 0 6px 0;
  font-size: 13px;
  color: #000080;
  display: flex;
  align-items: center;
  gap: 6px;
  border-bottom: 1px dotted #808080;
  padding-bottom: 4px;
}

.app-card h3 a {
  color: #000080;
  text-decoration: none;
}

.app-card h3 a:hover {
  text-decoration: underline;
  color: #cc0000;
}

.app-card p {
  margin: 4px 0;
  font-size: 11px;
  line-height: 1.4;
}

.download-link {
  display: inline-block;
  background: #c0c0c0;
  color: #000000;
  font-weight: bold;
  padding: 3px 14px;
  text-decoration: none;
  border: 2px outset #ffffff;
  box-shadow: 1px 1px 0 #000;
  font-size: 11px;
  margin-top: 6px;
  font-family: "MS Sans Serif", Arial, sans-serif;
  letter-spacing: 0.3px;
  transition: all 0.1s;
}

.download-link:hover {
  background: #d4d0c8;
  color: #000080;
}

.download-link:active {
  border-style: inset;
  transform: translate(1px, 1px);
  box-shadow: none;
}

/* ===== DOCS PAGE ===== */
.docs-list {
  padding: 0 20px;
}

.docs-list ul {
  margin: 0;
  padding: 0 0 0 20px;
}

.docs-list li {
  margin: 6px 0;
  font-size: 13px;
}

.docs-list a {
  color: #0000cc;
  text-decoration: underline;
}

.docs-list a:hover {
  color: #cc0000;
}

/* ===== DIALOG BOX (for alerts / about) ===== */
.win95-dialog {
  background: #c0c0c0;
  border: 2px outset #fff;
  padding: 0;
  margin: 12px 20px;
  max-width: 400px;
}

.dialog-title {
  background: linear-gradient(90deg, #000080, #1084d0);
  color: #fff;
  font-weight: bold;
  font-size: 12px;
  padding: 3px 6px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.dialog-body {
  padding: 12px;
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

.dialog-icon {
  font-size: 32px;
  flex-shrink: 0;
}

.dialog-text {
  font-size: 12px;
  line-height: 1.5;
}

.dialog-buttons {
  text-align: center;
  padding: 8px 12px;
}

.dialog-btn {
  background: #c0c0c0;
  border: 2px outset #fff;
  padding: 3px 20px;
  font-size: 12px;
  cursor: pointer;
  font-family: "MS Sans Serif", Arial, sans-serif;
  margin: 0 4px;
}

.dialog-btn:hover {
  background: #d4d0c8;
}

.dialog-btn:active {
  border-style: inset;
}

/* ===== STANDARD WIN95 BUTTON ===== */
.win95-btn {
  background: #c0c0c0;
  border: 2px outset #ffffff;
  box-shadow: 1px 1px 0 #000;
  padding: 3px 12px;
  font-size: 11px;
  font-family: "MS Sans Serif", Arial, sans-serif;
  color: #000;
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
}

.win95-btn:hover {
  background: #d4d0c8;
}

.win95-btn:active {
  border-style: inset;
  box-shadow: none;
  transform: translate(1px, 1px);
}

/* ===== FIELDSET & LEGEND (Group Box - Compact) ===== */
.win95-fieldset {
  border: 1px solid #808080;
  box-shadow: 1px 1px 0 #fff;
  padding: 8px 12px;
  margin: 10px 12px;
  background: #ffffff;
}

.win95-legend {
  font-size: 11px;
  font-weight: bold;
  padding: 0 4px;
  color: #000080;
}

.win95-fieldset-text {
  font-size: 12px;
  line-height: 1.5;
  margin: 0;
  color: #000;
}

/* ===== WIN95 SYSTEM PANELS & NEWS SECTION ===== */
.win95-panel {
  background: #c0c0c0;
  border: 2px solid;
  border-color: #ffffff #808080 #808080 #ffffff;
  box-shadow: 1px 1px 0 #000;
  margin: 10px 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  box-sizing: border-box;
}

.win95-panel-header {
  background: #000080;
  color: #ffffff;
  padding: 3px 6px;
  font-weight: bold;
  font-size: 11px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.panel-header-icon {
  font-size: 13px;
}

.panel-header-title {
  flex: 1;
}

.panel-header-badge {
  font-size: 9px;
  color: #c0c0c0;
  font-family: monospace;
  background: rgba(0,0,0,0.3);
  padding: 1px 4px;
  border: 1px inset #808080;
}

.news-panel .news-container {
  background: #ffffff;
  border: 2px inset #808080;
  margin: 4px;
  padding: 6px;
  box-sizing: border-box;
  max-height: 380px;
  overflow-y: auto;
  overflow-x: hidden;
}

.win95-news-card {
  padding: 6px 8px;
  margin-bottom: 6px;
  background: #f8f8f8;
  border-bottom: 1px dotted #a0a0a0;
  transition: background 0.1s;
}

.win95-news-card:hover {
  background: #eef4ff;
}

.win95-news-card:last-child {
  margin-bottom: 0;
  border-bottom: none;
}

.news-card-header {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 2px;
}

.news-doc-icon {
  font-size: 12px;
}

.news-date-tag {
  font-family: "Courier New", Courier, monospace;
  font-size: 10px;
  font-weight: bold;
  color: #000080;
  background: #e0e8f8;
  padding: 1px 4px;
  border: 1px solid #b0c0e0;
}

.win95-news-card .news-text {
  font-size: 11px;
  line-height: 1.4;
  color: #111;
  padding-left: 18px;
}

.panel-action-bar {
  padding: 4px 6px;
  text-align: center;
  background: #c0c0c0;
}

/* ===== WIN95 STATUS BAR DETAILS ===== */
.status-bar {
  background: #c0c0c0;
  border-top: 1px solid #ffffff;
  padding: 2px 4px;
  font-size: 11px;
  display: flex;
  align-items: center;
  gap: 4px;
  height: 22px;
}

.status-bar .status-section {
  border: 1px inset #808080;
  padding: 1px 6px;
  height: 18px;
  display: flex;
  align-items: center;
  font-size: 10px;
  background: #c0c0c0;
}

.status-bar .status-ready {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 4px;
}

.status-indicator {
  display: inline-block;
  width: 7px;
  height: 7px;
  background: #00aa00;
  border: 1px solid #005500;
  border-radius: 50%;
  box-shadow: 0 0 4px #00ff00;
}

.status-bar .status-progress {
  width: 110px;
  flex: 0 0 110px;
  padding: 1px 2px;
  display: flex;
  align-items: center;
}

.win95-progress-track {
  display: flex;
  width: 100%;
  height: 12px;
  background: #ffffff;
  border: 1px inset #808080;
  padding: 1px;
  gap: 1px;
}

.win95-progress-block {
  flex: 1;
  background: #000080;
  height: 100%;
}

.status-bar .status-zone {
  flex: 0 0 130px;
  justify-content: center;
}

/* ===== WELCOME MESSAGE BOX ===== */
.welcome-box {
  background: #ffffee;
  border: 2px solid #cccc88;
  padding: 10px 14px;
  margin: 8px 0;
}

.welcome-box h2 {
  color: #000080;
  font-size: 16px;
  margin: 0 0 6px 0;
}

.welcome-box p {
  margin: 6px 0;
  line-height: 1.6;
}

/* ===== SECTION HEADER ===== */
.section-header {
  background: linear-gradient(90deg, #3d2766, #7a4a8c, #be799e);
  color: #fff;
  padding: 4px 10px;
  font-size: 13px;
  font-weight: bold;
  margin: 10px 0 6px 0;
  text-shadow: 1px 1px 0 rgba(0,0,0,0.3);
}

/* ===== MOBILE RESPONSIVE ===== */
@media (max-width: 1024px) {
  body {
    height: auto;
    min-height: 100vh;
    display: block;
    overflow: auto;
    overflow-x: hidden;
    -webkit-overflow-scrolling: touch;
  }

  .win95-window {
    margin: 0;
    border: none;
    box-shadow: none;
    max-height: none;
    overflow-y: visible;
  }

  .page {
    overflow: visible;
  }

  .toolbar {
    flex-wrap: wrap;
  }

  .toolbar-btn {
    font-size: 10px;
    padding: 2px 5px;
  }

  .menu-bar {
    overflow-x: auto;
    white-space: nowrap;
  }

  .header-banner {
    display: block !important;
  }
  .header-banner tbody,
  .header-banner tr,
  .header-banner td {
    display: block !important;
    width: 100% !important;
  }

  .banner-left,
  .banner-center,
  .banner-right {
    width: 100% !important;
    padding: 8px;
  }

  .banner-left {
    text-align: center;
    border-right: none !important;
    border-bottom: 2px outset #ff007f !important;
  }

  .nav-pill {
    font-size: 13px;
    padding: 4px 10px;
  }

  .nav-amp {
    display: none;
  }

  .banner-right {
    display: none;
  }

  /* Elegant header responsive */
  .header-banner--elegant {
    display: flex !important;
  }

  .banner-elegant-inner {
    flex-direction: column;
    gap: 8px;
    padding: 12px 16px;
    text-align: center;
  }

  .header-banner--elegant .logo-company {
    font-size: 22px;
    letter-spacing: 2px;
  }

  .header-banner--elegant .banner-win95 {
    margin-left: 0;
  }

  .app-content {
    margin: 4px;
    padding: 8px;
  }

  .links-list {
    padding: 8px 12px;
  }

  .logo-company {
    font-size: 14px;
  }

  .logo-icon {
    font-size: 28px;
  }

  .globe-icon {
    font-size: 28px;
  }

  .address-label {
    display: none;
  }

  .page {
    padding: 4px;
  }

  .cat-fact {
    margin: 8px 4px;
  }

  .marquee-text {
    font-size: 11px;
  }

  .bottom-nav {
    flex-direction: column;
    align-items: center;
  }

  .win95-dialog {
    margin: 8px;
  }

  .side-nav {
    margin: 4px;
  }
}

@media (max-width: 480px) {
  .title-bar {
    padding: 4px 6px;
  }

  .title-bar-controls {
    gap: 4px;
  }

  .tb-btn {
    width: 26px;
    height: 24px;
    font-size: 12px;
    line-height: 20px;
    font-weight: bold;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    touch-action: manipulation;
  }

  .toolbar-btn {
    font-size: 11px;
    padding: 5px 8px;
    min-height: 30px;
    touch-action: manipulation;
  }

  .menu-item {
    padding: 2px 5px;
    font-size: 11px;
  }

  .title-bar-text {
    font-size: 11px;
  }

  .nav-pill {
    display: block;
    margin: 4px 0;
    text-align: center;
  }

  .banner-win95 b {
    font-size: 15px;
  }

  .app-content h1 {
    font-size: 15px;
  }

  .app-content h2 {
    font-size: 13px;
  }

  .app-meta {
    flex-direction: column;
    gap: 4px;
  }
}

/* ===== ABOUT ME PAGE ===== */
.about-me-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  padding: 8px;
  max-width: 680px;
  margin: 0 auto;
}

.about-photo-wrapper {
  background: #000;
  border: 3px inset #808080;
  padding: 8px;
  display: inline-block;
  box-shadow: 1px 1px 0 #fff;
}

.about-photo {
  max-width: 100%;
  max-height: 320px;
  display: block;
}

.about-text-wrapper {
  font-size: 13px;
  line-height: 1.6;
  color: #000;
  text-align: center;
}

.about-contacts {
  margin-top: 16px;
  width: 100%;
  max-width: 360px;
}

.about-contacts ul {
  margin: 6px 0;
  padding: 0;
  list-style-type: none;
  text-align: center;
}

.about-contacts li {
  margin: 6px 0;
}

.about-contacts a {
  color: #0000cc;
  text-decoration: underline;
  font-weight: bold;
}

.about-contacts a:hover {
  color: #cc0000;
}

/* ===== PHOTO MODAL (LIGHTBOX) ===== */
.photo-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.75);
  z-index: 9999;
  display: flex;
  justify-content: center;
  align-items: center;
}

.photo-modal-content {
  margin: 0;
  display: flex;
  flex-direction: column;
  z-index: 10000;
  box-shadow: 0 0 20px rgba(0,0,0,0.6);
  max-width: 90%;
  max-height: 90%;
}

.photo-modal-body {
  padding: 8px;
  background: #c0c0c0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.modal-photo {
  max-width: 100%;
  max-height: calc(85vh - 60px);
  object-fit: contain;
  border: 2px inset #808080;
  background: #000;
  display: block;
}


/* ===== NEON SYNTHWAVE THEME (About page toggle) ===== */
@import url('https://fonts.googleapis.com/css2?family=Press+Start+2P&family=VT323&display=swap');

/* --- Theme toggle button --- */
.neon-toggle-wrap {
  text-align: center;
  margin-bottom: 12px;
}
.neon-toggle-btn {
  font-family: 'Press Start 2P', 'MS Sans Serif', monospace;
  font-size: 10px;
  padding: 8px 18px;
  cursor: pointer;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: all 0.3s ease;
  border: 3px outset;
  background: linear-gradient(180deg, #3d2766, #1a0a30);
  color: #00fff7;
  border-color: #7a4a8c #2b0a45 #2b0a45 #7a4a8c;
  box-shadow: 2px 2px 0 #000, 0 0 10px rgba(0, 255, 247, 0.3);
  text-shadow: 0 0 6px #00fff7;
}
.neon-toggle-btn:hover {
  box-shadow: 2px 2px 0 #000, 0 0 20px rgba(0, 255, 247, 0.6);
  text-shadow: 0 0 12px #00fff7;
}
.neon-toggle-btn:active {
  border-style: inset;
  transform: translate(1px, 1px);
}

/* --- Background layers (hidden by default, shown in neon-mode) --- */
.neon-bg-image,
.neon-scanlines,
.neon-particles,
.neon-vignette {
  display: none;
}

body.neon-mode .neon-bg-image,
body.neon-mode .neon-scanlines,
body.neon-mode .neon-particles,
body.neon-mode .neon-vignette {
  display: block;
}

body.neon-mode .neon-bg-image {
  position: fixed;
  inset: 0;
  background: url('/404-bg.png') center/cover no-repeat;
  opacity: 0.25;
  filter: blur(2px) saturate(1.4);
  z-index: 0;
  animation: neonBgDrift 20s ease-in-out infinite alternate;
}

body.neon-mode .neon-scanlines {
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    repeating-linear-gradient(
      0deg,
      transparent,
      transparent 2px,
      rgba(0, 0, 0, 0.12) 2px,
      rgba(0, 0, 0, 0.12) 4px
    );
}

body.neon-mode .neon-particles {
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  overflow: hidden;
}

body.neon-mode .neon-particle {
  position: absolute;
  width: 4px;
  height: 4px;
  background: #00fff7;
  animation: neonParticleFloat linear infinite;
  opacity: 0.6;
}

body.neon-mode .neon-vignette {
  position: fixed;
  inset: 0;
  z-index: 3;
  pointer-events: none;
  background: radial-gradient(ellipse at center, transparent 50%, rgba(0, 0, 0, 0.5) 100%);
}

@keyframes neonBgDrift {
  0%   { transform: scale(1.05) translate(0, 0); }
  50%  { transform: scale(1.1) translate(-1%, 1%); }
  100% { transform: scale(1.05) translate(1%, -1%); }
}

@keyframes neonParticleFloat {
  0%   { transform: translateY(100vh) rotate(0deg); opacity: 0; }
  10%  { opacity: 0.8; }
  90%  { opacity: 0.8; }
  100% { transform: translateY(-10vh) rotate(720deg); opacity: 0; }
}

/* --- Override body background in neon-mode --- */
body.neon-mode {
  background: #0d0221 !important;
}

/* --- Override desktop area --- */
body.neon-mode .desktop-area {
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  bottom: 36px !important;
  z-index: 1 !important;
}

body.neon-mode .desktop-icon-label {
  color: #c8b8e0;
  text-shadow: 0 0 4px rgba(180, 74, 255, 0.5);
}

/* --- Win95 window neon overhaul --- */
body.neon-mode .win95-window {
  position: relative;
  z-index: 10 !important;
  background: #1a0a30 !important;
  border-color: #9a6aac !important;
  box-shadow:
    0 0 40px rgba(255, 45, 149, 0.25),
    0 0 80px rgba(0, 255, 247, 0.1),
    inset 0 0 30px rgba(180, 74, 255, 0.08),
    4px 4px 0 #000 !important;
}

@keyframes neonWindowFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-4px); }
}

/* Title bar neon */
body.neon-mode .title-bar {
  background: linear-gradient(90deg, #2b0a45, #ff2d95, #2b0a45) !important;
  border-bottom: 2px solid #000;
}

body.neon-mode .title-bar-text {
  text-shadow: 1px 1px 0 #000, 0 0 8px #ff2d95;
}

/* Menu bar */
body.neon-mode .menu-bar {
  background: #1a0a30 !important;
  border-color: #543c7a !important;
}

body.neon-mode .menu-item {
  color: #c8b8e0 !important;
}

body.neon-mode .menu-item:hover {
  background: rgba(255, 45, 149, 0.2) !important;
  color: #ff2d95 !important;
}

/* Address bar */
body.neon-mode .address-bar {
  background: #0d0221 !important;
  border-color: #543c7a !important;
}

body.neon-mode .address-label {
  color: #ffe156 !important;
  text-shadow: 0 0 4px #ffe156;
}

body.neon-mode .address-input {
  background: #0a0118 !important;
  color: #00fff7 !important;
  border-color: #543c7a !important;
  text-shadow: 0 0 4px #00fff7;
}

body.neon-mode .go-btn {
  background: linear-gradient(180deg, #3d2766, #1a0a30) !important;
  color: #00fff7 !important;
  border-color: #7a4a8c #2b0a45 #2b0a45 #7a4a8c !important;
}

/* Toolbar */
body.neon-mode .toolbar {
  background: #1a0a30 !important;
  border-color: #543c7a !important;
}

body.neon-mode .toolbar-btn {
  background: linear-gradient(180deg, #2b1545, #1a0a30) !important;
  color: #c8b8e0 !important;
  border-color: #543c7a !important;
}

body.neon-mode .toolbar-btn:hover {
  color: #00fff7 !important;
  text-shadow: 0 0 6px #00fff7;
  box-shadow: 0 0 8px rgba(0, 255, 247, 0.3);
}

body.neon-mode .toolbar-btn.active {
  background: linear-gradient(180deg, #ff2d95, #990050) !important;
  color: #fff !important;
  text-shadow: 0 0 6px #ff2d95;
  border-color: #ff6688 #550022 #550022 #ff6688 !important;
}

/* Page content area */
body.neon-mode .page {
  background: #0d0221 !important;
  color: #e0d4f5 !important;
  border-color: #543c7a !important;
}

body.neon-mode .app-content {
  background: #120530 !important;
  border: 2px solid #9a6aac !important;
  box-shadow: 0 0 15px rgba(180, 74, 255, 0.25), inset 0 0 20px rgba(13, 2, 33, 0.5) !important;
  color: #e0d4f5 !important;
}

body.neon-mode .section-header {
  background: linear-gradient(90deg, #1a0533, #ff2d95, #b44aff, #1a0533) !important;
  color: #fff !important;
  text-shadow: 0 0 10px #ff2d95, 0 0 30px rgba(255, 45, 149, 0.5);
  font-family: 'Press Start 2P', 'MS Sans Serif', monospace;
  font-size: 13px;
  letter-spacing: 1.5px;
  padding: 6px 12px;
  border: 1px solid rgba(255, 45, 149, 0.4);
  box-shadow: 0 0 15px rgba(255, 45, 149, 0.3), inset 0 0 20px rgba(180, 74, 255, 0.1);
}

body.neon-mode .page-hr {
  border-color: #7a4a8c !important;
  box-shadow: 0 0 8px rgba(180, 74, 255, 0.5);
  border-style: solid;
  border-width: 1px 0 0 0;
}

/* About me container neon */
body.neon-mode .about-photo-wrapper {
  background: #0a0118 !important;
  border: 3px outset #9a6aac !important;
  box-shadow:
    0 0 20px rgba(255, 45, 149, 0.3),
    0 0 40px rgba(0, 255, 247, 0.1),
    inset 0 0 15px rgba(180, 74, 255, 0.15) !important;
  transition: box-shadow 0.3s ease;
}

body.neon-mode .about-photo-wrapper:hover {
  box-shadow:
    0 0 30px rgba(255, 45, 149, 0.5),
    0 0 60px rgba(0, 255, 247, 0.2),
    inset 0 0 20px rgba(180, 74, 255, 0.2) !important;
}

body.neon-mode .about-photo {
  filter: saturate(1.2) contrast(1.05);
  box-shadow: 0 0 10px rgba(0, 255, 247, 0.2);
}

body.neon-mode .about-text-wrapper {
  color: #e8dff8 !important;
  font-family: 'VT323', 'Courier New', monospace;
  font-size: 20px;
  line-height: 1.8;
}

body.neon-mode .about-text-wrapper p {
  color: #e8dff8 !important;
  text-shadow: 0 0 3px rgba(232, 223, 248, 0.2);
  margin-bottom: 16px;
}

/* Win95 fieldset neon */
body.neon-mode .win95-fieldset {
  border: 2px solid #9a6aac !important;
  background: #120530 !important;
  box-shadow: 0 0 15px rgba(180, 74, 255, 0.25), inset 0 0 20px rgba(13, 2, 33, 0.5);
}

body.neon-mode .win95-legend {
  color: #ffe156 !important;
  text-shadow: 0 0 6px #ffe156;
  font-family: 'Press Start 2P', monospace;
  font-size: 10px;
  letter-spacing: 0.5px;
}

body.neon-mode .about-contacts li {
  color: #e0d4f5;
}

body.neon-mode .about-contacts a {
  color: #00fff7 !important;
  text-shadow: 0 0 6px #00fff7;
  text-decoration: none;
  border-bottom: 1px solid rgba(0, 255, 247, 0.3);
  transition: all 0.2s ease;
}

body.neon-mode .about-contacts a:hover {
  color: #ff2d95 !important;
  text-shadow: 0 0 10px #ff2d95;
  border-bottom-color: rgba(255, 45, 149, 0.5);
}

/* Cat fact neon */
body.neon-mode .cat-fact {
  color: #b44aff !important;
  text-shadow: 0 0 4px rgba(180, 74, 255, 0.4);
  font-family: 'VT323', 'Courier New', monospace;
  font-size: 16px;
}

/* Status bar neon */
body.neon-mode .status-bar {
  background: #1a0a30 !important;
  border-color: #543c7a !important;
}

body.neon-mode .status-section {
  color: #8866aa !important;
  border-color: #543c7a !important;
}

/* Footer neon */
body.neon-mode .footer {
  color: #8866aa !important;
}

body.neon-mode .footer p {
  text-shadow: 0 0 3px rgba(136, 102, 170, 0.3);
}

/* Taskbar neon */
body.neon-mode .taskbar {
  background: linear-gradient(180deg, #2b1545, #1a0a30) !important;
  border-top: 2px outset #543c7a !important;
  z-index: 100 !important;
  position: fixed !important;
  bottom: 0 !important;
  left: 0 !important;
  right: 0 !important;
  height: 32px !important;
}

body.neon-mode .start-btn {
  background: linear-gradient(180deg, #3d2766, #1a0a30) !important;
  color: #fff !important;
  border-color: #7a4a8c #2b0a45 #2b0a45 #7a4a8c !important;
}

body.neon-mode .start-btn:hover {
  box-shadow: 0 0 10px rgba(180, 74, 255, 0.3);
}

body.neon-mode .taskbar-task {
  background: rgba(255, 45, 149, 0.15) !important;
  border-color: #543c7a !important;
  color: #ff2d95 !important;
  text-shadow: 0 0 6px #ff2d95;
}

body.neon-mode .taskbar-clock {
  color: #00fff7 !important;
  text-shadow: 0 0 6px #00fff7;
  border-color: #543c7a !important;
}

body.neon-mode .taskbar-divider {
  border-color: #1a0a30 !important;
  border-right-color: #543c7a !important;
}

/* Neon toggle button appearance when in neon-mode (shows win95 style to switch back) */
body.neon-mode .neon-toggle-btn {
  background: linear-gradient(180deg, #c0c0c0, #a0a0a0);
  color: #000;
  border-color: #dfdfdf #808080 #808080 #dfdfdf;
  box-shadow: 2px 2px 0 #000;
  text-shadow: none;
  font-family: 'MS Sans Serif', Arial, sans-serif;
}

body.neon-mode .neon-toggle-btn:hover {
  box-shadow: 2px 2px 0 #000;
  text-shadow: none;
}

/* Photo modal neon */
body.neon-mode .photo-modal {
  background: rgba(13, 2, 33, 0.85) !important;
}

body.neon-mode .photo-modal-content {
  box-shadow: 0 0 40px rgba(255, 45, 149, 0.3), 0 0 80px rgba(0, 255, 247, 0.1) !important;
}

body.neon-mode .photo-modal-body {
  background: #1a0a30 !important;
}

body.neon-mode .modal-photo {
  border-color: #9a6aac !important;
  background: #0a0118 !important;
  box-shadow: 0 0 15px rgba(0, 255, 247, 0.2);
}

body.neon-mode .dialog-btn {
  background: linear-gradient(180deg, #3d2766, #1a0a30) !important;
  color: #00fff7 !important;
  border-color: #7a4a8c #2b0a45 #2b0a45 #7a4a8c !important;
}

/* Smooth transition for theme switching */
body.neon-transition,
body.neon-transition *,
body.neon-transition *::before,
body.neon-transition *::after {
  transition: background 0.5s ease, color 0.4s ease, border-color 0.4s ease, box-shadow 0.5s ease, text-shadow 0.4s ease !important;
}

/* ===== NEWS SECTION ===== */
.news-fieldset {
  margin: 15px 20px;
}

.news-container {
  max-height: 380px;
  overflow-y: auto;
  overflow-x: hidden;
  border: 2px inset #808080;
  background: #fff;
  padding: 6px;
  box-sizing: border-box;
}

.news-item {
  border-bottom: 1px dotted #808080;
  padding: 6px 8px;
}

.news-item:last-child {
  border-bottom: none;
}

.news-date {
  font-size: 10px;
  color: #555;
  margin-bottom: 4px;
  font-weight: bold;
}

.news-text {
  font-size: 12px;
  line-height: 1.4;
  margin: 0;
  color: #000;
}

/* Neon mode overrides for news */
body.neon-mode .news-container {
  background: #0d0221 !important;
  border: 2px inset #9a6aac !important;
}

body.neon-mode .news-item {
  border-bottom-color: rgba(154, 106, 172, 0.3) !important;
}

body.neon-mode .news-date {
  color: #00fff7 !important;
  text-shadow: 0 0 4px rgba(0, 255, 247, 0.5);
}

body.neon-mode .news-text {
  color: #e8dff8 !important;
  text-shadow: 0 0 3px rgba(232, 223, 248, 0.2);
}

/* ===== NEON AUDIO PLAYER ===== */
.neon-player-wrapper {
  display: none;
  margin: 15px 0 20px 0;
  padding: 16px 20px;
  background: rgba(13, 2, 33, 0.9);
  border: 2px solid #ff007f;
  border-radius: 8px;
  box-shadow: 0 0 20px rgba(255, 0, 127, 0.4), inset 0 0 15px rgba(0, 255, 247, 0.15);
  backdrop-filter: blur(8px);
  position: relative;
  overflow: hidden;
  animation: neonPlayerGlow 4s ease-in-out infinite alternate;
}

body.neon-mode .neon-player-wrapper {
  display: block;
}

@keyframes neonPlayerGlow {
  0% {
    border-color: #ff007f;
    box-shadow: 0 0 18px rgba(255, 0, 127, 0.4), inset 0 0 12px rgba(0, 255, 247, 0.15);
  }
  50% {
    border-color: #00fff7;
    box-shadow: 0 0 25px rgba(0, 255, 247, 0.5), inset 0 0 18px rgba(255, 0, 127, 0.2);
  }
  100% {
    border-color: #b44aff;
    box-shadow: 0 0 20px rgba(180, 74, 255, 0.4), inset 0 0 15px rgba(0, 255, 247, 0.15);
  }
}

.neon-player-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}

.neon-player-title-group {
  display: flex;
  align-items: center;
  gap: 10px;
}

.neon-player-icon {
  font-size: 20px;
  animation: neonIconPulse 2s infinite alternate;
}

@keyframes neonIconPulse {
  from { transform: scale(1); filter: drop-shadow(0 0 4px #ff007f); }
  to { transform: scale(1.15); filter: drop-shadow(0 0 8px #00fff7); }
}

.neon-player-title {
  font-family: 'Courier New', monospace, sans-serif;
  font-weight: bold;
  font-size: 14px;
  color: #00fff7;
  text-shadow: 0 0 6px #00fff7, 0 0 12px rgba(0, 255, 247, 0.5);
  letter-spacing: 0.5px;
}

.neon-player-artist {
  font-size: 11px;
  color: #ff2d95;
  text-shadow: 0 0 5px #ff2d95;
  margin-top: 2px;
}

/* Equalizer animation */
.neon-eq-bars {
  display: flex;
  align-items: flex-end;
  gap: 3px;
  height: 18px;
}

.neon-eq-bar {
  width: 4px;
  background: linear-gradient(180deg, #00fff7, #ff007f);
  border-radius: 2px;
  height: 4px;
  transition: height 0.15s ease;
}

.neon-player-wrapper.playing .neon-eq-bar:nth-child(1) { animation: eqAnim 0.6s ease-in-out infinite alternate; }
.neon-player-wrapper.playing .neon-eq-bar:nth-child(2) { animation: eqAnim 0.4s ease-in-out infinite alternate 0.1s; }
.neon-player-wrapper.playing .neon-eq-bar:nth-child(3) { animation: eqAnim 0.7s ease-in-out infinite alternate 0.2s; }
.neon-player-wrapper.playing .neon-eq-bar:nth-child(4) { animation: eqAnim 0.5s ease-in-out infinite alternate 0.15s; }
.neon-player-wrapper.playing .neon-eq-bar:nth-child(5) { animation: eqAnim 0.8s ease-in-out infinite alternate 0.05s; }

@keyframes eqAnim {
  0% { height: 3px; }
  100% { height: 18px; }
}

/* Progress bar */
.neon-progress-wrap {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}

.neon-time {
  font-family: monospace;
  font-size: 11px;
  color: #ffe156;
  text-shadow: 0 0 5px #ffe156;
  min-width: 38px;
}

.neon-progress-track {
  flex: 1;
  height: 8px;
  background: rgba(26, 10, 48, 0.9);
  border: 1px solid #7a4a8c;
  border-radius: 4px;
  overflow: hidden;
  cursor: pointer;
  position: relative;
  box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.8);
}

.neon-progress-fill {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, #ff007f, #00fff7);
  box-shadow: 0 0 10px #00fff7;
  border-radius: 4px;
  transition: width 0.1s linear;
}

/* Controls */
.neon-controls-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.neon-controls-left {
  display: flex;
  align-items: center;
  gap: 10px;
}

.neon-audio-btn {
  background: linear-gradient(180deg, #3d2766, #1a0a30);
  border: 1px solid #ff007f;
  color: #fff;
  padding: 6px 14px;
  border-radius: 4px;
  cursor: pointer;
  font-size: 12px;
  font-weight: bold;
  font-family: inherit;
  display: flex;
  align-items: center;
  gap: 6px;
  box-shadow: 0 0 8px rgba(255, 0, 127, 0.3);
  transition: all 0.2s ease;
  text-shadow: 0 0 4px rgba(255, 255, 255, 0.6);
}

.neon-audio-btn:hover {
  border-color: #00fff7;
  box-shadow: 0 0 12px #00fff7;
  transform: translateY(-1px);
  color: #00fff7;
}

.neon-audio-btn:active {
  transform: translateY(1px);
}

.neon-status-badge {
  font-size: 10px;
  padding: 3px 8px;
  border-radius: 10px;
  background: rgba(0, 255, 247, 0.1);
  border: 1px solid #00fff7;
  color: #00fff7;
  text-shadow: 0 0 4px #00fff7;
}

/* Mobile Optimizations for Neon Audio Player */
@media (max-width: 600px) {
  .neon-player-wrapper {
    padding: 12px 14px;
    margin: 10px 0 15px 0;
  }
  
  .neon-player-header {
    flex-wrap: wrap;
    gap: 8px;
  }
  
  .neon-player-title {
    font-size: 13px;
  }
  
  .neon-controls-row {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
  }
  
  .neon-controls-left {
    justify-content: space-between;
    gap: 8px;
  }
  
  .neon-audio-btn {
    flex: 1;
    justify-content: center;
    padding: 10px 12px;
    font-size: 13px;
    min-height: 40px;
    touch-action: manipulation;
  }

  .neon-progress-track {
    height: 12px;
  }

  .neon-status-badge {
    text-align: center;
    padding: 6px 8px;
    font-size: 11px;
  }

  /* Disable window float animation on mobile to prevent webkit fixed stacking bugs */
  body.neon-mode .win95-window {
    animation: none !important;
  }

  html, body {
    height: 100dvh;
    min-height: -webkit-fill-available;
  }

  body {
    padding-bottom: calc(42px + env(safe-area-inset-bottom, 0px)) !important;
  }

  .title-bar {
    padding: 5px 8px;
  }

  .title-bar-controls {
    display: flex;
    gap: 5px;
    align-items: center;
  }

  .tb-btn {
    width: 28px !important;
    height: 26px !important;
    font-size: 13px !important;
    line-height: 22px !important;
    font-weight: bold !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    touch-action: manipulation;
  }

  .toolbar-btn {
    min-height: 32px;
    padding: 5px 9px;
    font-size: 11px;
    touch-action: manipulation;
  }

  .win95-window, body.neon-mode .win95-window {
    margin: 6px 6px 46px 6px !important;
    max-height: calc(100dvh - 54px - env(safe-area-inset-bottom, 0px)) !important;
    max-height: calc(100vh - 54px) !important;
    overflow-y: auto !important;
    -webkit-overflow-scrolling: touch;
  }
}

/* Global Taskbar Absolute Lock */
.taskbar, body.neon-mode .taskbar {
  position: fixed !important;
  bottom: 0 !important;
  left: 0 !important;
  right: 0 !important;
  z-index: 99999 !important;
  height: calc(34px + env(safe-area-inset-bottom, 0px)) !important;
  padding-bottom: env(safe-area-inset-bottom, 0px) !important;
}

/* ===== NEWS & UPDATES SECTION (Win95 Premium Aesthetic) ===== */
.news-panel {
  background: #c0c0c0;
  border: 2px outset #ffffff;
  box-shadow: 2px 2px 0 rgba(0,0,0,0.3);
  margin: 14px 0;
  padding: 2px;
}

.win95-panel-header {
  background: linear-gradient(90deg, #000080 0%, #1084d0 100%);
  color: #ffffff;
  padding: 4px 8px;
  font-weight: bold;
  font-size: 12px;
  display: flex;
  align-items: center;
  gap: 6px;
  letter-spacing: 0.4px;
}

.news-container {
  padding: 10px;
  background: #d4d0c8;
  border: 2px inset #ffffff;
  max-height: 480px;
  overflow-y: auto;
}

.news-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.win95-news-card {
  background: #ffffff;
  border: 2px inset #808080;
  padding: 10px 12px;
  box-shadow: 1px 1px 0 #fff;
  transition: all 0.15s ease;
}

.win95-news-card:hover {
  border-color: #000080;
  background: #fafafa;
}

.win95-news-card.featured-news {
  border: 2px solid #000080;
  background: #fdfefe;
  box-shadow: 2px 2px 6px rgba(0,0,128,0.15);
}

.news-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid #e0e0e0;
  padding-bottom: 5px;
  margin-bottom: 6px;
  flex-wrap: wrap;
  gap: 6px;
}

.news-header-left {
  display: flex;
  align-items: center;
  gap: 6px;
}

.news-doc-icon {
  font-size: 14px;
}

.news-card-title {
  font-weight: bold;
  font-size: 13px;
  color: #000080;
}

.news-badge {
  font-size: 10px;
  font-weight: bold;
  padding: 1px 6px;
  border: 1px outset #fff;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.badge-new {
  background: #008000;
  color: #ffffff;
}

.badge-update {
  background: #000080;
  color: #ffffff;
}

.badge-archive {
  background: #808080;
  color: #ffffff;
}

.news-date-tag {
  font-family: "Courier New", Courier, monospace;
  font-size: 11px;
  color: #555555;
  font-weight: bold;
}

.news-text {
  font-size: 12px;
  line-height: 1.5;
  color: #111111;
  word-break: break-word;
}

.panel-action-bar {
  padding: 6px 8px;
  text-align: center;
  background: #c0c0c0;
}

.panel-action-bar .win95-btn {
  font-weight: bold;
  font-size: 11px;
  padding: 4px 16px;
  cursor: pointer;
  background: #c0c0c0;
  border: 2px outset #ffffff;
  box-shadow: 1px 1px 0 #000;
}

.panel-action-bar .win95-btn:active {
  border-style: inset;
  transform: translate(1px, 1px);
}




