@font-face {
  font-family: 'SF Pro Display';
  src: url('fonts/SFPRODISPLAYREGULAR.OTF') format('opentype');
  font-weight: 100;
  font-style: normal;
}
@font-face {
  font-family: 'SF Pro Display';
  src: url('fonts/SFPRODISPLAYBOLD.OTF') format('opentype');
  font-weight: 300;
  font-style: bold;
}
@font-face {
  font-family: 'SF Pro Display';
  src: url('fonts/SFPRODISPLAYMEDIUM.OTF') format('opentype');
  font-weight: 200;
  font-style: medium;
}

:root {
  --bg: #e0e0e0;
  --accent: #0078d4;
  --taskbar-bg: #222831;
  --taskbar-fg: #fff;
  --window-bg: #fff;
  --window-border: #bbb;
}

body, html {
  margin: 0;
  padding: 0;
  height: 100%;
  width: 100%;
  overflow: hidden;
  font-family: 'SF Pro Display', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  background-color: #1e1e1e;
}

#screen-brightness-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: black;
  opacity: 0;
  z-index: 1000;
  pointer-events: none; /* Allows clicks to pass through */
  transition: opacity 0.1s ease-in-out;
}

#desktop {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: var(--bg) url('img-bg/windows-11-stock-grey.png') center/cover no-repeat;
  z-index: 1;
  width: 100%;
}

.desktop-icon {
  position: absolute;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 80px;
  height: 90px;
  cursor: pointer;
  user-select: none;
  border-radius: 4px;
  padding: 8px;
  transition: background-color 0.2s ease;
  z-index: 10;
}

.desktop-icon:hover {
  background-color: rgba(255, 255, 255, 0.1);
}

.desktop-icon.dragging {
  opacity: 0.8;
  z-index: 1000;
  transition: none; 
}

.icon-image {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 4px;
}

.icon-label {
  font-weight: 100;
  font-size: 11px;
  color: white;
  text-align: center;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.8);
  line-height: 1.5;
  word-wrap: break-word;
  max-width: 100%;
}

#my-computer-icon {
  top: 20px;
  left: 20px;
}

#taskbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: fixed;
  left: 50%;
  transform: translateX(-50%);
  bottom: 10px;
  width: 96vw;
  height: 50px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.10) 0%, rgb(60 60 60 / 10%) 100%);
  color: var(--taskbar-fg);
  z-index: 1000;
  box-shadow: 0 4px 24px 0 rgba(0, 0, 0, 0.40);
  border-radius: 4px;
  backdrop-filter: blur(25px);
  padding: 0 12px;
  font-family: 'SF Pro Display', 'geist', 'Segoe UI', Arial, sans-serif;
}

#taskbar-windows {
  display: flex;
  gap: 8px;
  flex: 1;
  min-width: 0;
  padding-left: 10px;
}

.taskbar-app-icon {
    height: 40px;
    width: 45px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background-color 0.2s;
    position: relative;
    border: 1px solid transparent;
}
.taskbar-app-icon:hover {
    background-color: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.3);
}
.taskbar-app-icon svg {
    width: 24px;
    height: 24px;
}
.taskbar-app-icon::after {
    content: '';
    position: absolute;
    bottom: 4px;
    width: 60%;
    height: 3px;
    background-color: #007aff;
    border-radius: 2px;
    transition: width 0.2s;
}
.taskbar-app-icon:hover::after {
    width: 80%;
}

#taskbar-center {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  align-items: center;
  gap: 12px;
  z-index: 2;
}

#start-button {
  background: rgba(255,255,255,0);
  border: none;
  outline: none;
  border-radius: 4px;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.2s, box-shadow 0.2s;
  box-shadow: none;
}
#start-button:hover, #start-button:focus {
  background: rgb(211 20 1 / 50%);
  box-shadow: 0 2px 8px rgba(0,120,212,0.10);
}
#start-button svg {
  display: block;
  width: 28px;
  height: 28px;
}

#taskbar-search-container {
  position: relative;
  display: flex;
  align-items: center;
}
#search-icon {
  position: absolute;
  left: 10px;
  width: 18px;
  height: 18px;
  pointer-events: none;
}
#taskbar-search {
  padding-left: 32px;
  height: 32px;
  width: 130px;
  border-radius: 4px;
  border: none;
  font-size: 0.8em;
  background: rgba(255,255,255,0.15);
  color: #fff;
  outline: none;
  transition: background 0.2s, box-shadow 0.2s;
  box-shadow: 0 1px 4px rgba(0,0,0,0.08);
}
#taskbar-search::placeholder {
  color: #ccc;
  opacity: 1;
}
#taskbar-search:focus {
  background: rgba(255,255,255,0.25);
  box-shadow: 0 2px 8px rgba(0,120,212,0.10);
}

#taskbar-clock {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: center;
  margin-left: 10px;
  padding-right: 4px;
  gap: 3px;
  font-variant-numeric: tabular-nums;
}
#taskbar-clock .clock-time {
  font-size: 0.8em;
  font-weight: 110;
  line-height: 1.1;
}
#taskbar-clock .clock-date {
  font-size: 0.8em;
  font-weight: 110;
  color: #ffffff;
  line-height: 1.1;
}

#start-menu {
  display: none;
  position: fixed;
  left: 50%;
  bottom: 64px;
  transform: translateX(-50%);
  width: 340px;
  min-height: 400px;
  background: rgba(255,255,255,0.95);
  border-radius: 18px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.18);
  z-index: 3000;
  padding: 24px 18px;
  backdrop-filter: blur(16px);
}

