/* Windows 95 Color Palette */
:root {
  --win95-bg: #008080;
  --win95-gray: #c0c0c0;
  --win95-dark: #808080;
  --win95-darker: #404040;
  --win95-light: #dfdfdf;
  --win95-white: #ffffff;
  --win95-blue: #000080;
  --win95-blue-light: #1084d0;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  /* Windows 95 arrow cursor */
  cursor: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16"><path d="M0 0 L0 14 L4 10 L6 14 L8 13 L6 9 L11 9 Z" fill="black"/><path d="M1 1 L1 12 L4 9 L6 13 L7 12 L5 8 L9 8 Z" fill="white"/></svg>') 0 0, auto;
}

body {
  font-family: 'MS Sans Serif', 'Segoe UI', Tahoma, sans-serif;
  font-size: 11px;
  overflow: hidden;
  user-select: none;
}

/* Clickable elements get pointer cursor */
a, button, .icon, .folder-item, .start-menu-item, .taskbar-item, .start-button, .window-btn {
  cursor: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="16" height="24"><path d="M4 0 L4 17 L7 14 L10 20 L12 19 L9 13 L13 13 Z" fill="black"/><path d="M5 1 L5 15 L7 13 L10 19 L11 18 L8 12 L11 12 Z" fill="white"/></svg>') 4 0, pointer !important;
}

/* Desktop */
.desktop {
  width: 100vw;
  height: 100vh;
  background: var(--win95-bg);
  position: relative;
  display: flex;
  flex-direction: column;
}

/* Desktop Icons - random scattered placement (handled by JS on desktop) */
.desktop-icons {
  flex: 1;
  padding: 20px;
  position: relative;
}

.icon {
  width: 70px;
  display: flex;
  flex-direction: column;
  align-items: center;
  cursor: pointer;
  text-align: center;
}

.icon img {
  width: 48px;
  height: 48px;
  margin-bottom: 4px;
  image-rendering: pixelated;
}

.icon span {
  color: white;
  text-shadow: 1px 1px 1px black;
  font-size: 11px;
  padding: 2px 4px;
}

.icon:hover span,
.icon:focus span {
  background: var(--win95-blue);
}

.icon:active {
  opacity: 0.8;
}

/* Windows Container */
.windows-container {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 28px;
  pointer-events: none;
}

/* Window */
.window {
  position: absolute;
  background: var(--win95-gray);
  border: 2px solid;
  border-color: var(--win95-light) var(--win95-darker) var(--win95-darker) var(--win95-light);
  box-shadow: inset 1px 1px 0 var(--win95-white), inset -1px -1px 0 var(--win95-dark);
  min-width: 300px;
  min-height: 200px;
  display: flex;
  flex-direction: column;
  pointer-events: auto;
}

/* Window resize handles */
.resize-handle {
  position: absolute;
  background: transparent;
}

.resize-n, .resize-s {
  left: 4px;
  right: 4px;
  height: 4px;
  cursor: ns-resize;
}

.resize-e, .resize-w {
  top: 4px;
  bottom: 4px;
  width: 4px;
  cursor: ew-resize;
}

.resize-n { top: 0; }
.resize-s { bottom: 0; }
.resize-e { right: 0; }
.resize-w { left: 0; }

.resize-ne, .resize-nw, .resize-se, .resize-sw {
  width: 8px;
  height: 8px;
}

.resize-ne { top: 0; right: 0; cursor: nesw-resize; }
.resize-nw { top: 0; left: 0; cursor: nwse-resize; }
.resize-se { bottom: 0; right: 0; cursor: nwse-resize; }
.resize-sw { bottom: 0; left: 0; cursor: nesw-resize; }

.window-header {
  background: linear-gradient(90deg, var(--win95-blue) 0%, var(--win95-blue-light) 100%);
  padding: 3px 4px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: move;
}

.window-title {
  display: flex;
  align-items: center;
  gap: 4px;
  color: white;
  font-weight: bold;
  font-size: 11px;
  overflow: hidden;
  white-space: nowrap;
}

.window-title img {
  width: 16px;
  height: 16px;
  image-rendering: pixelated;
}

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

.window-btn {
  width: 16px;
  height: 14px;
  background: var(--win95-gray);
  border: 2px solid;
  border-color: var(--win95-light) var(--win95-darker) var(--win95-darker) var(--win95-light);
  font-size: 9px;
  font-weight: bold;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  line-height: 1;
}

