:root {
  --bg: #0f172a;
  --surface: #1e293b;
  --surface-hover: #334155;
  --menu-bg: #1a1033;
  --accent: #7c3aed;
  --accent2: #a78bfa;
  --text: #e2e8f0;
  --muted: #94a3b8;
  --border: rgba(124, 58, 237, 0.2);
  --font: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  --menu-w: 280px;
  --duration: 0.4s;
  --glass-frost: 0.15;
  --glass-saturation: 1.4;
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html, body {
  width: 100%;
  height: 100%;
  background-color: var(--bg);
  color: var(--text);
  font-family: var(--font);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

::selection {
  background: var(--accent);
  color: #ffffff;
}

/* Base Container & Wallpapers */
.sm-01 {
  min-height: 100vh;
  position: relative;
  overflow-x: hidden;
  display: flex;
  flex-direction: column;
  background-image: url("../img/wallpaper.jpg");
  background-repeat: no-repeat;
  background-attachment: fixed;
  background-position: center;
  background-size: cover;
  transition: background 0.3s ease;
}

.sm-01.wallpaper-dark {
  background-image: linear-gradient(135deg, #090d16 0%, #111827 50%, #030712 100%) !important;
}

.sm-01.wallpaper-abstract {
  background-image: radial-gradient(circle at 20% 30%, rgba(124, 58, 237, 0.3) 0%, transparent 40%),
                    radial-gradient(circle at 80% 70%, rgba(59, 130, 246, 0.25) 0%, transparent 40%),
                    linear-gradient(135deg, #0b0f19 0%, #15102a 100%) !important;
}

/* Pure CSS Checkbox Toggle for Sidebar Nav */
.sm-01__toggle {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
  pointer-events: none;
}

/* Hamburger Icon Button */
.sm-01__burger {
  position: absolute;
  top: 20px;
  left: 20px;
  z-index: 50;
  width: 42px;
  height: 42px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 10px;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  transition: background 0.2s, border-color 0.2s, transform 0.2s;
  user-select: none;
}

.sm-01__burger:hover {
  background: var(--accent);
  border-color: var(--accent);
}

.sm-01__burger span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform var(--duration), opacity var(--duration);
  transform-origin: center;
}

/* Burger -> X animation via checkbox or .active class */
.sm-01__toggle:checked ~ .sm-01__burger span:nth-child(1),
.sm-01__burger.is-active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.sm-01__toggle:checked ~ .sm-01__burger span:nth-child(2),
.sm-01__burger.is-active span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

.sm-01__toggle:checked ~ .sm-01__burger span:nth-child(3),
.sm-01__burger.is-active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Slide-in panel - Liquid Glass Nav */
.sm-01__nav {
  position: fixed;
  top: 0;
  left: 0;
  width: var(--menu-w);
  height: 100vh;
  z-index: 40;
  display: flex;
  flex-direction: column;
  padding: 80px 0 24px;
  transform: translateX(-100%);
  transition: transform var(--duration) cubic-bezier(0.4, 0, 0.2, 1);
  background: hsl(0 0% 0% / var(--glass-frost, 0.15));
  -webkit-backdrop-filter: blur(16px) saturate(var(--glass-saturation, 1.4));
  backdrop-filter: blur(16px) saturate(var(--glass-saturation, 1.4));
  border-right: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: 
    inset 0 0 2px 1px rgba(255, 255, 255, 0.25),
    inset -4px 0 16px rgba(17, 17, 26, 0.15),
    4px 0 32px rgba(0, 0, 0, 0.37);
}

.sm-01__toggle:checked ~ .sm-01__nav,
.sm-01__nav.is-open {
  transform: translateX(0);
}

/* Brand Header */
.sm-01__brand {
  padding: 0 24px 24px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.sm-01__logo {
  width: 36px;
  height: 36px;
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  border-radius: 9px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 16px;
  overflow: hidden;
}

.sm-01__logo img {
  width: 24px;
  height: 24px;
  object-fit: contain;
}

.sm-01__brand-name {
  font-weight: 700;
  font-size: 16px;
  color: #ffffff;
}

.sm-01__brand-sub {
  font-size: 11px;
  color: var(--muted);
}

/* Nav links */
.sm-01__links {
  flex: 1;
  padding: 0 12px;
}

.sm-01__link {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 13px 16px;
  border-radius: 10px;
  color: var(--muted);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  transition: all 0.2s ease;
  margin-bottom: 4px;
  cursor: pointer;
  background: transparent;
  border: none;
  width: 100%;
  text-align: left;
  font-family: inherit;
}

.sm-01__link:hover {
  color: var(--text);
  background: rgba(124, 58, 237, 0.15);
}

.sm-01__link.sm-01__link--active,
.sm-01__link.active {
  color: var(--text);
  background: rgba(124, 58, 237, 0.2);
}

.sm-01__link-icon {
  width: 36px;
  height: 36px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  flex-shrink: 0;
  transition: background 0.2s;
}

.sm-01__link:hover .sm-01__link-icon,
.sm-01__link.sm-01__link--active .sm-01__link-icon,
.sm-01__link.active .sm-01__link-icon {
  background: var(--accent);
}

/* Nav Footer */
.sm-01__nav-footer {
  padding: 16px 24px 0;
  border-top: 1px solid var(--border);
}

.sm-01__avatar {
  display: flex;
  align-items: center;
  gap: 12px;
}

.sm-01__avatar-img {
  width: 36px;
  height: 36px;
  background: linear-gradient(135deg, #f59e0b, #ef4444);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 13px;
  color: #ffffff;
}

.sm-01__avatar-name {
  font-size: 13px;
  font-weight: 600;
  color: #ffffff;
}

.sm-01__avatar-role {
  font-size: 11px;
  color: var(--muted);
}

/* ==========================================================================
   TOP-RIGHT NOTICES (MACOS WINDOW CONTROLS + LIQUID GLASS)
   ========================================================================== */

.notice-stack {
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 100;
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: 340px;
  width: calc(100% - 40px);
}

.notice-item {
  display: grid;
  grid-template-rows: 1fr;
  transition: grid-template-rows 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.notice-item__inner {
  overflow: hidden;
}

/* Notice Container Box */
.notice-container {
  position: relative;
  border-radius: 16px;
  padding: 14px 16px;
  font-size: 13px;
  font-weight: 500;
  color: var(--text);
  display: flex;
  flex-direction: column;
  gap: 8px;
  line-height: 1.4;
  background: hsl(0 0% 0% / var(--glass-frost, 0.25));
  -webkit-backdrop-filter: blur(16px) saturate(1.4);
  backdrop-filter: blur(16px) saturate(1.4);
  border: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: 
    inset 0 0 2px 1px rgba(255, 255, 255, 0.25),
    inset 0 0 10px 2px rgba(255, 255, 255, 0.08),
    0 10px 25px rgba(0, 0, 0, 0.4);
  opacity: 1;
  transform: translateY(0) scale(1);
  transform-origin: top center;
  transition: 
    opacity 0.35s cubic-bezier(0.4, 0, 0.2, 1),
    transform 0.35s cubic-bezier(0.4, 0, 0.2, 1),
    margin 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.notice-container--warning {
  border-left: 3px solid #f59e0b;
}

.notice-container--owner {
  border-left: 3px solid #ef4444;
}

/* macOS Window Dots */
.mac-controls {
  display: flex;
  align-items: center;
  gap: 6px;
}

.mac-close-toggle {
  display: none;
}

.mac-dot {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 8px;
  color: transparent;
  cursor: pointer;
  user-select: none;
  transition: filter 0.15s ease;
  border: none;
  padding: 0;
  background: transparent;
}

.mac-dot:hover {
  filter: brightness(0.85);
  color: rgba(0, 0, 0, 0.6);
}

.mac-dot--close {
  background: #ff5f56;
  border: 0.5px solid #e0443e;
}

.mac-dot--minimize {
  background: #ffbd2e;
  border: 0.5px solid #dea123;
}

.mac-dot--zoom {
  background: #27c93f;
  border: 0.5px solid #1aab29;
}

.notice-body {
  display: flex;
  align-items: center;
  gap: 10px;
}

.notice-icon {
  font-size: 16px;
  flex-shrink: 0;
}

/* Pure CSS Checkbox Close Animation Trigger */
#close-warning:checked ~ .notice-item,
#close-owner:checked ~ .notice-item,
.notice-item.is-closed {
  grid-template-rows: 0fr;
}

#close-warning:checked ~ .notice-item .notice-container,
#close-owner:checked ~ .notice-item .notice-container,
.notice-item.is-closed .notice-container {
  opacity: 0;
  transform: translateY(-12px) scale(0.92);
  pointer-events: none;
  margin-bottom: -12px;
}

/* ==========================================================================
   PAGE 1: HOME (CENTRAL CARD)
   ========================================================================== */

.page-section {
  display: none;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.page-section.active {
  display: block;
  opacity: 1;
}

.sm-01__content {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 80px 24px 40px 24px;
  min-height: calc(100vh - 40px);
}

.sm-01__wrapper {
  display: flex;
  flex-direction: column;
  gap: 16px;
  max-width: 500px;
  width: 100%;
}

.sm-01__card {
  padding: 36px 32px;
  text-align: center;
  border-radius: 24px;
  background: hsl(0 0% 0% / var(--glass-frost, 0.15));
  -webkit-backdrop-filter: blur(16px) saturate(var(--glass-saturation, 1.3));
  backdrop-filter: blur(16px) saturate(var(--glass-saturation, 1.3));
  border: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: 
    inset 0 0 2px 1px rgba(255, 255, 255, 0.35),
    inset 0 0 10px 4px rgba(255, 255, 255, 0.12),
    inset 0 4px 16px rgba(17, 17, 26, 0.05),
    inset 0 8px 24px rgba(17, 17, 26, 0.05),
    0 12px 32px rgba(0, 0, 0, 0.3);
}

.sm-01__heading {
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 12px;
  color: #ffffff;
}

.sm-01__subhead {
  font-size: 15px;
  color: var(--muted);
  margin-bottom: 24px;
  line-height: 1.6;
}

.sm-01__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  color: #ffffff;
  font-weight: 600;
  font-size: 14px;
  text-decoration: none;
  border-radius: 8px;
  transition: opacity 0.2s ease, transform 0.2s ease;
  cursor: pointer;
  border: none;
  font-family: inherit;
}

.sm-01__btn:hover {
  opacity: 0.9;
  transform: translateY(-2px);
}

.sm-01__btn-subtle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 11px 18px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: var(--text);
  font-weight: 500;
  font-size: 13px;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.2s ease;
  font-family: inherit;
}

.sm-01__btn-subtle:hover {
  background: rgba(255, 255, 255, 0.16);
}

.home-btn-group {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}

/* ==========================================================================
   PAGE 2: FILE EXPLORER
   ========================================================================== */

.explorer__content {
  flex: 1;
  padding: 80px 24px 24px 80px;
  display: flex;
  flex-direction: column;
  gap: 24px;
  overflow-y: auto;
  max-width: 1000px;
  margin: 0 auto;
  width: 100%;
}

.explorer__toolbar {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  background: hsl(0 0% 0% / 0.25);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  padding: 12px 20px;
  border-radius: 12px;
  border: 1px solid var(--border);
}

.explorer__breadcrumbs {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 600;
}

.explorer__actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.explorer__search {
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid var(--border);
  color: var(--text);
  padding: 8px 14px;
  border-radius: 8px;
  font-size: 13px;
  outline: none;
  font-family: inherit;
}

.explorer__search:focus {
  border-color: var(--accent);
}

.explorer__btn {
  background: var(--bg);
  color: var(--text);
  border: 1px solid var(--border);
  padding: 8px 14px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 13px;
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: border-color 0.2s, background 0.2s;
  font-family: inherit;
}

.explorer__btn:hover {
  border-color: var(--accent);
  background: var(--surface-hover);
}

.explorer__section-title {
  font-size: 16px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 12px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.explorer__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 16px;
}

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

.explorer__grid.list-view .file-item {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  padding: 12px 20px;
}

.file-item {
  background: hsl(0 0% 0% / 0.2);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  text-decoration: none;
  color: var(--text);
  transition: background 0.2s, transform 0.2s, border-color 0.2s;
}

.file-item:hover {
  background: rgba(124, 58, 237, 0.15);
  transform: translateY(-2px);
  border-color: var(--accent);
}

.file-item__top {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.file-item__icon {
  width: 40px;
  height: 40px;
  background: rgba(124, 58, 237, 0.15);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
}

.file-item__badge {
  font-size: 10px;
  font-weight: 700;
  padding: 4px 8px;
  border-radius: 6px;
  text-transform: uppercase;
  background: rgba(124, 58, 237, 0.2);
  color: var(--accent2);
}

.file-item__title {
  font-size: 14px;
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  color: #ffffff;
}

.file-item__info {
  font-size: 12px;
  color: var(--muted);
  display: flex;
  justify-content: space-between;
}

/* ==========================================================================
   PAGE 3: SETTINGS
   ========================================================================== */

.settings__content {
  flex: 1;
  padding: 80px 24px 24px 80px;
  display: flex;
  flex-direction: column;
  gap: 24px;
  max-width: 800px;
  margin: 0 auto;
  width: 100%;
  overflow-y: auto;
}

.settings__card {
  padding: 24px 28px;
  border-radius: 20px;
  background: hsl(0 0% 0% / var(--glass-frost, 0.2));
  -webkit-backdrop-filter: blur(16px) saturate(var(--glass-saturation, 1.4));
  backdrop-filter: blur(16px) saturate(var(--glass-saturation, 1.4));
  border: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: 
    inset 0 0 2px 1px rgba(255, 255, 255, 0.25),
    inset 0 0 10px 4px rgba(255, 255, 255, 0.08),
    0 12px 32px rgba(0, 0, 0, 0.3);
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.settings__header {
  border-bottom: 1px solid var(--border);
  padding-bottom: 12px;
}

.settings__title {
  font-size: 22px;
  font-weight: 700;
  color: #ffffff;
}

.settings__subtitle {
  font-size: 13px;
  color: var(--muted);
  margin-top: 4px;
}

.settings__group {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.settings__row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.settings__row:last-child {
  border-bottom: none;
}

.settings__label-group {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.settings__label {
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
}

.settings__desc {
  font-size: 12px;
  color: var(--muted);
}

/* Custom CSS Switch */
.switch {
  position: relative;
  display: inline-block;
  width: 46px;
  height: 24px;
  cursor: pointer;
  flex-shrink: 0;
}

.switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.slider {
  position: absolute;
  cursor: pointer;
  top: 0; left: 0; right: 0; bottom: 0;
  background-color: rgba(255, 255, 255, 0.2);
  transition: .3s ease;
  border-radius: 24px;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.slider:before {
  position: absolute;
  content: "";
  height: 16px;
  width: 16px;
  left: 3px;
  bottom: 3px;
  background-color: white;
  transition: .3s ease;
  border-radius: 50%;
}

input:checked + .slider {
  background-color: var(--accent);
}

input:checked + .slider:before {
  transform: translateX(22px);
}

.settings__select {
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid var(--border);
  color: var(--text);
  padding: 8px 14px;
  border-radius: 8px;
  font-size: 13px;
  outline: none;
  cursor: pointer;
  font-family: inherit;
}

.settings__select option {
  background: var(--bg);
  color: var(--text);
}

.settings__color-options {
  display: flex;
  gap: 10px;
}

.color-dot {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  cursor: pointer;
  border: 2px solid transparent;
  transition: transform 0.2s, border-color 0.2s;
}

.color-dot:hover {
  transform: scale(1.15);
}

.color-dot.active {
  border-color: #ffffff;
  transform: scale(1.1);
}

.color-dot--purple { background: #7c3aed; }
.color-dot--blue { background: #0078d4; }
.color-dot--green { background: #10b981; }
.color-dot--red { background: #ef4444; }

.settings__save-btn {
  align-self: flex-start;
  padding: 10px 22px;
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  color: #ffffff;
  font-weight: 600;
  font-size: 13px;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: opacity 0.2s, transform 0.2s;
  font-family: inherit;
}

.settings__save-btn:hover {
  opacity: 0.9;
  transform: translateY(-1px);
}

/* ==========================================================================
   PAGE 4: ABOUT
   ========================================================================== */

.about__content {
  flex: 1;
  padding: 80px 24px 24px 80px;
  display: flex;
  flex-direction: column;
  gap: 24px;
  max-width: 800px;
  margin: 0 auto;
  width: 100%;
  overflow-y: auto;
}

.about__card {
  padding: 28px 32px;
  border-radius: 20px;
  background: hsl(0 0% 0% / var(--glass-frost, 0.2));
  -webkit-backdrop-filter: blur(16px) saturate(var(--glass-saturation, 1.4));
  backdrop-filter: blur(16px) saturate(var(--glass-saturation, 1.4));
  border: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: 
    inset 0 0 2px 1px rgba(255, 255, 255, 0.25),
    inset 0 0 10px 4px rgba(255, 255, 255, 0.08),
    0 12px 32px rgba(0, 0, 0, 0.3);
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.about__profile {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 8px;
}

.about__profile-avatar {
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  font-weight: 700;
  color: #ffffff;
}

.about__title {
  font-size: 22px;
  font-weight: 700;
  color: #ffffff;
}

.about__desc {
  font-size: 14px;
  line-height: 1.6;
  color: var(--muted);
}

.about__tech-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 8px;
}

.about__tag {
  background: rgba(124, 58, 237, 0.15);
  border: 1px solid var(--border);
  padding: 4px 12px;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 600;
  color: var(--accent2);
}

.about__tag a {
  color: inherit;
  text-decoration: none;
}

.about__tag a:hover {
  text-decoration: underline;
}

.about__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 16px;
  margin-top: 8px;
}

.about__feature-box {
  background: rgba(0, 0, 0, 0.25);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.about__feature-title {
  font-size: 15px;
  font-weight: 700;
  color: #ffffff;
  display: flex;
  align-items: center;
  gap: 8px;
}

.about__feature-desc {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.5;
}

/* ==========================================================================
   NO-GLASS / REDUCED GRAPHICS OVERRIDE
   ========================================================================== */

.no-glass .sm-01__nav,
.no-glass .sm-01__card,
.no-glass .notice-container,
.no-glass .settings__card,
.no-glass .about__card,
.no-glass .file-item,
.no-glass .explorer__toolbar {
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  background: #182234 !important;
}

/* Pure JS Toast Notification */
.pure-toast {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 999;
  background: rgba(15, 23, 42, 0.95);
  border: 1px solid var(--accent);
  color: #ffffff;
  padding: 12px 20px;
  border-radius: 12px;
  font-size: 13px;
  font-weight: 500;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transform: translateY(20px);
  opacity: 0;
  transition: transform 0.3s ease, opacity 0.3s ease;
  pointer-events: none;
}

.pure-toast.visible {
  transform: translateY(0);
  opacity: 1;
}

/* Pure JS Modal */
.pure-modal {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 16px;
}

.pure-modal.open {
  display: flex;
}

.pure-modal__box {
  background: #131b2e;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 16px;
  max-width: 440px;
  width: 100%;
  padding: 24px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
}

.pure-modal__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
}

.pure-modal__title {
  font-size: 17px;
  font-weight: 700;
  color: #ffffff;
}

.pure-modal__close {
  background: transparent;
  border: none;
  color: var(--muted);
  font-size: 18px;
  cursor: pointer;
}

.pure-modal__input {
  width: 100%;
  background: #090d16;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  padding: 10px 14px;
  font-size: 13px;
  color: #ffffff;
  outline: none;
  margin-top: 6px;
  margin-bottom: 14px;
  font-family: inherit;
}

.pure-modal__input:focus {
  border-color: var(--accent);
}

.pure-modal__footer {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
}

/* ==========================================================================
   RESPONSIVENESS
   ========================================================================== */

@media (max-width: 768px) {
  .explorer__content,
  .settings__content,
  .about__content {
    padding: 80px 16px 24px 16px;
  }
  
  .settings__row {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .sm-01__nav,
  .sm-01__burger span,
  .notice-item,
  .notice-container {
    transition: none !important;
  }
}