#context-menu {
  position: absolute;
  display: none;
  min-width: 160px;
  background: #fff;
  border: 1px solid #ccc;
  box-shadow: 0 2px 8px rgba(0,0,0,0.15);
  list-style: none;
  padding: 4px 0;
  margin: 0;
  z-index: 2000;
  font-family: 'SF Pro Display', 'geist', 'Segoe UI', Arial, sans-serif;
}

#context-menu li {
  padding: 8px 16px;
  cursor: pointer;
  transition: background 0.2s;
}

#context-menu li:hover {
  background: var(--accent);
  color: #fff;
}

/* Loading overlay styles */
#loading-overlay {
  position: fixed;
  top: 0; 
  left: 0; 
  right: 0; 
  bottom: 0;
  background: rgba(0, 0, 0, 0.9);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.4s;
}
#loading-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 32px;
}
#loading-content svg {
  display: block;
  margin-bottom: 12px;
}
#loading-progress-container {
  width: 220px;
  height: 5px;
  background: #222831;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0,0,0,0.12);
}
#loading-progress {
  width: 0%;
  height: 100%;
  background: linear-gradient(90deg, #0078d4, #00a2ff);
  border-radius: 2px;
  transition: width 0.3s ease;
}

#taskbar-widgets {
  background: rgba(255,255,255,0);
  border: none;
  outline: none;
  border-radius: 5px;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.2s, box-shadow 0.2s;
  box-shadow: none;
}

#taskbar-widgets:hover {
  background: #de1c0260;
}

#taskbar-widgets svg {
  display: block;
  width: 25px;
  height: 25px;
}

#calendar-popup {
  position: fixed;
  right: 24px;
  bottom: 70px;
  width: 300px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.2) 0%, rgba(0, 195, 166, 0.20) 100%);
  border-radius: 3%;
  box-shadow: 0 8px 32px rgba(0,0,0,0.18);
  z-index: 4000;
  padding: 15px;
  transform: translateY(40px) scale(0.98);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s, transform 0.3s;
  font-family: 'SF Pro Display', 'geist', 'Segoe UI', Arial, sans-serif;
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.30);
  backdrop-filter: blur(20px);
  font-weight: 110;
}
#calendar-popup.open {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0) scale(1);
}
#calendar-popup .calendar-header-date {
  font-size: 0.8em;
  font-weight: 110;
  color: #292828;
  text-align: center;
  margin: 7px 0px 14px 0px;
  letter-spacing: 0.01em;
}
#calendar-popup h4 {
  margin: 0 0 10px 0;
  font-size: 1.13em;
  font-weight: 150;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}
#calendar-popup .calendar-nav-btn {
  background: none;
  border: none;
  color: #888;
  font-size: 1.3em;
  cursor: pointer;
  padding: 6px;
  border-radius: 6px;
  transition: background 0.15s;
  display: flex;
  align-items: center;
  justify-content: center;
}
#calendar-popup .calendar-nav-btn:hover {
  background: #e0e0e0;
}
#calendar-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 7px;
  margin-top: 8%;
  font-weight: 110;
}
#calendar-grid span {
  display: block;
  text-align: center;
  padding: 8px 0;
  border-radius: 15%;
  font-size: 1em;
  cursor: pointer;
  font-weight: 100 !important;
  transition: background 0.15s, color 0.15s;
  color: #222;
  background: none;
}
#calendar-grid span.today {
  background: rgb(255, 255, 255, 0.50);
  color: #000000;
  font-weight: 300 !important;
}
#calendar-grid span.other-month {
  color: #bbb;
  background: none;
  font-weight: 110;
  opacity: 0.6;
  cursor: default;
}
#calendar-grid span:hover:not(.other-month):not(.today) {
  background: #e0e0e0;
}
#calendar-grid span.weekday {
  color: #888;
  background: none;
  cursor: default;
  opacity: 1;
  border-radius: 0;
  padding: 0 0 4px 0;
}

