.liquid-glass-card {
  backdrop-filter: blur(15px) saturate(180%);
  -webkit-backdrop-filter: blur(40px) saturate(180%);
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.12) 0%,
    rgba(255, 255, 255, 0.08) 30%,
    rgba(255, 255, 255, 0.04) 70%,
    rgba(255, 255, 255, 0.06) 100%
  );
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: 0 32px 64px rgba(0, 0, 0, 0.4), 0 8px 32px rgba(0, 0, 0, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.2), inset 0 -1px 0 rgba(0, 0, 0, 0.1);
  border-radius: 28px;
  transition: all 0.6s cubic-bezier(0.23, 1, 0.32, 1);
  z-index: 10;
}

.main {
  width: 70%;
}

@media (width < 800px) {
  .main {
    margin-top: 100px;
    margin-bottom: 100px;
  }
}

.dashboard {
  width: 100%;
  height: 100%;
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(2, 1fr);
  grid-template-rows: repeat(2, 1fr);
  padding-top: 50px;
  z-index: 10;
}

@media (width <= 800px) {
  .dashboard {
    grid-template-columns: 1fr;
    grid-template-rows: repeat(4, 1fr);
  }
}

.dashboard article {
  color: #fff;
  text-align: center;
  padding: 20px;
  display: flex;
  flex-direction: column;
}

.article-title {
  font-size: clamp(1.125rem, 1.0893rem + 0.1905vw, 1.375rem);
  display: none;
}

.dashboard article .article-grid {
  margin: auto;
  display: grid;
  width: 100%;
  height: 80%;
  gap: 10px;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: auto;
}

@media (width < 1400px) {
  .dashboard article .article-grid {
    grid-template-columns: repeat(2, 1fr);
    margin: 5% auto auto;
  }
  .dashboard article .article-grid .metric-card:last-child {
    justify-self: center;
    grid-column: span 2;
  }
}

@media (width < 500px) {
  .dashboard article .article-grid {
    grid-template-columns: 1fr;
    margin-bottom: 20px;
  }
  .dashboard article .article-grid .metric-card:last-child {
    justify-self: center;
    grid-column: auto;
  }
}

.dashboard article .article-grid div {
  width: 100%;
  height: 100%;
}

@media (width < 1400px) {
  .dashboard article .article-grid div {
    max-width: 216.3px;
  }
}

@media (width <= 800px) {
  .dashboard article .article-grid div {
    max-width: 254px;
  }
}

.metric-card {
  backdrop-filter: blur(15px) saturate(180%);
  -webkit-backdrop-filter: blur(40px) saturate(180%);
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.12) 0%,
    rgba(255, 255, 255, 0.08) 30%,
    rgba(255, 255, 255, 0.04) 70%,
    rgba(255, 255, 255, 0.06) 100%
  );
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: 0 32px 64px rgba(0, 0, 0, 0.4), 0 8px 32px rgba(0, 0, 0, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.2), inset 0 -1px 0 rgba(0, 0, 0, 0.1);
  border-radius: 28px;
  transition: all 0.6s cubic-bezier(0.23, 1, 0.32, 1);
  z-index: 10;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  display: flex;
  margin: auto;
  width: 100%;
  height: 80%;
  padding: 20px 20px;
}

@media (width < 1400px) {
  .metric-card {
    padding: 14px 18px;
  }
}

@media (width < 1400px) {
  .metric-card {
    padding: 14px 12px;
  }
}

.metric-title {
  font-size: clamp(1.125rem, 1.0893rem + 0.1905vw, 1.375rem);
  margin: 0 auto auto;
  color: #e7c69c;
  margin-top: 14%;
  white-space: nowrap;
}

@media (width < 1400px) {
  .metric-title {
    margin-top: 0;
    margin-bottom: 5%;
  }
}

.metric-card:first-child .metric-title {
  margin-top: 0;
}

.metric-value {
  font-size: clamp(0.875rem, 0.8393rem + 0.1905vw, 1.125rem);
  font-weight: 600;
  margin: 20% auto 30%;
}

@media (width < 1400px) {
  .metric-value {
    margin: auto;
  }
}

.graph-card {
  padding: 20px 30px;
}

