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

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

:root {
  --bg: #0f0f14;
  --surface: #1a1a24;
  --accent-start: #6366f1;
  --accent-end: #8b5cf6;
  --text: #f4f4f5;
  --muted: #a1a1aa;
  --border: rgba(255, 255, 255, 0.06);
  --shadow: 0 8px 32px rgba(99, 102, 241, 0.15);
}

html {
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 16px;
  line-height: 1.5;
  color: var(--text);
  background-color: var(--bg);
  background-image:
    radial-gradient(ellipse 80% 50% at 50% -20%, rgba(99, 102, 241, 0.18), transparent),
    radial-gradient(ellipse 60% 40% at 50% 110%, rgba(139, 92, 246, 0.1), transparent);
  min-height: 100dvh;
  overflow-x: hidden;
}

.page {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100dvh;
  padding: 24px 20px;
}

.container {
  width: 100%;
  max-width: 420px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 28px;
  animation: fadeIn 0.5s ease-out both;
}

/* Hero */
.hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 10px;
}

.brand-icon {
  width: 72px;
  height: 72px;
  margin-bottom: 4px;
  filter: drop-shadow(var(--shadow));
}

.brand-icon svg {
  width: 100%;
  height: 100%;
  display: block;
}

.title {
  font-size: 1.75rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.tagline {
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--muted);
}

/* App list */
.app-list {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.app-card {
  display: flex;
  align-items: center;
  gap: 14px;
  width: 100%;
  min-height: 72px;
  padding: 14px 16px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  text-decoration: none;
  color: inherit;
  cursor: pointer;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
  -webkit-tap-highlight-color: transparent;
}

.app-card:hover {
  border-color: rgba(255, 255, 255, 0.12);
}

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

.app-card:focus-visible {
  outline: 2px solid var(--accent-start);
  outline-offset: 3px;
}

.app-card--speedrem:hover,
.app-card--speedrem:focus-visible {
  box-shadow: 0 4px 24px rgba(99, 102, 241, 0.2);
  border-color: rgba(99, 102, 241, 0.3);
}

.app-card--artarena:hover,
.app-card--artarena:focus-visible {
  box-shadow: 0 4px 24px rgba(249, 115, 22, 0.2);
  border-color: rgba(249, 115, 22, 0.3);
}

.app-card--bireyfinans:hover,
.app-card--bireyfinans:focus-visible {
  box-shadow: 0 4px 24px rgba(16, 185, 129, 0.2);
  border-color: rgba(16, 185, 129, 0.3);
}

.app-card__icon {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
}

.app-card__icon svg {
  width: 100%;
  height: 100%;
  display: block;
}

.app-card__content {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.app-card__name {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text);
  letter-spacing: -0.01em;
}

.app-card__desc {
  font-size: 0.8125rem;
  color: var(--muted);
  line-height: 1.45;
}

.app-card__arrow {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  color: var(--muted);
  opacity: 0.5;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.app-card__arrow svg {
  width: 18px;
  height: 18px;
}

.app-card:hover .app-card__arrow {
  opacity: 1;
  transform: translateX(2px);
}

/* Footer */
.footer {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding-top: 4px;
}

.footer-brand {
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--muted);
}

.footer-link {
  font-size: 0.8125rem;
  color: var(--muted);
  text-decoration: none;
  opacity: 0.7;
  transition: opacity 0.2s ease;
  min-height: 44px;
  display: flex;
  align-items: center;
}

.footer-link:hover {
  opacity: 1;
}

.footer-link:focus-visible {
  outline: 2px solid var(--accent-start);
  outline-offset: 2px;
  border-radius: 4px;
  opacity: 1;
}

/* Animations */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .container {
    animation: none;
  }

  .app-card {
    transition: none;
  }

  .app-card:active {
    transform: none;
  }

  .app-card:hover .app-card__arrow {
    transform: none;
  }
}

/* Larger screens */
@media (min-width: 480px) {
  .page {
    padding: 40px 24px;
  }

  .container {
    gap: 32px;
  }

  .brand-icon {
    width: 80px;
    height: 80px;
  }

  .title {
    font-size: 2rem;
  }

  .app-card {
    min-height: 80px;
    padding: 16px 18px;
    border-radius: 18px;
  }

  .app-card__icon {
    width: 52px;
    height: 52px;
  }

  .app-card__name {
    font-size: 1.0625rem;
  }

  .app-card__desc {
    font-size: 0.875rem;
  }
}