#start-menu-window {
  position: fixed;
  left: 50%;
  bottom: 80px;
  transform: translateX(-50%) scale(0.98) translateY(40px);
  width: 480px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.30) 0%, rgb(60 60 60 / 30%) 100%);
  border-radius: 8px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.18);
  z-index: 5000;
  padding: 25px 25px 0 25px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s, transform 0.35s;
  font-family: 'SF Pro Display', 'geist', 'Segoe UI', Arial, sans-serif;
  backdrop-filter: blur(30px);
  border: 1px solid rgba(255,255,255,0.30);
  display: flex;
  flex-direction: column;
  align-items: stretch;
}
#start-menu-window.open {
  opacity: 1;
  pointer-events: auto;
  transform: translateX(-50%) scale(1) translateY(0);
}
.start-searchbar {
  width: 100%;
  margin-bottom: 22px;
  display: flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.20);
  border-radius: 4px;
    padding: 6px 10px;
  box-sizing: border-box;
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}
.start-searchbar input {
  border: none;
  background: transparent;
  outline: none;
  font-size: 0.85em;
  width: 100%;
  color: #222;
  padding-left: 10px;
}
.start-section {
  margin-bottom: 18px;
}
.start-section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.95em;
  font-weight: bold;
  color: #222;
  margin-bottom: 8px;
  letter-spacing: 0.01em;
}
.start-section-header .show-all {
  font-size: 0.85em;
  color: rgba(0, 0, 0, 0.65);
  cursor: pointer;
  padding: 2px 8px;
  border-radius: 6px;
  transition: background 0.15s;
  font-weight: 100 !important;
}
.start-section-header .show-all:hover {
  background: #e0e0e0;
}
.start-pinned {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 10px;
  width: 100%;
  margin-bottom: 8px;
}
.start-pinned .start-app {
  font-weight: 110;
  font-size: 0.9em;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  border-radius: 3px;
  padding: 10px 0 10px 0;
  transition: background 0.15s;
}
.start-pinned .start-app:hover {
  background: rgba(222, 27, 1, 0.20);
}
.start-pinned .start-app svg {
  width: 32px;
  height: 32px;
  margin-bottom: 4px;
}
.start-settings{
  padding-right: 10px;
}
.start-app>img {
  width: 32px;
  height: 32px;
  margin-bottom: 4px !important;
}
.start-app-label {
  font-size: 0.85em;
  color: #333;
  text-align: center;
}
.start-recommended {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 8px;
}
.start-recommended-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px ;
  border-radius: 3px;
  transition: background 0.15s;
  cursor: pointer;
}
.start-recommended-item:hover {
  background: #e0e0e0;
}
.start-recommended-icon {
  width: 22px;
  height: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.start-recommended-info {
  display: flex;
  flex-direction: column;
  font-size: 0.93em;
}
.start-recommended-title {
  font-weight: 150;
  color: #222;
}
.start-recommended-desc {
  color: #888;
  font-weight: 100;
  font-size: 0.75em;
}
.start-bottom-bar {
  width: calc(100%);
  margin-left: -25px;
  margin-top: 10px;
  background: rgba(255, 255, 255, 0.50);
  border-bottom-left-radius: 8px;
  border-bottom-right-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
  padding: 11px 18px 12px 32px;
  display: flex;
  align-items: center;
   justify-content: space-between;
}
.start-user {
  display: flex;
  align-items: center;
  gap: 10px;
}
.start-user-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: url(img-bg/main-logo.png);
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 600;
  font-size: 1.1em;
}
.start-user-name {
  font-size: 1em;
  color: #222;
  font-weight: 150;
}
.start-power {
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  color: #000000;
  font-size: 1.2em;
  border-radius: 6px;
  padding: 4px 10px;
  transition: background 0.15s;
}
.start-power:hover {
  background: #e0e0e0;
  color: #00c3a6;
}

body, html {
  font-family: 'SF Pro Display';
}
#taskbar, #taskbar * {
  font-family: 'SF Pro Display';
}
#start-menu-window, #start-menu-window * {
  font-family: 'SF Pro Display';
}
#calendar-popup, #calendar-popup * {
  font-family: 'SF Pro Display';
}
#context-menu, #context-menu * {
  font-family: 'SF Pro Display';
}
.window, .window * {
  font-family: 'SF Pro Display';
}

#widgets-panel {
  position: fixed;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.20) 0%, rgb(60 60 60 / 20%) 100%);
    border-radius: 8px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.18);
    z-index: 6000;
    padding: 12px 8px 12px 8px;
    opacity: 0;
    pointer-events: none;
    transition: left 0.35s cubic-bezier(.4,1.4,.6,1), opacity 0.4s;
    font-family: 'SF Pro Display';
    backdrop-filter: blur(18px);
    display: flex
;
    flex-direction: column;
    align-items: center;
}
#widgets-panel.open {
  left: 10px;
  opacity: 1;
  pointer-events: auto;
}
.widgets-title {
  font-size: 0.95em;
  font-weight: 600;
  margin-bottom: 10px;
  color: #222;
  letter-spacing: 0.01em;
}
.widgets-grid {
  display: flex;
  flex-direction: column;
  gap: 14px;
  width: 100%;
  align-items: center;
}
.widget-icon {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  border-radius: 10px;
  padding: 6px 0 6px 0;
  background: rgba(255, 255, 255, 0.619);
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
  transition: background 0.15s, box-shadow 0.15s;
  width: 40px;
}
.widget-icon:hover {
  background: rgba(192, 192, 192, 0.50);
  box-shadow: 0 4px 16px rgba(161, 161, 161, 0.50);
}
.widget-icon svg {
  width: 22px;
  height: 22px;
  margin-bottom: 2px;
}
.widget-label {
  font-size: 0.75em;
  color: #333;
  text-align: center;
  font-weight: 400;
}

#weather-side-window {
  position: fixed;
  top: 50%;
  left: -320px;
  transform: translateY(-50%);
  width: 170px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.20) 0%, rgb(60 60 60 / 20%) 100%);
  border-radius: 8px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.18);
  z-index: 7000;
  padding: 25px;
  opacity: 0;
  pointer-events: none;
  transition: left 0.35s cubic-bezier(.4,1.4,.6,1), opacity 0.35s;
  font-family: 'SF Pro Display', 'geist', 'Segoe UI', Arial, sans-serif;
  backdrop-filter: blur(18px);
}

#weather-side-window.open {
  left: 70px;
  opacity: 1;
  pointer-events: auto;
}

