@import url('https://fonts.googleapis.com/css2?family=Figtree:wght@400;600;700&display=swap');

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

html, body {
  width: 100%; height: 100%;
  overflow: hidden;
}

body {
  font-family: 'Figtree', sans-serif;
  background: linear-gradient(160deg, #000000 0%, #0e0018 50%, #1a0030 100%);
  color: #e2d4f0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100vh;
}

.content-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 28px;
  padding-bottom: 64px;
}

.site-title {
  font-size: 2.6rem;
  font-weight: 700;
  color: #d8b4fe;
  letter-spacing: -0.01em;
  user-select: none;
}

.apps-grid {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  justify-content: center;
}

.app-button {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 7px;
  text-decoration: none;
  transition: transform 0.15s ease;
}

.app-button:hover {
  transform: translateY(-3px);
}

.app-icon {
  width: 68px;
  height: 68px;
  border-radius: 14px;
  border: 1px solid rgba(160, 80, 220, 0.35);
  background: rgba(255,255,255,0.04);
  object-fit: cover;
  transition: border-color 0.2s;
}

.app-button:hover .app-icon {
  border-color: rgba(192, 132, 252, 0.7);
}

.app-label {
  font-size: 0.72rem;
  font-weight: 600;
  color: rgba(192, 132, 252, 0.8);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  transition: color 0.15s;
}

.app-button:hover .app-label {
  color: #e9d5ff;
}


.search-form {
  display: flex;
  width: min(480px, 88vw);
}

.search-input {
  flex: 1;
  padding: 11px 16px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(140, 60, 200, 0.4);
  border-right: none;
  border-radius: 8px 0 0 8px;
  color: #fff;
  font-family: 'Figtree', sans-serif;
  font-size: 0.9rem;
  outline: none;
  transition: border-color 0.2s;
}

.search-input::placeholder {
  color: rgba(192, 132, 252, 0.4);
}

.search-input:focus {
  border-color: rgba(160, 80, 220, 0.8);
}

.search-btn {
  padding: 11px 18px;
  background: rgba(100, 30, 160, 0.6);
  border: 1px solid rgba(140, 60, 200, 0.4);
  border-left: none;
  border-radius: 0 8px 8px 0;
  color: #e2d4f0;
  font-family: 'Figtree', sans-serif;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s;
}

.search-btn:hover {
  background: rgba(120, 50, 190, 0.8);
}