.window-btn:active {
  border-color: var(--win95-darker) var(--win95-light) var(--win95-light) var(--win95-darker);
}

.window-content {
  flex: 1;
  overflow: auto;
  background: white;
  border: 2px solid;
  border-color: var(--win95-dark) var(--win95-white) var(--win95-white) var(--win95-dark);
  margin: 2px;
}

/* IE Toolbar */
.ie-toolbar {
  background: var(--win95-gray);
  padding: 2px 4px;
  border-bottom: 1px solid var(--win95-dark);
}

.ie-buttons {
  display: flex;
  gap: 4px;
  margin-bottom: 4px;
}

.ie-buttons button {
  background: var(--win95-gray);
  border: 2px solid;
  border-color: var(--win95-light) var(--win95-darker) var(--win95-darker) var(--win95-light);
  padding: 2px 8px;
  font-size: 11px;
  cursor: pointer;
}

.ie-buttons button:active {
  border-color: var(--win95-darker) var(--win95-light) var(--win95-light) var(--win95-darker);
}

.ie-address {
  display: flex;
  align-items: center;
  gap: 8px;
}

.ie-address span {
  font-size: 11px;
}

.ie-address input {
  flex: 1;
  border: 2px solid;
  border-color: var(--win95-dark) var(--win95-white) var(--win95-white) var(--win95-dark);
  padding: 2px 4px;
  font-size: 11px;
  font-family: inherit;
}

/* GeoCities Page Styles */
.geocities-page {
  background: #000033;
  color: #00ff00;
  padding: 20px;
  font-family: 'Comic Sans MS', 'Comic Sans', cursive;
  min-height: 100%;
  background-image: url('data:image/gif;base64,R0lGODlhCAAIAIABAAAAAP///yH5BAEKAAEALAAAAAAIAAgAAAINjI+py+0Po5y02ouz3gUAOw==');
}

.geo-header {
  text-align: center;
  margin-bottom: 20px;
}

.geo-title {
  color: #ffff00;
  font-size: 24px;
  text-shadow: 2px 2px #ff00ff;
}

.geo-title marquee {
  display: block;
}

.construction {
  width: 100px;
  height: auto;
  vertical-align: middle;
}

.geo-visitor {
  text-align: center;
  color: #ff00ff;
  font-size: 14px;
  margin: 10px 0;
}

.counter {
  background: black;
  color: #00ff00;
  font-family: 'Courier New', monospace;
  padding: 2px 8px;
  border: 1px solid #00ff00;
}

.geo-hr {
  border: none;
  height: 3px;
  background: linear-gradient(90deg, red, orange, yellow, green, blue, purple);
  margin: 20px 0;
}

.geo-hr.rainbow {
  height: 5px;
  animation: rainbow 2s linear infinite;
}

@keyframes rainbow {
  0% { filter: hue-rotate(0deg); }
  100% { filter: hue-rotate(360deg); }
}

.geo-section {
  margin: 20px 0;
  padding: 10px;
  border: 2px dashed #00ffff;
}

.geo-section h2 {
  color: #ff6600;
  font-size: 18px;
  margin-bottom: 10px;
  text-align: center;
}

.geo-section h2 img {
  width: 30px;
  height: 30px;
  vertical-align: middle;
}

.geo-intro {
  line-height: 1.6;
}

.geo-intro img.float-left {
  float: left;
  margin-right: 10px;
  width: 60px;
}

.geo-job {
  margin: 15px 0;
  padding: 10px;
  background: rgba(0, 0, 0, 0.5);
  border-left: 4px solid #ff00ff;
}

.geo-job h3 {
  color: #00ffff;
  font-size: 14px;
  margin-bottom: 5px;
}

.geo-job h3 img {
  width: 16px;
  height: 16px;
  vertical-align: middle;
}

.geo-date {
  color: #808080;
  font-size: 11px;
  margin-bottom: 8px;
}

.geo-date img {
  width: 16px;
  height: 16px;
  vertical-align: middle;
}

.geo-list {
  list-style: none;
  padding-left: 10px;
}

.geo-list li {
  margin: 5px 0;
  color: #00ff00;
}

.geo-list li::before {
  content: "► ";
  color: #ff00ff;
}

.geo-footer {
  text-align: center;
  margin-top: 30px;
  padding: 20px;
  border: 3px double #ffff00;
}

