:root {
  box-sizing: border-box;
  padding-top: env(safe-area-inset-top, 0px);
  padding-bottom: env(safe-area-inset-bottom, 0px);
  --bg: #f4f7f5;
  --card: #fff;
  --surf: #e8eeea;
  --text: #0d1512;
  --muted: #566660;
  --green: #00a152;
  --gold: #b58900;
  --line: #cfd9d3;
  --glow: rgba(0, 161, 82, 0.25);
  --on: #fff;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme='light']) {
    --bg: #0b0d10;
    --card: #12161f;
    --surf: #1a202c;
    --text: #f3f4f6;
    --muted: #9aa6b2;
    --green: #00e676;
    --gold: #ffd700;
    --line: #2a3447;
    --glow: rgba(0, 230, 118, 0.3);
    --on: #04120a;
  }
}
:root[data-theme='dark'] {
  --bg: #0b0d10;
  --card: #12161f;
  --surf: #1a202c;
  --text: #f3f4f6;
  --muted: #9aa6b2;
  --green: #00e676;
  --gold: #ffd700;
  --line: #2a3447;
  --glow: rgba(0, 230, 118, 0.3);
  --on: #04120a;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(84px + env(safe-area-inset-top, 0px));
}
*,
*:before,
*:after {
  box-sizing: border-box;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: 'Chakra Petch', system-ui, sans-serif;
  overflow-x: hidden;
  line-height: 1.55;
}
a {
  color: inherit;
  text-decoration: none;
}
button {
  font: inherit;
  cursor: pointer;
  color: inherit;
}
.w {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 20px;
}
h1,
h2,
h3 {
  margin: 0;
  text-transform: uppercase;
  font-style: italic;
  font-weight: 700;
  letter-spacing: -0.01em;
}
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: var(--card);
  font-weight: 700;
  font-size: 14px;
  transition: 0.2s;
}
.btn:hover {
  border-color: var(--green);
  transform: translateY(-2px);
}
.pri {
  background: var(--green);
  color: var(--on);
  border-color: var(--green);
  box-shadow: 0 0 20px var(--glow);
}
.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 20px;
  transition: 0.25s;
}
.card:hover {
  border-color: var(--green);
}
header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 40;
  padding-top: env(safe-area-inset-top, 0px);
  background: color-mix(in srgb, var(--bg) 85%, transparent);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
  gap: 12px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 20px;
  font-style: italic;
  text-transform: uppercase;
}
.logo img {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  object-fit: cover;
  display: block;
}
.logo b {
  color: var(--green);
}
nav {
  display: flex;
  gap: 4px;
}
nav a {
  padding: 8px 12px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 600;
  color: var(--muted);
}
nav a:hover,
nav a.on {
  color: var(--green);
  background: var(--surf);
}
.ic {
  width: 42px;
  height: 42px;
  padding: 0;
  justify-content: center;
  position: relative;
}
#burger {
  display: none;
}
@media (max-width: 900px) {
  nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    background: var(--bg);
    padding: 12px 20px;
    border-bottom: 1px solid var(--line);
  }
  nav.open {
    display: flex;
  }
  #burger {
    display: inline-flex;
  }
}
section {
  padding: 90px 0;
}
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 110px;
  background:
    radial-gradient(circle at 50% 10%, var(--glow), transparent 60%),
    linear-gradient(var(--line) 1px, transparent 1px) 0 0/40px 40px,
    linear-gradient(90deg, var(--line) 1px, transparent 1px) 0 0/40px 40px;
  background-blend-mode: normal;
  text-align: center;
}
.chip {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  padding: 8px 16px;
  border-radius: 99px;
  background: var(--surf);
  border: 1px solid var(--green);
  color: var(--green);
  font-size: 13px;
  font-weight: 700;
}
.pulse {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #ff3b3b;
  animation: p 1.4s infinite;
}
@keyframes p {
  50% {
    opacity: 0.3;
    transform: scale(1.5);
  }
}
.hero h1 {
  font-size: clamp(38px, 8vw, 92px);
  line-height: 1;
  margin: 22px 0;
}
.grad {
  background: linear-gradient(90deg, var(--green), var(--gold));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero p {
  max-width: 680px;
  margin: 0 auto 30px;
  color: var(--muted);
  font-size: 18px;
}
.cd {
  display: flex;
  gap: 10px;
  justify-content: center;
  margin: 34px 0;
}
.cd div {
  min-width: 78px;
  padding: 12px;
  border-radius: 14px;
  background: var(--card);
  border: 1px solid var(--line);
}
.cd b {
  display: block;
  font-size: 30px;
  color: var(--gold);
}
.cd span {
  font-size: 11px;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-top: 50px;
}
@media (max-width: 700px) {
  .stats {
    grid-template-columns: repeat(2, 1fr);
  }
}
.stats div {
  padding: 22px;
  text-align: center;
}
.stats b {
  font-size: clamp(30px, 5vw, 46px);
  color: var(--green);
  display: block;
}
.stats span {
  font-size: 12px;
  color: var(--muted);
  letter-spacing: 0.12em;
  font-weight: 700;
}
.hd {
  margin-bottom: 34px;
}
.hd small {
  color: var(--green);
  font-weight: 700;
  letter-spacing: 0.15em;
  font-size: 13px;
}
.hd h2 {
  font-size: clamp(28px, 5vw, 50px);
}
.tabs {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 10px;
  margin-bottom: 22px;
}
.tab {
  padding: 10px 20px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: var(--surf);
  font-weight: 700;
  font-size: 14px;
  white-space: nowrap;
}
.tab.on {
  background: var(--green);
  color: var(--on);
  border-color: var(--green);
}
.grid {
  display: grid;
  gap: 22px;
  grid-template-columns: repeat(auto-fill, minmax(270px, 1fr));
}
.tc {
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.th {
  height: 200px;
  display: grid;
  place-items: center;
  font-size: 60px;
  position: relative;
}
.th em {
  position: absolute;
  top: 12px;
  left: 12px;
  font-size: 11px;
  font-style: normal;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.65);
  color: #fff;
}
.tb {
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex: 1;
}
.tb p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}
.pl {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  padding: 7px 10px;
  border-radius: 8px;
  background: var(--surf);
}
.pl span {
  color: var(--green);
}
.tb .btn {
  margin-top: auto;
  justify-content: center;
  font-size: 13px;
}
.mt {
  padding: 22px;
  display: grid;
  grid-template-columns: 1fr 2fr auto;
  gap: 18px;
  align-items: center;
  margin-bottom: 16px;
}
.mt.live {
  border: 2px solid var(--green);
  box-shadow: 0 0 24px var(--glow);
}
@media (max-width: 800px) {
  .mt {
    grid-template-columns: 1fr;
  }
}
.vs {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
  text-align: center;
}
.vs b {
  display: block;
  font-size: 17px;
}
.vs small {
  color: var(--muted);
}
.sc {
  font-size: 34px;
  font-weight: 700;
  color: var(--gold);
  padding: 0 8px;
}
.tr {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 18px;
}
.tr .card {
  padding: 26px;
  text-align: center;
}
.tr .e {
  font-size: 42px;
}
.tr small {
  color: var(--gold);
  font-weight: 700;
  letter-spacing: 0.1em;
}
.tr h3 {
  font-size: 19px;
  margin: 6px 0;
}
.tr p {
  color: var(--muted);
  font-size: 13px;
  margin: 0;
}
.ab {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}
@media (max-width: 850px) {
  .ab {
    grid-template-columns: 1fr;
  }
}
.ab p {
  color: var(--muted);
}
.pp {
  display: flex;
  gap: 14px;
  align-items: center;
  padding: 12px 0;
}
.pp i {
  width: 46px;
  height: 46px;
  border-radius: 14px;
  background: var(--surf);
  color: var(--green);
  display: grid;
  place-items: center;
  font-weight: 700;
  font-style: normal;
}
footer {
  background: var(--surf);
  border-top: 1px solid var(--line);
  padding: 50px 0 30px;
  font-size: 13px;
  color: var(--muted);
}
footer form {
  display: flex;
  gap: 8px;
  margin: 10px 0;
}
footer input {
  flex: 1;
  padding: 11px 14px;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: var(--card);
  color: var(--text);
  font: inherit;
}
.fg {
  display: grid;
  grid-template-columns: 2fr 1fr 2fr;
  gap: 30px;
  margin-bottom: 30px;
}
@media (max-width: 750px) {
  .fg {
    grid-template-columns: 1fr;
  }
}
.ov {
  position: fixed;
  inset: 0;
  z-index: 60;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(6px);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.ov.show {
  display: flex;
}
.md {
  background: var(--card);
  border: 1px solid var(--green);
  border-radius: 22px;
  padding: 28px;
  max-width: 520px;
  width: 100%;
  max-height: 85vh;
  overflow: auto;
  position: relative;
}
.md pre {
  white-space: pre-wrap;
  font: inherit;
  font-size: 14px;
  color: var(--muted);
  background: var(--surf);
  padding: 14px;
  border-radius: 12px;
}
.x {
  position: absolute;
  top: 12px;
  right: 12px;
}
#toast {
  position: fixed;
  bottom: calc(20px + env(safe-area-inset-bottom, 0px));
  left: 50%;
  transform: translate(-50%, 120px);
  z-index: 80;
  background: var(--card);
  border: 1px solid var(--green);
  padding: 12px 22px;
  border-radius: 14px;
  font-weight: 700;
  transition: 0.3s;
  box-shadow: 0 0 20px var(--glow);
}
#toast.show {
  transform: translate(-50%, 0);
}
.rv {
  opacity: 1;
  transform: none;
  transition: 0.6s;
}
.rv.in {
  opacity: 1;
  transform: none;
}
@media (prefers-reduced-motion: reduce) {
  * {
    animation: none !important;
    transition: none !important;
  }
  html {
    scroll-behavior: auto;
  }
  .rv {
    opacity: 1;
    transform: none;
  }
}
.st {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}
.st th,
.st td {
  padding: 12px;
  text-align: center;
  border-bottom: 1px solid var(--line);
}
.st th {
  color: var(--muted);
  font-size: 12px;
}
.st td:nth-child(2),
.st th:nth-child(2) {
  text-align: left;
}
.st tr.me {
  background: var(--glow);
  font-weight: 700;
}
.sw {
  overflow-x: auto;
  padding: 8px;
}
.nc {
  overflow: hidden;
  cursor: pointer;
}
.nc .th {
  height: 110px;
  font-size: 46px;
}
.nc .tb small {
  color: var(--gold);
  font-weight: 700;
}
details.f {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 14px 18px;
  margin-bottom: 10px;
}
details summary {
  cursor: pointer;
  font-weight: 700;
}
details p {
  margin: 8px 0 0;
  font-size: 14px;
}
.jf {
  display: grid;
  gap: 12px;
  grid-template-columns: 1fr 1fr;
}
.jf .full {
  grid-column: 1/-1;
}
.jf input,
.jf select,
.jf textarea {
  width: 100%;
  padding: 12px 14px;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: var(--surf);
  color: var(--text);
  font: inherit;
  font-size: 14px;
}
.jf input:focus,
.jf select:focus,
.jf textarea:focus {
  outline: 2px solid var(--green);
}
#top {
  position: fixed;
  right: 18px;
  bottom: calc(18px + env(safe-area-inset-bottom, 0px));
  z-index: 30;
  display: none;
}
#top.show {
  display: inline-flex;
}
.cblk.surf {
  background: var(--surf);
}
.cbt {
  color: var(--muted);
  max-width: 760px;
  margin: 0 0 12px;
}
.cblk .btn {
  margin-top: 8px;
}

