/* Brainrot Clicker — shared site styles.
   Mirrors the in-app palette from constants/theme.ts. */

:root {
  --bg0: #0a0a0a;
  --bg1: #1a0a2e;
  --bg2: #2a0a3e;
  --brand: #ff4fa8;
  --accent: #ffd93d;
  --text: #ffffff;
  --muted: #a3a3a3;
  --dim: #666;
  --card-bg: #140820;
  --card-border: #2a2040;
  --success: #4ade80;
  --danger: #ef4444;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  background: var(--bg0);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen,
    Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", sans-serif;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
}

body {
  background:
    radial-gradient(ellipse at top, var(--bg2) 0%, var(--bg1) 40%, var(--bg0) 100%);
  background-attachment: fixed;
}

a {
  color: var(--brand);
  text-decoration: none;
  transition: color 0.15s ease;
}
a:hover {
  color: var(--accent);
}

.wrap {
  max-width: 960px;
  margin: 0 auto;
  padding: 24px;
}

/* --- Navigation --- */

.nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 24px;
  border-bottom: 1px solid var(--card-border);
  background: rgba(10, 10, 10, 0.7);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  position: sticky;
  top: 0;
  z-index: 10;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 900;
  font-size: 18px;
  letter-spacing: 2px;
  color: var(--text);
}
.nav-brand:hover {
  color: var(--text);
}

.nav-brand img {
  width: 32px;
  height: 32px;
  border-radius: 8px;
}

.nav-links {
  display: flex;
  gap: 18px;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
}

/* --- Hero --- */

.hero {
  text-align: center;
  padding: 64px 20px 40px;
}

.hero-logo {
  width: 180px;
  height: 180px;
  margin: 0 auto 18px;
  filter: drop-shadow(0 0 40px rgba(255, 79, 168, 0.6));
}

.hero h1 {
  font-size: clamp(40px, 8vw, 80px);
  font-weight: 900;
  letter-spacing: 4px;
  margin: 0 0 10px;
  background: linear-gradient(90deg, var(--brand), var(--accent), var(--brand));
  background-size: 200% auto;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: shimmer 4s linear infinite;
}

@keyframes shimmer {
  0% { background-position: 0% 50%; }
  100% { background-position: 200% 50%; }
}

.hero-tag {
  font-size: clamp(14px, 2.5vw, 18px);
  color: var(--accent);
  letter-spacing: 6px;
  text-transform: uppercase;
  margin: 0 0 30px;
  font-weight: 900;
}

.hero-badges {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 16px;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 22px;
  background: var(--card-bg);
  border: 2px solid var(--brand);
  border-radius: 14px;
  font-weight: 800;
  font-size: 14px;
  letter-spacing: 1px;
  color: var(--text);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.badge:hover {
  color: var(--text);
  transform: translateY(-2px);
  box-shadow: 0 0 16px rgba(255, 79, 168, 0.5);
}
.badge-icon {
  font-size: 22px;
}

/* --- Features --- */

.section {
  padding: 40px 20px;
}

.section h2 {
  font-size: 28px;
  font-weight: 900;
  letter-spacing: 4px;
  text-transform: uppercase;
  text-align: center;
  color: var(--brand);
  margin: 0 0 24px;
}

.features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 14px;
}

.feature {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 16px;
  padding: 20px;
  transition: border-color 0.15s ease, transform 0.15s ease;
}
.feature:hover {
  border-color: var(--brand);
  transform: translateY(-2px);
}

.feature-icon {
  font-size: 36px;
  margin-bottom: 8px;
  display: block;
}

.feature h3 {
  font-size: 16px;
  font-weight: 900;
  margin: 0 0 6px;
  letter-spacing: 1px;
}

.feature p {
  color: var(--muted);
  font-size: 14px;
  margin: 0;
}

/* --- Screenshots strip --- */

.screens {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 12px;
  margin-top: 24px;
}
.screens img {
  width: 100%;
  border-radius: 14px;
  border: 1px solid var(--card-border);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
  aspect-ratio: 9 / 19.5;
  object-fit: cover;
  object-position: top;
}

/* --- Prose (privacy, support) --- */

.prose {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 20px;
  padding: 36px;
  margin-top: 24px;
}

.prose h1 {
  color: var(--brand);
  font-size: 32px;
  letter-spacing: 3px;
  margin-top: 0;
}

.prose h2 {
  color: var(--accent);
  font-size: 20px;
  margin-top: 28px;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.prose p,
.prose li {
  color: var(--text);
  font-size: 15px;
  line-height: 1.7;
}

.prose code {
  background: var(--bg0);
  padding: 2px 6px;
  border-radius: 4px;
  color: var(--accent);
  font-size: 13px;
}

.prose ul {
  padding-left: 22px;
}

/* --- Footer --- */

.footer {
  margin-top: 60px;
  padding: 24px;
  border-top: 1px solid var(--card-border);
  text-align: center;
  color: var(--muted);
  font-size: 13px;
  letter-spacing: 1px;
}

.footer a {
  margin: 0 8px;
}