.geo-footer a {
  color: #00ffff;
}

.geo-footer img {
  width: 88px;
  height: 31px;
  margin: 5px;
  image-rendering: pixelated;
}

/* Outlook Express Styles */
.outlook-toolbar {
  background: var(--win95-gray);
  padding: 4px;
  display: flex;
  gap: 4px;
  border-bottom: 1px solid var(--win95-dark);
}

.outlook-btn {
  background: var(--win95-gray);
  border: 2px solid;
  border-color: var(--win95-light) var(--win95-darker) var(--win95-darker) var(--win95-light);
  padding: 4px 12px;
  font-size: 11px;
  cursor: pointer;
}

.outlook-content {
  display: flex;
  flex-direction: column;
  background: var(--win95-gray);
}

.email-fields {
  padding: 8px;
  background: var(--win95-gray);
}

.email-field {
  display: flex;
  align-items: center;
  margin-bottom: 4px;
}

.email-field label {
  width: 60px;
  font-size: 11px;
}

.email-field input {
  flex: 1;
  border: 2px solid;
  border-color: var(--win95-dark) var(--win95-white) var(--win95-white) var(--win95-dark);
  padding: 2px 4px;
  font-size: 11px;
  font-family: inherit;
}

.email-body {
  flex: 1;
  padding: 0 8px 8px 8px;
}

.email-body textarea {
  width: 100%;
  height: 150px;
  border: 2px solid;
  border-color: var(--win95-dark) var(--win95-white) var(--win95-white) var(--win95-dark);
  padding: 4px;
  font-size: 11px;
  font-family: inherit;
  resize: none;
}

.email-note {
  padding: 8px;
  background: #ffffcc;
  border-top: 1px solid var(--win95-dark);
  font-size: 11px;
}

.email-note a {
  color: var(--win95-blue);
}

/* Folder Window Styles */
.folder-content {
  display: flex;
  background: white;
}

.folder-sidebar {
  width: 150px;
  background: linear-gradient(180deg, #6b9cd5 0%, #4a7ab8 100%);
  padding: 10px;
  color: white;
}

.folder-sidebar h4 {
  font-size: 11px;
  margin-bottom: 8px;
  font-weight: bold;
}

.folder-sidebar ul {
  list-style: none;
  font-size: 10px;
}

.folder-sidebar li {
  margin: 4px 0;
  cursor: pointer;
}

.folder-sidebar li:hover {
  text-decoration: underline;
}

.folder-main {
  flex: 1;
  padding: 10px;
  display: flex;
  flex-wrap: wrap;
  align-content: flex-start;
  gap: 20px;
}

.folder-item {
  width: 80px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  cursor: pointer;
  padding: 4px;
}

.folder-item img {
  width: 32px;
  height: 32px;
  margin-bottom: 4px;
  image-rendering: pixelated;
}

.folder-item span {
  font-size: 10px;
  word-break: break-word;
}

.folder-item:hover {
  background: #cce8ff;
}

/* Taskbar */
.taskbar {
  height: 28px;
  background: var(--win95-gray);
  border-top: 2px solid var(--win95-light);
  display: flex;
  align-items: center;
  padding: 2px 4px;
  gap: 4px;
}

.start-button {
  display: flex;
  align-items: center;
  gap: 4px;
  background: var(--win95-gray);
  border: 2px solid;
  border-color: var(--win95-light) var(--win95-darker) var(--win95-darker) var(--win95-light);
  padding: 2px 6px;
  font-weight: bold;
  font-size: 11px;
  cursor: pointer;
  height: 22px;
}

.start-button img {
  width: 16px;
  height: 16px;
  image-rendering: pixelated;
}

.start-button:active {
  border-color: var(--win95-darker) var(--win95-light) var(--win95-light) var(--win95-darker);
}

.taskbar-items {
  flex: 1;
  display: flex;
  gap: 2px;
  overflow: hidden;
}

.taskbar-item {
  display: flex;
  align-items: center;
  gap: 4px;
  background: var(--win95-gray);
  border: 2px solid;
  border-color: var(--win95-light) var(--win95-darker) var(--win95-darker) var(--win95-light);
  padding: 2px 8px;
  font-size: 11px;
  cursor: pointer;
  height: 22px;
  min-width: 120px;
  max-width: 200px;
  overflow: hidden;
}

.taskbar-item.active {
  border-color: var(--win95-darker) var(--win95-light) var(--win95-light) var(--win95-darker);
  background: #dfdfdf;
}

.taskbar-item img {
  width: 16px;
  height: 16px;
  image-rendering: pixelated;
}

.taskbar-item span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.system-tray {
  display: flex;
  align-items: center;
  border: 2px solid;
  border-color: var(--win95-dark) var(--win95-white) var(--win95-white) var(--win95-dark);
  padding: 2px 8px;
  height: 22px;
}

.time {
  font-size: 11px;
}

/* Window positioning defaults */
#window-cv {
  width: 700px;
  height: 500px;
  top: 30px;
  left: 100px;
}

