@layer base {
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "SF Mono", Monaco, "Cascadia Code", monospace;
  background:
    radial-gradient(
      circle at center,
      var(--bg-secondary) 0%,
      var(--bg-primary) 55%,
      rgba(6, 10, 18, 0.94) 100%
    );
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: var(--text-primary);
  overflow-x: hidden;
  position: relative;
  padding: 20px 0;
}

body::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(
      circle at center,
      rgba(255, 255, 255, 0.03) 0%,
      transparent 55%
    ),
    radial-gradient(
      circle at 20% 50%,
      var(--accent-glow-soft) 0%,
      transparent 60%
    ),
    radial-gradient(
      circle at 80% 50%,
      var(--accent-glow-soft) 0%,
      transparent 60%
    );
  pointer-events: none;
  animation: ambientGlow var(--motion-ambientGlow);
}

/* Footer */
.page-footer {
  width: 100%;
  max-width: 1400px;
  margin-top: 40px;
  padding: 20px 24px;
  text-align: center;
  opacity: 0.6;
  transition: opacity 0.3s ease;
}

.page-footer:hover {
  opacity: 0.9;
}

.footer-copyright {
  font-size: 13px;
  font-weight: 400;
  color: var(--text-secondary);
  letter-spacing: 0.3px;
}

/* Scrollbar styles for page */
::-webkit-scrollbar {
  width: 10px;
}

::-webkit-scrollbar-track {
  background: rgba(15, 23, 42, 0.6);
  border-radius: 10px;
}

/* Default theme (fire) */
::-webkit-scrollbar-thumb {
  background: rgba(251, 146, 60, 0.35);
  border-radius: 10px;
  border: 2px solid transparent;
  background-clip: padding-box;
  transition: background 0.3s ease;
}

::-webkit-scrollbar-thumb:hover {
  background: rgba(251, 146, 60, 0.6);
  background-clip: padding-box;
}

body[data-theme="matrix"] ::-webkit-scrollbar-thumb {
  background: rgba(16, 185, 129, 0.35);
}

body[data-theme="matrix"] ::-webkit-scrollbar-thumb:hover {
  background: rgba(16, 185, 129, 0.6);
}

body[data-theme="ocean"] ::-webkit-scrollbar-thumb {
  background: rgba(56, 189, 248, 0.35);
}

body[data-theme="ocean"] ::-webkit-scrollbar-thumb:hover {
  background: rgba(56, 189, 248, 0.6);
}

body[data-theme="sunset"] ::-webkit-scrollbar-thumb {
  background: rgba(249, 115, 22, 0.35);
}

body[data-theme="sunset"] ::-webkit-scrollbar-thumb:hover {
  background: rgba(249, 115, 22, 0.6);
}

body[data-theme="monochrome"] ::-webkit-scrollbar-thumb {
  background: rgba(203, 213, 225, 0.35);
}

body[data-theme="monochrome"] ::-webkit-scrollbar-thumb:hover {
  background: rgba(203, 213, 225, 0.6);
}

html {
  scrollbar-width: thin;
  scrollbar-color: rgba(251, 146, 60, 0.35) rgba(15, 23, 42, 0.6);
}

body[data-theme="matrix"] {
  scrollbar-color: rgba(16, 185, 129, 0.35) rgba(15, 23, 42, 0.6);
}

body[data-theme="ocean"] {
  scrollbar-color: rgba(56, 189, 248, 0.35) rgba(15, 23, 42, 0.6);
}

body[data-theme="sunset"] {
  scrollbar-color: rgba(249, 115, 22, 0.35) rgba(15, 23, 42, 0.6);
}

body[data-theme="monochrome"] {
  scrollbar-color: rgba(203, 213, 225, 0.35) rgba(15, 23, 42, 0.6);
}

.container {
  width: 95%;
  max-width: 1400px;
  z-index: 1;
  margin-top: 40px;
}

.header {
  text-align: center;
  margin-bottom: 30px;
  animation: fadeInDown var(--motion-fadeInDown);
  padding: 20px;
  background: transparent;
  border-radius: 20px;
}

.title {
  font-size: 2.5rem;
  font-weight: 300;
  letter-spacing: var(--letter-spacing-tight);
  margin-bottom: 10px;
  background: var(--text-gradient-primary);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: none;
}

.subtitle {
  color: var(--text-secondary);
  font-size: 0.9rem;
  letter-spacing: var(--letter-spacing-ultra-wide);
  text-transform: uppercase;
  opacity: 0.9;
}

@media (max-width: 768px) {
  .title {
    font-size: 1.8rem;
    letter-spacing: var(--letter-spacing-narrow);
  }

  .subtitle {
    font-size: 0.8rem;
  }
}
}
