.home-main {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.hero-panel {
  padding: 34px;
  border-radius: var(--radius-xl);
  border: 1px solid var(--line);
  background:
    linear-gradient(135deg, rgba(255, 53, 94, 0.08), rgba(60, 242, 255, 0.05)),
    var(--panel);
  box-shadow: var(--shadow);
  text-shadow:
    0 0 20px rgba(255, 122, 184, 0.15),
    0 0 40px rgba(60, 242, 255, 0.08);
}

.hero-panel h1 {
  margin: 0 0 14px;
  font-size: clamp(2.2rem, 4vw, 4rem);
  line-height: 1.05;
}

.hero-text {
  margin: 0;
  max-width: 72ch;
}

.hero-status {
  margin-top: 24px;
}

.status-card {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  max-width: 420px;
  padding: 18px 20px;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.03);
}

.status-dot-online,
.status-dot-offline {
  width: 12px;
  height: 12px;
  margin-top: 6px;
  border-radius: 50%;
  flex: 0 0 auto;
}

.status-dot-online {
  background: var(--cyan);
  box-shadow: 0 0 18px rgba(60, 242, 255, 0.7);
}

.status-dot-offline {
  background: var(--red);
  box-shadow: 0 0 18px rgba(255, 60, 60, 0.45);
}

.status-label-online,
.status-label-offline {
  margin: 0 0 4px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.78rem;
  font-weight: 800;
}

.status-label-online {
  color: #7ef9ff;
  text-shadow:
    0 0 8px rgba(60, 242, 255, 0.35),
    0 0 18px rgba(60, 242, 255, 0.20);
}

.status-label-offline {
  color: #ff7e7e;
  text-shadow:
    0 0 8px rgba(255, 60, 60, 0.35),
    0 0 18px rgba(255, 60, 60, 0.2);
}

.status-title {
  display: block;
  margin-bottom: 6px;
  font-size: 1.1rem;
  color: var(--text);
}

.status-text {
  margin: 0;
}

.tiles-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.nav-tile {
  position: relative;
  min-height: 320px;
  border-radius: var(--radius-xl);
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  background: var(--panel-strong);
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.nav-tile::after {
  content: "";
  position: absolute;
  inset: -120% auto auto -40%;
  width: 50%;
  height: 260%;
  transform: rotate(18deg);
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.08),
    transparent
  );
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease, transform 0.55s ease;
  z-index: 1;
}

.nav-tile:hover::after {
  opacity: 1;
  transform: translateX(180%) rotate(18deg);
}

.nav-tile:hover {
  transform: translateY(-8px) scale(1.01);
  border-color: var(--line-strong);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.04),
    0 24px 80px rgba(0, 0, 0, 0.48),
    0 0 28px rgba(255, 122, 184, 0.08);
}

.tile-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(5, 5, 10, 0.18), rgba(5, 5, 10, 0.86)),
    linear-gradient(135deg, rgba(255, 53, 94, 0.10), transparent 40%, rgba(60, 242, 255, 0.08));
}

.nav-tile:hover .tile-overlay {
  background:
    linear-gradient(180deg, rgba(5, 5, 10, 0.1), rgba(5, 5, 10, 0.75)),
    linear-gradient(135deg, rgba(255, 53, 94, 0.25), transparent 40%, rgba(60, 242, 255, 0.18));
}

.tile-content {
  position: absolute;
  left: 28px;
  right: 28px;
  bottom: 28px;
  z-index: 2;
}

.nav-tile h2 {
  margin: 10px 0 12px;
  font-size: 2.35rem;
  line-height: 1.02;
  letter-spacing: -0.03em;
  transition: text-shadow 0.25s ease, transform 0.25s ease, color 0.25s ease;
}

.nav-tile p {
  margin: 0;
  max-width: 36ch;
}

.tile-link {
  display: inline-block;
  margin-top: 18px;
  color: var(--gold);
  font-weight: 700;
  transition: color 0.25s ease, text-shadow 0.25s ease;
}

