/* Zeroskills Games — shared site styles */

:root {
  --primary: #00A2FF;
  --secondary: #0072E6;
  --navy: #0A1A2F;
  --navy-light: #12233a;
  --white: #FFFFFF;
  --muted: #9fb0c3;
  --max-width: 1080px;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--navy);
  color: var(--white);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  line-height: 1.6;
}

a { color: var(--primary); text-decoration: none; }
a:hover { text-decoration: underline; }

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

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

/* Header / nav */
header.site-header {
  border-bottom: 1px solid rgba(255,255,255,0.08);
  position: sticky;
  top: 0;
  background: rgba(10,26,47,0.92);
  backdrop-filter: blur(6px);
  z-index: 10;
}

.nav-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
  flex-wrap: wrap;
  gap: 12px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 18px;
  letter-spacing: 0.5px;
  color: var(--white);
}
.brand img { width: 32px; height: 32px; }
.brand:hover { text-decoration: none; opacity: 0.9; }

nav.main-nav {
  display: flex;
  gap: 22px;
  flex-wrap: wrap;
}
nav.main-nav a {
  color: var(--muted);
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.3px;
}
nav.main-nav a:hover, nav.main-nav a.active {
  color: var(--white);
  text-decoration: none;
}

/* Hero */
.hero {
  padding: 72px 0 56px;
  text-align: center;
  background:
    radial-gradient(circle at 50% 0%, rgba(0,162,255,0.16), transparent 60%);
}
.hero h1 {
  font-size: clamp(32px, 5vw, 52px);
  margin: 0 0 12px;
  font-weight: 800;
  letter-spacing: -0.5px;
}
.hero h1 span { color: var(--primary); }
.hero p.tagline {
  color: var(--muted);
  font-size: clamp(16px, 2vw, 19px);
  max-width: 620px;
  margin: 0 auto 28px;
}

.button-row {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}

.btn {
  display: inline-block;
  padding: 12px 24px;
  border-radius: 8px;
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.3px;
}
.btn-primary {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: var(--white);
}
.btn-primary:hover { text-decoration: none; opacity: 0.92; }
.btn-outline {
  border: 1px solid rgba(255,255,255,0.25);
  color: var(--white);
}
.btn-outline:hover { text-decoration: none; border-color: var(--primary); color: var(--primary); }

.badge-row {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 8px;
}
.store-badge {
  border: 1px solid rgba(255,255,255,0.2);
  color: var(--muted);
  border-radius: 8px;
  padding: 10px 16px;
  font-size: 13px;
  font-weight: 600;
}

/* Sections / cards */
section { padding: 56px 0; }
section.alt { background: var(--navy-light); }

h2.section-title {
  font-size: clamp(24px, 3vw, 32px);
  margin: 0 0 8px;
  font-weight: 800;
}
p.section-lead {
  color: var(--muted);
  margin: 0 0 32px;
  max-width: 640px;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
}

.card {
  background: var(--navy-light);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 14px;
  padding: 24px;
}
.card h3 { margin-top: 0; font-size: 18px; }
.card p { color: var(--muted); margin-bottom: 0; font-size: 14px; }

.game-feature {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 40px;
  align-items: center;
}
@media (max-width: 720px) {
  .game-feature { grid-template-columns: 1fr; }
}
.game-mockup {
  width: 240px;
  height: 420px;
  margin: 0 auto;
  border-radius: 24px;
  background: linear-gradient(160deg, var(--secondary), var(--navy));
  border: 1px solid rgba(255,255,255,0.15);
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 10px;
  padding: 20px;
  min-width: 240px;
}
.game-mockup .cell { border-radius: 12px; min-width: 0; min-height: 0; }
.game-mockup .cell.on { box-shadow: 0 0 30px rgba(0,162,255,0.7); }

.tag-list { display: flex; flex-wrap: wrap; gap: 8px; margin: 16px 0; }
.tag {
  font-size: 12px;
  font-weight: 700;
  color: var(--primary);
  background: rgba(0,162,255,0.12);
  border: 1px solid rgba(0,162,255,0.35);
  border-radius: 999px;
  padding: 4px 12px;
}

.coming-soon {
  border: 1px dashed rgba(255,255,255,0.25);
  border-radius: 14px;
  padding: 32px;
  text-align: center;
  color: var(--muted);
}

/* Blog */
.post-list { display: flex; flex-direction: column; gap: 4px; }
.post-item {
  padding: 20px 0;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.post-item:last-child { border-bottom: none; }
.post-item .date {
  color: var(--muted);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.3px;
}
.post-item h3 { margin: 6px 0; font-size: 20px; }
.post-item h3 a { color: var(--white); }
.post-item p { color: var(--muted); margin: 0; }

article.post {
  max-width: 720px;
  margin: 0 auto;
}
article.post .date { color: var(--muted); font-size: 13px; font-weight: 600; }
article.post h1 { margin-top: 8px; }
article.post p { color: #d7e0ea; }

/* Founder / about */
.founder-row {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 32px;
  align-items: center;
}
@media (max-width: 640px) {
  .founder-row { grid-template-columns: 1fr; }
}
.founder-photo {
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.1);
}

/* Legal */
.legal-doc {
  max-width: 760px;
  margin: 0 auto;
}
.legal-doc h2 { margin-top: 40px; font-size: 20px; }
.legal-doc p, .legal-doc li { color: #d7e0ea; }
.placeholder {
  background: rgba(255,140,0,0.1);
  border: 1px dashed #ff9d3a;
  color: #ffc98a;
  padding: 2px 8px;
  border-radius: 6px;
  font-weight: 700;
  font-size: 13px;
}
.notice-box {
  background: rgba(0,162,255,0.08);
  border: 1px solid rgba(0,162,255,0.3);
  border-radius: 10px;
  padding: 16px 20px;
  font-size: 14px;
  color: var(--muted);
  margin-bottom: 32px;
}

/* Footer */
footer.site-footer {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 36px 0;
  color: var(--muted);
  font-size: 13px;
}
.footer-row {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}
.footer-links { display: flex; gap: 18px; flex-wrap: wrap; }
.footer-links a { color: var(--muted); font-weight: 600; }
.footer-links a:hover { color: var(--primary); }
