@font-face {
  font-family: "IyagiGGC";
  src: url("https://cdn.jsdelivr.net/gh/JuwanPark/IyagiGGC@latest/IyagiGGC.woff") format("woff");
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

:root {
  --bg: #0000aa;
  --fg: #ffffff;
  --accent: #55ffff;
  --accent2: #ffff55;
  --card-bg: #0000aa;
  --border: #ffffff;
  --heading: #ffff55;
  --muted: #9fdcff;
  --code: #55ffff;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

body {
  font-family: "IyagiGGC", "Courier New", "Lucida Console", monospace;
  background: var(--bg);
  color: var(--fg);
  line-height: 1.45;
  min-height: 100vh;
}

a { color: var(--accent); text-decoration: none; }
a:hover { color: var(--accent2); text-decoration: none; }

.container { max-width: 980px; margin: 0 auto; padding: 2rem; }

.support-float-btn {
  position: fixed;
  top: 1rem;
  right: 1rem;
  background: #0000aa;
  color: var(--accent2);
  border: 1px solid var(--border);
  border-radius: 0;
  height: 42px;
  display: inline-flex;
  align-items: center;
  padding: 0 1rem;
  font-size: 0.9rem;
  font-weight: 700;
  line-height: 1.1;
  text-decoration: none;
  box-shadow: 0 0 0 1px #000077;
  z-index: 1000;
}

.support-float-btn:hover {
  background: #000077;
  color: #ffff55;
  text-decoration: none;
}

header {
  text-align: center;
  padding: 4rem 2rem;
  border-bottom: 1px solid var(--border);
  position: relative;
  overflow: hidden;
}

.lang-switch {
  position: absolute;
  top: 1rem;
  left: 1rem;
  display: inline-flex;
  gap: 0.5rem;
  align-items: center;
  font-size: 0.85rem;
}

.lang-switch a,
.lang-switch .active {
  padding: 0.2rem 0.5rem;
  border: 1px solid var(--border);
  color: var(--accent);
  background: #0000aa;
}

.lang-switch .active {
  color: var(--accent2);
  background: #000077;
}

.header-logo {
  max-width: 320px;
  width: min(80vw, 320px);
  height: auto;
  margin: 0 auto 0.75rem;
  display: block;
}

header .tagline {
  font-size: 1.15rem;
  color: var(--muted);
}

section {
  padding: 3rem 0;
  border-bottom: 1px solid var(--border);
}

section:last-child { border-bottom: none; }

section h2 {
  font-size: 1.75rem;
  margin-bottom: 1rem;
  color: var(--heading);
  letter-spacing: 0.03em;
}

section p { margin-bottom: 1rem; }

.screenshot-image {
  width: 100%;
  max-width: 980px;
  height: auto;
  display: block;
  margin: 1rem auto 0;
  border: 1px solid var(--border);
}

.features {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.5rem;
  margin-top: 1.5rem;
}

@media (max-width: 720px) {
  .lang-switch {
    position: static;
    justify-content: center;
    margin-bottom: 1rem;
  }

  .features {
    grid-template-columns: 1fr;
  }
}

.feature {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 0;
  padding: 1.5rem;
}

.feature h3 {
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
  color: var(--accent2);
}

pre {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 0;
  padding: 1rem;
  overflow-x: auto;
  font-size: 0.9rem;
  margin: 1rem 0;
}

code {
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", Menlo, monospace;
  color: var(--code);
}

.btn {
  display: inline-block;
  background: #0000aa;
  color: var(--accent2);
  padding: 0.75rem 1.5rem;
  border: 1px solid var(--border);
  border-radius: 0;
  font-weight: 600;
  margin-top: 1rem;
}

.btn:hover {
  background: #000077;
  color: #ffff55;
  text-decoration: none;
}

.github-btn {
  background: #0000aa;
  color: var(--accent);
  border: 1px solid var(--border);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.github-btn:hover {
  background: #000077;
  color: #ffff55;
}

.header-actions {
  display: inline-flex;
  gap: 0.75rem;
  align-items: center;
  flex-wrap: wrap;
  justify-content: center;
}

footer {
  text-align: center;
  padding: 2rem;
  color: var(--muted);
  font-size: 0.9rem;
}

.footer-logo {
  max-width: 240px;
  width: min(70vw, 240px);
  height: auto;
  margin-bottom: 0.9rem;
  opacity: 1;
  filter: none;
}

footer a { color: var(--muted); }
footer a:hover { color: var(--accent); }
