:root {
  --glass-bg: rgba(15, 18, 35, 0.7);
  --glass-border: rgba(255, 255, 255, 0.12);
  --text: #f4f7ff;
  --muted: #b9c0e0;
  --accent: #8b5cf6;
  --accent-2: #22d3ee;
  --shadow: 0 20px 40px rgba(0, 0, 0, 0.35);
  --radius: 22px;
  --taskbar-opacity: 0.7;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  font-family: Inter, Arial, sans-serif;
  color: var(--text);
  background: #0b1020;
}

body.wallpaper-1 {
  background:
    radial-gradient(circle at top left, rgba(139, 92, 246, 0.35), transparent 30%),
    radial-gradient(circle at top right, rgba(34, 211, 238, 0.18), transparent 28%),
    linear-gradient(135deg, #070b14 0%, #151a33 45%, #120d22 100%);
}

body.wallpaper-2 {
  background:
    radial-gradient(circle at 20% 20%, rgba(114, 9, 183, 0.28), transparent 25%),
    radial-gradient(circle at 80% 30%, rgba(58, 134, 255, 0.22), transparent 28%),
    radial-gradient(circle at 50% 80%, rgba(255, 0, 110, 0.18), transparent 35%),
    linear-gradient(135deg, #04070f, #0e1430, #170820);
}

body.wallpaper-3 {
  background:
    radial-gradient(circle at 20% 15%, rgba(96, 165, 250, 0.22), transparent 26%),
    radial-gradient(circle at 85% 20%, rgba(14, 165, 233, 0.18), transparent 24%),
    linear-gradient(135deg, #07111f, #0c223b, #09121f);
}

body.wallpaper-4 {
  background:
    radial-gradient(circle at 10% 10%, rgba(249, 115, 22, 0.24), transparent 25%),
    radial-gradient(circle at 90% 20%, rgba(236, 72, 153, 0.18), transparent 25%),
    linear-gradient(135deg, #140d12, #25152b, #0c1220);
}

.hidden {
  display: none !important;
}

.hidden-window {
  display: none !important;
}

.glass {
  background: var(--glass-bg);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border: 1px solid var(--glass-border);
  box-shadow: var(--shadow);
}

.boot-screen,
.login-screen,
.desktop {
  position: fixed;
  inset: 0;
}

.boot-screen,
.login-screen {
  display: grid;
  place-items: center;
}

.boot-screen {
  background: linear-gradient(135deg, #090d16, #140f2c, #09131f);
  z-index: 2000;
}

.boot-logo {
  font-size: 3rem;
  font-weight: 800;
  letter-spacing: 2px;
}

.boot-sub {
  margin-top: 10px;
  color: var(--muted);
  text-align: center;
}

.boot-loader {
  display: flex;
  gap: 10px;
  margin-top: 24px;
  justify-content: center;
}

.boot-loader span {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  animation: bounce 1s infinite ease-in-out;
}

.boot-loader span:nth-child(2) {
  animation-delay: 0.15s;
}

.boot-loader span:nth-child(3) {
  animation-delay: 0.3s;
}

@keyframes bounce {
  0%,
  80%,
  100% {
    transform: scale(0.7);
    opacity: 0.6;
  }
  40% {
    transform: scale(1.1);
    opacity: 1;
  }
}

.login-bg {
  position: absolute;
  inset: 0;
  background: rgba(5, 8, 18, 0.35);
}

.login-card {
  position: relative;
  z-index: 2;
  width: 360px;
  text-align: center;
  padding: 34px;
  border-radius: 28px;
}

.login-avatar-wrap {
  width: 108px;
  height: 108px;
  margin: 0 auto 16px;
  border-radius: 50%;
  overflow: hidden;
  border: 2px solid rgba(255, 255, 255, 0.18);
}

.login-avatar {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.login-sub,
.muted {
  color: var(--muted);
}

.sign-in-btn,
.action-btn,
.secondary-btn,
.chrome-go-btn,
.chrome-nav-btn,
.explorer-nav-btn,
.start-item,
.home-card,
.sys-btn,
.wallpaper-option,
.explorer-side-item,
.start-btn,
.task-icon {
  border: none;
  cursor: pointer;
  transition: 0.2s ease;
}

.sign-in-btn,
.action-btn,
.chrome-go-btn {
  background: linear-gradient(135deg, var(--accent), #6d28d9);
  color: white;
}

.secondary-btn,
.chrome-nav-btn,
.explorer-nav-btn,
.start-item,
.home-card,
.sys-btn,
.wallpaper-option,
.explorer-side-item,
.start-btn,
.task-icon {
  background: rgba(255, 255, 255, 0.08);
  color: white;
}

.sign-in-btn,
.action-btn,
.chrome-go-btn,
.secondary-btn,
.chrome-nav-btn,
.explorer-nav-btn,
.start-item,
.home-card,
.sys-btn,
.wallpaper-option,
.explorer-side-item,
.start-btn,
.task-icon {
  border-radius: 14px;
}

.sign-in-btn {
  padding: 12px 20px;
  width: 100%;
  margin-top: 18px;
  font-weight: 700;
}

.desktop {
  padding: 22px;
}

.desktop-icons {
  position: absolute;
  inset: 24px auto 100px 22px;
  width: 420px;
  height: calc(100vh - 160px);
  z-index: 2;
}

.desktop-shortcut {
  background: transparent;
  border: none;
  color: white;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  cursor: grab;
  position: absolute;
  width: 90px;
  user-select: none;
}

.desktop-shortcut:active {
  cursor: grabbing;
}

.desktop-shortcut-img {
  width: 66px;
  height: 66px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.08);
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.desktop-shortcut-img img {
  width: 34px;
  height: 34px;
  object-fit: contain;
}

.icon-emoji {
  font-size: 2rem;
}

.window {
  position: absolute;
  border-radius: var(--radius);
  overflow: hidden;
  z-index: 10;
}

.window.active {
  z-index: 100;
}

.window-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 16px;
  cursor: move;
  background: rgba(255, 255, 255, 0.04);
}

.window-title {
  font-weight: 700;
  font-size: 0.95rem;
}

.window-dots {
  display: flex;
  gap: 8px;
}

.dot {
  width: 13px;
  height: 13px;
  border-radius: 50%;
  display: inline-block;
  cursor: pointer;
}

.dot.red {
  background: #ff5f57;
}
.dot.yellow {
  background: #febb2e;
}
.dot.green {
  background: #28c840;
}

.window-content {
  padding: 18px;
  height: calc(100% - 52px);
  overflow: auto;
}

.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 16px;
}

.tags span,
.badge {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 8px 12px;
  border-radius: 999px;
}

.explorer-toolbar,
.chrome-toolbar {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  background: rgba(255, 255, 255, 0.04);
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.explorer-path,
.chrome-address {
  flex: 1;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: white;
  border-radius: 14px;
  padding: 10px 14px;
}

.chrome-address-wrap {
  flex: 1;
}

.chrome-address {
  width: 100%;
}

.explorer-content {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 18px;
}

.explorer-sidebar {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.explorer-side-item {
  padding: 12px;
  text-align: left;
}

.explorer-side-item.active {
  background: rgba(139, 92, 246, 0.28);
}

.explorer-grid,
.store-grid,
.stats-grid {
  display: grid;
  gap: 16px;
}

.explorer-grid {
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
}

.project-folder-card,
.store-card,
.status-card,
.settings-card {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 20px;
  padding: 18px;
}

.project-folder-card {
  cursor: pointer;
}

.project-folder-icon {
  font-size: 2rem;
  margin-bottom: 10px;
}

.project-details-header,
.project-file-row,
.setting-row,
.panel-header,
.list-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.project-details-header {
  margin-bottom: 18px;
}

.project-file-list {
  display: grid;
  gap: 14px;
}

.project-file-row,
.list-row {
  background: rgba(255, 255, 255, 0.05);
  padding: 14px;
  border-radius: 16px;
}

.file-meta {
  display: flex;
  align-items: center;
  gap: 14px;
}

.file-icon {
  font-size: 1.6rem;
}

.chrome-tabs-bar {
  padding: 10px 12px 0;
  background: rgba(255, 255, 255, 0.04);
}

.chrome-tab {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.08);
  color: white;
  border: none;
  border-top-left-radius: 14px;
  border-top-right-radius: 14px;
  padding: 10px 14px;
}

.chrome-tab img {
  width: 16px;
  height: 16px;
}

.chrome-content {
  padding: 0;
}

.chrome-home,
.chrome-viewer {
  display: none;
  height: 100%;
}

.chrome-home.active,
.chrome-viewer.active {
  display: block;
}

.chrome-home {
  padding: 28px;
}

.chrome-home-header {
  text-align: center;
  margin-bottom: 24px;
}

.chrome-home-header img {
  width: 56px;
  height: 56px;
}

.home-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(120px, 1fr));
  gap: 14px;
}

.home-card {
  padding: 20px;
  text-align: left;
}

.chrome-viewer iframe,
.spotify-content iframe {
  width: 100%;
  height: 100%;
  border: none;
}

.spotify-content {
  padding: 0;
}

.terminal {
  font-family: Consolas, monospace;
  color: #7cff8a;
  background: rgba(0, 0, 0, 0.35);
}

.terminal-line {
  margin-bottom: 8px;
}

.file-list {
  display: grid;
  gap: 12px;
}

.settings-grid {
  display: grid;
  gap: 16px;
}

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

.wallpaper-option {
  padding: 14px;
}

.wallpaper-option.active {
  background: rgba(139, 92, 246, 0.28);
}

.stats-grid {
  grid-template-columns: repeat(2, 1fr);
}

.big-stat {
  font-size: 2rem;
  font-weight: 800;
  margin-top: 10px;
}

.store-grid {
  grid-template-columns: repeat(2, 1fr);
}

.notification-panel {
  position: absolute;
  right: 18px;
  bottom: 82px;
  width: 340px;
  max-height: 420px;
  border-radius: 24px;
  z-index: 140;
  padding: 16px;
}

.notification-list {
  display: grid;
  gap: 10px;
  margin-top: 14px;
}

.notification-item {
  background: rgba(255, 255, 255, 0.06);
  border-radius: 16px;
  padding: 12px;
}

.start-menu {
  position: absolute;
  bottom: 82px;
  left: 22px;
  width: 340px;
  border-radius: 24px;
  z-index: 140;
  padding: 16px;
  display: none;
}

.start-menu.show {
  display: block;
}

.start-user {
  display: flex;
  gap: 12px;
  align-items: center;
}

.start-avatar {
  width: 54px;
  height: 54px;
  object-fit: cover;
  border-radius: 16px;
}

.start-search-wrap {
  margin: 16px 0;
}

.start-search-wrap input {
  width: 100%;
  background: rgba(255, 255, 255, 0.08);
  color: white;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  padding: 12px 14px;
}

.start-menu-apps {
  display: grid;
  gap: 10px;
  max-height: 350px;
  overflow: auto;
}

.start-item {
  padding: 12px 14px;
  text-align: left;
}

.taskbar {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 18px;
  border-radius: 24px;
  padding: 12px 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgba(15, 18, 35, var(--taskbar-opacity));
  z-index: 130;
}

.taskbar-left,
.taskbar-right,
.task-icons,
.system-icons {
  display: flex;
  align-items: center;
  gap: 10px;
}

.start-btn,
.task-icon {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 12px;
}

.taskbar-icon-img {
  width: 20px;
  height: 20px;
  object-fit: contain;
}

.taskbar-emoji {
  font-size: 1rem;
}

.task-icon.active {
  background: rgba(139, 92, 246, 0.28);
}

.small-btn {
  padding: 8px 10px;
}

.mt-20 {
  margin-top: 20px;
}

@media (max-width: 1100px) {
  .task-icon span,
  .start-btn span {
    display: none;
  }

  .notification-panel,
  .start-menu {
    width: min(92vw, 340px);
  }
}

.github-page{
    padding:20px;
    color:white;
}

.github-topbar{
    background:#161b22;
    padding:15px;
    border-radius:12px;
    margin-bottom:20px;
}

.github-files{
    display:flex;
    flex-direction:column;
    gap:10px;
}

.github-file{
    background:#161b22;
    padding:14px;
    border-radius:10px;
    cursor:pointer;
}

.github-file:hover{
    background:#21262d;
}

.github-readme{
    margin-top:20px;
    background:#161b22;
    padding:20px;
    border-radius:12px;
}