.tile-tag {
  display: inline-flex;
  align-items: center;
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border: 1px solid rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(4px);
  transition: transform 0.25s ease, box-shadow 0.25s ease, text-shadow 0.25s ease;
}

.transcendence-tile {
  background:
    url("/assets/img/optimized/tile-transcendence.webp") center / cover no-repeat,
    var(--panel-strong);
}

.transcendence-tile .tile-tag {
  color: #7ef9ff;
  background: rgba(60, 242, 255, 0.10);
  border-color: rgba(60, 242, 255, 0.28);
  box-shadow:
    0 0 12px rgba(60, 242, 255, 0.16),
    inset 0 0 10px rgba(60, 242, 255, 0.06);
  text-shadow:
    0 0 8px rgba(60, 242, 255, 0.34),
    0 0 16px rgba(60, 242, 255, 0.18);
}

.transcendence-tile h2 {
  color: #ecfbff;
  text-shadow:
    0 0 10px rgba(255, 255, 255, 0.24),
    0 0 22px rgba(60, 242, 255, 0.42),
    0 0 42px rgba(60, 242, 255, 0.30),
    0 0 70px rgba(60, 242, 255, 0.16);
}

.transcendence-tile:hover h2 {
  transform: translateY(-1px);
  text-shadow:
    0 0 12px rgba(255, 255, 255, 0.30),
    0 0 28px rgba(60, 242, 255, 0.56),
    0 0 56px rgba(60, 242, 255, 0.38),
    0 0 88px rgba(60, 242, 255, 0.20);
}

.transcendence-tile:hover .tile-link {
  color: #7ef9ff;
  text-shadow:
    0 0 10px rgba(60, 242, 255, 0.36),
    0 0 20px rgba(60, 242, 255, 0.18);
}

.transcendence-tile:hover .tile-tag {
  box-shadow:
    0 0 18px rgba(60, 242, 255, 0.24),
    inset 0 0 14px rgba(60, 242, 255, 0.08);
  text-shadow:
    0 0 10px rgba(60, 242, 255, 0.44),
    0 0 22px rgba(60, 242, 255, 0.22);
}

.portfolio-tile {
  background:
    url("/assets/img/optimized/tile-portfolio.webp") center / cover no-repeat,
    var(--panel-strong);
  border-color: rgba(255, 122, 184, 0.16);
}

.portfolio-tile .tile-tag {
  color: #ff9bc7;
  background: rgba(255, 122, 184, 0.10);
  border-color: rgba(255, 122, 184, 0.30);
  box-shadow:
    0 0 12px rgba(255, 122, 184, 0.16),
    inset 0 0 10px rgba(255, 122, 184, 0.06);
  text-shadow:
    0 0 8px rgba(255, 122, 184, 0.34),
    0 0 16px rgba(255, 122, 184, 0.18);
}

.portfolio-tile h2 {
  color: #fff1f8;
  text-shadow:
    0 0 10px rgba(255, 255, 255, 0.22),
    0 0 22px rgba(255, 122, 184, 0.48),
    0 0 42px rgba(255, 53, 94, 0.28),
    0 0 70px rgba(255, 122, 184, 0.14);
}

.portfolio-tile:hover {
  border-color: rgba(255, 122, 184, 0.28);
  box-shadow:
    0 0 0 1px rgba(255, 122, 184, 0.08),
    0 20px 70px rgba(0, 0, 0, 0.42),
    0 0 30px rgba(255, 122, 184, 0.12);
}

.portfolio-tile:hover h2 {
  transform: translateY(-1px);
  text-shadow:
    0 0 12px rgba(255, 255, 255, 0.26),
    0 0 28px rgba(255, 122, 184, 0.58),
    0 0 56px rgba(255, 53, 94, 0.36),
    0 0 88px rgba(255, 122, 184, 0.18);
}

.portfolio-tile:hover .tile-link {
  color: #ff9bc7;
  text-shadow:
    0 0 10px rgba(255, 122, 184, 0.36),
    0 0 20px rgba(255, 122, 184, 0.18);
}

