* { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; }
body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  color: #2d3a2d;
  background: #f5f7f2;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

/* Layout */
.wrapper {
  max-width: 820px;
  margin: 0 auto;
  padding: 2.5rem 1.5rem 1rem;
}

/* Header */
.site-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 2.5rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid #d8e2d8;
}
.site-header .brand-logo {
  display: block;
  height: 1.275rem;
  width: auto;
}
.site-header .brand-sub {
  font-size: 0.75rem;
  color: #8aa88a;
}

/* Hero */
.hero {
  margin-bottom: 3rem;
}
.hero h1 {
  font-size: 2rem;
  font-weight: 600;
  color: #1a2e1a;
  margin-bottom: 0.4rem;
  letter-spacing: -0.01em;
}
.hero .subtitle {
  font-size: 1.05rem;
  color: #5a7a5a;
  margin-bottom: 1.2rem;
}
.hero .tagline {
  font-size: 0.92rem;
  color: #4a6a4a;
  background: #e8f0e8;
  display: inline-block;
  padding: 0.3rem 0.8rem;
  border-radius: 4px;
}

/* Screenshot */
.screenshot-area {
  margin-bottom: 2rem;
  text-align: center;
}
.screenshot-area img {
  max-width: 100%;
  height: auto;
  border: 1px solid #d0ddd0;
  border-radius: 5px;
  display: block;
  box-shadow: 0 1px 4px rgba(0,0,0,0.06);
}

/* Top CTA — compact version for returning visitors */
.cta-top {
  text-align: center;
  margin-bottom: 2.5rem;
}

/* Sections */
section { margin-bottom: 2.5rem; }
section h2 {
  font-size: 1.05rem;
  font-weight: 600;
  color: #1a2e1a;
  margin-bottom: 0.6rem;
}
section p, section li {
  font-size: 0.9rem;
  color: #3a4f3a;
}
section ul {
  list-style: none;
  padding: 0;
}
section li {
  padding: 0.25rem 0 0.25rem 1.2rem;
  position: relative;
}
section li::before {
  content: '\2014';
  position: absolute;
  left: 0;
  color: #b8ceb8;
}

/* Feature grid */
.features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.2rem;
  margin: 1rem 0;
}
.feature-card {
  background: #fff;
  border: 1px solid #d0ddd0;
  border-radius: 6px;
  padding: 1rem 1.1rem;
}
.feature-card h3 {
  font-size: 0.88rem;
  font-weight: 600;
  color: #1a2e1a;
  margin-bottom: 0.2rem;
}
.feature-card h3 a {
  color: #1a2e1a;
  text-decoration: none;
}
.feature-card h3 a:hover {
  text-decoration: underline;
}
.feature-card p {
  font-size: 0.82rem;
  color: #5a7a5a;
  margin: 0;
}
@media (max-width: 540px) {
  .features { grid-template-columns: 1fr; }
}

/* Upcoming series */
.series-preview {
  background: #fff;
  border: 1px solid #d0ddd0;
  border-radius: 6px;
  padding: 1rem 1.2rem;
  margin-top: 1rem;
}
.series-preview p {
  font-size: 0.82rem;
  color: #5a7a5a;
  margin-bottom: 0.4rem;
}
.series-preview .game-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}
.series-preview .game-tag {
  display: inline-block;
  font-size: 0.75rem;
  color: #4a6a4a;
  background: #eef3ee;
  padding: 0.2rem 0.6rem;
  border-radius: 3px;
  border: 1px solid #d0ddd0;
}

