
@font-face {
  font-family: 'UltimateBlackMetal';
  src: url('assets/fonts/XXII-Ultimate-Black-Metal.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'XXII Ultimate-Black-Metal';
  src: url('assets/fonts/XXII-Ultimate-Black-Metal.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Maskdown';
  src: url('assets/fonts/MaskdownOne-BWV7V.otf') format('opentype');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Sabersong';
  src: url('assets/fonts/Sabersong-X38j2.ttf') format('truetype'),
       url('assets/fonts/Sabersong-L3Djy.otf') format('opentype');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

:root {
  color-scheme: dark;
  --bg: #000000;
  --bg-base: #000000;
  --surface: rgba(255, 255, 255, 0.05);
  --surface-hover: rgba(255, 255, 255, 0.08);
  --surface-active: rgba(255, 255, 255, 0.12);
  --border: rgba(255, 255, 255, 0.1);
  --border-hover: rgba(255, 255, 255, 0.22);
  --border-light: rgba(255, 255, 255, 0.14);
  --text: #ffffff;
  --text-main: #ffffff;
  --text-muted: #a1a1aa;
  --text-dim: #71717a;
  --accent: #ffffff;
  --accent-dim: rgba(255, 255, 255, 0.12);
  --accent-glow: rgba(255, 255, 255, 0.25);
  --accent-hover: #e4e4e7;
  --accent-text: #000000;
  --dock-bg: rgba(10, 10, 10, 0.55);
  --dock-border: rgba(255, 255, 255, 0.12);
  --dock-btn-hover: rgba(255, 255, 255, 0.08);
  --dock-btn-active: rgba(255, 255, 255, 0.14);
  --shadow-soft: 0 18px 45px rgba(0, 0, 0, 0.5);
  --shadow-glow: 0 0 0 1px var(--accent-dim), 0 18px 44px var(--accent-dim);
}

html, body {
  color-scheme: dark;
}

html {
  scroll-behavior: smooth;
  background: var(--bg);
}

body,
.section-card,
.dock-wrapper,
.dock-toggle-btn,
#topBar,
.search-box,
.search-wrapper,
.card,
.preset-btn {
  transition: background-color 0.25s ease, border-color 0.25s ease, color 0.2s ease, box-shadow 0.25s ease, transform 0.2s ease;
}

.section-card,
.dock-wrapper,
.dock-toggle-btn,
.search-box,
.search-wrapper,
.card,
.preset-btn {
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
}

body {
  min-height: 100vh;
  color: var(--text-main);
  background-color: #000000;
  background-image:
    radial-gradient(rgba(255, 255, 255, 0.08) 1.25px, transparent 1.25px);
  background-size: 22px 22px;
  background-attachment: fixed;
  font-family: "Plus Jakarta Sans", "Segoe UI", system-ui, sans-serif;
  text-rendering: optimizeLegibility;
}

body::before {
  display: none !important;
}

::selection {
  color: #fff;
  background: var(--accent);
}

button,
input,
select,
textarea {
  font: inherit;
}

button,
input,
select,
textarea,
.card,
.section-card,
.search-box,
.search-wrapper,
.dock-wrapper,
.dock-toggle-btn {
  border-radius: 18px;
}

button:hover,
.card:hover,
.section-card:hover,
.search-box:hover,
.search-wrapper:hover {
  border-color: var(--border-hover);
}

*:focus,
*:focus-visible,
button:focus,
button:focus-visible,
input:focus,
input:focus-visible,
select:focus,
select:focus-visible,
textarea:focus,
textarea:focus-visible,
a:focus,
a:focus-visible {
  outline: none !important;
  box-shadow: none !important;
}

.card,
.section-card,
.search-box,
.search-wrapper,
.dock-wrapper,
.dock-toggle-btn {
  box-shadow: var(--shadow-soft);
}

.card:hover,
.section-card:hover,
.search-box:hover,
.search-wrapper:hover {
  box-shadow: var(--shadow-glow);
}

h1, h2, h3, h4,
#topBar,
.dock-item,
.brand,
.title,
.hero-title {
  font-family: "Outfit", "Plus Jakarta Sans", system-ui, sans-serif;
  letter-spacing: -0.03em;
}

h1, h2, h3, h4 {
  color: var(--text-main);
}

button,
.dock-item {
  font-weight: 600;
}

button i,
.dock-item i {
  transition: transform 0.2s ease, color 0.2s ease;
}

button:hover i,
.dock-item:hover i {
  transform: scale(1.08);
}

html::-webkit-scrollbar,
body::-webkit-scrollbar,
*::-webkit-scrollbar {
  width: 10px !important;
  height: 10px !important;
  background-color: var(--bg) !important;
}

html::-webkit-scrollbar-track,
body::-webkit-scrollbar-track,
*::-webkit-scrollbar-track {
  background: var(--bg) !important;
  border-radius: 0 !important;
}

html::-webkit-scrollbar-thumb,
body::-webkit-scrollbar-thumb,
*::-webkit-scrollbar-thumb {
  background-color: var(--surface-hover) !important;
  border-radius: 6px !important;
  border: 2px solid var(--bg) !important;
  min-height: 36px !important;
}

html::-webkit-scrollbar-thumb:hover,
body::-webkit-scrollbar-thumb:hover,
*::-webkit-scrollbar-thumb:hover {
  background-color: var(--accent) !important;
}

html::-webkit-scrollbar-corner,
body::-webkit-scrollbar-corner,
*::-webkit-scrollbar-corner {
  background: var(--bg) !important;
}

html::-webkit-scrollbar-button,
body::-webkit-scrollbar-button,
*::-webkit-scrollbar-button {
  display: none !important;
  width: 0 !important;
  height: 0 !important;
}

html,
body,
* {
  scrollbar-width: thin !important;
  scrollbar-color: var(--surface-hover) var(--bg) !important;
}
