.home-dashboard {
  --home-body: #08111a;
  --home-panel: rgba(12, 19, 29, 0.96);
  --home-panel-soft: rgba(17, 26, 40, 0.9);
  --home-border: rgba(111, 161, 232, 0.14);
  --home-text: #eef5ff;
  --home-muted: #8ea0bb;
  --home-blue: #68aafc;
  --home-blue-soft: #9fd0ff;
  --home-cyan: #79ead6;
  --home-orange: #ffb969;
  color: var(--home-text);
}

.home-dashboard .component,
.home-dashboard .card {
  background: var(--home-panel);
  border: 1px solid var(--home-border);
  border-radius: 18px;
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.26);
}

.home-hero {
  position: relative;
  min-height: 340px;
  margin-bottom: 1.4rem;
  background:
    radial-gradient(circle at 78% 23%, rgba(255, 195, 92, 0.8), rgba(255, 195, 92, 0.18) 10%, transparent 28%),
    linear-gradient(180deg, rgba(52, 92, 148, 0.22), rgba(7, 13, 24, 0.88)),
    linear-gradient(115deg, #19304f 0%, #0d1728 46%, #142033 100%);
}

.home-hero__overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.02), rgba(0, 0, 0, 0.4)),
    linear-gradient(90deg, rgba(6, 11, 20, 0.74), rgba(6, 11, 20, 0.18) 45%, rgba(6, 11, 20, 0.72)),
    radial-gradient(circle at 80% 26%, rgba(255, 216, 126, 0.18), transparent 18%);
}

.home-hero__orb {
  position: absolute;
  top: 32px;
  right: 58px;
  width: 26px;
  height: 26px;
  border: 1px solid rgba(196, 223, 255, 0.32);
  border-radius: 50%;
  box-shadow: 0 0 26px rgba(139, 198, 255, 0.14);
}

.home-hero__skyline {
  position: absolute;
  inset: auto 0 0;
  height: 46%;
  z-index: 0;
}

.building {
  position: absolute;
  bottom: 0;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.01)),
    linear-gradient(180deg, #0c1623, #0a111c);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.04);
}

.building::before {
  content: "";
  position: absolute;
  inset: 10% 14%;
  background:
    repeating-linear-gradient(
      180deg,
      rgba(145, 198, 255, 0.12),
      rgba(145, 198, 255, 0.12) 3px,
      transparent 3px,
      transparent 10px
    ),
    repeating-linear-gradient(
      90deg,
      rgba(145, 198, 255, 0.1),
      rgba(145, 198, 255, 0.1) 2px,
      transparent 2px,
      transparent 10px
    );
}

.building--1 { left: 2%; width: 8%; height: 64%; }
.building--2 { left: 14%; width: 5%; height: 38%; }
.building--3 { left: 24%; width: 7%; height: 46%; }
.building--4 { right: 10%; width: 9%; height: 58%; }
.building--5 { right: 2%; width: 6%; height: 40%; }

