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

body {
  background: #0f1520;
  color: #fff;
  height: 100vh;
  overflow: hidden;
  user-select: none;
  -webkit-user-select: none;
}

.launcher {
  display: flex;
  flex-direction: column;
  height: 100vh;
}


.grid {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 3px;
  background: #ffffff;
  overflow-y: auto;
  overflow-x: hidden;
}

.grid-row {
  display: flex;
  flex: 1;
  min-height: calc((100vh - 6px) / 3);
  gap: 3px;
}

.app-card {
  position: relative;
  overflow: hidden;
  flex: 1;
  background: #161616;
  text-decoration: none;
  color: #fff;
  display: block;
}

.app-card:hover .card-bg {
  transform: scale(1.03);
}

.app-card:hover .card-overlay {
  background: linear-gradient(transparent 40%, rgba(0, 0, 0, 0.75) 100%);
}

.app-card:active .card-bg {
  transform: scale(1.01);
}

.card-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.3s ease;
}

.card-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: flex-end;
  padding: 28px 32px;
  background: linear-gradient(transparent 40%, rgba(0, 0, 0, 0.6) 100%);
  transition: background 0.2s ease;
}

.card-logo {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -60%);
  max-width: 45%;
  max-height: 40%;
  object-fit: contain;
  filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.4));
}

.card-name {
  font-size: clamp(16px, 1.8vw, 28px);
  font-weight: 500;
  letter-spacing: 1px;
  color: #fff;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.8);
  line-height: 1.3;
}

.empty {
  color: #444;
  font-size: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 48px;
}
