:root {
  --background: #0a0a0a;
  --foreground: #171717;
  --navbar-height: 80px; 
  --navbar-height-mobile: 70px;
  --bg: #f4f6f9;
  --card-bg: #ffffff;
  --border: #e2e8f0;
  --bg: #f8fafc;
  --text: #0f172a;
  --secondary-text: #64748b;
  --accent: #6366f1;
  --accent-light: #eef2ff;
  
 --bg-main: #0f172a;
  --bg-surface: #111827;
  --bg-card: #1e293b;
  --bg-hover: #243046;

  --text-primary: #f1f5f9;
  --text-secondary: #94a3b8;

  --border: rgba(255,255,255,0.06);

  --accent: #6366f1;
  --accent-light: rgba(99,102,241,0.15);

  --success: #22c55e;
  --warning: #f59e0b;
  --danger: #ef4444;

  --radius-md: 12px;
  --radius-lg: 18px;

  --radius-lg: 18px;
  --radius-md: 12px;
  --radius-sm: 8px;

  --shadow-sm: 0 2px 6px rgba(15, 23, 42, 0.04);
  --shadow-md: 0 8px 24px rgba(15, 23, 42, 0.08);
  --shadow-lg: 0 16px 40px rgba(15, 23, 42, 0.12);
}



[data-theme="dark"] {
  --bg: #0f172a;
  --card-bg: #1e293b;
  --text: #f1f5f9;
  --secondary-text: #94a3b8;
  --border: #334155;
}


@media (prefers-color-scheme: dark) {
  :root {
    --background: #0a0a0a;
    --foreground: #ededed;
  }
}

html,
body {

    margin: 0;
  padding: 0;
}

body.root-body {
  background-color: #0f0f12;
  margin: 0;
  padding: 0;
  min-height: 100vh;
  width: 100%;
}

body {
  color: var(--foreground);
  background: var(--background);
  font-family: Arial, Helvetica, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  position: relative;
  
}

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

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


.bg-layer {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
  background: radial-gradient(circle at 50% 50%, rgba(255,255,255,0.05) 0%, transparent 50%);
}


.content-layer {
  position: relative;
  z-index: 1;
  padding-top: var(--navbar-height);
  min-height: 100vh;
  width: 100%;
}


@media (max-width: 860px) {
  .content-layer {
    padding-top: var(--navbar-height-mobile);
  }
  
  :root {
    --navbar-height: 70px;
  }
}


@media (prefers-color-scheme: dark) {
  html {
    color-scheme: dark;
  }
  
  .bg-layer {
    background: radial-gradient(circle at 50% 50%, rgba(0,0,0,0.2) 0%, transparent 50%);
  }
}


main {
  background-color: transparent;
}
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}

::-webkit-scrollbar-track {
  background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
  background: #888;
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: #555;
}



@media (prefers-color-scheme: dark) {
  ::-webkit-scrollbar-track {
    background: #2d2d2d;
  }
  
  ::-webkit-scrollbar-thumb {
    background: #666;
  }
  
  ::-webkit-scrollbar-thumb:hover {
    background: #888;
  }
}