.home-hero__content {
  position: relative;
  z-index: 1;
  display: flex;
  min-height: 340px;
  padding: 2.6rem 3rem 4rem;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.home-hero__eyebrow {
  margin-bottom: 0.7rem;
  color: #9dbcf5;
  font-size: 0.78rem;
  letter-spacing: 0.26em;
}

.home-hero__title {
  margin: 0;
  font-size: clamp(2.5rem, 5vw, 4.25rem);
  font-weight: 800;
  letter-spacing: 0.03em;
}

.home-hero__subtitle {
  max-width: 720px;
  margin: 1rem 0 1.4rem;
  color: #dce8fb;
  line-height: 1.8;
}

.home-hero__actions {
  display: flex;
  gap: 0.9rem;
  flex-wrap: wrap;
}

.home-grid {
  display: grid;
  grid-template-columns: 270px minmax(0, 1fr) 300px;
  gap: 1rem;
  align-items: start;
}

.home-side,
.home-main {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.home-panel,
.home-post-card {
  padding: 1rem;
}

.home-profile {
  overflow: hidden;
  padding: 0;
}

.home-profile__cover {
  height: 108px;
  background:
    radial-gradient(circle at 20% 28%, rgba(118, 196, 255, 0.48), transparent 24%),
    linear-gradient(135deg, #20385f 0%, #0b1320 100%);
}

.home-profile__body {
  padding: 0 1rem 1rem;
  text-align: center;
}

.home-profile__avatar {
  width: 94px;
  height: 94px;
  margin-top: -46px;
  border: 4px solid #09111a;
  border-radius: 20px;
  object-fit: cover;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.38);
}

.home-panel__title {
  margin: 0 0 0.85rem;
  color: var(--home-text);
  font-size: 1rem;
  font-weight: 700;
}

.home-profile__bio,
.home-panel__text {
  color: var(--home-muted);
  font-size: 0.92rem;
  line-height: 1.7;
}

.home-profile__meta {
  display: flex;
  justify-content: center;
  gap: 0.75rem;
  margin: 0.8rem 0 1rem;
  color: var(--home-muted);
  font-size: 0.8rem;
}

.home-profile__stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.home-profile__stats div,
.home-stat-list div {
  padding: 0.72rem 0.4rem;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid rgba(255, 255, 255, 0.04);
  text-align: center;
}

.home-profile__stats strong,
.home-stat-list strong {
  display: block;
  font-size: 1.15rem;
  color: var(--home-text);
}

.home-profile__stats span,
.home-stat-list span,
.home-mini-list__item span,
.home-category-list strong,
.home-radar-legend span {
  color: var(--home-muted);
  font-size: 0.78rem;
}

.home-profile__links,
.home-nav-list,
.home-mini-list,
.home-category-list {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.home-profile__links a,
.home-nav-list a,
.home-mini-list__item,
.home-category-list a,
.home-featured__link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.78rem 0.85rem;
  background: rgba(255, 255, 255, 0.028);
  border: 1px solid rgba(255, 255, 255, 0.045);
  border-radius: 12px;
  color: var(--home-text);
  text-decoration: none;
  transition: 0.2s ease;
}

.home-profile__links a:hover,
.home-nav-list a:hover,
.home-mini-list__item:hover,
.home-category-list a:hover,
.home-featured__link:hover {
  transform: translateY(-1px);
  border-color: rgba(104, 170, 252, 0.34);
  background: rgba(104, 170, 252, 0.08);
}

.home-profile__links b,
.home-nav-list b {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 26px;
  height: 26px;
  border-radius: 8px;
  background: rgba(104, 170, 252, 0.12);
  color: var(--home-blue-soft);
  font-size: 0.76rem;
}

.home-tag-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.home-tag-cloud a,
.home-post-card__chips a {
  display: inline-flex;
  align-items: center;
  padding: 0.35rem 0.68rem;
  border-radius: 999px;
  background: rgba(104, 170, 252, 0.1);
  color: #d4e7ff;
  text-decoration: none;
  font-size: 0.8rem;
}

.home-post-card {
  display: grid;
  grid-template-columns: 122px minmax(0, 1fr);
  gap: 1rem;
  align-items: stretch;
}

.home-post-card__thumb {
  position: relative;
  min-height: 132px;
  border-radius: 14px;
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(73, 122, 206, 0.35), rgba(10, 16, 26, 0.5)),
    linear-gradient(135deg, #1c3356, #0c1521);
}

.home-post-card__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.9;
}

.home-post-card__thumb::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(6, 10, 18, 0.02), rgba(6, 10, 18, 0.45));
}

.home-post-card__thumb-badge {
  position: absolute;
  left: 10px;
  bottom: 10px;
  z-index: 1;
  padding: 0.28rem 0.55rem;
  border-radius: 999px;
  background: rgba(7, 15, 26, 0.82);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #e4efff;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
}

