:root {
  --utopia-card: rgba(0, 0, 0, 0.50);
  --utopia-border: rgba(255, 255, 255, 0.16);
  --utopia-fundo: url("img/fundo-utopia.png");
  --utopia-bg: #0a0a0a;
}

html {
  --mat-sidenav-content-background-color: transparent;
  --mat-sidenav-container-background-color: transparent;
}

body.mat-typography {
  background-color: var(--utopia-bg);
  background-image: var(--utopia-fundo);
  background-position: center center;
  background-size: cover;
  background-repeat: no-repeat;
  background-attachment: fixed;
}

body.mat-typography::before {
  content: "";
  position: fixed;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(0, 0, 0, 0.08) 0%,
    rgba(0, 0, 0, 0.12) 50%,
    rgba(0, 0, 0, 0.16) 100%
  );
  z-index: 0;
  pointer-events: none;
}

app-root {
  position: relative;
  z-index: 1;
}

.utopia-extra-nav {
  background: var(--utopia-card);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--utopia-border);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.28);
}

app-toolbar .toolbar,
app-toolbar mat-toolbar.toolbar {
  background: var(--utopia-card) !important;
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--utopia-border) !important;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25);
}

app-toolbar mat-sidenav-container,
app-toolbar mat-sidenav-container.mat-drawer-container,
app-toolbar .mat-drawer-container,
app-toolbar .example-container {
  background: transparent !important;
  background-color: transparent !important;
  min-height: calc(100vh - var(--utopia-nav-offset, 56px) - 5rem);
}

app-toolbar mat-sidenav-content,
app-toolbar mat-sidenav-content.content,
app-toolbar .mat-sidenav-content,
app-toolbar .mat-drawer-content {
  background: transparent !important;
  background-color: transparent !important;
  min-height: 100%;
}

app-inicio {
  display: block;
  min-height: calc(100vh - var(--utopia-nav-offset, 56px) - 5rem);
}

app-inicio .content {
  min-height: calc(100vh - var(--utopia-nav-offset, 56px) - 5rem);
  background-color: var(--utopia-bg) !important;
  background-image: var(--utopia-fundo) !important;
  background-size: cover !important;
  background-position: center center !important;
  background-repeat: no-repeat !important;
  background-attachment: fixed !important;
}

app-inicio [style*="rgba(150, 150, 150"] {
  background: var(--utopia-card) !important;
  border: 1px solid var(--utopia-border) !important;
  border-radius: 12px !important;
  backdrop-filter: blur(8px);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.35) !important;
}

app-toolbar mat-sidenav {
  background: rgba(0, 0, 0, 0.72) !important;
  backdrop-filter: blur(8px);
  border-right: 1px solid var(--utopia-border);
}

app-toolbar [style*="background"][style*="lightgray"] {
  background: var(--utopia-card) !important;
  border: 1px solid var(--utopia-border) !important;
  backdrop-filter: blur(8px);
}

app-inicio .titulo {
  color: #fff !important;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.85) !important;
}

app-toolbar .toolbar-titulo,
app-toolbar .toolbar-button-label,
app-toolbar .toolbar-moedas-label,
app-toolbar .toolbar-donate-button {
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.85) !important;
}

app-inicio [style*="color: white"],
app-inicio [style*="color:whitesmoke"] {
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.85);
}
