@import url('https://fonts.googleapis.com/css2?family=Kanit&display=swap');

/* MORGAN CITY — Dark/Glass/Glow theme */
:root {
  --bg-0: #0b0e17;
  --bg-1: #0f1424;
  --bg-2: #151a2e;
  --panel: #0f1424cc;
  --text: #b9c3e6;
  --text-dim: #7b86a9;
  --text-strong: #e4e9ff;
  --brand: #ffffff;
  --brand-2: rgb(199, 199, 199);
  --accent: #9dfcfc;
  --radius-xl: 22px;
  --radius-lg: 16px;
  --shadow: 0 24px 60px rgba(2, 8, 23, .55), inset 0 1px 0 rgba(255, 255, 255, .04);
}

body {
  margin: 0;
  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  color: var(--text);
  background:
    radial-gradient(900px 500px at 0% -10%, rgba(157, 252, 252, .16), transparent 60%),
    radial-gradient(1200px 700px at 100% 110%, rgba(123, 144, 255, .14), transparent 60%),
    radial-gradient(900px 360px at 75% 0%, rgba(255, 194, 0, .12), transparent 60%),
    linear-gradient(180deg, var(--bg-1), var(--bg-0));
  background-attachment: fixed;
  background-repeat: no-repeat;
  background-size: cover;
}


* {
  box-sizing: border-box
}

html,




.main-wrapper {
  flex: 1 0 auto;
}

.community-footer-zone {
  margin-top: auto;
  /* ดันลง */
  padding-bottom: 24px;
  /* ระยะหายใจ */
}

/* Top Nav */
.nav {
  max-width: 1200px;
  margin: 20px auto;
  padding: 12px 20px;
  display: flex;
  align-items: center;
  gap: 18px;
  justify-content: space-between;
  background: rgba(255, 255, 255, .02);
  border: 1px solid rgba(255, 255, 255, .06);
  border-radius: 999px;
  backdrop-filter: blur(8px);
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--text-strong);
  font-weight: 800
}

.brand-logo {
  width: 32px;
  height: 32px
}

.brand-text {
  letter-spacing: .4px
}

.links {
  display: flex;
  gap: 16px;
  flex-wrap: wrap
}

.link {
  color: var(--text);
  text-decoration: none;
  padding: 8px 12px;
  border-radius: 999px
}

.link:hover {
  background: rgba(255, 255, 255, .05)
}

.cta {
  text-decoration: none;
  width: 200px;
  text-align: center;
  color: #0b0f1a;
  background: linear-gradient(180deg, var(--brand), var(--brand-2));
  padding: 10px 16px;
  border-radius: 12px;
  box-shadow: 0 10px 22px rgba(93, 120, 255, .45);
  font-family: "Kanit", sans-serif;
}

/* Hero */
.hero {
  max-width: 1200px;
  margin: 30px auto;
  padding: 0 20px;
  align-items: stretch;
}

@media (max-width:980px) {
  .hero {
    grid-template-columns: 1fr
  }
}

.panel {
  position: relative;
  overflow: hidden;
  padding: 28px;
  border-radius: var(--radius-xl);
  background: linear-gradient(180deg, rgba(255, 255, 255, .04), rgba(255, 255, 255, .02));
  border: 1px solid rgba(255, 255, 255, .08);
  box-shadow: var(--shadow);
  font-family: "Kanit", sans-serif;
}

p {
  font-family: "Kanit", sans-serif;
}

.k {
  font-family: "Kanit", sans-serif;
}

.panel.art {
  display: flex;
  align-items: center;
  justify-content: center
}

.panel.art img {
  width: 100%;
  height: auto;
  display: block;
  filter: drop-shadow(0 30px 60px rgba(93, 120, 255, .35))
}

h1 {
  color: var(--text-strong);
  font-size: 100px;
  line-height: 1.08;
  margin: 0 0 8px
}

h2 {
  color: var(--text-strong);
  font-size: 50px;
  line-height: 1.08;
  margin: 0 0 8px
}

.grad {
  background: linear-gradient(90deg, var(--brand), var(--accent));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent
}

.lede {
  color: var(--text);
  opacity: .95;
  max-width: 64ch;
  margin: 0 0 18px
}

.quick-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin: 65px 0 10px
}

@media (max-width:760px) {
  .quick-cards {
    grid-template-columns: 1fr 1fr
  }
}

.card {
  position: relative;
  padding: 14px 16px;
  border-radius: 14px
}

.card .k {
  font-size: 12px;
  color: var(--text-dim);
  letter-spacing: .3px;
}

.card .v {
  font-weight: 800;
  color: var(--text-strong)
}

.glass {

  background: rgba(255, 255, 255, .04);
  border: 1px solid rgba(255, 255, 255, .08)
}

