/* Hasheem Gaming — shared stylesheet. Plain CSS, no build step, no external fonts. */

:root {
  --bg: #0a0b0f;
  --surface: #14161d;
  --surface-2: #1b1e27;
  --border: #262a35;
  --text: #eef0f3;
  --text-muted: #9aa1ac;
  --accent: #8b6bff;
  --accent-2: #22d3ee;
  --accent-contrast: #0a0b0f;
  --radius: 14px;
  --max-width: 880px;
  --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue",
    Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  color-scheme: dark;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-sans);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

a {
  color: var(--accent-2);
  text-decoration: none;
}

a:hover,
a:focus-visible {
  text-decoration: underline;
}

img {
  max-width: 100%;
  display: block;
}

.wrap {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 20px;
}

/* Header */

.site-header {
  border-bottom: 1px solid var(--border);
}

.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 20px;
  padding-bottom: 20px;
  gap: 16px;
  flex-wrap: wrap;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--text);
}

.brand:hover,
.brand:focus-visible {
  text-decoration: none;
}

.brand-mark {
  width: 30px;
  height: 30px;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  flex-shrink: 0;
}

.site-nav {
  display: flex;
  gap: 20px;
  font-size: 0.95rem;
}

.site-nav a {
  color: var(--text-muted);
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: var(--text);
}

/* Hero */

.hero {
  padding: 64px 0 48px;
  text-align: center;
}

.hero h1 {
  font-size: clamp(2rem, 5vw + 1rem, 3.2rem);
  line-height: 1.1;
  margin: 0 0 14px;
  letter-spacing: -0.02em;
}

.hero .tagline {
  font-size: clamp(1.05rem, 1.5vw + 0.6rem, 1.3rem);
  color: var(--text-muted);
  margin: 0 auto;
  max-width: 46ch;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 28px;
  padding: 8px 16px;
  border-radius: 999px;
  background: var(--surface);
  border: 1px solid var(--border);
  font-size: 0.9rem;
  color: var(--text-muted);
}

.badge .dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--accent-2);
  box-shadow: 0 0 0 3px rgba(34, 211, 238, 0.15);
}

/* Content sections */

.section {
  padding: 40px 0;
}

.section + .section {
  border-top: 1px solid var(--border);
}

.section h2 {
  font-size: clamp(1.3rem, 2vw + 0.7rem, 1.7rem);
  margin: 0 0 12px;
  letter-spacing: -0.01em;
}

.section p {
  color: var(--text-muted);
  margin: 0 0 14px;
  max-width: 68ch;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
  margin-top: 24px;
}

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
}

.card h3 {
  margin: 0 0 8px;
  font-size: 1.05rem;
}

.card p {
  margin: 0;
  font-size: 0.95rem;
}

/* Footer */

.site-footer {
  border-top: 1px solid var(--border);
  padding: 28px 0 40px;
  margin-top: 40px;
}

.site-footer .wrap {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  font-size: 0.9rem;
}

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

.footer-links a:hover,
.footer-links a:focus-visible {
  color: var(--text);
}

.footer-note {
  color: var(--text-muted);
  font-size: 0.85rem;
}

/* Legal pages (privacy / terms) */

.legal {
  padding: 48px 0 64px;
}

.legal h1 {
  font-size: clamp(1.7rem, 3vw + 0.8rem, 2.3rem);
  margin: 0 0 8px;
  letter-spacing: -0.01em;
}

.legal .updated {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin: 0 0 28px;
}

.draft-notice {
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-left: 3px solid var(--accent);
  border-radius: 10px;
  padding: 14px 18px;
  margin-bottom: 32px;
  font-size: 0.92rem;
  color: var(--text-muted);
}

.draft-notice strong {
  color: var(--text);
}

.legal section {
  margin-bottom: 30px;
}

.legal h2 {
  font-size: 1.15rem;
  margin: 0 0 10px;
  color: var(--text);
}

.legal p,
.legal li {
  color: var(--text-muted);
  max-width: 72ch;
}

.legal ul {
  margin: 0 0 14px;
  padding-left: 20px;
}

.legal li {
  margin-bottom: 6px;
}

.legal strong {
  color: var(--text);
}

/* Responsive tweaks */

@media (max-width: 560px) {
  .site-header .wrap {
    justify-content: center;
    text-align: center;
  }

  .site-nav {
    justify-content: center;
    width: 100%;
  }

  .hero {
    padding: 48px 0 36px;
  }

  .site-footer .wrap {
    flex-direction: column;
    text-align: center;
  }

  .footer-links {
    justify-content: center;
  }
}
