/* ============================================================
   PickForMe — Hub stylesheet
   Shares the same design language as what-movie-today:
   dark background, gold accent, Bebas Neue + Inter.
   ============================================================ */

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

/* ----- Design tokens ----- */
:root {
  --bg:             #0a0a0f;
  --bg-card:        #12121e;
  --bg-card-hover:  #1a1a2e;
  --accent:         #f5c518;
  --accent-glow:    rgba(245, 197, 24, 0.25);
  --accent-dim:     rgba(245, 197, 24, 0.55);
  --text-primary:   #ffffff;
  --text-muted:     #8888aa;
  --border:         rgba(255, 255, 255, 0.07);
  --border-hover:   rgba(245, 197, 24, 0.45);
  --radius:         16px;
  --transition:     0.22s ease;
}

/* ----- Base ----- */
html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text-primary);
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}

/* ----- Layout ----- */
#app {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

main { flex: 1; }

/* ----- Header ----- */
header {
  text-align: center;
  padding: 5rem 1.5rem 4rem;
  position: relative;
  overflow: hidden;
}

/* Subtle radial glow behind the title */
header::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 70% 55% at 50% 0%, rgba(245,197,24,0.08) 0%, transparent 70%);
  pointer-events: none;
}

.header-inner { position: relative; z-index: 1; }

.eyebrow {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.75rem;
  opacity: 0.85;
}

header h1 {
  font-family: 'Bebas Neue', Impact, sans-serif;
  font-size: clamp(4rem, 12vw, 8rem);
  letter-spacing: 0.03em;
  line-height: 1;
  color: var(--text-primary);
  text-shadow: 0 0 80px var(--accent-glow);
}

header h1 .accent { color: var(--accent); }

.tagline {
  margin-top: 1rem;
  color: var(--text-muted);
  font-size: clamp(0.9rem, 2vw, 1.05rem);
  font-weight: 300;
  letter-spacing: 0.04em;
}

/* ----- Tools section ----- */
.tools-section {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 1.5rem 5rem;
}

.section-title {
  font-family: 'Bebas Neue', Impact, sans-serif;
  font-size: clamp(1.6rem, 4vw, 2.2rem);
  letter-spacing: 0.06em;
  color: var(--text-muted);
  margin-bottom: 2rem;
  text-transform: uppercase;
}

/* ----- Grid ----- */
.tools-grid {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.25rem;
}

/* ----- Card ----- */
.tool-card {
  display: flex;
  flex-direction: column;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem 1.75rem;
  height: 100%;
  transition:
    border-color var(--transition),
    background   var(--transition),
    transform    var(--transition),
    box-shadow   var(--transition);
}

/* Clickable cards */
a.tool-card {
  text-decoration: none;
  color: inherit;
  cursor: pointer;
}

a.tool-card:hover,
a.tool-card:focus-visible {
  border-color: var(--border-hover);
  background: var(--bg-card-hover);
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(245, 197, 24, 0.12);
  outline: none;
}

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

/* Disabled / coming soon */
.tool-card--soon {
  opacity: 0.45;
  cursor: default;
  user-select: none;
}

/* Icon */
.tool-card__icon {
  font-size: 2.6rem;
  line-height: 1;
  margin-bottom: 1.25rem;
  filter: drop-shadow(0 0 10px var(--accent-glow));
}

/* Body */
.tool-card__body {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  flex: 1;
}

.tool-card__title {
  font-family: 'Bebas Neue', Impact, sans-serif;
  font-size: 1.65rem;
  letter-spacing: 0.04em;
  color: var(--text-primary);
  line-height: 1.1;
}

.tool-card__desc {
  color: var(--text-muted);
  font-size: 0.9rem;
  font-weight: 300;
  line-height: 1.6;
  flex: 1;
}

/* CTA link text */
.tool-card__cta {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin-top: 1rem;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent);
  transition: gap var(--transition);
}

a.tool-card:hover .tool-card__cta {
  gap: 0.6rem;
}

/* Coming-soon badge */
.tool-card__badge {
  display: inline-block;
  margin-top: 1rem;
  padding: 0.25rem 0.7rem;
  background: rgba(255,255,255,0.06);
  border: 1px solid var(--border);
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  width: fit-content;
}

/* ----- Footer ----- */
footer {
  text-align: center;
  padding: 2rem 1rem;
  border-top: 1px solid var(--border);
  color: var(--text-muted);
  font-size: 0.82rem;
}

footer a {
  color: var(--accent);
  text-decoration: none;
  font-weight: 600;
}

footer a:hover { text-decoration: underline; }

/* ----- Responsive ----- */
@media (max-width: 480px) {
  header { padding: 3.5rem 1rem 2.5rem; }

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

  .tool-card { padding: 1.5rem; }
}
