/* Basic Island Quest vibe */

:root {
  --bg: #020811;
  --fg: #f6e7c2;
  --accent: #ff9147;
  --accent-soft: #1d3c4a;
  --muted: #9ca3af;
  --font-main: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-mono: "DM Mono", ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  background: radial-gradient(circle at top, #05243b 0, var(--bg) 55%);
  color: var(--fg);
  font-family: var(--font-main);
  display: flex;
  flex-direction: column;
}

main {
  max-width: 880px;          /* a bit wider for desktop */
  width: 100%;
  margin: 0 auto;
  padding: 3rem 1.5rem 4rem;
}

header {
  margin-bottom: 2.5rem;
}

.site-title {
  font-family: var(--font-mono);
  letter-spacing: 0.16em;
  font-size: 0.9rem;
  text-transform: uppercase;
  color: var(--muted);
}

h1, h2, h3 {
  font-family: var(--font-mono);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1 {
  margin-top: 1.8rem;
  margin-bottom: 0.75rem;
}

a {
  color: var(--accent);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

.card {
  background: rgba(4, 17, 30, 0.9);
  border-radius: 0.75rem;
  border: 1px solid rgba(148, 163, 184, 0.3);
  padding: 1.75rem 1.5rem;
  margin-bottom: 1.5rem;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.45);
}

.card p {
  margin-top: 0.25rem;
  line-height: 1.6;
}

.nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1.2rem;
}

.nav a {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  text-transform: uppercase;
  padding: 0.4rem 0.7rem;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.9);
  border: 1px solid rgba(148, 163, 184, 0.4);
}

.nav a:hover {
  background: rgba(30, 64, 175, 0.6);
}

/* Hero image */

.hero-image {
  margin: 1.5rem 0 0.5rem;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.6);
}

.hero-image img {
  display: block;
  width: 100%;
  height: auto;
}

/* Forms */

form {
  display: grid;
  gap: 1rem;
}

label {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-family: var(--font-mono);
  color: var(--muted);
}

input[type="text"],
input[type="email"],
textarea {
  width: 100%;
  padding: 0.6rem 0.7rem;
  border-radius: 0.5rem;
  border: 1px solid rgba(148, 163, 184, 0.5);
  background: rgba(15, 23, 42, 0.9);
  color: var(--fg);
  font-family: var(--font-main);
  font-size: 0.95rem;
}

textarea {
  min-height: 130px;
  resize: vertical;
}

input::placeholder,
textarea::placeholder {
  color: rgba(148, 163, 184, 0.8);
}

.checkbox-row {
  display: flex;
  gap: 0.5rem;
  align-items: flex-start;
  font-size: 0.85rem;
  color: var(--muted);
}

.checkbox-row input[type="checkbox"] {
  margin-top: 0.15rem;
}

button {
  justify-self: flex-start;
  padding: 0.6rem 1.4rem;
  border-radius: 999px;
  border: none;
  background: linear-gradient(120deg, #f97316, #facc15);
  color: #111827;
  font-family: var(--font-mono);
  font-size: 0.85rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  cursor: pointer;
}

button:hover {
  filter: brightness(1.05);
  transform: translateY(-1px);
}

footer {
  padding: 1rem 1.5rem 2rem;
  font-size: 0.75rem;
  color: var(--muted);
  text-align: center;
}

footer a {
  color: var(--muted);
  text-decoration: underline;
  text-decoration-style: dotted;
}

/* Responsive tweaks */

@media (min-width: 900px) {
  main {
    padding: 4rem 2rem 5rem;
  }

  h1 {
    font-size: 2.6rem;
  }

  .card {
    padding: 2rem 2rem;
  }
}