.portfolio-tile:hover .tile-tag {
  box-shadow:
    0 0 18px rgba(255, 122, 184, 0.24),
    inset 0 0 14px rgba(255, 122, 184, 0.08);
  text-shadow:
    0 0 10px rgba(255, 122, 184, 0.44),
    0 0 22px rgba(255, 122, 184, 0.22);
}

.roadtrip-tile {
  grid-column: 1 / -1;
  background:
    url("/assets/img/optimized/tile-worldrt.webp") center / cover no-repeat,
    var(--panel-strong);
  border-color: rgba(255, 170, 0, 0.16);
}

.roadtrip-tile h2 {
  color: #fff5e8;
  text-shadow:
    0 0 10px rgba(255, 255, 255, 0.20),
    0 0 22px rgba(255, 170, 0, 0.42),
    0 0 42px rgba(255, 122, 184, 0.18),
    0 0 70px rgba(255, 170, 0, 0.10);
}

.roadtrip-tile .tile-tag {
  color: #ffd27d;
  border-color: rgba(255, 210, 125, 0.24);
  background: rgba(255, 170, 0, 0.10);
  box-shadow:
    0 0 12px rgba(255, 170, 0, 0.12),
    inset 0 0 10px rgba(255, 122, 184, 0.04);
}

.roadtrip-tile .tile-link {
  color: #ffd27d;
}

.roadtrip-tile:hover {
  border-color: rgba(255, 170, 0, 0.30);
  box-shadow:
    0 0 0 1px rgba(255, 170, 0, 0.08),
    0 20px 70px rgba(0, 0, 0, 0.42),
    0 0 30px rgba(255, 170, 0, 0.12);
}

.roadtrip-tile:hover .tile-overlay {
  background:
    linear-gradient(180deg, rgba(5, 5, 10, 0.10), rgba(5, 5, 10, 0.76)),
    linear-gradient(135deg, rgba(255, 170, 0, 0.20), transparent 40%, rgba(255, 122, 184, 0.10));
}

.roadtrip-tile:hover h2 {
  text-shadow:
    0 0 12px rgba(255, 255, 255, 0.24),
    0 0 26px rgba(255, 170, 0, 0.50),
    0 0 52px rgba(255, 122, 184, 0.22);
}

.roadtrip-tile:hover .tile-link {
  color: #ffe29d;
  text-shadow: 0 0 12px rgba(255, 170, 0, 0.30);
}

.nav-tile:hover .tile-tag {
  transform: translateY(-1px);
}

@media (max-width: 900px) {
  .tiles-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .home-main {
    gap: 18px;
  }

  .hero-panel {
    padding: 22px;
    border-radius: 24px;
  }

  .hero-panel h1 {
    font-size: clamp(2rem, 9vw, 2.8rem);
    line-height: 1.04;
  }

  .hero-text {
    max-width: 100%;
    font-size: 0.96rem;
    line-height: 1.6;
  }

  .hero-status {
    margin-top: 18px;
  }

  .status-card {
    max-width: 100%;
    padding: 14px 16px;
    border-radius: 16px;
  }

  .status-title {
    font-size: 1rem;
  }

  .tiles-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .nav-tile {
    min-height: 240px;
    border-radius: 22px;
  }

  .nav-tile::after {
    display: none;
  }

  .tile-content {
    left: 18px;
    right: 18px;
    bottom: 18px;
  }

  .nav-tile h2 {
    font-size: 1.8rem;
    line-height: 1.05;
  }

  .nav-tile p {
    max-width: 100%;
    font-size: 0.95rem;
  }

  .tile-link {
    margin-top: 12px;
  }
}

.admin-tile {
  display: block;
  background:
    url("/assets/img/optimized/admin-panel.webp") center / cover no-repeat,
    var(--panel-strong);
}

.notes-tile,
.owner-tile {
  display: block;
  background:
    url("/assets/img/optimized/notes-tile.webp") center / cover no-repeat,
    var(--panel-strong);
}