:root {
  --green-dark: #0b3d2e;
  --green-darker: #072920;
  --green-mid: #124d38;
  --gold: #d4af37;
  --gold-light: #e8c96a;
  --cream: #f5efe0;
  --muted: #c9c2ab;
  --red-suit: #b8362e;
  --max-width: 1100px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  background: var(--green-darker);
  color: var(--cream);
  line-height: 1.6;
}

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

a {
  color: var(--gold-light);
}

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

/* Header / Nav */
.site-header {
  background: var(--green-dark);
  border-bottom: 2px solid var(--gold);
  position: sticky;
  top: 0;
  z-index: 100;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 20px;
  max-width: var(--max-width);
  margin: 0 auto;
}

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

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

.brand-suit {
  color: var(--gold);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}

.nav-toggle span {
  width: 26px;
  height: 3px;
  background: var(--gold);
  border-radius: 2px;
}

.nav-links {
  display: flex;
  gap: 28px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links a {
  text-decoration: none;
  color: var(--cream);
  font-weight: 500;
  transition: color 0.2s ease;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--gold);
}

/* Hero */
.hero {
  padding: 70px 0 60px;
  background:
    radial-gradient(circle at 20% 20%, rgba(212,175,55,0.08), transparent 40%),
    radial-gradient(circle at 80% 80%, rgba(212,175,55,0.06), transparent 40%),
    linear-gradient(180deg, var(--green-dark), var(--green-darker));
}

.hero .container {
  display: flex;
  align-items: center;
  gap: 50px;
  flex-wrap: wrap;
}

.hero-text {
  flex: 1 1 380px;
}

.hero-icon {
  flex: 0 0 auto;
  width: 180px;
}

.hero-icon img {
  border-radius: 34px;
  box-shadow: 0 20px 45px rgba(0,0,0,0.45);
  border: 2px solid var(--gold);
}

.eyebrow {
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 0.8rem;
  font-weight: 700;
  margin: 0 0 10px;
}

h1 {
  font-size: 2.4rem;
  margin: 0 0 14px;
  font-family: Georgia, "Times New Roman", serif;
}

.tagline {
  font-size: 1.15rem;
  color: var(--muted);
  margin: 0 0 20px;
  max-width: 60ch;
}

.developer-byline {
  font-size: 0.95rem;
  color: var(--muted);
}

.developer-byline strong {
  color: var(--gold-light);
}

.btn-row {
  margin-top: 26px;
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.btn {
  display: inline-block;
  padding: 12px 26px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 700;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.btn-primary {
  background: var(--gold);
  color: var(--green-darker);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(212,175,55,0.3);
}

.btn-secondary {
  background: transparent;
  border: 2px solid var(--gold);
  color: var(--gold-light);
}

.btn-secondary:hover {
  background: rgba(212,175,55,0.1);
}

.badge-note {
  margin-top: 16px;
  font-size: 0.85rem;
  color: var(--muted);
  font-style: italic;
}

/* Sections */
section {
  padding: 60px 0;
}

section:nth-of-type(even) {
  background: var(--green-dark);
}

.section-heading {
  text-align: center;
  margin-bottom: 40px;
}

.section-heading h2 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.9rem;
  color: var(--gold-light);
  margin: 0 0 10px;
}

.section-heading p {
  color: var(--muted);
  max-width: 60ch;
  margin: 0 auto;
}

.disclaimer {
  margin-top: 24px;
  padding: 16px 20px;
  background: rgba(212,175,55,0.08);
  border-left: 4px solid var(--gold);
  border-radius: 6px;
  color: var(--cream);
  font-size: 0.95rem;
}

/* Feature grid */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 24px;
}

.feature-card {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(212,175,55,0.25);
  border-radius: 12px;
  padding: 26px 22px;
  text-align: center;
}

.feature-card .icon {
  font-size: 2rem;
  margin-bottom: 12px;
  color: var(--gold);
}

.feature-card h3 {
  margin: 0 0 10px;
  color: var(--cream);
  font-size: 1.1rem;
}

.feature-card p {
  color: var(--muted);
  margin: 0;
  font-size: 0.95rem;
}

/* Screenshots */
.screenshot-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 24px;
}

.screenshot-grid figure {
  margin: 0;
  background: var(--green-darker);
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(212,175,55,0.25);
}

.screenshot-grid img {
  width: 100%;
  height: auto;
}

.screenshot-grid figcaption {
  text-align: center;
  padding: 10px;
  font-size: 0.85rem;
  color: var(--muted);
}

/* Ownership / developer card */
.ownership-card {
  max-width: 640px;
  margin: 0 auto;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(212,175,55,0.3);
  border-radius: 14px;
  padding: 34px;
}

.ownership-card dl {
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 12px 20px;
  margin: 0;
}

.ownership-card dt {
  color: var(--muted);
  font-weight: 600;
}

.ownership-card dd {
  margin: 0;
  color: var(--cream);
}

/* Footer */
.site-footer {
  background: var(--green-darker);
  border-top: 2px solid var(--gold);
  padding: 34px 0;
  text-align: center;
  color: var(--muted);
  font-size: 0.9rem;
}

.footer-links {
  margin-bottom: 12px;
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

.footer-links a {
  color: var(--cream);
  text-decoration: none;
}

.footer-links a:hover {
  color: var(--gold);
}

/* Content pages (privacy / support) */
.page-header {
  padding: 50px 0 30px;
  background: linear-gradient(180deg, var(--green-dark), var(--green-darker));
  text-align: center;
}

.page-header h1 {
  color: var(--gold-light);
}

.page-header .updated {
  color: var(--muted);
  font-size: 0.9rem;
}

.content-block {
  max-width: 800px;
  margin: 0 auto;
  padding: 50px 20px;
}

.content-block h2 {
  color: var(--gold-light);
  font-family: Georgia, "Times New Roman", serif;
  margin-top: 42px;
}

.content-block h2:first-child {
  margin-top: 0;
}

.content-block p,
.content-block li {
  color: var(--cream);
}

.content-block ul {
  padding-left: 22px;
}

/* FAQ */
.faq-item {
  margin-bottom: 20px;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(212,175,55,0.25);
  border-radius: 10px;
  padding: 20px 24px;
}

.faq-item h3 {
  margin: 0 0 8px;
  color: var(--gold-light);
}

.faq-item p {
  margin: 0;
  color: var(--muted);
}

.contact-card {
  text-align: center;
  background: rgba(212,175,55,0.08);
  border: 1px solid var(--gold);
  border-radius: 14px;
  padding: 36px;
  margin-bottom: 40px;
}

.contact-card h2 {
  margin-top: 0 !important;
}

.contact-email {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--gold);
}

/* Responsive */
@media (max-width: 720px) {
  .nav-toggle {
    display: flex;
  }

  .nav-links {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--green-dark);
    flex-direction: column;
    gap: 0;
    border-bottom: 2px solid var(--gold);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.25s ease;
  }

  .nav-links.open {
    max-height: 300px;
  }

  .nav-links li {
    border-top: 1px solid rgba(212,175,55,0.2);
  }

  .nav-links a {
    display: block;
    padding: 14px 20px;
  }

  .hero .container {
    flex-direction: column-reverse;
    text-align: center;
  }

  .tagline {
    margin-left: auto;
    margin-right: auto;
  }

  .btn-row {
    justify-content: center;
  }

  h1 {
    font-size: 1.9rem;
  }

  .ownership-card dl {
    grid-template-columns: 1fr;
  }

  .ownership-card dt {
    margin-top: 10px;
  }
}