/* CTA */
.cta {
  text-align: center;
  padding: 2rem 0 1.5rem;
}
.cta .btn {
  display: inline-block;
  background: #3a6a3a;
  color: #fff;
  font-size: 0.95rem;
  font-weight: 500;
  padding: 0.7rem 1.8rem;
  border-radius: 5px;
  text-decoration: none;
  transition: background 0.15s;
}
.cta .btn:hover { background: #2d5a2d; }
.cta .btn-note {
  display: block;
  font-size: 0.75rem;
  color: #8aa88a;
  margin-top: 0.4rem;
}

/* Ad */
.ad-footer {
  margin-top: 2rem;
  text-align: center;
}
.ad-footer .ad-label {
  font-size: 0.65rem;
  color: #b8ceb8;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 0.3rem;
}
.ad-footer .ad-box {
  display: inline-block;
  width: 768px;
  max-width: 100%;
  height: 90px;
  background: #eef3ee;
  border: 1px solid #d0ddd0;
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  color: #b8ceb8;
}

/* FAQ */
.faq {
  margin-top: 2rem;
  margin-bottom: 1rem;
}
.faq h2 {
  font-size: 1.05rem;
  font-weight: 600;
  color: #1a2e1a;
  margin-bottom: 0.8rem;
}
.faq details {
  margin-bottom: 0.4rem;
  border: 1px solid #d0ddd0;
  border-radius: 5px;
  background: #fff;
}
.faq details summary {
  font-size: 0.88rem;
  font-weight: 500;
  color: #1a2e1a;
  padding: 0.6rem 0.9rem;
  cursor: pointer;
  user-select: none;
  list-style: none;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}
.faq details summary::-webkit-details-marker { display: none; }
.faq details summary::before {
  content: '\25B6';
  font-size: 0.65rem;
  color: #8aa88a;
  transition: transform 0.15s;
}
.faq details[open] summary::before {
  transform: rotate(90deg);
}
.faq details p {
  font-size: 0.84rem;
  color: #3a4f3a;
  padding: 0 0.9rem 0.7rem;
  margin: 0;
  line-height: 1.5;
}

/* Controls */
.controls {
  margin-top: 2rem;
  margin-bottom: 1rem;
}
.controls h2 {
  font-size: 1.05rem;
  font-weight: 600;
  color: #1a2e1a;
  margin-bottom: 0.8rem;
}
.controls-intro {
  font-size: 0.82rem;
  color: #3a4f3a;
  margin-bottom: 0.8rem;
  line-height: 1.5;
}
.controls-grid {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0;
  border: 1px solid #d0ddd0;
  border-radius: 6px;
  overflow: hidden;
  background: #fff;
}
.controls-row {
  display: contents;
}
.controls-row .key,
.controls-row .desc {
  padding: 0.5rem 0.9rem;
  font-size: 0.85rem;
  border-bottom: 1px solid #eef3ee;
}
.controls-row:last-child .key,
.controls-row:last-child .desc {
  border-bottom: none;
}
.controls-row .key {
  color: #1a2e1a;
  font-weight: 500;
  white-space: nowrap;
  background: #f8fbf8;
  border-right: 1px solid #eef3ee;
  text-align: right;
}
.controls-row .desc {
  color: #3a4f3a;
}
.controls kbd {
  display: inline-block;
  font-family: inherit;
  font-size: 0.8rem;
  font-weight: 600;
  color: #1a2e1a;
  background: #eef3ee;
  border: 1px solid #d0ddd0;
  border-radius: 3px;
  padding: 0.1rem 0.45rem;
  line-height: 1.4;
}
@media (max-width: 540px) {
  .controls-grid {
    grid-template-columns: 1fr;
  }
  .controls-row .key {
    text-align: left;
    border-right: none;
    border-bottom: none;
    padding-bottom: 0.1rem;
    background: #f8fbf8;
  }
  .controls-row .desc {
    padding-top: 0.1rem;
    padding-bottom: 0.5rem;
  }
  .controls-row .key,
  .controls-row .desc {
    border-bottom: 1px solid #eef3ee;
  }
}

/* Mobile base adjustments */
@media (max-width: 600px) {
  .wrapper {
    padding: 1.5rem 1rem 1rem;
  }
  .hero h1 {
    font-size: 1.5rem;
  }
  .hero .subtitle {
    font-size: 0.95rem;
  }
  section h2 {
    font-size: 0.95rem;
  }
  section p, section li {
    font-size: 0.85rem;
  }
  .feature-card {
    padding: 0.8rem;
  }
  .feature-card p {
    font-size: 0.8rem;
  }
  .controls-row .key,
  .controls-row .desc {
    font-size: 0.8rem;
    padding: 0.4rem 0.7rem;
  }
  .cta .btn {
    display: block;
    width: 100%;
    padding: 0.8rem 1rem;
    font-size: 0.9rem;
  }
  .ad-footer .ad-box {
    height: auto;
    min-height: 50px;
    padding: 0.5rem;
  }
  .faq details summary {
    font-size: 0.84rem;
    padding: 0.5rem 0.7rem;
  }
  .faq details p {
    font-size: 0.8rem;
    padding: 0 0.7rem 0.6rem;
  }
  .site-footer {
    font-size: 0.68rem;
    line-height: 1.6;
  }
  .site-footer a {
    display: inline-block;
    padding: 0.15rem 0;
  }
}

/* Form styles */
.contact-form {
  max-width: 560px;
  margin: 1.5rem 0;
}
.form-group {
  margin-bottom: 1.2rem;
}
.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: #1a2e1a;
  margin-bottom: 0.3rem;
}
.form-group .req {
  color: #b84a4a;
}
.form-group input,
.form-group textarea {
  display: block;
  width: 100%;
  font-family: inherit;
  font-size: 0.9rem;
  color: #2d3a2d;
  background: #fff;
  border: 1px solid #d0ddd0;
  border-radius: 5px;
  padding: 0.55rem 0.75rem;
  transition: border-color 0.15s, box-shadow 0.15s;
}
.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: #7aa87a;
  box-shadow: 0 0 0 3px rgba(58, 106, 58, 0.12);
}
.form-group .input-error {
  border-color: #c44a4a;
  box-shadow: 0 0 0 3px rgba(196, 74, 74, 0.1);
}
.form-group textarea {
  resize: vertical;
  min-height: 100px;
}
.captcha-group {
  margin-bottom: 1.5rem;
}
.captcha-question {
  font-size: 0.85rem;
  color: #2d3a2d;
  margin-bottom: 0.6rem;
  line-height: 1.5;
}
.captcha-options {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}
.captcha-option {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  color: #2d3a2d;
  cursor: pointer;
  padding: 0.35rem 0.6rem;
  border: 1px solid #d0ddd0;
  border-radius: 4px;
  background: #fff;
  transition: background 0.1s, border-color 0.1s;
}
.captcha-option:hover {
  background: #eef3ee;
  border-color: #b8ceb8;
}
.captcha-option input[type="radio"] {
  margin: 0;
}
.form-actions {
  margin-top: 0.5rem;
}
.btn-primary {
  display: inline-block;
  background: #3a6a3a;
  color: #fff;
  font-size: 0.9rem;
  font-weight: 500;
  padding: 0.65rem 1.6rem;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  transition: background 0.15s;
}
.btn-primary:hover {
  background: #2d5a2d;
}
.btn-primary:active {
  transform: scale(0.98);
}

