*, *::before, *::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: #0f0f0f;
  color: #fff;
}

.container {
  max-width: 960px;
  margin: 0 auto;
  padding: 60px 24px 40px;
}

h1 {
  font-size: 36px;
  margin: 0;
  letter-spacing: 0;
}

p.subtitle {
  color: #888;
  margin: 0 0 48px;
  font-size: 15px;
}

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

.card {
  background: #1a1a1a;
  border-radius: 18px;
  padding: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  text-decoration: none;
  color: inherit;
  transition: background 0.15s, transform 0.15s, border-color 0.15s;
  border: 1px solid #ffffff08;
}

.card:hover {
  background: #222;
  transform: translateY(-2px);
  border-color: #ffffff14;
}

.card-left {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
}

.app-icon {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  flex-shrink: 0;
  object-fit: cover;
}

.app-info {
  min-width: 0;
}

.app-title {
  font-size: 15px;
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.app-desc {
  font-size: 12px;
  color: #888;
  margin-top: 3px;
}

.btn,
.primary-btn,
.secondary-btn {
  border: 0;
  font: inherit;
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
  cursor: pointer;
}

.btn {
  background: #0a84ff;
  color: white;
  padding: 8px 14px;
  border-radius: 20px;
  text-decoration: none;
  flex-shrink: 0;
  letter-spacing: 0;
  transition: background 0.15s;
}

.btn:hover,
.primary-btn:hover {
  background: #2196f3;
}

.footer {
  margin-top: 48px;
  font-size: 12px;
  color: #444;
}

.links {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 32px;
}

.links a,
.link-button {
  color: #666;
  text-decoration: none;
  font-size: 14px;
  transition: color 0.15s;
}

.link-button {
  background: none;
  border: 0;
  padding: 0;
  font: inherit;
  cursor: pointer;
}

.links a:hover,
.link-button:hover {
  color: #fff;
}

.cookie-banner {
  position: fixed;
  left: 24px;
  right: 24px;
  bottom: 24px;
  max-width: 760px;
  margin: 0 auto;
  padding: 18px;
  background: #1f1f1f;
  border: 1px solid #ffffff18;
  border-radius: 16px;
  box-shadow: 0 18px 60px #00000066;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  z-index: 10;
}

.cookie-banner[hidden] {
  display: none;
}

.cookie-title {
  margin: 0 0 4px;
  font-size: 14px;
  font-weight: 700;
}

.cookie-copy {
  margin: 0;
  color: #aaa;
  font-size: 13px;
  line-height: 1.4;
}

.cookie-actions {
  display: flex;
  gap: 10px;
}

.primary-btn,
.secondary-btn {
  border-radius: 999px;
  padding: 9px 14px;
}

.primary-btn {
  background: #0a84ff;
  color: #fff;
}

.secondary-btn {
  background: #2a2a2a;
  color: #ddd;
}

@media (max-width: 600px) {
  .container {
    padding-top: 48px;
  }

  h1 {
    font-size: 28px;
  }

  .apps {
    grid-template-columns: 1fr;
  }

  .card {
    padding: 16px;
  }

  .cookie-banner {
    flex-direction: column;
    align-items: stretch;
  }

  .cookie-actions {
    justify-content: flex-end;
  }
}
