/* Secret Game Studio — landing styles
   Deep Sea Vault-ish quiet "secret" aesthetic:
   near-black indigo background, light text, one warm accent. */

:root {
  --bg:        #0d0f1c;   /* near-black indigo */
  --bg-card:   #161a30;   /* slightly lifted panel */
  --bg-input:  #1d2240;
  --border:    #2a3056;
  --text:      #e9ecf6;   /* light primary text */
  --text-dim:  #a3a9c4;   /* muted secondary text */
  --accent:    #f5a623;   /* one warm accent (amber) */
  --accent-hi: #ffb840;
  --max:       640px;
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
               Helvetica, Arial, sans-serif, "Apple Color Emoji",
               "Segoe UI Emoji";
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

a { color: var(--accent); text-decoration: none; }
a:hover, a:focus { color: var(--accent-hi); text-decoration: underline; }

/* Layout shell */
.page {
  flex: 1 0 auto;
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: 48px 24px 24px;
}

.site-header {
  text-align: center;
  padding-top: 8px;
}

.site-header .brand {
  font-size: 0.95rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-dim);
  font-weight: 600;
}

/* Hero */
.hero {
  text-align: center;
  padding: 24px 0 8px;
}

.hero .logo {
  display: block;
  width: 100%;
  max-width: 360px;
  height: auto;
  margin: 0 auto 24px;
}

/* Visually hidden but available to screen readers / SEO */
.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.wordmark {
  font-size: clamp(1.8rem, 6vw, 2.6rem);
  font-weight: 800;
  letter-spacing: 0.06em;
  margin: 0 0 16px;
  line-height: 1.15;
}

.tagline {
  font-size: 1.15rem;
  color: var(--text);
  margin: 0 0 4px;
}

.subtag {
  font-size: 1rem;
  color: var(--text-dim);
  margin: 0;
}

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

/* Sections */
section { margin-top: 56px; }

.section-title {
  font-size: 1.35rem;
  font-weight: 700;
  margin: 0 0 8px;
  text-align: center;
}

.section-intro {
  text-align: center;
  color: var(--text-dim);
  margin: 0 auto 28px;
  max-width: 460px;
}

/* Contact form */
.contact-form {
  max-width: 460px;
  margin: 0 auto;
}

.field { margin-bottom: 18px; }

.field label {
  display: block;
  font-size: 0.85rem;
  letter-spacing: 0.04em;
  color: var(--text-dim);
  margin-bottom: 6px;
}

.field input,
.field textarea {
  width: 100%;
  background: var(--bg-input);
  border: 1px solid var(--border);
  border-radius: 10px;
  color: var(--text);
  font: inherit;
  padding: 12px 14px;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.field textarea {
  min-height: 130px;
  resize: vertical;
}

.field input::placeholder,
.field textarea::placeholder { color: #6d738f; }

.field input:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(245, 166, 35, 0.18);
}

/* Honeypot — hidden from humans, bait for bots */
.honeypot { display: none; }

.btn-accent {
  display: inline-block;
  width: 100%;
  background: var(--accent);
  color: #1a1300;
  border: none;
  border-radius: 10px;
  font: inherit;
  font-weight: 700;
  letter-spacing: 0.03em;
  padding: 14px 20px;
  cursor: pointer;
  transition: background 0.15s ease, transform 0.05s ease;
}

.btn-accent:hover, .btn-accent:focus { background: var(--accent-hi); }
.btn-accent:active { transform: translateY(1px); }

/* Centered simple pages (thanks) */
.center-card {
  flex: 1 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 64px 24px;
  max-width: var(--max);
  margin: 0 auto;
}

.center-card h1 {
  font-size: clamp(1.6rem, 5vw, 2.2rem);
  margin: 0 0 16px;
}

.center-card p { color: var(--text-dim); margin: 0 0 24px; }

/* Privacy / long-form content */
.prose { max-width: var(--max); margin: 0 auto; }

.prose h1 {
  font-size: clamp(1.6rem, 5vw, 2.2rem);
  margin: 0 0 8px;
  text-align: center;
}

.prose .effective {
  text-align: center;
  color: var(--text-dim);
  margin: 0 0 40px;
  font-size: 0.95rem;
}

.prose h2 {
  font-size: 1.2rem;
  margin: 36px 0 10px;
  color: var(--text);
  border-top: 1px solid var(--border);
  padding-top: 28px;
}

.prose h2:first-of-type { border-top: none; padding-top: 0; }

.prose p, .prose li { color: var(--text-dim); }
.prose strong { color: var(--text); }
.prose ul { padding-left: 20px; }
.prose li { margin-bottom: 6px; }

/* Footer */
.site-footer {
  flex-shrink: 0;
  text-align: center;
  padding: 40px 24px 32px;
  color: var(--text-dim);
  font-size: 0.85rem;
  border-top: 1px solid var(--border);
  margin-top: 56px;
}

.site-footer nav a { margin: 0 10px; color: var(--text-dim); }
.site-footer nav a:hover { color: var(--accent); }
.site-footer .copyright { margin-top: 12px; opacity: 0.8; }

@media (max-width: 480px) {
  .page { padding: 32px 18px 16px; }
  .hero .logo { max-width: 280px; }
}
