/* traveling-with-you.com */

:root {
  --bg: #09080e;
  --card-bg: #15132a;
  --text: #d4d3da;
  --text-muted: #6d6a78;
  --accent: #a78bfa;
}

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

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

a {
  color: var(--accent);
  text-decoration: none;
  transition: color 0.2s;
}

a:hover {
  opacity: 0.85;
}

/* ─── Background glow ─── */

.glow {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background:
    radial-gradient(ellipse 600px 400px at 50% 35%, rgba(167, 139, 250, 0.08), transparent),
    radial-gradient(ellipse 300px 250px at 55% 60%, rgba(139, 92, 246, 0.04), transparent);
}

/* ─── Page layout ─── */

.page {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  padding: 3rem 1.5rem;
  text-align: center;
}

.page--top {
  justify-content: flex-start;
  padding-top: 4rem;
  padding-bottom: 4rem;
}

/* ─── Card (shared) ─── */

.card {
  max-width: 440px;
  width: 100%;
  background: var(--card-bg);
  border: 1px solid rgba(167, 139, 250, 0.15);
  border-radius: 20px;
  padding: 3rem 2.5rem 2.5rem;
  box-shadow:
    0 0 80px -20px rgba(167, 139, 250, 0.12),
    0 4px 24px rgba(0, 0, 0, 0.3);
  animation: fadeUp 0.7s ease-out both;
}

/* ─── Homepage hero ─── */

.hero h1 {
  font-size: clamp(1.5rem, 4.5vw, 1.875rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.2;
  color: #fff;
  margin-bottom: 0.5rem;
}

.tagline {
  font-size: 1rem;
  color: var(--text-muted);
  line-height: 1.5;
  margin-bottom: 1.75rem;
}

.rule {
  width: 36px;
  height: 2px;
  margin: 0 auto 1.75rem;
  background: var(--accent);
  border-radius: 1px;
}

.description {
  font-size: 0.875rem;
  line-height: 1.75;
  color: #908e9c;
  margin-bottom: 2rem;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.6875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--accent);
  background: rgba(167, 139, 250, 0.1);
  border: 1px solid rgba(167, 139, 250, 0.2);
  padding: 0.5em 1.2em;
  border-radius: 100px;
}

.badge::before {
  content: '';
  width: 5px;
  height: 5px;
  background: var(--accent);
  border-radius: 50%;
  animation: pulse 2.5s ease-in-out infinite;
}

/* ─── Game card ─── */

.game-card {
  max-width: 440px;
  width: 100%;
  margin-top: 1.5rem;
  background: var(--card-bg);
  border: 1px solid rgba(167, 139, 250, 0.1);
  border-radius: 16px;
  padding: 1.75rem 2rem;
  text-align: left;
  animation: fadeUp 0.7s ease-out 0.08s both;
}

.game-card h2 {
  font-size: 1.125rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 0.25rem;
}

.game-genre {
  font-size: 0.75rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  margin-bottom: 1rem;
}

.game-description {
  font-size: 0.875rem;
  line-height: 1.7;
  color: #908e9c;
  margin-bottom: 1.25rem;
}

.game-status {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.6875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--accent);
  background: rgba(167, 139, 250, 0.1);
  border: 1px solid rgba(167, 139, 250, 0.15);
  padding: 0.4em 1em;
  border-radius: 100px;
}

.game-status::before {
  content: '';
  width: 5px;
  height: 5px;
  background: var(--accent);
  border-radius: 50%;
  animation: pulse 2.5s ease-in-out infinite;
}

.game-links {
  margin-top: 1rem;
  font-size: 0.75rem;
}

.game-links a {
  color: var(--text-muted);
}

.game-links a:hover {
  color: var(--accent);
  opacity: 1;
}

/* ─── Footer contact ─── */

.contact {
  margin-top: 2.5rem;
  animation: fadeUp 0.7s ease-out 0.16s both;
}

.contact a {
  font-size: 0.8125rem;
  color: var(--text-muted);
}

.contact a:hover {
  color: var(--accent);
  opacity: 1;
}

/* ─── Privacy / document pages ─── */

.privacy {
  max-width: 600px;
  text-align: left;
  padding: 2.5rem 2.5rem 2rem;
}

.back-link {
  display: inline-block;
  font-size: 0.8125rem;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
}

.back-link:hover {
  color: var(--accent);
  opacity: 1;
}

.privacy h1 {
  font-size: 1.5rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 0.25rem;
}

.privacy .updated {
  font-size: 0.8125rem;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid rgba(167, 139, 250, 0.08);
}

.privacy h2 {
  font-size: 0.875rem;
  font-weight: 600;
  color: #eee;
  margin-top: 1.75rem;
  margin-bottom: 0.5rem;
  letter-spacing: 0.01em;
}

.privacy p {
  font-size: 0.875rem;
  line-height: 1.8;
  color: #9896a3;
}

/* ─── Animations ─── */

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.2; }
}

/* ─── Mobile ─── */

@media (max-width: 480px) {
  .card {
    padding: 2.25rem 1.75rem 2rem;
    border-radius: 16px;
  }

  .privacy {
    padding: 2rem 1.5rem 1.75rem;
  }

  .game-card {
    padding: 1.5rem;
  }

  .page--top {
    padding-top: 2rem;
  }
}
