:root {
  /* Light Theme (Default) */
  --bg-primary: #ffffff;
  --bg-primary-destkop: #e5e5e5ef;
  --bg-primary-body: #ffffff;
  --bg-secondary: #f8f9fa;
  --bg-tertiary: #e9ecef;
  --bg-card: rgba(0, 0, 0, 0.05);
  --bg-card-desktop: rgba(12, 12, 12, 0.93);
  --bg-header: rgba(0, 0, 0, 0.95);
  --bg-overlay: rgba(255, 255, 255, 0.9);
  --bg-footer: rgba(0, 0, 0, 0.991);

  --text-header: #66a8ef;
  --text-primary: #212529;
  --text-secondary: #6c757d;
  --text-muted: rgba(0, 0, 0, 0.7);
  --text-placeholder: rgba(0, 0, 0, 0.5);

  --border-primary: rgba(0, 0, 0, 0.1);
  --border-secondary: rgba(0, 0, 0, 0.15);
  --border-card: rgba(0, 0, 0, 0.2);
  --border-before: rgba(210, 208, 208, 0.724);

  --accent-primary: #0d6efd;
  --accent-secondary: #6610f2;

  --shadow-light: rgba(0, 0, 0, 0.1);
  --shadow-dark: rgba(0, 0, 0, 0.25);

  --grid-lines: rgba(0, 0, 0, 0.08);
  --grid-lines-thick: rgba(0, 0, 0, 0.15);
  --background-image: none;

  --robot-background: rgba(21, 21, 21, 255);

}

/* Dark Theme */
[data-theme="dark"] {
  --bg-primary: #000000;
  --bg-primary-body: rgba(21, 21, 21, 255);
  --bg-secondary: #121212;
  --bg-tertiary: #232323;
  --bg-card: rgba(255, 255, 255, 0.05);
  --bg-card-desktop: rgba(12, 12, 12, 0.93);
  --border-before: rgba(255, 255, 255, 0.05);
  --bg-header: rgba(21, 21, 21, 255);
  --bg-overlay: rgba(0, 0, 0, 0.8);
  --bg-footer: rgba(0, 0, 0, 0.991);

  --text-header: #66a8ef;
  --text-primary: #ffffff;
  --text-secondary: #a0a0a0;
  --text-muted: rgba(255, 255, 255, 0.7);
  --text-placeholder: rgba(255, 255, 255, 0.5);

  --border-primary: rgba(255, 255, 255, 0.05);
  --border-secondary: rgba(255, 255, 255, 0.1);
  --border-card: rgba(237, 234, 234, 0.932);

  --accent-primary: #4d8cf6;
  --accent-secondary: #a8c7ff;

  --shadow-light: rgba(255, 255, 255, 0.1);
  --shadow-dark: rgba(0, 0, 0, 0.5);

  --grid-lines: rgba(255, 255, 255, 0.08);
  --grid-lines-thick: rgba(255, 255, 255, 0.15);
  --background-image: url('../images/noise-texture.png');

  --robot-background: rgba(21, 21, 21, 255);
}

* {
  transition:
    background-color 0.6s cubic-bezier(0.4, 0, 0.2, 1),
    color 0.6s cubic-bezier(0.4, 0, 0.2, 1),
    border-color 0.6s cubic-bezier(0.4, 0, 0.2, 1),
    box-shadow 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

body {
  transition: background-color 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.theme-toggle {
  background: none;
  border: none;
  border-radius: 2px;
  padding: 6px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  transition: all 0.3s ease;
  color: white
}

.theme-toggle:hover {
  background-color: var(--bg-card);
  transform: scale(1.05);
}

.theme-toggle svg {
  width: 18px;
  height: 18px;
  transition: transform 0.3s ease;
}

.theme-toggle:hover svg {
  transform: rotate(180deg);
}