#window-contact {
  width: 500px;
  height: 400px;
  top: 60px;
  left: 150px;
}

#window-social {
  width: 450px;
  height: 300px;
  top: 80px;
  left: 200px;
}

#window-media {
  width: 500px;
  height: 300px;
  top: 100px;
  left: 250px;
}

/* GeoCities Animated Icons */
.construction-icon {
  font-size: 40px;
  display: inline-block;
  animation: shake 0.5s ease-in-out infinite;
}

.blink {
  animation: blink 1s step-start infinite;
}

.new-badge {
  background: #ff0000;
  color: #ffff00;
  padding: 2px 6px;
  font-size: 12px;
  font-weight: bold;
  border-radius: 3px;
  text-transform: uppercase;
}

.spin {
  display: inline-block;
  animation: spin 2s linear infinite;
}

.bounce {
  display: inline-block;
  animation: bounce 0.6s ease-in-out infinite;
}

.wiggle {
  display: inline-block;
  animation: wiggle 0.3s ease-in-out infinite;
}

.fire {
  display: inline-block;
  animation: fire 0.2s ease-in-out infinite alternate;
}

.float-left {
  float: left;
  margin-right: 15px;
  font-size: 48px;
}

.computer-icon {
  animation: pulse 1s ease-in-out infinite;
}

.flag {
  font-size: 16px;
}

.badge {
  display: inline-block;
  padding: 4px 8px;
  margin: 4px;
  font-size: 10px;
  font-family: 'MS Sans Serif', sans-serif;
  border: 2px outset;
}

.badge.netscape {
  background: #006600;
  color: white;
  border-color: #009900 #003300 #003300 #009900;
}

.badge.ie {
  background: #0066cc;
  color: white;
  border-color: #0099ff #003366 #003366 #0099ff;
}

@keyframes blink {
  50% { opacity: 0; }
}

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

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

@keyframes wiggle {
  0%, 100% { transform: rotate(-5deg); }
  50% { transform: rotate(5deg); }
}

@keyframes shake {
  0%, 100% { transform: translateX(0); }
  25% { transform: translateX(-3px); }
  75% { transform: translateX(3px); }
}

@keyframes fire {
  from { transform: scale(1); }
  to { transform: scale(1.1); }
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.7; }
}

/* Starfield background for geocities */
.geocities-page {
  background: #000033 url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="100" height="100"><circle cx="10" cy="20" r="1" fill="white"/><circle cx="50" cy="10" r="0.5" fill="white"/><circle cx="80" cy="40" r="1" fill="white"/><circle cx="30" cy="70" r="0.5" fill="white"/><circle cx="90" cy="90" r="1" fill="white"/><circle cx="20" cy="50" r="0.5" fill="white"/><circle cx="70" cy="80" r="1" fill="white"/></svg>');
}

/* AIM Instant Messenger Styles */
.aim-window {
  background: #e8e8e0;
}