.dl-group {
  padding: 22px;
  margin-bottom: 26px;
  border-radius: var(--radius-xl);
}

.dl-group-title {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 14px;
  color: var(--text-strong);
  font-size: 22px;
}

.os-icon {
  width: 24px;
  height: 24px;
  filter: drop-shadow(0 0 8px rgba(255, 194, 0, .45));
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 18px;
  border: none;
  border-radius: 14px;
  cursor: pointer;
  text-decoration: none;
  color: #0b0f1a;
  font-family: "Kanit", sans-serif;
  letter-spacing: .2px;
  background: linear-gradient(180deg, var(--brand), var(--brand-2));
  box-shadow: 0 10px 24px rgba(93, 120, 255, .45);
}

.btn:hover {
  filter: saturate(1.05)
}

.btn:active {
  transform: translateY(1px)
}

.btn.small {
  padding: 6px 10px;
  font-size: 12px;
  position: absolute;
  right: 8px;
  top: 8px
}

.btn.ghost {
  background: rgba(255, 255, 255, .06);
  color: var(--text-strong);
  box-shadow: none;
  border: 1px solid rgba(255, 255, 255, .12)
}

.btn.block {
  display: block;
  width: 100%
}

.cta-row {
  display: flex;
  gap: 12px;
  margin-top: 40px;
  flex-wrap: wrap;
  justify-content: center
}

/* Mobile layout (≤ 640px) */
@media (max-width: 640px) {

  /* การ์ดเรียงลงเป็นคอลัมน์ */
  .quick-cards {
    grid-template-columns: 1fr !important;
    gap: 10px;
  }

  /* ปุ่มยืดเต็มแถว */
  .cta-row {
    flex-direction: column;
    width: 100%;
  }

  .cta-row .btn {
    width: 100%;
    text-align: center;
  }
}

/* Section */
.section {
  max-width: 1200px;
  margin: 60px auto 0;
  padding: 0 20px;
  font-family: "Kanit", sans-serif;
}

.section-head {
  margin-bottom: 16px
}

.section h2 {
  color: var(--text-strong);
  margin: 0 0 4px
}

.section p {
  margin: 0;
  color: var(--text)
}

.grid3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 16px
}

@media (max-width:960px) {
  .grid3 {
    grid-template-columns: 1fr 1fr
  }
}

@media (max-width:640px) {
  .grid3 {
    grid-template-columns: 1fr
  }
}

.dl {
  padding: 18px;
  border-radius: 16px
}

.dl h3 {
  margin: 0 0 8px;
  color: var(--text-strong)
}

.dl p {
  margin: 0 0 12px
}

.steps {
  list-style: none;
  margin: 16px 0;
  padding: 0;
  display: grid;
  gap: 12px;
  counter-reset: st
}

.steps li {
  padding: 14px 16px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  gap: 12px
}

.steps li span {
  display: inline-grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 999px;
  background: rgba(138, 165, 255, .22);
  color: var(--text-strong);
  font-weight: 800
}

.note {
  margin-top: 12px;
  padding: 12px 14px;
  border-radius: 14px
}

.grid2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 16px
}

@media (max-width:640px) {
  .grid2 {
    grid-template-columns: 1fr
  }
}

.social {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  border-radius: 14px;
  text-decoration: none;
  color: var(--text-strong)
}

.footer-wrap {
  margin-top: 50px;
}

.footer-line {
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, transparent, #ffffff, transparent);
  filter: drop-shadow(0 0 8px var(--neon));
  margin-bottom: 12px;
}

.footer-min {
  text-align: center;
  color: var(--text-dim);
  padding-bottom: 24px;
}


code {
  padding: 1px 6px;
  border-radius: 8px;
  background: rgba(255, 255, 255, .06);
  color: var(--text-strong)
}


/* === Option 5 — Neon Glow Accents (#FFC200) === */
:root {
  --neon: #FFC200;
  /* neon yellow */
  --neon-2: #ffde59;
  /* lighter yellow */
}

/* Background: add very soft yellow glow */


/* Panels: soft neon ring + drop glow */
.panel {
  position: relative;
  box-shadow: var(--shadow), 0 0 0 1px rgba(255, 255, 255, .04);
}

.panel::after {
  content: "";
  position: absolute;
  inset: -2px;
  border-radius: inherit;
  pointer-events: none;
  background: radial-gradient(360px 120px at 28% 0%, rgba(255, 194, 0, .20), transparent 60%);
  filter: blur(14px);
  opacity: .7;
}

/* Buttons: keep blue body but add neon outer glow */
.btn {
  box-shadow: 0 10px 24px rgba(93, 120, 255, .45), 0 0 0 2px rgba(255, 255, 255, .04), 0 0 22px rgba(255, 194, 0, .35);
}