.home-post-card__body {
  display: flex;
  flex-direction: column;
  gap: 0.78rem;
}

.home-post-card__meta,
.home-post-card__footer,
.home-bar__label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

.home-post-card__meta {
  color: var(--home-muted);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.home-post-card__title {
  margin: 0;
  font-size: 1.16rem;
  line-height: 1.45;
}

.home-post-card__title a {
  color: var(--home-text);
  text-decoration: none;
}

.home-post-card__summary {
  margin: 0;
  color: var(--home-muted);
  line-height: 1.75;
}

.home-post-card__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.home-post-card__more {
  color: var(--home-blue-soft);
  font-weight: 700;
  text-decoration: none;
}

.home-stat-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.65rem;
}

.home-chart {
  position: relative;
  min-height: 118px;
  padding: 0.25rem 0;
}

.home-chart--line svg {
  width: 100%;
  height: 120px;
  overflow: visible;
}

.home-chart--line::before,
.home-chart--line::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  border-top: 1px dashed rgba(145, 198, 255, 0.1);
}

.home-chart--line::before { top: 38px; }
.home-chart--line::after { top: 80px; }

.home-chart--radar {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
}

.home-chart--radar svg {
  width: 100%;
  max-width: 220px;
  height: 120px;
}

.home-chart--radar .radar-grid {
  fill: rgba(104, 170, 252, 0.04);
  stroke: rgba(104, 170, 252, 0.2);
  stroke-width: 1;
}

.home-chart--radar .radar-shape {
  fill: rgba(121, 234, 214, 0.18);
  stroke: rgba(121, 234, 214, 0.9);
  stroke-width: 2;
}

.home-chart--radar circle {
  fill: #79ead6;
}

.home-radar-legend {
  display: flex;
  gap: 0.8rem;
}

.home-chart--nodes {
  min-height: 136px;
}

.home-chart--nodes::before,
.home-chart--nodes::after {
  content: "";
  position: absolute;
  background: rgba(121, 234, 214, 0.15);
}

.home-chart--nodes::before {
  top: 28px;
  left: 40px;
  width: 120px;
  height: 1px;
  box-shadow:
    0 26px 0 rgba(121, 234, 214, 0.12),
    0 52px 0 rgba(121, 234, 214, 0.09);
}

.home-chart--nodes::after {
  top: 20px;
  left: 68px;
  width: 1px;
  height: 78px;
  box-shadow:
    34px 0 0 rgba(121, 234, 214, 0.12),
    68px 0 0 rgba(121, 234, 214, 0.09);
}

.node {
  position: absolute;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #7ae9d6;
  box-shadow: 0 0 12px rgba(122, 233, 214, 0.6);
}

.node--1 { top: 23px; left: 35px; }
.node--2 { top: 23px; left: 101px; }
.node--3 { top: 23px; left: 169px; }
.node--4 { top: 49px; left: 69px; }
.node--5 { top: 49px; left: 137px; background: #ffb969; box-shadow: 0 0 12px rgba(255, 185, 105, 0.55); }
.node--6 { top: 75px; left: 35px; }
.node--7 { top: 75px; left: 101px; }
.node--8 { top: 75px; left: 169px; }

.home-mini-list__item strong,
.home-category-list span,
.home-featured__link strong {
  color: var(--home-text);
}

.home-featured__link {
  flex-direction: column;
  align-items: flex-start;
}

.home-featured__link span {
  color: var(--home-muted);
  line-height: 1.7;
}

@media (max-width: 1399.98px) {
  .home-grid {
    grid-template-columns: 252px minmax(0, 1fr);
  }

  .home-side--right {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 991.98px) {
  .home-hero__content {
    padding: 2rem 1.2rem 3.4rem;
  }

  .home-grid,
  .home-side--right {
    grid-template-columns: 1fr;
  }

  .home-post-card {
    grid-template-columns: 1fr;
  }

  .home-post-card__thumb {
    min-height: 180px;
  }
}