.aim-header {
  background: linear-gradient(180deg, #ffd700 0%, #ffa500 50%, #ff8c00 100%);
}

.aim-header .window-title {
  color: #000;
}

.aim-icon {
  font-size: 14px;
}

.aim-toolbar {
  background: linear-gradient(180deg, #f5f5e8 0%, #e8e8d8 100%);
  padding: 6px 10px;
  border-bottom: 1px solid #b8b8a8;
  display: flex;
  align-items: center;
}

.aim-status {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  color: #333;
}

.aim-status-icon {
  font-size: 10px;
}

.aim-status-icon.online {
  color: #00cc00;
}

.aim-status-icon.away {
  color: #ffcc00;
}

.aim-status-icon.offline {
  color: #cc0000;
}

.aim-content {
  display: flex;
  flex-direction: column;
  background: #f5f5e8;
  padding: 0;
}

.aim-chat-area {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: 8px;
}

.aim-buddy-info {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px;
  background: linear-gradient(180deg, #fff 0%, #f0f0e0 100%);
  border: 1px solid #c8c8b8;
  border-radius: 4px;
  margin-bottom: 10px;
}

.aim-avatar {
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, #ffd700 0%, #ff8c00 100%);
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  border: 2px solid #d4aa00;
}

.aim-buddy-details {
  flex: 1;
}

.aim-screenname {
  font-weight: bold;
  font-size: 14px;
  color: #0066cc;
}

.aim-away-msg {
  font-size: 11px;
  color: #666;
  font-style: italic;
  margin-top: 4px;
}

.aim-messages {
  flex: 1;
  background: #fff;
  border: 2px inset #c8c8b8;
  padding: 8px;
  overflow-y: auto;
  min-height: 100px;
  font-family: 'Arial', sans-serif;
  font-size: 12px;
}

.aim-message {
  margin-bottom: 8px;
  line-height: 1.4;
}

.aim-msg-name {
  font-weight: bold;
}

.aim-message-them .aim-msg-name {
  color: #cc0000;
}

.aim-message-me .aim-msg-name {
  color: #0000cc;
}

.aim-msg-text {
  color: #000;
}

.aim-msg-time {
  font-size: 10px;
  color: #888;
  margin-left: 8px;
}

.aim-input-area {
  padding: 8px;
  background: #e8e8d8;
  border-top: 1px solid #c8c8b8;
}

.aim-input-area textarea {
  width: 100%;
  border: 2px inset #c8c8b8;
  padding: 6px;
  font-size: 12px;
  font-family: 'Arial', sans-serif;
  resize: none;
  margin-bottom: 6px;
}

.aim-input-area textarea:focus {
  outline: none;
  border-color: #0066cc;
}

.aim-buttons {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.aim-send-btn {
  background: linear-gradient(180deg, #ffd700 0%, #ffb700 50%, #ffa500 100%);
  border: 1px solid #cc8800;
  padding: 6px 20px;
  font-size: 12px;
  font-weight: bold;
  cursor: pointer;
  border-radius: 3px;
  color: #333;
}

.aim-send-btn:hover {
  background: linear-gradient(180deg, #ffe033 0%, #ffc933 50%, #ffb833 100%);
}

.aim-send-btn:active {
  background: linear-gradient(180deg, #ffa500 0%, #ff8c00 50%, #ff7700 100%);
}

.aim-extras {
  display: flex;
  gap: 8px;
  font-size: 16px;
  cursor: pointer;
}

.aim-extras span:hover {
  opacity: 0.7;
}

.aim-footer {
  padding: 6px 10px;
  background: #e0e0d0;
  border-top: 1px solid #c8c8b8;
  font-size: 10px;
  color: #666;
  text-align: center;
}

.aim-warning {
  color: #996600;
}

/* Start Menu Styles */
.start-menu {
  position: absolute;
  bottom: 28px;
  left: 0;
  background: var(--win95-gray);
  border: 2px solid;
  border-color: var(--win95-light) var(--win95-darker) var(--win95-darker) var(--win95-light);
  box-shadow: inset 1px 1px 0 var(--win95-white), inset -1px -1px 0 var(--win95-dark);
  display: flex;
  min-width: 200px;
  z-index: 10000;
}

.start-menu-sidebar {
  background: linear-gradient(180deg, var(--win95-blue) 0%, #000040 100%);
  width: 24px;
  display: flex;
  align-items: flex-end;
  padding-bottom: 8px;
}

.start-menu-sidebar-text {
  color: #c0c0c0;
  font-weight: bold;
  font-size: 18px;
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  letter-spacing: 2px;
  text-shadow: 1px 1px 0 #000;
}

.start-menu-items {
  flex: 1;
  padding: 4px 0;
}

.start-menu-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 20px 6px 8px;
  cursor: pointer;
  font-size: 11px;
}

.start-menu-item:hover {
  background: var(--win95-blue);
  color: white;
}

.start-menu-item img {
  width: 32px;
  height: 32px;
  image-rendering: pixelated;
}

.start-menu-icon {
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
}

.start-menu-divider {
  height: 1px;
  background: var(--win95-dark);
  margin: 4px 4px 4px 28px;
  border-bottom: 1px solid var(--win95-white);
}

.start-button.active {
  border-color: var(--win95-darker) var(--win95-light) var(--win95-light) var(--win95-darker);
  background: #dfdfdf;
}

/* Webring Styles */
.webring {
  background: rgba(0, 0, 0, 0.5);
  border: 2px solid #00ffff;
  padding: 10px 15px;
  display: inline-block;
  margin: 10px 0;
}

.webring-title {
  display: block;
  color: #ffff00;
  font-size: 12px;
  margin-bottom: 8px;
  font-weight: bold;
}

.webring-nav {
  display: flex;
  gap: 10px;
  justify-content: center;
  align-items: center;
}

.webring-nav a {
  color: #00ffff;
  text-decoration: none;
  font-size: 11px;
}

.webring-nav a:hover {
  color: #ff00ff;
  text-decoration: underline;
}

.webring-nav span {
  color: #808080;
}

/* Mobile Responsive Styles */
@media (max-width: 768px) {
  /* Desktop icons in a grid on mobile - reset any JS positioning */
  .desktop-icons {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    padding: 15px;
    align-content: start;
  }

  .icon {
    width: 100%;
    position: static !important;
    left: auto !important;
    top: auto !important;
  }

  .icon img {
    width: 40px;
    height: 40px;
  }

  .icon span {
    font-size: 10px;
  }

  /* Windows take full width on mobile */
  .window {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: calc(100vh - 28px) !important;
    min-width: unset;
    min-height: unset;
  }

  /* IE toolbar scrollable */
  .ie-toolbar {
    flex-wrap: wrap;
  }

  .ie-buttons {
    flex-wrap: wrap;
    gap: 2px;
  }

  .ie-buttons button {
    font-size: 9px;
    padding: 2px 4px;
  }

  .ie-address input {
    font-size: 9px;
  }

  /* GeoCities page adjustments */
  .geocities-page {
    padding: 10px;
  }

  .geo-title {
    font-size: 18px;
  }

  .geo-section h2 {
    font-size: 14px;
  }

  .geo-job h3 {
    font-size: 12px;
  }

  .geo-list li {
    font-size: 11px;
  }

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

  .float-left {
    float: none;
    display: block;
    text-align: center;
    margin-bottom: 10px;
  }

  /* AIM window adjustments */
  .aim-buddy-info {
    padding: 8px;
    gap: 8px;
  }

  .aim-avatar {
    width: 40px;
    height: 40px;
    font-size: 22px;
  }

  .aim-screenname {
    font-size: 12px;
  }

  /* Folder content stacks */
  .folder-content {
    flex-direction: column;
  }

  .folder-sidebar {
    width: 100%;
    padding: 8px;
  }

  .folder-main {
    gap: 15px;
  }

  .folder-item {
    width: 70px;
  }

  .folder-item img {
    width: 28px;
    height: 28px;
  }

  .folder-item span {
    font-size: 9px;
  }

  /* Start menu adjustments */
  .start-menu {
    width: 80%;
    max-width: 250px;
  }

  .start-menu-item img {
    width: 24px;
    height: 24px;
  }

  .start-menu-icon {
    width: 24px;
    height: 24px;
    font-size: 18px;
  }

  .start-menu-sidebar {
    width: 20px;
  }

  .start-menu-sidebar-text {
    font-size: 14px;
  }

  /* Taskbar */
  .taskbar {
    height: 32px;
  }

  .start-button {
    padding: 2px 4px;
  }

  .start-button span {
    display: none;
  }

  .taskbar-item {
    min-width: 60px;
    max-width: 100px;
    font-size: 9px;
  }

  .taskbar-item img {
    width: 14px;
    height: 14px;
  }

  /* Webring */
  .webring {
    padding: 8px 10px;
  }

  .webring-title {
    font-size: 10px;
  }

  .webring-nav {
    gap: 6px;
  }

  .webring-nav a {
    font-size: 9px;
  }
}

/* Extra small screens (iPhone SE, etc) */
@media (max-width: 375px) {
  .desktop-icons {
    gap: 15px;
    padding: 10px;
  }

  .icon img {
    width: 32px;
    height: 32px;
  }

  .geo-title {
    font-size: 14px;
  }

  .geo-section {
    padding: 8px;
  }

  .badge {
    display: block;
    margin: 4px auto;
  }
}