.graph {
  width: 90%;
  aspect-ratio: 16/9;
  margin: auto;
  background-color: transparent;
  text-align: center;
  align-content: center;
  pointer-events: none;
}


@media (width <= 800px) {
  .navigation-card  {
    order: 4;
  }
}

.navigation-card .navigation {
  width: 100%;
  margin: auto;
}

.navigation-card .navigation ul {
  width: 80%;
  height: 100%;
  list-style: none;
  text-decoration: none;
  color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: center;
  margin: auto;
  align-items: center;
}

.navigation-card .navigation ul li {
  margin-top: 20px;
  text-decoration: none;
  text-transform: uppercase;
  width: 50%;
}

@media (width < 1000px) {
  .navigation-card .navigation ul li {
    width: 55%;
  }
}

@media (width < 500px) {
  .navigation-card .navigation ul li {
    width: 60%;
  }
}

@media (width < 380px) {
  .navigation-card .navigation ul li {
    width: 70%;
  }
}

@media (width < 330px) {
  .navigation-card .navigation ul li {
    width: 80%;
  }
}

.navigation-card .navigation ul li:last-child {
  margin-bottom: 20px;
}

.navigation-card .navigation ul li a {
  display: block;
  text-decoration: none;
  padding: 16px 18px;
  color: #fff;
  white-space: nowrap;
  font-size: clamp(0.75rem, 0.7143rem + 0.1905vw, 1rem);
  position: relative;
  outline: none;
}

.navigation-card .navigation ul li a:hover {
  scale: 1.05;
  color: #e7c69c;
}

.navigation-card .navigation ul li a:focus {
  scale: 1.05;
  color: #e7c69c;
}

.liquid-glass-nav {
  backdrop-filter: blur(15px) saturate(180%);
  -webkit-backdrop-filter: blur(40px) saturate(180%);
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.12) 0%,
    rgba(255, 255, 255, 0.08) 30%,
    rgba(255, 255, 255, 0.04) 70%,
    rgba(255, 255, 255, 0.06) 100%
  );

  border-top: 1px solid rgba(255, 255, 255, 0.18);
  border-left: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: 1px 2px 15px rgba(0, 0, 0, 0.4), 0 8px 32px rgba(0, 0, 0, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.2), inset 0 -1px 0 rgba(0, 0, 0, 0.1);
  border-radius: 28px;
  transition: all 0.6s cubic-bezier(0.23, 1, 0.32, 1);
  z-index: 10;
}

.liquid-glass-nav:hover {
  border-color: #e7c69c;
  box-shadow: 1px 2px 15px #efbf8438;
}

.aegis-button {
  background-color: transparent;
  border: #c1a683 3px solid;
  color: #c1a683;
  text-transform: uppercase;
  cursor: pointer;
  padding: 40px 40px;
  font-family: "JetBrains Mono", monospace;
  font-size: clamp(1.875rem, 1.7857rem + 0.4762vw, 2.5rem);
  font-weight: 600;
  border-radius: 10px;
  background-color: #3d3b394b;
  margin: auto;
  width: 70%;
  transition: scale 0.2s, box-shadow 0.2s, color 0.3s;
  align-items: center;
  text-align: center;
  justify-content: center;
  align-content: center;
  outline: none;
  overflow: hidden;
  position: relative;
}

@media (width < 1400px) {
  .aegis-button {
    font-size: clamp(1.875rem, 1.7045rem + 0.9091vw, 2.5rem);
  }
}

@media (width < 1040px) {
  .aegis-button {
    padding: 20px 20px;
  }
}

.aegis-button:hover {
  scale: 1.03;
  box-shadow: 1px 2px 15px #efbf8438;
}

.aegis-button:focus {
  scale: 1.03;
  box-shadow: 1px 2px 15px #efbf8438;
}

.aegis-button::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background-color: #c1a683; 
  transition:  left 0.3s ease; 
  z-index: -1;
}

.aegis-button:hover {
  color: #fff; 
}

.aegis-button:hover::before {
  left: 0;
}

.aegis-button svg path {
  transition: stroke 0.3s ease;
}

.aegis-button:hover svg path {
  stroke: #fff;
}