:root {
  --background: #061225;
  --card: #0c203d;
  --card-light: #102a4f;
  --text: #f5f8ff;
  --muted: #b9c8dc;
  --blue: #23a8ff;
  --green: #54f000;
  --border: #25456d;
  --red: #ff3548;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at top right, #123c71 0, transparent 35%),
    linear-gradient(180deg, #061225, #030a14);
  color: var(--text);
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.65;
}

a {
  color: var(--blue);
}

a:focus-visible {
  outline: 3px solid var(--green);
  outline-offset: 3px;
}

.container {
  width: min(1100px, 92%);
  margin: auto;
}

header {
  padding: 18px 0;
  border-bottom: 1px solid var(--border);
  background: rgba(3, 10, 20, 0.9);
}

header a {
  color: white;
  text-decoration: none;
  font-size: 1.05rem;
  font-weight: 700;
}

.hero {
  padding: 48px 0 24px;
  text-align: center;
}

.label {
  display: inline-block;
  padding: 7px 14px;
  border: 1px solid var(--green);
  border-radius: 999px;
  color: var(--green);
  font-size: 0.9rem;
  font-weight: 700;
}

h1 {
  max-width: 950px;
  margin: 18px auto;
  font-size: clamp(2rem, 5vw, 3.6rem);
  line-height: 1.12;
}

h2 {
  margin-top: 0;
  color: var(--green);
}

h3 {
  margin-top: 24px;
  margin-bottom: 6px;
}

.intro {
  max-width: 850px;
  margin: auto;
  color: var(--muted);
  font-size: 1.08rem;
}

.updated-date {
  margin: 14px auto 0;
  color: var(--muted);
  font-size: 0.94rem;
}

.video-wrapper {
  position: relative;
  width: 100%;
  padding-top: 56.25%;
  margin: 30px 0;
  overflow: hidden;
  border: 2px solid var(--blue);
  border-radius: 16px;
  background: black;
  box-shadow: 0 15px 45px rgba(0, 0, 0, 0.5);
}

.video-wrapper iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

section {
  margin: 25px 0;
  padding: 26px;
  background: linear-gradient(145deg, var(--card), var(--card-light));
  border: 1px solid var(--border);
  border-radius: 14px;
}

.command,
pre {
  margin: 13px 0;
  padding: 15px 17px;
  overflow-x: auto;
  background: #02070e;
  border-left: 4px solid var(--green);
  border-radius: 7px;
  color: #6cff3d;
  font-family: Consolas, "Courier New", monospace;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}

.support-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  padding: 0;
  list-style: none;
}

.support-list li {
  padding: 15px;
  text-align: center;
  background: #07162b;
  border: 1px solid var(--border);
  border-radius: 9px;
  font-weight: 700;
}

.warning {
  border-left: 5px solid var(--red);
}

.button {
  display: inline-block;
  margin-top: 12px;
  margin-right: 8px;
  padding: 13px 20px;
  background: var(--red);
  color: white;
  border-radius: 7px;
  text-decoration: none;
  font-weight: 700;
}

.button:hover {
  text-decoration: underline;
}

.related-guides {
  margin: 0;
  padding-left: 22px;
}

.related-guides li {
  margin: 10px 0;
}

.faq-item {
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border);
}

.faq-item:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.back-home {
  display: inline-block;
  margin-top: 20px;
}

.guide-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin: 30px 0;
}

.guide-card {
  padding: 22px;
  background: linear-gradient(145deg, var(--card), var(--card-light));
  border: 1px solid var(--border);
  border-radius: 14px;
}

.guide-card h2 {
  margin-bottom: 8px;
}

footer {
  margin-top: 45px;
  padding: 28px 0;
  color: var(--muted);
  text-align: center;
  border-top: 1px solid var(--border);
}

@media (max-width: 700px) {
  .hero {
    padding-top: 32px;
  }

  section {
    padding: 19px;
  }

  .support-list {
    grid-template-columns: 1fr;
  }

  .guide-grid {
    grid-template-columns: 1fr;
  }
}
.guide-thumb-link {
  display: block;
  margin-bottom: 14px;
}

.guide-thumb {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: #02070e;
}

.guide-thumb-link:hover .guide-thumb {
  opacity: 0.9;
}

.guide-thumb-link:focus-visible {
  outline: 3px solid var(--green);
  outline-offset: 4px;
  border-radius: 8px;
}