#spotify-player-window {
  position: fixed;
  top: 50%;
  left: -320px;
  transform: translateY(-50%);
  width: 18%;
  height: 400px;
  background: linear-gradient(135deg, rgba(33, 33, 33, 0.90) 0%, rgb(29, 185, 84, 0.90) 100%);
  border-radius: 6px;
  box-shadow: 0 12px 48px rgba(0,0,0,0.5);
  border: 1px solid rgba(255, 255, 255, 0.08);
  z-index: 7000;
  padding: 15px;
  opacity: 0;
  pointer-events: none;
  transition: left 0.4s cubic-bezier(0.2, 1, 0.4, 1), opacity 0.4s;
  font-family: 'SF Pro Display';
  display: flex;
  flex-direction: column;
  box-sizing: border-box;
  overflow: hidden;
}

#spotify-player-window.open {
  left: 70px;
  opacity: 1;
  pointer-events: auto;
}

.spotify-header {
  border-bottom: none;
    margin-bottom: 10px;
    display: flex;
    color: #fff;
    flex-shrink: 0;
    flex-direction: column;
    align-items: center;
}

.spotify-header #spotify-view-title {
  font-size: 1.1em;
  font-weight: 200 !important;
  margin-bottom: 8px;
  color: #fff;
  letter-spacing: 0.01em;
}

#spotify-view-container {
    flex-grow: 1;
    position: relative;
}

#spotify-now-playing-view, #spotify-search-view {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    display: flex;
    flex-direction: column;
    transition: opacity 0.3s ease-in-out, transform 0.3s ease-in-out;
}
#spotify-now-playing-view {
    transform: translateX(-100%);
    opacity: 0;
}
#spotify-search-view {
    transform: translateX(100%);
    opacity: 0;
}
#spotify-now-playing-view.active,
#spotify-search-view.active {
    transform: translateX(0);
    opacity: 1;
}
/* Initially hide the search view without transform */
#spotify-search-view:not(.active) {
    transform: translateX(100%);
}
/* Set initial state for playing view */
#spotify-now-playing-view.active {
    transform: translateX(0);
}
#spotify-now-playing-view:not(.active) {
    transform: translateX(-100%);
}

@keyframes new-album-art-glow {
  from { box-shadow: 0 0 4px rgba(255,255,255,0.1); }
  to { box-shadow: 0 0 16px rgba(255,255,255,0.25); }
}
#spotify-album-art.new-art {
    animation: new-album-art-glow 0.4s ease-in-out alternate 2;
}

input[type="range"].spotify-slider {
    -webkit-appearance: none;
    appearance: none;
    width: 100%;
    background: transparent;
    height: 14px;
    cursor: pointer;
}
input[type="range"].spotify-slider::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 4px;
    background: #404040;
    top: 50%;
    transform: translateY(-50%);
    left: 0;
    border-radius: 2px;
}
input[type="range"].spotify-slider::after {
    content: '';
    position: absolute;
    width: var(--fill-percent, 0%);
    height: 4px;
    background: #fff;
    top: 50%;
    transform: translateY(-50%);
    left: 0;
    border-radius: 2px;
}
input[type="range"].spotify-slider::-webkit-slider-thumb {
   -webkit-appearance: none;
    appearance: none;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: white;
    position: relative;
    z-index: 2;
    transition: transform 0.2s;
    box-shadow: 0 0 5px rgba(0,0,0,0.5);
}
input[type="range"].spotify-slider:hover::-webkit-slider-thumb {
    transform: scale(1.3);
}

.spotify-player-controls {
    margin: 15px 0;
}

.spotify-player-controls .spotify-control-btn.play-pause {
    background: white;
    color: black;
    transform: scale(1.1);
}
.spotify-player-controls .spotify-control-btn.play-pause:hover {
    transform: scale(1.2);
}

#spotify-search-view .spotify-search {
    margin-bottom: 10px;
}
#spotify-search-view .spotify-search input {
    background-color: #282828;
    border: 1px solid #383838;
}

#spotify-search-view .spotify-track {
    padding: 8px;
    border-radius: 6px;
}
#spotify-search-view .spotify-track:hover {
    background-color: #282828;
}
#spotify-search-view .spotify-content {
    height: calc(100% - 48px);
}

/* Remove text-shadow from search view for cleaner look */
#spotify-search-view .spotify-track-name, 
#spotify-search-view .spotify-track-artist {
  text-shadow: none;
}
#spotify-player-window ::-webkit-scrollbar { width: 5px; }
#spotify-player-window ::-webkit-scrollbar-track { background: transparent; }
#spotify-player-window ::-webkit-scrollbar-thumb { background: #444; border-radius: 3px; }
#spotify-player-window ::-webkit-scrollbar-thumb:hover { background: #555; }

.weather-title {
  font-size: 1.1em;
  font-weight: 600;
  margin-bottom: 8px;
  color: #222;
  letter-spacing: 0.01em;
}
.weather-info {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  margin-top: 10px;
}

.weather-info>svg{
  width: 60px;
  height: 60px;
}
.weather-temp {
  font-size: 2em;
  font-weight: 700;
  color: #222;
}
.weather-desc {
  font-size: 1.1em;
  color: #333;
  font-weight: 400;
}
.weather-location {
  font-size: 0.9em;
  font-weight: 100;
  color: rgba(255, 255, 255, 0.65);
  margin-top: 4px;
} 

.weather-city{
  margin-top: 4px;
  color: #222;
}