html {
  -webkit-text-size-adjust: 100%;
}
body {
  -webkit-tap-highlight-color: transparent;
}
img {
  max-width: 100%;
}
.acts {
  display: flex;
  align-items: center;
  gap: 8px;
}
.hero-actions {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}
.tabs {
  scrollbar-width: none;
}
.tabs::-webkit-scrollbar {
  display: none;
}
.tab {
  min-height: 44px;
}

@media (max-width: 900px) {
  nav {
    max-height: calc(100vh - 84px - env(safe-area-inset-top, 0px));
    overflow-y: auto;
    box-shadow: 0 18px 30px rgba(0, 0, 0, 0.35);
  }
  nav a {
    padding: 14px 12px;
    font-size: 16px;
  }
}

@media (max-width: 700px) {
  .w {
    padding: 0 16px;
  }
  section {
    padding: 56px 0;
  }
  .bar {
    height: 60px;
    gap: 8px;
  }
  .acts {
    gap: 6px;
  }
  .ic {
    width: 40px;
    height: 40px;
  }
  .acts .btn.pri:not(.ic) {
    padding: 0 12px;
    height: 40px;
    font-size: 12px;
  }
  .logo {
    font-size: 17px;
    gap: 8px;
  }
  .logo img {
    width: 36px;
    height: 36px;
  }
  .hero {
    min-height: auto;
    padding: 96px 0 48px;
  }
  .chip {
    border-radius: 16px;
    padding: 8px 14px;
    font-size: 11px;
    line-height: 1.4;
    text-align: center;
  }
  .hero h1 {
    font-size: clamp(32px, 11vw, 48px);
    margin: 18px 0;
  }
  .hero p {
    font-size: 16px;
    margin-bottom: 22px;
  }
  .hero-actions {
    flex-direction: column;
    gap: 10px;
  }
  .hero-actions .btn {
    justify-content: center;
    width: 100%;
  }
  .cd {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 8px;
    margin: 26px 0;
  }
  .cd div {
    min-width: 0;
    padding: 10px 4px;
  }
  .cd b {
    font-size: 24px;
  }
  .cd span {
    font-size: 10px;
    letter-spacing: 0.04em;
  }
  .stats {
    gap: 10px;
    margin-top: 34px;
  }
  .stats div {
    padding: 16px 8px;
  }
  .stats span {
    font-size: 11px;
    letter-spacing: 0.06em;
  }
  .hd {
    margin-bottom: 24px;
  }
  .hd small {
    font-size: 12px;
  }
  .grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .th {
    height: 160px;
    font-size: 48px;
  }
  .tb {
    padding: 16px;
  }
  .mt {
    padding: 18px;
    gap: 14px;
    text-align: center;
  }
  .mt > div:last-child {
    text-align: center !important;
  }
  .vs {
    gap: 10px;
  }
  .vs b {
    font-size: 15px;
  }
  .sc {
    font-size: 28px;
  }
  .tr {
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }
  .tr .card {
    padding: 18px 12px;
  }
  .tr .e {
    font-size: 34px;
  }
  .tr h3 {
    font-size: 16px;
  }
  .st {
    font-size: 13px;
  }
  .st th,
  .st td {
    padding: 10px 6px;
  }
  .ab {
    gap: 28px;
  }
  .jf {
    grid-template-columns: 1fr;
    padding: 18px !important;
  }
  .jf input,
  .jf select,
  .jf textarea,
  footer input {
    font-size: 16px;
  }
  footer {
    padding: 36px 0 24px;
  }
  footer form {
    flex-direction: column;
  }
  footer form .btn {
    justify-content: center;
  }
  .md {
    padding: 22px 18px;
    border-radius: 18px;
  }
  #toast {
    width: calc(100% - 32px);
    text-align: center;
  }
}

