:root {
  --m3-surface: #141218;
  --m3-surface-container: #211f26;
  --m3-surface-container-high: #2b2930;
  --m3-primary: #d0bcff;
  --m3-primary-container: #4f378b;
  --m3-on-primary-container: #eaddff;
  --m3-outline: #938f99;
}

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

body {
  background-color: var(--m3-surface);
  color: #e6e1e5;
  font-family: 'Roboto', -apple-system, BlinkMacSystemFont, sans-serif;
  min-height: 100vh;
  overflow-x: hidden;
}

/* Google Icons / Material Symbols & Material Icons standard styling */
.material-symbols-outlined,
.material-symbols-rounded,
.material-symbols-sharp,
.material-icons,
.material-icons-outlined,
.material-icons-round,
.material-icons-sharp {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  vertical-align: middle;
  line-height: 1;
  text-transform: none;
  letter-spacing: normal;
  word-wrap: normal;
  white-space: nowrap;
  direction: ltr;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  -moz-osx-font-smoothing: grayscale;
  font-feature-settings: 'liga';
  user-select: none;
}

.material-symbols-outlined {
  font-variation-settings: 'FILL' 0, 'wght' 400, 'GRAD' 0, 'opsz' 24;
}

.material-symbols-rounded {
  font-variation-settings: 'FILL' 0, 'wght' 400, 'GRAD' 0, 'opsz' 24;
}

.material-symbols-sharp {
  font-variation-settings: 'FILL' 0, 'wght' 400, 'GRAD' 0, 'opsz' 24;
}

.material-symbols-outlined.fill,
.material-symbols-rounded.fill,
.material-symbols-sharp.fill {
  font-variation-settings: 'FILL' 1, 'wght' 400, 'GRAD' 0, 'opsz' 24;
}

/* Icon Sizing Utilities */
.icon-xs { font-size: 16px !important; width: 16px; height: 16px; }
.icon-sm { font-size: 20px !important; width: 20px; height: 20px; }
.icon-md { font-size: 24px !important; width: 24px; height: 24px; }
.icon-lg { font-size: 32px !important; width: 32px; height: 32px; }
.icon-xl { font-size: 40px !important; width: 40px; height: 40px; }
.icon-2xl { font-size: 48px !important; width: 48px; height: 48px; }

/* M3 Spinner */
.m3-spinner {
  width: 48px;
  height: 48px;
  border: 4px solid rgba(208, 188, 255, 0.2);
  border-top-color: #d0bcff;
  border-radius: 50%;
  animation: m3-spin 0.9s cubic-bezier(0.4, 0, 0.2, 1) infinite;
}

@keyframes m3-spin {
  to { transform: rotate(360deg); }
}

/* Card hover animation */
.m3-card {
  transition: transform 0.25s cubic-bezier(0.2, 0, 0, 1), box-shadow 0.25s cubic-bezier(0.2, 0, 0, 1);
}

.m3-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.45);
}

/* Scrollbar styling */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}
::-webkit-scrollbar-track {
  background: #141218;
}
::-webkit-scrollbar-thumb {
  background: #2b2930;
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: #4f378b;
}