/* macOS App Store Window Styles */
.app-window {
    position: absolute;
    width: 80vw;
    max-width: 1000px;
    background-color: rgba(40, 40, 40, 0.75);
    border-radius: 12px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px) saturate(180%);
    display: flex;
    flex-direction: column;
    opacity: 0;
    transition: width 0.3s ease-in-out, height 0.3s ease-in-out, top 0.3s ease-in-out, left 0.3s ease-in-out, transform 0.3s ease-in-out, opacity 0.3s ease-in-out;
    z-index: 7500;
    transform-origin: center center;
    resize: both;
    overflow: hidden; /* Prevents window-body from overflowing outside window */
}
.app-window.open {
    transform: scale(1);
    opacity: 1;
}
.app-window.minimized {
    transform-origin: top left;
    opacity: 0;
    pointer-events: none;
    transition: transform 0.3s cubic-bezier(0.6, 0, 0.8, 0), opacity 0.2s ease-in-out;
}
.app-window.moved {
    transform: scale(1);
}
.app-window.moved.open {
    transform: scale(1);
}
.app-window.moved.minimized {
    opacity: 0;
}
.window-header {
  background-color: rgba(40, 40, 40);
    flex-shrink: 0;
    padding: 12px;
    display: flex;
    align-items: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}
.traffic-lights {
    display: flex;
    gap: 8px;
    margin-right: auto;
}
.traffic-lights .light {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    cursor: pointer;
}
.traffic-lights .red { background-color: #ff5f56; }
.traffic-lights .yellow { background-color: #ffbd2e; }
.traffic-lights .green { background-color: #27c93f; }

.window-body {
    flex: 1 1 0;
    display: flex;
    overflow: auto;
    height: 89vh;
}

/* Sidebar Styles */
.sidebar {
    flex-shrink: 0;
    background-color: rgba(0, 0, 0, 0.1);
    padding: 15px;
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: #555 transparent;
}
.sidebar-search { margin-bottom: 20px; }
.sidebar-search input {
    width: 88%;
    padding: 8px 12px;
    background-color: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 6px;
    color: white;
    font-size: 13px;
}
.sidebar-menu { list-style: none; padding: 0; margin: 0; }
.menu-heading {
    font-size: 11px;
    font-weight: bold;
    color: #888;
    text-transform: uppercase;
    padding: 15px 10px 5px;
}
.menu-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 10px;
    font-size: 14px;
    color: #ccc;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.2s, color 0.2s;
}
.menu-item:hover { background-color: rgba(255, 255, 255, 0.05); }
.menu-item.active {
    background-color: #007aff;
    color: white;
    font-weight: 500;
}
.menu-item svg { width: 16px; height: 16px; fill: currentColor; stroke: currentColor; }
.menu-item span {
    margin-left: auto;
    background-color: #333;
    color: #ccc;
    font-size: 12px;
    font-weight: 500;
    padding: 2px 6px;
    border-radius: 8px;
}
.sidebar::-webkit-scrollbar {
    width: 8px;
}
.sidebar::-webkit-scrollbar-track {
    background: transparent;
}
.sidebar::-webkit-scrollbar-thumb {
    background: #444;
    border-radius: 4px;
}
.sidebar::-webkit-scrollbar-thumb:hover {
    background: #555;
}

/* Main Content Styles */
.main-content {
    flex: 1 1 0;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}
.main-content-header {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    padding: 15px 25px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.main-content-header h2 {
    margin: 0;
    font-size: 22px;
    font-weight: 500;
    color: #f0f0f0;
}
.main-content-nav { 
    margin-left: auto; 
    display: flex; 
    gap: 8px; 
    background-color: rgba(0,0,0,0.2); 
    padding: 6px; 
    border-radius: 10px; 
}
.main-content-nav a {
    color: #a0a0a0;
    text-decoration: none;
    padding: 6px 16px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 500;
    transition: all 0.2s;
}
.main-content-nav a:hover {
    color: #ffffff;
    background-color: rgba(255, 255, 255, 0.05);
}
.main-content-nav a.active {
    background-color: rgba(255, 255, 255, 0.1);
    color: white;
}
.main-content-body {
    flex: 1 1 0;
    overflow-y: auto;
    padding: 25px;
    scrollbar-width: thin;
    scrollbar-color: #555 transparent;
}
.main-content-body h4 {
    color: white;
    font-size: 18px;
    margin: 15px 0 15px;
    font-weight: 600;
}
.promo-card {
    background: linear-gradient(90deg, #d946ef, #8b5cf6, #3b82f6);
    border-radius: 12px;
    padding: 25px;
    display: flex;
}
.promo-text h3 { margin: 0 0 5px; font-size: 20px; color: white; }
.promo-text p { margin: 0 0 15px; font-size: 14px; color: rgba(255, 255, 255, 0.8); max-width: 300px; }
.promo-text button {
    background-color: white;
    color: #333;
    border: none;
    padding: 8px 16px;
    border-radius: 20px;
    font-weight: 500;
    cursor: pointer;
}

.app-list { display: flex; flex-direction: column; gap: 5px; }
.app-item {
    display: grid;
    grid-template-columns: 50px 1fr auto auto auto;
    align-items: center;
    gap: 15px;
    padding: 10px;
    border-radius: 8px;
    transition: background-color 0.2s;
}
.app-item:hover { background-color: rgba(255, 255, 255, 0.05); }
.app-item img { width: 40px; height: 40px; border-radius: 8px; }
.app-name { color: white; font-size: 15px; font-weight: 500; }
.app-status { font-size: 13px; color: #aaa; display: flex; align-items: center; gap: 6px; }
.status-dot { width: 8px; height: 8px; border-radius: 50%; }
.status-dot.green { background-color: #34c759; }
.status-dot.blue { background-color: #007aff; }

.app-action {
    border: none;
    border-radius: 20px;
    padding: 6px 15px;
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
}
.app-action.open { background-color: #333; color: white; }
.app-action.update { background-color: #007aff; color: white; }
.app-action.install { background-color: #333; color: white; }
.app-action:hover { filter: brightness(1.2); }
.app-more {
    background: none;
    border: 1px solid #444;
    color: white;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    font-weight: bold;
}

.recommendation-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 20px;
}
.rec-card {
    background-color: rgba(255, 255, 255, 0.05);
    padding: 20px;
    border-radius: 12px;
}
.rec-card img { width: 32px; height: 32px; border-radius: 6px; margin-bottom: 10px; }
.rec-card h5 { margin: 0 0 5px; color: white; }
.rec-card p { margin: 0 0 15px; font-size: 13px; color: #aaa; }
.rec-card .app-action.install { background-color: #333; color: white; }
.main-content-body::-webkit-scrollbar {
    width: 8px;
}
.main-content-body::-webkit-scrollbar-track {
    background: transparent;
}
.main-content-body::-webkit-scrollbar-thumb {
    background: #444;
    border-radius: 4px;
}
.main-content-body::-webkit-scrollbar-thumb:hover {
    background: #555;
}

.storage-view {
    background: radial-gradient(linear-gradient(135deg, rgba(255, 255, 255, 0.30) 0%, rgb(226 33 2 / 30%) 100%));
    display: flex;
    flex-direction: column;
    color: white;
}
.storage-header, .storage-footer {
    flex-shrink: 0;
}
.storage-list {
    flex-grow: 1;
    overflow-y: auto;
    padding: 0 15px;
}
.storage-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 15px;
    font-size: 14px;
}
.start-over-link, .space-lens-link { color: white; text-decoration: none; }
.storage-nav { display: flex; align-items: center; gap: 10px; font-size: 12px; font-weight: 50;}
.nav-arrow { background: none; border: 1px solid #555; color: white; border-radius: 5px; width: 24px; height: 24px; }
.path-item { display: flex; align-items: center; gap: 5px; }
.path-item svg { width: 16px; height: 16px; fill: #fff; }

.storage-item {
    display: grid;
    grid-template-columns: 40px 1fr 1fr 100px;
    align-items: center;
    gap: 20px;
    padding: 12px 25px;
    border-bottom: 1px solid rgba(255,255,255,0.08);
    transition: background-color 0.2s ease;
}
.storage-item:hover {
    background-color: rgba(255,255,255,0.03);
}
.storage-item.selected { 
    background-color: rgba(0, 122, 255, 0.15); 
}

.item-icon { 
  width: 30px; 
  height: 30px; 
  display: flex; 
  align-items: center; 
  justify-content: center; 
}
  
.item-icon svg { width: 100%; height: 100%; fill: #5ac8fa; }
.item-icon.user-folder svg { fill: #ffffff; }
.item-icon.app-folder svg { fill: #ffffff; }
.item-icon.library-folder svg { fill: #f7b731; }
.item-icon.dev-drive svg { fill: #a9a9a9; }
.item-name { 
    font-weight: 500;
    color: #e0e0e0;
}
.item-description { 
    font-size: 12px;
    color: #999;
}

.item-progress {
    display: flex;
    flex-direction: row;
    gap: 10px;
    align-items: center;
}

.item-progress-bar {
    width: 100%;
    height: 4px;
    background-color: rgba(255, 255, 255, 0.08);
    border-radius: 3px;
    overflow: hidden;
}

.item-progress-fill {
    height: 100%;
    background: #007aff;
    border-radius: 3px;
    transition: width 0.4s ease;
}

.item-progress-text {
    font-size: 11px;
    color: #999;
    font-weight: 400;
}

.item-size { 
    font-weight: 500; 
    justify-self: end; 
    color: #e0e0e0;
}

.storage-footer {
    border-top: 1px solid rgba(255,255,255,0.08);
    display: grid;
    grid-template-columns: 1fr auto;
    grid-template-areas: "info button" "bar bar";
    align-items: center;
    gap: 12px;
    padding: 20px 25px;
}
.footer-info { grid-area: info; }
.usage-label { 
    font-size: 12px; 
    color: #999; 
    margin-bottom: 2px;
    display: block;
}
.usage-details { 
    font-size: 14px; 
    color: #e0e0e0;
    font-weight: 500;
}
.progress-bar-container { 
    grid-area: bar; 
    height: 6px; 
    background-color: rgba(255, 255, 255, 0.08); 
    border-radius: 3px; 
}
.progress-bar-used { 
    height: 100%; 
    background-color: #007aff; 
    border-radius: 3px; 
}

/* Custom scrollbar for storage list */
.storage-list::-webkit-scrollbar { width: 6px; }
.storage-list::-webkit-scrollbar-thumb { background-color: #555; border-radius: 3px; }
.storage-list::-webkit-scrollbar-track { background: transparent; }

#taskbar-system-tray {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 0 8px;
}

#taskbar-connection-status {
    border-radius: 4px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.2s ease;
}

#taskbar-connection-status:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

#taskbar-connection-status svg {
    transition: fill 0.3s ease;
}

#taskbar-connection-status.online svg {
    fill: #34c759;
}

#taskbar-connection-status.offline svg {
    fill: #ff3b30;
}

#taskbar-action-center-button {
    border-radius: 4px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

#taskbar-action-center-button:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

#quick-settings-panel {
    position: absolute;
    bottom: 65px;
    right: 10px;
    width: 280px;
    background-color: rgba(40, 40, 40, 0.7);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 6px;
    padding: 10px;
    display: none;
    flex-direction: column;
    gap: 16px;
    z-index: 1001;
    color: white;
}

#quick-settings-panel.open {
    display: flex;
}

.quick-settings-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
}

.quick-setting-tile {
    background-color: rgba(255, 255, 255, 0.1);
    border: 1px solid transparent;
    border-radius: 8px;
    padding: 12px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    cursor: pointer;
    transition: background-color 0.2s;
    color: white;
    font-size: 13px;
}

.quick-setting-tile:hover {
    background-color: rgba(255, 255, 255, 0.15);
}

.quick-setting-tile.active {
    background-color: #E89073;
    color: black;
}
.quick-setting-tile.active svg {
    fill: black;
}


.quick-setting-tile svg {
    width: 16px;
    height: 16px;
    fill: white;
}

.quick-settings-sliders {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.slider-container {
    display: flex;
    align-items: center;
    gap: 12px;
}

.slider-container svg {
    width: 20px;
    height: 20px;
    fill: white;
}

.slider-container input[type="range"] {
    -webkit-appearance: none;
    appearance: none;
    width: 100%;
    height: 3px;
    background: rgba(255, 255, 255, 0.5);
    border-radius: 2px;
    outline: none;
}

.slider-container input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 18px;
    height: 18px;
    background: #E89073;
    cursor: pointer;
    border-radius: 50%;
    border: 3px solid #333;
}

.quick-settings-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 8px;
}

.connection-status {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    transition: color 0.3s ease;
}

.connection-status.online {
    color: #34c759;
}

.connection-status.offline {
    color: #ff3b30;
}

.connection-status svg {
    transition: fill 0.3s ease;
}

.connection-status.online svg {
    fill: #34c759;
}

.connection-status.offline svg {
    fill: #ff3b30;
}

.quick-settings-actions {
    display: flex;
    gap: 8px;
}

.action-btn {
    background: none;
    border: none;
    color: white;
    padding: 4px;
    border-radius: 4px;
    cursor: pointer;
}

.action-btn:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

/* Connection Notification Styles */
.connection-notification {
    position: fixed;
    top: 20px;
    right: 20px;
    width: 300px;
    background-color: rgba(40, 40, 40, 0.95);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 16px;
    color: white;
    z-index: 10000;
    animation: slideInRight 0.3s ease-out;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

@keyframes slideInRight {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

.notification-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}

.notification-title {
    font-weight: 600;
    font-size: 14px;
}

.notification-close {
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.7);
    font-size: 18px;
    cursor: pointer;
    padding: 0;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    transition: background-color 0.2s ease;
}

.notification-close:hover {
    background-color: rgba(255, 255, 255, 0.1);
    color: white;
}

.notification-message {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.4;
}

/* New Spotify Player Styles */
#spotify-player-window {
    background-color: transparent;
    border-radius: 6px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    width: 340px;
    height: auto;
    border: none;
    backdrop-filter: none;
}

.spotify-player-card {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.spotify-player-top {
    height: 180px;
    position: relative;
    background-size: cover;
    background-position: center;
}

#spotify-player-top-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-size: cover;
    background-position: center;
    filter: blur(15px) brightness(0.8);
    transform: scale(1.2);
    z-index: 1;
}

.spotify-icon-btn {
    position: absolute;
    z-index: 2;
    background-color: rgba(0, 0, 0, 0.2);
    border: none;
    border-radius: 50%;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background-color 0.2s;
}

.spotify-icon-btn:hover {
    background-color: rgba(0, 0, 0, 0.4);
}

.spotify-icon-btn svg {
    width: 20px;
    height: 20px;
    fill: white;
}
.spotify-icon-btn.top-left { top: 16px; left: 16px; }
.spotify-icon-btn.top-right { top: 16px; right: 16px; }

.spotify-player-body {
    padding-top: 0;
    z-index: 2;
    position: relative;
    border-radius: 20px 20px 0 0;
}

.spotify-track-details {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

#spotify-album-art {
    width: 90px;
    height: 90px;
    border-radius: 6px;
    background-size: cover;
    background-position: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

#spotify-track-info {
    font-family: 'SFPRODISPLAYREGULAR', sans-serif;
    color: #333;
}

#spotify-track-name {
    font-family: 'SFPRODISPLAYMEDIUM', sans-serif;
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 4px;
}

#spotify-track-artist {
    font-size: 14px;
    color: #666;
}

.spotify-controls {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    margin-bottom: 20px;
}

.spotify-control-btn {
    background: none;
    border: none;
    cursor: pointer;
    color: #555;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.spotify-control-btn:hover {
    color: #000;
}

.spotify-control-btn.play-pause {
    background-color: #333;
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
}
.spotify-control-btn.play-pause:hover {
    background-color: #000;
    color: white;
}


.spotify-progress-container {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 12px;
    color: #888;
}

.spotify-slider-wrapper {
    flex-grow: 1;
}

input[type="range"].spotify-slider {
    width: 100%;
    -webkit-appearance: none;
    appearance: none;
    height: 4px;
    background: #ddd;
    border-radius: 2px;
    outline: none;
}

input[type="range"].spotify-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 14px;
    height: 14px;
    background: #333;
    border-radius: 50%;
    cursor: pointer;
    transition: background-color 0.2s;
}

input[type="range"].spotify-slider:hover::-webkit-slider-thumb {
    background: #000;
}

.resize-handle-se {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 15px;
    height: 15px;
    cursor: se-resize;
    z-index: 10;
}

.app-window.maximized {
    border-radius: 0;
    max-width: none;
    transition: width 0.3s ease-in-out, height 0.3s ease-in-out, top 0.3s ease-in-out, left 0.3s ease-in-out;
}

.app-window.maximized .resize-handle-se {
    display: none;
}

.remove-button { 
    grid-area: button;
    background-color: rgba(255, 255, 255, 0.1);
    color: #ffffff;
    padding: 6px 16px;
    border-radius: 8px;
    font-size: 13px;
    font-family: 'SF Pro Display';
    font-style: normal;
    transition: all 0.2s ease;
    border: none;
}

#stocks-side-window {
  position: fixed;
  top: 50%;
  left: -320px;
  transform: translateY(-50%);
  width: 170px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.10) 0%, rgb(60 60 60 / 10%) 100%);
  border-radius: 8px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.18);
  z-index: 7000;
  padding: 25px;
  opacity: 0;
  pointer-events: none;
  transition: left 0.35s cubic-bezier(.4,1.4,.6,1), opacity 0.35s;
  font-family: 'SF Pro Display';
  backdrop-filter: blur(18px);
}

#stocks-side-window.open {
  left: 70px;
  opacity: 1;
  pointer-events: auto;
}