.btn:hover {
  box-shadow: 0 10px 30px rgba(93, 120, 255, .55), 0 0 0 2px rgba(255, 255, 255, .04), 0 0 36px rgba(255, 194, 0, .55)
}

/* Ghost button: neon ring on hover */
.btn.ghost {
  border: 1px solid rgba(255, 255, 255, .12);
  box-shadow: 0 0 18px rgba(255, 194, 0, .18);
}

.btn.ghost:hover {
  box-shadow: 0 0 28px rgba(255, 194, 0, .42);
  border-color: color-mix(in oklab, var(--neon) 50%, white 10%);
}

/* Inputs/Code highlights (used for IP pill) */
code {
  box-shadow: 0 0 0 1px rgba(255, 255, 255, .08), 0 0 18px rgba(255, 194, 0, .28) inset;
}

/* Headline gradient now has a subtle neon blend at the end */
.grad {
  background: linear-gradient(90deg, var(--brand), var(--accent), var(--neon));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* Social links: halo on hover */
.social:hover {
  box-shadow: 0 0 24px rgba(255, 194, 0, .28)
}

/* Nav: add tiny neon glow to Login button */
.cta {
  box-shadow: 0 10px 22px rgba(93, 120, 255, .45), 0 0 18px rgba(255, 194, 0, .28)
}

.cta:hover {
  box-shadow: 0 12px 28px rgba(93, 120, 255, .55), 0 0 28px rgba(255, 194, 0, .5)
}

/* ==== System Requirements — single card ==== */
.sys-card {
  padding: 22px;
}

.sys-row {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 16px;
  align-items: center;
  font-family: "Kanit", sans-serif;
}

@media (max-width: 960px) {
  .sys-row {
    grid-template-columns: 1fr;
  }
}

/* toggle */
.sys-toggle {
  display: inline-flex;
  gap: 4px;
  padding: 4px;
  border-radius: 999px;
  margin: 10px 0 16px 0;
}

.sys-btn {
  background: transparent;
  border: 0;
  cursor: pointer;
  padding: 10px 18px;
  border-radius: 999px;
  color: var(--text-dim);
  font-family: "Kanit", sans-serif;
  transition: filter .15s, background .15s;
}

.sys-btn.active {
  background: rgba(255, 255, 255, .14);
  color: var(--text-strong);
  box-shadow: 0 0 18px rgba(255, 194, 0, .35);
}

.sys-btn:hover {
  filter: brightness(1.1);
}

/* specs list */
.sys-spec .steps li {
  background: rgba(255, 255, 255, .04);
}

.hidden {
  display: none !important;
}

/* logo side (fade-in 0.2s + scale 1.03) */
.sys-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 220px;
}

.logo-svg {
  width: 70%;
  max-width: 260px;
  height: auto;
  display: block;
  opacity: 0;
  transform: scale(.98);
  transition: opacity .2s ease, transform .2s ease;
  filter: drop-shadow(0 20px 48px rgba(255, 255, 255, .08)) drop-shadow(0 0 28px rgba(255, 194, 0, .18));
}

.logo-svg.is-visible {
  opacity: 1;
  transform: scale(1.03);
}

/* — Visual (PC/Mobile) — */
.sys-visual {
  position: relative;
  min-height: 260px;
  display: grid;
  place-items: center;
  /* กึ่งกลางแนวนอน+แนวตั้ง */
}

.mock {
  position: absolute;
  /* ซ้อนทับกันตรงกลาง ไม่เลื่อน layout */
  inset: 0;
  display: grid;
  place-items: center;
  opacity: 0;
  transform: scale(.98);
  transition: opacity .2s ease, transform .2s ease;
}

.mock.is-visible {
  opacity: 1;
  transform: scale(1.03);
}

.mock-svg {
  width: min(72%, 360px);
  height: auto;
  filter: drop-shadow(0 18px 42px rgba(255, 255, 255, .08)) drop-shadow(0 0 30px rgba(255, 194, 0, .18));
}

/* ทำให้คอลัมน์ซ้าย/ขวาใน .sys-row ยังเหมือนเดิม */
.sys-row {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 16px;
  align-items: center;
}

.btn-row {
  display: flex;
  align-items: center;
  gap: 8px;
}

.copy-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #fff;
  cursor: pointer;
  transition: all 0.2s ease;
}

.copy-badge:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: scale(1.1);
}

.copy-badge i {
  font-size: 16px;
}

@media (max-width:960px) {
  .sys-row {
    grid-template-columns: 1fr;
  }

  .mock-svg {
    width: min(70%, 300px);
  }
}