/* Form status messages */
.form-status {
  padding: 0.75rem 1rem;
  border-radius: 5px;
  font-size: 0.85rem;
  margin-bottom: 1.5rem;
}
.form-success {
  background: #e1f0e1;
  color: #2d5a2d;
  border: 1px solid #b8d8b8;
}
.form-error {
  background: #f8e8e8;
  color: #8a2d2d;
  border: 1px solid #e8c0c0;
}

/* Privacy policy table */
.privacy-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.82rem;
  margin: 1rem 0;
  background: #fff;
  border: 1px solid #d0ddd0;
  border-radius: 5px;
  overflow: hidden;
}
.privacy-table th {
  text-align: left;
  font-weight: 600;
  color: #1a2e1a;
  background: #eef3ee;
  padding: 0.5rem 0.75rem;
  border-bottom: 1px solid #d0ddd0;
}
.privacy-table td {
  padding: 0.5rem 0.75rem;
  border-bottom: 1px solid #eef3ee;
  color: #3a4f3a;
}
.privacy-table tr:last-child td {
  border-bottom: none;
}
.privacy-table code {
  font-size: 0.78rem;
  background: #eef3ee;
  padding: 0.1rem 0.3rem;
  border-radius: 3px;
}
@media (max-width: 540px) {
  .privacy-table th,
  .privacy-table td {
    padding: 0.4rem 0.5rem;
    font-size: 0.75rem;
  }
}

/* Footer */
.site-footer {
  margin-top: 2rem;
  padding-top: 1rem;
  border-top: 1px solid #d8e2d8;
  text-align: center;
  font-size: 0.72rem;
  color: #8aa88a;
}
.site-footer a { color: #8aa88a; text-decoration: none; }
.site-footer a:hover { color: #4a7a4a; text-decoration: underline; }