/* Common slide-in/slide-out animation for widget icons */
@keyframes widgetSlideIn {
  from { transform: translateX(-60px); opacity: 0; }
  to { transform: translateX(0); opacity: 1; }
}
@keyframes widgetSlideOut {
  from { transform: translateX(0); opacity: 1; }
  to { transform: translateX(-60px); opacity: 0; }
}
.widget-icon.slide-in-widget {
  animation: widgetSlideIn 0.35s cubic-bezier(.4,1.4,.6,1) forwards;
}
.widget-icon.slide-out-widget {
  animation: widgetSlideOut 0.35s cubic-bezier(.4,1.4,.6,1) forwards;
}

/* Notepad window custom styles */
/* Remove custom header styles so Notepad uses default window-header */
/* .notepad-window .window-header { ... } */
/* .notepad-window .notepad-title { ... } */
.notepad-window {
  display: flex;
  flex-direction: column;
  height: 100%; /* or a fixed height */
  /* other styles */
}

.window-header {
  flex: 0 0 auto; /* don't grow/shrink */
  /* Optionally: */
  /* position: sticky; top: 0; z-index: 1; background: white; */
}

.window-content {
  flex: 1 1 auto;
  overflow-y: auto;
  /* This area will scroll, header stays visible */
}

#notepad-textarea {
  width: 100%;
  height: 100%;
  border: none;
  outline: none;
  resize: none;
  font-size: 1em;
  padding: 16px;
  background: #fffbe7;
  color: #222;
  font-family: 'SF Pro Display', 'geist', 'Segoe UI', Arial, sans-serif, monospace;
  box-sizing: border-box;
  border-bottom-left-radius: 12px;
  border-bottom-right-radius: 12px;
}