@media (max-width: 380px) {
  .logo span {
    display: none;
  }
  .tr {
    grid-template-columns: 1fr;
  }
  .cd b {
    font-size: 20px;
  }
}


.contact-links {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}
.contact-btn {
  min-width: 170px;
  justify-content: center;
}
.contact-btn span {
  font-size: 18px;
  line-height: 1;
}
@media (max-width: 700px) {
  .contact-links {
    display: grid;
    grid-template-columns: 1fr;
  }
  .contact-btn {
    width: 100%;
  }
}
.contact-btn img {
  width: 20px;
  height: 20px;
  object-fit: contain;
}

.contact-icon {
  width: 52px;
  min-width: 52px;
  height: 52px;
  padding: 0;
}
.contact-icon img {
  width: 26px;
  height: 26px;
}

.contact-icon svg {
  display: block;
  width: 26px;
  height: 26px;
}

.contact-icon img {
  display: block;
  width: 26px;
  height: 26px;
  object-fit: contain;
}

#cm > a[aria-label='Instagram']:not(.contact-icon) {
  display: none !important;
}

#cm > a[aria-label='Discord']:not(.contact-icon) {
  display: none !important;
}


/* ---- polish ---- */
#prog {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  width: 0;
  z-index: 70;
  background: linear-gradient(90deg, var(--green), var(--gold));
  transition: width 0.1s linear;
}
:focus-visible {
  outline: 2px solid var(--green);
  outline-offset: 2px;
}
::selection {
  background: var(--green);
  color: var(--on);
}
.tc:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px var(--glow);
}
.hd h2::after {
  content: '';
  display: block;
  width: 56px;
  height: 4px;
  margin-top: 12px;
  border-radius: 4px;
  background: linear-gradient(90deg, var(--green), var(--gold));
}
/* info list and FAQ share one card style */
.cinfo {
  list-style: none;
  padding: 0;
  margin: 20px 0 10px;
  display: grid;
  gap: 10px;
}
.cinfo li,
details.f {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 14px 18px;
  margin: 0;
  font-weight: 700;
  font-size: 16px;
  color: var(--text);
}
#faq {
  display: grid;
  gap: 10px;
  margin-top: 0 !important;
}
details.f summary {
  font-size: 16px;
}
details.f p {
  font-weight: 400;
  color: var(--muted);
}
.jf textarea {
  resize: vertical;
  min-height: 120px;
}
.jf .cc {
  text-align: right;
  color: var(--muted);
  font-size: 12px;
  margin-top: -6px;
}
.jf input:invalid:not(:placeholder-shown),
.jf textarea:invalid:not(:placeholder-shown) {
  border-color: #ff5a5a;
}
.jf button:disabled {
  opacity: 0.6;
  cursor: wait;
  transform: none;
}

footer select {
  padding: 11px 12px;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: var(--card);
  color: var(--text);
  font: inherit;
  cursor: pointer;
}
@media (max-width: 700px) {
  footer select {
    font-size: 16px;
  }
}

.social-card {
  padding: 26px;
}
.social-card .contact-icon {
  width: 46px;
  height: 46px;
  min-width: 46px;
  padding: 0;
  justify-content: center;
  border-radius: 14px;
}
.social-card .contact-icon svg {
  width: 22px;
  height: 22px;
}