.theme-btn-nav {
    margin-left: auto;
    display: flex;
    flex-direction: column;
    gap: 8px;
    background-color: rgba(0, 0, 0, 0.15);
    padding: 6px;
    border-radius: 6px;
}
.theme-btn-nav a {
    color: #a0a0a0;
    text-decoration: none;
    padding: 6px 16px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 500;
    transition: all 0.2s;
}
.theme-btn-nav a:hover {
    color: #ffffff;
    background-color: rgba(255, 255, 255, 0.05);
}
.theme-btn-nav a.active {
    background-color: rgba(255, 255, 255, 0.1);
    color: white;
}

/* Mobile Overlay Styles */
#mobile-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #1e1e1e 0%, #2d2d2d 100%);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'SF Pro Display', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
}

#mobile-content {
  text-align: center;
  max-width: 400px;
  padding: 40px 20px;
  color: white;
}

.mobile-icon {
  margin-bottom: 30px;
  animation: pulse 2s infinite;
}

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

#mobile-content h1 {
  font-size: 36px;
  font-weight: 300;
  margin: 0 0 10px 0;
  background: linear-gradient(135deg, #0078d4, #00a2ff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

#mobile-content h2 {
  font-size: 24px;
  font-weight: 400;
  margin: 0 0 20px 0;
  color: #e0e0e0;
}

#mobile-content p {
  font-size: 16px;
  line-height: 1.6;
  margin: 0 0 15px 0;
  color: #b0b0b0;
}

.mobile-features {
  margin-top: 40px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.feature {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 15px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: all 0.3s ease;
}

.feature:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(0, 120, 212, 0.3);
  transform: translateY(-2px);
}

.feature svg {
  flex-shrink: 0;
}

.feature span {
  font-size: 14px;
  font-weight: 500;
  color: #e0e0e0;
}

/* Hide mobile overlay on desktop */
@media (min-width: 768px) {
  #mobile-overlay {
    display: none !important;
  }
}

