/* ===== style.css + script.css (메인 페이지 번들) ===== */
:root {
  --mono: "DM Mono", ui-monospace, monospace;
  --display: "Outfit", "Noto Sans KR", system-ui, sans-serif;
  --primary: #fafafa;
  --primary-foreground: #0a0a0a;
  --background: #050505;
  --foreground: #fafafa;
  --card: #0a0a0a;
  --card-foreground: #fafafa;
  --secondary: #141414;
  --secondary-foreground: #e5e5e5;
  --muted: #141414;
  --muted-foreground: #a3a3a3;
  --accent: #e5e5e5;
  --accent-foreground: #0a0a0a;
  --border: rgba(255, 255, 255, 0.1);
  --input: rgba(255, 255, 255, 0.06);
  --ring: #fafafa;
  --radius: 0.75rem;
  --radius-sm: 0.5rem;
  --radius-lg: 1rem;
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.4);
  --shadow-md: 0 12px 40px rgba(0, 0, 0, 0.55);
  --shadow-card: 0 0 0 1px rgba(255, 255, 255, 0.06), 0 20px 50px rgba(0, 0, 0, 0.55);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

.light {
  --primary: #0a0a0a;
  --primary-foreground: #ffffff;
  --background: #ffffff;
  --foreground: #0a0a0a;
  --card: #ffffff;
  --card-foreground: #0a0a0a;
  --secondary: #f5f5f5;
  --secondary-foreground: #0a0a0a;
  --muted: #f5f5f5;
  --muted-foreground: #737373;
  --accent: #171717;
  --accent-foreground: #ffffff;
  --border: rgba(0, 0, 0, 0.08);
  --input: #fafafa;
  --ring: #0a0a0a;
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.06);
  --shadow-md: 0 12px 40px rgba(0, 0, 0, 0.08);
  --shadow-card: 0 0 0 1px rgba(0, 0, 0, 0.06), 0 16px 48px rgba(0, 0, 0, 0.06);
}

/* ===== Base ===== */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  border-color: var(--border);
  outline-color: color-mix(in srgb, var(--ring) 50%);
  transition: color 0.4s ease, background-color 0.4s ease, border-color 0.4s ease, box-shadow 0.4s ease, transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

html {
  scroll-behavior: smooth;
}

body {
  background: var(--background);
  color: var(--foreground);
  font-family: 'Noto Sans KR', 'Outfit', 'Malgun Gothic', 'Apple SD Gothic Neo', 'Segoe UI', sans-serif;
  font-size: 1rem;
  line-height: 1.7;
  min-height: 100vh;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--display);
  font-weight: 600;
  letter-spacing: -0.02em;
}

h1 { font-size: clamp(1.75rem, 5vw, 3rem); font-weight: 700; line-height: 1.2; }
h2 { font-size: clamp(1.35rem, 4vw, 2rem); font-weight: 600; line-height: 1.3; }
h3 { font-size: clamp(1.15rem, 3vw, 1.5rem); font-weight: 600; line-height: 1.4; }

button:not(:disabled), [role="button"]:not([aria-disabled="true"]),
a[href], select:not(:disabled) {
  cursor: pointer;
}

/* ===== Layout ===== */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.25rem;
}

@media (min-width: 640px) {
  .container { padding: 0 2rem; }
}

@media (min-width: 1024px) {
  .container { padding: 0 2.5rem; }
}

/* ===== Utilities ===== */
.hidden { display: none !important; }

/* ===== Components ===== */
.neon-accent {
  color: var(--primary) !important;
  text-shadow: none;
  transition: none;
}

.neon-accent-line {
  background: linear-gradient(90deg, var(--primary) 0%, var(--accent) 100%);
  height: 4px;
  width: 60px;
  border-radius: 2px;
}

.hero .neon-accent-line {
  width: 0;
  animation: lineExpand 0.6s cubic-bezier(0.4, 0, 0.2, 1) 0.25s forwards;
}

@keyframes lineExpand {
  to { width: 60px; }
}

@keyframes lineExpandCyber {
  to { width: 88px; }
}

.hero--cyber .neon-accent-line.hero__accent-line {
  height: 3px;
  border-radius: 3px;
  background: linear-gradient(90deg, #fafafa 0%, #a3a3a3 55%, #737373 100%);
  box-shadow: none;
  animation: lineExpandCyber 0.65s cubic-bezier(0.4, 0, 0.2, 1) 0.25s forwards;
}

.light .hero--cyber .neon-accent-line.hero__accent-line {
  background: linear-gradient(90deg, #d4d4d4 0%, #a3a3a3 100%);
  box-shadow: 0 0 16px rgba(0, 0, 0, 0.25);
}

.glassmorphism {
  background: rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--border);
}

.card-hover {
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.card-hover:hover {
  box-shadow: 0 24px 48px rgba(255, 255, 255, 0.08);
  transform: translateY(-4px);
}

.fade-in-up {
  animation: fadeInUp 0.6s ease-out;
}

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ===== Hero 애니메이션 ===== */
.hero-anim {
  opacity: 0;
  animation: heroFadeInUp 0.7s cubic-bezier(0.4, 0, 0.2, 1) forwards;
  transition: none;
}

.hero-anim-1 { animation-delay: 0.1s; }
.hero-anim-2 { animation-delay: 0.25s; }
.hero-anim-3 { animation-delay: 0.4s; }
.hero-anim-4 { animation-delay: 0.55s; }

@keyframes heroFadeInUp {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.neon-pulse {
  display: inline;
  color: var(--primary) !important;
  visibility: visible;
  text-shadow: none;
  animation: none;
  transition: none;
}

@keyframes neonPulse {
  0%, 100% {
    color: var(--primary);
    text-shadow: none;
  }
  50% {
    color: var(--primary);
    text-shadow: none;
  }
}

.pulse-glow {
  animation: pulseGlow 2.5s ease-in-out infinite;
}

@keyframes pulseGlow {
  0%, 100% { box-shadow: 0 4px 24px rgba(255, 255, 255, 0.25); }
  50% { box-shadow: 0 8px 40px rgba(255, 255, 255, 0.4); }
}

.btn-pop {
  animation: btnPopIn 0.5s cubic-bezier(0.34, 1.56, 0.64, 1) 0.85s both;
}

.hero-buttons .btn-outline.btn-pop {
  animation-delay: 1s;
}

@keyframes btnPopIn {
  from {
    opacity: 0;
    transform: scale(0.9) translateY(10px);
  }
  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

/* ===== Navigation ===== */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  transition: all 0.3s;
}

.nav.scrolled {
  background: color-mix(in srgb, var(--background) 85%);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-bottom: 1px solid var(--border);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 4rem;
}

.logo {
  font-size: 1.5rem;
  font-weight: 700;
}

.theme-btn {
  padding: 0.5rem;
  border-radius: var(--radius-sm);
  background: transparent;
  border: none;
  color: var(--foreground);
  transition: all 0.3s ease;
}

.theme-btn:hover {
  background: var(--secondary);
  transform: scale(1.05);
}

.icon {
  width: 1.25rem;
  height: 1.25rem;
}

/* ===== Hero ===== */
.hero {
  position: relative;
  padding: 8rem 0 5rem;
  overflow: hidden;
}

/* Hero: CSS-only cyber background (no image) */
.hero--cyber {
  padding: 8.5rem 0 5.5rem;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}

.hero__container {
  position: relative;
  z-index: 1;
}

.hero-bg__base {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 120% 90% at 50% -25%, #171717 0%, transparent 55%),
    radial-gradient(ellipse 80% 50% at 80% 20%, rgba(10, 10, 10, 0.92) 0%, transparent 50%),
    linear-gradient(180deg, #000000 0%, #0a0a0a 35%, #050505 100%);
}

.hero-bg__orb--cyan {
  position: absolute;
  width: min(95vw, 920px);
  height: min(95vw, 920px);
  left: max(-25%, -200px);
  top: -32%;
  border-radius: 50%;
  background: radial-gradient(
    circle at 38% 42%,
    rgba(255, 255, 255, 0.22) 0%,
    rgba(0, 0, 0, 0.08) 38%,
    transparent 68%
  );
  filter: blur(56px);
}

.hero-bg__orb--violet {
  position: absolute;
  width: min(85vw, 780px);
  height: min(85vw, 780px);
  right: max(-18%, -160px);
  top: 5%;
  border-radius: 50%;
  background: radial-gradient(
    circle at 55% 48%,
    rgba(255, 255, 255, 0.12) 0%,
    rgba(255, 255, 255, 0.05) 42%,
    transparent 70%
  );
  filter: blur(52px);
}

.hero-bg__arc {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}

.hero-bg__arc--tl {
  width: 160%;
  height: 85%;
  left: -52%;
  top: -58%;
  border: 1px solid rgba(255, 255, 255, 0.22);
  box-shadow:
    0 0 80px rgba(255, 255, 255, 0.06),
    inset 0 0 60px rgba(255, 255, 255, 0.04);
  opacity: 0.55;
}

.hero-bg__arc--br {
  width: 130%;
  height: 75%;
  right: -48%;
  bottom: -52%;
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow:
    0 0 70px rgba(255, 255, 255, 0.07),
    inset 0 0 50px rgba(255, 255, 255, 0.03);
  opacity: 0.5;
}

.hero-bg__mesh {
  position: absolute;
  inset: 0;
  opacity: 0.5;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px);
  background-size: 52px 52px;
  mask-image: radial-gradient(ellipse 85% 70% at 50% 32%, #000 15%, transparent 72%);
}

.hero-bg__shards {
  position: absolute;
  inset: 0;
  opacity: 0.35;
  background:
    linear-gradient(135deg, transparent 48%, rgba(255, 255, 255, 0.04) 49%, transparent 50%) 0 100% / 180px 180px no-repeat,
    linear-gradient(-35deg, transparent 48%, rgba(255, 255, 255, 0.05) 49%, transparent 50%) 100% 0 / 200px 220px no-repeat;
}

.hero-bg__grain {
  position: absolute;
  inset: 0;
  opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.hero-gradient {
  position: absolute;
  inset: 0;
  z-index: 2;
  background: linear-gradient(
    to bottom,
    var(--background) 0%,
    transparent 22%,
    transparent 68%,
    var(--background) 100%
  );
  pointer-events: none;
}

.light .hero-bg__base {
  background:
    radial-gradient(ellipse 100% 80% at 50% -20%, #f5f5f5 0%, transparent 50%),
    linear-gradient(180deg, #ffffff 0%, #fafafa 45%, #ffffff 100%);
}

.light .hero-bg__orb--cyan {
  background: radial-gradient(
    circle at 40% 45%,
    rgba(0, 0, 0, 0.14) 0%,
    transparent 65%
  );
}

.light .hero-bg__orb--violet {
  background: radial-gradient(
    circle at 55% 50%,
    rgba(0, 0, 0, 0.06) 0%,
    transparent 68%
  );
}

.light .hero-bg__mesh {
  opacity: 0.25;
  background-image:
    linear-gradient(rgba(0, 0, 0, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 0, 0, 0.06) 1px, transparent 1px);
}

.light .hero-bg__arc--tl {
  border-color: rgba(0, 0, 0, 0.18);
  opacity: 0.4;
}

.light .hero-bg__arc--br {
  border-color: rgba(0, 0, 0, 0.1);
  opacity: 0.38;
}

.light .hero-bg__shards {
  opacity: 0.2;
}

.hero-content {
  width: 100%;
  max-width: min(92vw, 56rem);
  margin: 0 auto;
  text-align: center;
}

@media (min-width: 1280px) {
  .hero-content {
    max-width: min(94vw, 64rem);
  }
}

@media (min-width: 1536px) {
  .hero-content {
    max-width: min(92vw, 72rem);
  }
}

.hero-content h1 {
  font-size: clamp(1.5rem, 4.5vw, 2.5rem);
  margin-bottom: 1.5rem;
  min-height: 1.2em;
}

.typing-cursor {
  display: inline-block;
  color: var(--primary);
  animation: cursorBlink 0.8s step-end infinite;
  margin-left: 2px;
}

.typing-cursor.cursor-done {
  display: none;
}

@keyframes cursorBlink {
  50% { opacity: 0; }
}

.hero-content .neon-accent-line {
  margin: 0 auto 2rem;
}

.hero-desc {
  font-size: 1.25rem;
  color: var(--muted-foreground);
  margin-bottom: 3rem;
}

.hero-buttons {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  justify-content: center;
  align-items: center;
}

@media (min-width: 640px) {
  .hero-buttons { flex-direction: row; }
}

.hero-key-steps {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px 12px;
  margin-top: 1.25rem;
  padding: 0.65rem 1.1rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(12px);
}

.hero-key-step {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.88rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.55);
  letter-spacing: -0.01em;
}

.hero-key-step em {
  font-style: normal;
  width: 1.55rem;
  height: 1.55rem;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.72rem;
  font-weight: 700;
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.hero-key-step--on {
  color: rgba(255, 255, 255, 0.92);
}

.hero-key-step--on em {
  background: linear-gradient(135deg, rgba(124, 108, 255, 0.85), rgba(91, 157, 255, 0.55));
  border-color: rgba(167, 139, 250, 0.45);
  box-shadow: 0 0 16px rgba(124, 108, 255, 0.28);
}

.hero-key-sep {
  width: 1.25rem;
  height: 2px;
  border-radius: 99px;
  background: linear-gradient(90deg, transparent, rgba(167, 139, 250, 0.55), transparent);
}

.light .hero-key-steps {
  border-color: rgba(0, 0, 0, 0.08);
  background: rgba(255, 255, 255, 0.72);
}

.light .hero-key-step {
  color: rgba(29, 29, 31, 0.48);
}

.light .hero-key-step--on {
  color: #1d1d1f;
}

.light .hero-key-step em {
  color: #1d1d1f;
  background: rgba(0, 0, 0, 0.04);
  border-color: rgba(0, 0, 0, 0.08);
}

.light .hero-key-step--on em {
  color: #fff;
  background: linear-gradient(135deg, #0066cc, #0071e3);
  border-color: transparent;
}

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.875rem 1.75rem;
  font-size: 1rem;
  font-weight: 500;
  border-radius: var(--radius-lg);
  text-decoration: none;
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary) 0%, #d4d4d4 100%);
  color: var(--primary-foreground);
  box-shadow: 0 4px 20px rgba(255, 255, 255, 0.25);
}

.btn-primary:hover {
  box-shadow: 0 8px 32px rgba(255, 255, 255, 0.35);
  transform: translateY(-2px);
}

.btn-outline {
  border: 1px solid rgba(255, 255, 255, 0.5);
  color: var(--primary);
  background: transparent;
}

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: var(--primary);
  transform: translateY(-2px);
}

.light .btn-primary {
  background: linear-gradient(135deg, #0a0a0a 0%, #404040 100%);
  color: #ffffff;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.12);
}

.light .btn-primary:hover {
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.18);
}

.light .btn-outline {
  border: 1px solid rgba(0, 0, 0, 0.2);
  color: #0a0a0a;
}

.light .btn-outline:hover {
  background: rgba(0, 0, 0, 0.04);
  border-color: #0a0a0a;
}

/* ===== Features ===== */
.features {
  padding: 5rem 0;
  background: linear-gradient(180deg, transparent 0%, color-mix(in srgb, var(--card) 30%) 50%, transparent 100%);
}

.section-header {
  text-align: center;
  margin-bottom: 4rem;
}

.section-header h2 {
  font-size: 2.25rem;
  margin-bottom: 1rem;
}

.section-header .neon-accent-line {
  margin: 0 auto 1.5rem;
}

.section-header p {
  font-size: 1.125rem;
  color: var(--muted-foreground);
  max-width: 42rem;
  margin: 0 auto;
}

.features-grid {
  display: grid;
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .features-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 1024px) {
  .features-grid { grid-template-columns: repeat(3, 1fr); }
}

.feature-card {
  padding: 1.75rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
}

.feature-icon-wrap {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.12) 0%, rgba(255, 255, 255, 0.08) 100%);
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.feature-card:hover .feature-icon-wrap {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.2) 0%, rgba(255, 255, 255, 0.15) 100%);
  border-color: rgba(255, 255, 255, 0.4);
  box-shadow: 0 0 24px rgba(255, 255, 255, 0.15);
}

.feature-icon-svg {
  width: 28px;
  height: 28px;
  color: var(--primary);
  transition: color 0.3s ease;
}

.feature-card:hover .feature-icon-svg {
  color: var(--primary);
}

.light .feature-icon-wrap {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.06) 100%);
  border-color: rgba(255, 255, 255, 0.25);
}

.light .feature-card:hover .feature-icon-wrap {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.18) 0%, rgba(255, 255, 255, 0.12) 100%);
  border-color: rgba(255, 255, 255, 0.45);
}

.feature-card h3 {
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
}

.feature-card p {
  color: var(--muted-foreground);
}

/* ===== Showcase ===== */
.showcase {
  padding: 5rem 0;
}

.showcase-grid {
  display: grid;
  gap: 3rem;
  align-items: center;
}

@media (min-width: 768px) {
  .showcase-grid { grid-template-columns: 1fr 1fr; }
}

.showcase h2 {
  font-size: 2.25rem;
  margin-bottom: 1.5rem;
}

.showcase .neon-accent-line {
  margin-bottom: 1.5rem;
}

.showcase-desc {
  font-size: 1.125rem;
  color: var(--muted-foreground);
  margin-bottom: 2rem;
  line-height: 1.7;
}

.tech-cards {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.tech-card {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1rem 1.25rem;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  transition: all 0.35s ease;
}

.tech-card:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.15);
}

.tech-card-icon {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.15) 0%, rgba(255, 255, 255, 0.1) 100%);
}

.tech-card-icon svg {
  width: 22px;
  height: 22px;
  color: var(--primary);
}

.tech-card-text h4 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 0.25rem;
}

.tech-card-text span {
  font-size: 0.875rem;
  color: var(--muted-foreground);
  line-height: 1.5;
}

.light .tech-card {
  background: rgba(0, 0, 0, 0.02);
  border-color: rgba(0, 0, 0, 0.06);
}

.light .tech-card:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.2);
}

.showcase-img-wrap {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.showcase-img-wrap img {
  width: 100%;
  height: auto;
  display: block;
}

/* ===== CTA ===== */
.cta {
  position: relative;
  padding: 5rem 0;
  overflow: hidden;
}

.cta-bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  opacity: 0.2;
}

.cta-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cta:not(.cta--elevated) h2 {
  font-size: 2.25rem;
  margin-bottom: 1.5rem;
}

.cta-desc {
  font-size: 1.25rem;
  color: var(--muted-foreground);
  margin-bottom: 2rem;
  max-width: 42rem;
  margin-left: auto;
  margin-right: auto;
}

/* ===== Footer ===== */
.footer {
  border-top: 1px solid var(--border);
  padding: 3rem 0;
  background: linear-gradient(180deg, transparent 0%, color-mix(in srgb, var(--card) 20%) 100%);
}

.footer-grid {
  display: grid;
  gap: 2rem;
  margin-bottom: 2rem;
}

@media (min-width: 768px) {
  .footer-grid { grid-template-columns: repeat(4, 1fr); }
}

.footer h4 {
  font-size: 1rem;
  margin-bottom: 1rem;
}

.footer p {
  font-size: 0.875rem;
  color: var(--muted-foreground);
}

.footer ul {
  list-style: none;
}

.footer ul li {
  margin-bottom: 0.5rem;
}

.footer a {
  font-size: 0.875rem;
  color: var(--muted-foreground);
  text-decoration: none;
}

.footer a:hover {
  color: var(--foreground);
}

.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 2rem;
  text-align: center;
}

.footer-bottom p {
  font-size: 0.875rem;
  color: var(--muted-foreground);
}

/* ===== script.css: 스크립트 복사 박스 (Windows 스타일) ===== */
.copy-box.window-style {
  margin-bottom: 2rem;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.4), 0 0 0 1px rgba(0, 0, 0, 0.1);
  background: #1e1e1e;
  transition: none;
  animation: scriptBoxEnter 0.6s cubic-bezier(0.4, 0, 0.2, 1) 0.5s both, scriptBoxGlow 1.5s ease-out 1.2s both;
}

@keyframes scriptBoxEnter {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes scriptBoxGlow {
  0% {
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.4), 0 0 0 1px rgba(0, 0, 0, 0.1);
  }
  50% {
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.4), 0 0 0 1px rgba(0, 0, 0, 0.1), 0 0 30px rgba(255, 255, 255, 0.15);
  }
  100% {
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.4), 0 0 0 1px rgba(0, 0, 0, 0.1);
  }
}

.light .copy-box.window-style {
  border-color: rgba(0, 0, 0, 0.12);
  background: #ffffff;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.08), 0 0 0 1px rgba(0, 0, 0, 0.06);
}

.window-titlebar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 36px;
  padding: 0 12px 0 16px;
  background: #2d2d2d;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.light .window-titlebar {
  background: #f3f3f3;
  border-bottom-color: rgba(0, 0, 0, 0.08);
}

.window-title {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.9);
  font-weight: 400;
}

.light .window-title {
  color: rgba(0, 0, 0, 0.8);
}

.window-controls {
  display: flex;
  align-items: center;
  gap: 2px;
}

.window-btn {
  width: 12px;
  height: 12px;
  border-radius: 50%;
}

.window-btn.minimize {
  background: #d4d4d4;
}

.window-btn.maximize {
  background: #a3a3a3;
}

.window-btn.close {
  background: #737373;
}

.window-body {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 12px 16px;
  background: #252526;
  min-height: 48px;
}

.light .window-body {
  background: #fafafa;
}

.window-body code {
  flex: 1;
  text-align: left;
  font-size: 14px;
  font-family: 'Consolas', 'Monaco', 'Courier New', monospace;
  color: #e0e0e0;
  font-weight: 500;
  word-break: break-all;
}

.light .window-body code {
  color: #1a1a1a;
}

.copy-btn {
  padding: 6px;
  border: none;
  background: rgba(255, 255, 255, 0.06);
  color: var(--foreground);
  border-radius: 4px;
  transition: all 0.15s ease;
  cursor: pointer;
  transform: scale(1);
  user-select: none;
}

.copy-btn:hover {
  background: rgba(255, 255, 255, 0.12);
}

.copy-btn:active,
.copy-btn.pressed {
  transform: scale(0.92);
  background: rgba(255, 255, 255, 0.18);
}

.light .copy-btn {
  background: rgba(0, 0, 0, 0.06);
}

.light .copy-btn:hover {
  background: rgba(0, 0, 0, 0.1);
}

.light .copy-btn:active,
.light .copy-btn.pressed {
  background: rgba(0, 0, 0, 0.15);
}

/* ===== 지원하는 게임 섹션 ===== */
.supported-games {
  padding: 5rem 0;
  position: relative;
  overflow: hidden;
}

.supported-games .section-header {
  text-align: center;
  margin-bottom: 3rem;
}

.supported-games .section-header h2 {
  margin-bottom: 0.5rem;
}

.supported-games .section-header .neon-accent-line {
  margin: 0.75rem auto 1rem;
}

.supported-games .section-header p {
  color: var(--muted-foreground);
  font-size: 1rem;
}

.games-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
  max-width: 960px;
  margin: 0 auto;
  align-items: start;
}

@media (min-width: 640px) {
  .games-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.35rem;
  }
}

@media (min-width: 1024px) {
  .games-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.75rem;
  }
}

.game-card-wrap {
  display: flex;
  flex-direction: column;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: linear-gradient(145deg, rgba(255,255,255,0.03) 0%, rgba(255,255,255,0.01) 100%);
  overflow: hidden;
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.game-card-wrap:hover {
  transform: translateY(-6px) scale(1.02);
  border-color: rgba(255, 255, 255, 0.3);
  box-shadow: 0 20px 50px rgba(255, 255, 255, 0.2), 0 0 30px rgba(255, 255, 255, 0.08);
}

.game-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 2.25rem 1.75rem 1.5rem;
  text-decoration: none;
  color: inherit;
  transition: color 0.2s ease;
}

.game-card-copy-btn {
  width: 100%;
  padding: 0.75rem 1rem;
  border: none;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(0, 0, 0, 0.25);
  color: var(--foreground);
  font-size: 0.9rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.25s ease;
}

.game-card-copy-btn:hover {
  background: rgba(255, 255, 255, 0.1);
}

.game-card-copy-btn:active {
  transform: scale(0.98);
}

.game-card-copy-btn.copied {
  color: var(--primary);
  background: rgba(255, 255, 255, 0.12);
}

.light .game-card-copy-btn {
  background: rgba(0, 0, 0, 0.04);
  border-color: rgba(0, 0, 0, 0.06);
}

.light .game-card-wrap:hover .game-card-copy-btn {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.15);
}

.game-card-icon {
  width: 88px;
  height: 88px;
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  overflow: hidden;
  position: relative;
  flex-shrink: 0;
}

.game-card-icon::after {
  content: '';
  position: absolute;
  inset: -2px;
  border-radius: 22px;
  z-index: -1;
  opacity: 0.5;
}

.game-icon-bee .game-card-icon::after {
  background: radial-gradient(circle, rgba(255, 255, 255, 0.12) 0%, transparent 70%);
}

.game-icon-ball .game-card-icon::after {
  background: radial-gradient(circle, rgba(255, 255, 255, 0.35) 0%, transparent 70%);
}

.game-icon-shield .game-card-icon::after {
  background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
}

.game-card-icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 20px;
}

.game-card-icon-fallback {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
}

.game-card-icon-fallback svg {
  width: 100%;
  height: 100%;
  opacity: 0.95;
  filter: drop-shadow(0 2px 8px rgba(0,0,0,0.3));
}

.game-icon-bee .game-card-icon-fallback svg {
  color: #a3a3a3;
}

.game-icon-ball .game-card-icon-fallback svg {
  color: var(--primary);
}

.game-icon-shield .game-card-icon-fallback svg {
  color: #a3a3a3;
}

.game-card h3 {
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 1rem;
  text-align: center;
  letter-spacing: -0.02em;
}

.game-card-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: center;
}

.game-card-tags span {
  font-size: 0.75rem;
  padding: 0.35em 0.75em;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.06);
  color: var(--muted-foreground);
  border: 1px solid rgba(255, 255, 255, 0.06);
  transition: all 0.25s ease;
}

.game-card:hover .game-card-tags span {
  background: rgba(255, 255, 255, 0.08);
  color: var(--foreground);
  border-color: rgba(255, 255, 255, 0.2);
}

.light .game-card-tags span {
  background: rgba(0, 0, 0, 0.04);
  border-color: rgba(0, 0, 0, 0.06);
}

.light .game-card-wrap:hover .game-card-tags span {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.15);
}

.light .game-card-wrap {
  background: linear-gradient(145deg, rgba(255,255,255,0.95) 0%, rgba(255,255,255,0.85) 100%);
  border-color: rgba(0, 0, 0, 0.08);
}

.light .game-card-copy-btn {
  background: rgba(0, 0, 0, 0.04);
  border-top-color: rgba(0, 0, 0, 0.06);
}

.light .game-card-copy-btn:hover {
  background: rgba(255, 255, 255, 0.08);
}

/* ===== Home page polish (nav, hero HUD, games ambient) ===== */
.home-page {
  background-color: var(--background);
  background-image:
    radial-gradient(ellipse 80% 50% at 50% -20%, rgba(255, 255, 255, 0.12), transparent),
    radial-gradient(ellipse 60% 40% at 100% 50%, rgba(255, 255, 255, 0.06), transparent),
    radial-gradient(ellipse 50% 30% at 0% 80%, rgba(255, 255, 255, 0.05), transparent);
}

.nav-logo {
  text-decoration: none;
  letter-spacing: -0.03em;
}

.nav-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
}

.nav-link {
  margin-right: 0;
  padding: 8px 14px;
  font-size: 13px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.72);
  text-decoration: none;
  border-radius: 999px;
  border: 1px solid transparent;
  transition: color 0.2s ease, background 0.2s ease, border-color 0.2s ease, box-shadow 0.25s ease;
}

.nav-link:hover {
  color: var(--primary);
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.18);
  box-shadow: 0 0 20px rgba(255, 255, 255, 0.08);
}

.light .nav-link {
  color: rgba(0, 0, 0, 0.65);
}

.light .nav-link:hover {
  color: var(--primary);
  background: rgba(255, 255, 255, 0.1);
}

.nav-link--btn {
  font-family: inherit;
  cursor: pointer;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.nav-link--btn:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.25);
}

.light .nav-link--btn {
  background: rgba(0, 0, 0, 0.04);
  border-color: rgba(0, 0, 0, 0.08);
}

/* HUD-style loader box */
.copy-box--hud.window-style {
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: linear-gradient(165deg, #141414 0%, #0a0a0a 50%, #050505 100%);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.06) inset,
    0 12px 40px rgba(0, 0, 0, 0.5);
}

.copy-box--hud .window-titlebar {
  background: linear-gradient(180deg, #1a1a1a 0%, #111111 100%);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.copy-box--hud .window-body {
  background: linear-gradient(180deg, #0f0f0f 0%, #0a0a0a 100%);
}

.copy-box--hud .window-body code {
  font-size: 13px;
  letter-spacing: 0.02em;
  color: #cbd5e1;
}

.light .copy-box--hud.window-style {
  border-color: rgba(0, 0, 0, 0.1);
  background: linear-gradient(165deg, #ffffff 0%, #fafafa 100%);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.06);
}

.light .copy-box--hud .window-body code {
  color: #171717;
}

/* 히어로 전용: 스크립트 박스 강조 */
.hero--cyber .copy-box--hero.window-style {
  width: 100%;
  max-width: min(96vw, 56rem);
  margin-left: auto;
  margin-right: auto;
  border-radius: 16px;
  overflow: visible;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: linear-gradient(165deg, #111111 0%, #050505 100%);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.06) inset,
    0 12px 48px rgba(0, 0, 0, 0.65);
}

.hero--cyber .copy-box--hero .window-titlebar {
  height: 40px;
  padding: 0 14px 0 18px;
  background: linear-gradient(180deg, #1a1a1a 0%, #0f0f0f 100%);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.hero--cyber .copy-box--hero .window-title {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(245, 245, 245, 0.85);
}

.hero--cyber .copy-box--hero .window-body {
  flex-wrap: nowrap;
  align-items: center;
  gap: 1rem;
  padding: 1.1rem 1.25rem 1.15rem;
  min-height: 56px;
  background: linear-gradient(180deg, #0a0a0a 0%, #000000 100%);
  border-radius: 0 0 15px 15px;
}

.hero--cyber .copy-box--hero .window-body code {
  flex: 1 1 auto;
  min-width: 0;
  font-family: "JetBrains Mono", "Consolas", "Monaco", monospace;
  font-size: clamp(0.8125rem, 1.35vw, 0.9375rem);
  font-weight: 500;
  line-height: 1.65;
  letter-spacing: 0.03em;
  color: #fafafa;
  text-shadow: none;
  word-break: normal;
  overflow-wrap: anywhere;
}

@media (min-width: 768px) {
  .hero--cyber .copy-box--hero .window-body code {
    white-space: nowrap;
    overflow-x: auto;
    max-width: 100%;
    -webkit-overflow-scrolling: touch;
  }
}

@media (max-width: 480px) {
  .hero--cyber .copy-box--hero .window-body code {
    white-space: normal;
    overflow-x: visible;
    word-break: break-all;
  }
}

.hero--cyber .copy-box--hero .copy-btn {
  flex-shrink: 0;
  align-self: center;
  padding: 10px 12px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.22);
  color: #fafafa;
  box-shadow: none;
}

.hero--cyber .copy-box--hero .copy-btn:hover {
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.28) 0%, rgba(255, 255, 255, 0.2) 100%);
  border-color: rgba(255, 255, 255, 0.55);
}

@keyframes heroScriptPulse {
  0%,
  100% {
    box-shadow:
      0 0 0 1px rgba(255, 255, 255, 0.06) inset,
      0 12px 48px rgba(0, 0, 0, 0.55);
  }
  50% {
    box-shadow:
      0 0 0 1px rgba(255, 255, 255, 0.1) inset,
      0 16px 56px rgba(0, 0, 0, 0.5);
  }
}

.hero--cyber .copy-box--hero.window-style {
  animation: scriptBoxEnter 0.6s cubic-bezier(0.4, 0, 0.2, 1) 0.5s both, heroScriptPulse 4s ease-in-out 2s infinite;
}

.light .hero--cyber .copy-box--hero.window-style {
  border-color: rgba(0, 0, 0, 0.12);
  background: linear-gradient(165deg, #ffffff 0%, #fafafa 100%);
  box-shadow:
    0 0 0 1px rgba(0, 0, 0, 0.05) inset,
    0 12px 40px rgba(0, 0, 0, 0.06);
  animation: scriptBoxEnter 0.6s cubic-bezier(0.4, 0, 0.2, 1) 0.5s both;
}

.light .hero--cyber .copy-box--hero .window-titlebar {
  background: linear-gradient(180deg, #fafafa 0%, #f5f5f5 100%);
  border-bottom-color: rgba(0, 0, 0, 0.12);
}

.light .hero--cyber .copy-box--hero .window-title {
  color: rgba(10, 10, 10, 0.65);
}

.light .hero--cyber .copy-box--hero .window-body {
  background: linear-gradient(180deg, #ffffff 0%, #fafafa 100%);
}

.light .hero--cyber .copy-box--hero .window-body code {
  color: #0a0a0a;
  text-shadow: none;
}

.light .hero--cyber .copy-box--hero .copy-btn {
  background: rgba(0, 0, 0, 0.06);
  border-color: rgba(0, 0, 0, 0.15);
  color: #0a0a0a;
  box-shadow: none;
}

.light .hero--cyber .copy-box--hero .copy-btn:hover {
  background: rgba(0, 0, 0, 0.18);
  border-color: rgba(0, 0, 0, 0.5);
}

@media (min-width: 1280px) {
  .hero--cyber .copy-box--hero.window-style {
    max-width: min(94vw, 60rem);
  }
}

@media (min-width: 1536px) {
  .hero--cyber .copy-box--hero.window-style {
    max-width: min(92vw, 64rem);
  }
}

.hero--cyber .hero-desc {
  font-size: clamp(1rem, 2.2vw, 1.2rem);
  line-height: 1.75;
  color: rgba(226, 232, 240, 0.82);
  margin-bottom: 2.25rem;
}

.light .hero--cyber .hero-desc {
  color: var(--muted-foreground);
}

.hero--cyber .hero-buttons .btn-primary {
  background: linear-gradient(135deg, #fafafa 0%, #d4d4d4 48%, #a3a3a3 100%);
  color: #0a0a0a;
  font-weight: 600;
  border: none;
  box-shadow: 0 4px 28px rgba(255, 255, 255, 0.28);
}

.hero--cyber .hero-buttons .btn-primary:hover {
  box-shadow: 0 8px 36px rgba(255, 255, 255, 0.35);
  filter: brightness(1.05);
}

.hero--cyber .hero-buttons .btn-outline {
  border-color: rgba(255, 255, 255, 0.35);
  color: #fafafa;
}

.hero--cyber .hero-buttons .btn-outline:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.5);
  color: #ffffff;
}

.light .hero--cyber .hero-buttons .btn-outline {
  border-color: rgba(0, 0, 0, 0.2);
  color: #0a0a0a;
}

.light .hero--cyber .hero-buttons .btn-outline:hover {
  color: #262626;
}

.light .hero--cyber .hero-buttons .btn-primary {
  background: linear-gradient(135deg, #0a0a0a 0%, #404040 100%);
  color: #ffffff;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.15);
}

.light .hero--cyber .hero-buttons .btn-primary:hover {
  filter: brightness(1.06);
}

.hero--cyber .typing-cursor {
  color: #fafafa;
  text-shadow: none;
}

/* Games section ambient */
.supported-games__ambient {
  pointer-events: none;
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 50% at 50% 0%, rgba(255, 255, 255, 0.07), transparent 55%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.04) 0%, transparent 35%);
  opacity: 1;
}

.supported-games .container {
  position: relative;
  z-index: 1;
}

.section-header--games .section-header__kicker {
  display: flex;
  justify-content: center;
  margin-bottom: 1rem;
}

.section-header__kicker-icon {
  width: 40px;
  height: 40px;
  padding: 10px;
  color: var(--primary);
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.15) 0%, rgba(255, 255, 255, 0.1) 100%);
  border: 1px solid rgba(255, 255, 255, 0.22);
  box-shadow: 0 4px 24px rgba(255, 255, 255, 0.12);
}

.section-header--games h2 {
  font-size: clamp(1.75rem, 4vw, 2.35rem);
  letter-spacing: -0.03em;
}

.game-card-wrap {
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.07);
  background: linear-gradient(155deg, rgba(255, 255, 255, 0.045) 0%, rgba(255, 255, 255, 0.012) 55%, rgba(0, 0, 0, 0.15) 100%);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.2);
}

.game-card-wrap:hover {
  transform: translateY(-5px) scale(1.01);
  border-color: rgba(255, 255, 255, 0.35);
  box-shadow:
    0 24px 56px rgba(0, 0, 0, 0.35),
    0 0 0 1px rgba(255, 255, 255, 0.12),
    0 0 48px rgba(255, 255, 255, 0.12);
}

.game-card-copy-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 0.875rem;
}

.game-card-copy-btn::before {
  content: '';
  width: 14px;
  height: 14px;
  background: currentColor;
  opacity: 0.7;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2'%3E%3Crect x='9' y='9' width='13' height='13' rx='2'/%3E%3Cpath d='M5 15H4a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h9a2 2 0 0 1 2 2v1'/%3E%3C/svg%3E") center/contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2'%3E%3Crect x='9' y='9' width='13' height='13' rx='2'/%3E%3Cpath d='M5 15H4a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h9a2 2 0 0 1 2 2v1'/%3E%3C/svg%3E") center/contain no-repeat;
}

/* ===== Scripts listing page ===== */
.page-scripts {
  position: relative;
  background-color: #050505;
  background-image:
    radial-gradient(ellipse 100% 55% at 50% -22%, rgba(0, 212, 255, 0.1), transparent 55%),
    radial-gradient(ellipse 48% 38% at 100% 5%, rgba(255, 116, 107, 0.08), transparent 50%);
  color: #fafafa;
  min-height: 100vh;
}

.page-scripts .scripts-page-bg {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

.page-scripts .scripts-page-bg__glow--tl {
  position: absolute;
  width: min(95vw, 880px);
  height: min(95vw, 880px);
  left: -22%;
  top: -32%;
  border-radius: 50%;
  background: radial-gradient(circle at 42% 42%, rgba(0, 212, 255, 0.14), transparent 68%);
  filter: blur(58px);
}

.page-scripts .scripts-page-bg__glow--br {
  position: absolute;
  width: min(85vw, 720px);
  height: min(85vw, 720px);
  right: -26%;
  bottom: 0;
  border-radius: 50%;
  background: radial-gradient(circle at 50% 50%, rgba(255, 116, 107, 0.11), transparent 70%);
  filter: blur(62px);
}

.page-scripts .scripts-page-bg__mesh {
  position: absolute;
  inset: 0;
  opacity: 0.1;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 46px 46px;
  mask-image: radial-gradient(ellipse 88% 68% at 50% 10%, black, transparent 74%);
}

.page-scripts .scripts-nav-bar,
.page-scripts .scripts-page-main,
.page-scripts .scripts-page-footer {
  position: relative;
  z-index: 1;
}

.page-scripts .scripts-nav-bar .nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  min-height: 4rem;
  padding-top: 0.35rem;
  padding-bottom: 0.35rem;
  position: relative;
}

.page-scripts .scripts-theme-btn {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.06);
  color: rgba(255, 255, 255, 0.85);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: border-color 0.2s, background 0.2s, transform 0.2s;
}

.page-scripts .scripts-theme-btn:hover {
  border-color: rgba(0, 212, 255, 0.35);
  background: rgba(0, 212, 255, 0.1);
}

.page-scripts .scripts-theme-btn .icon {
  width: 18px;
  height: 18px;
}

.page-scripts .scripts-page-main {
  padding: 5.25rem 0 3rem;
}

.page-scripts .scripts-page-shell {
  max-width: 1140px;
}

.page-scripts .scripts-page-hero {
  margin-bottom: 2rem;
  padding: clamp(1.35rem, 3vw, 2rem);
  border-radius: 22px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: linear-gradient(155deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.02));
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.32);
  text-align: left;
}

.page-scripts .scripts-page-kicker {
  display: inline-block;
  font-family: "DM Mono", monospace;
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  color: rgba(0, 212, 255, 0.88);
  margin-bottom: 0.65rem;
  padding: 0.3rem 0.7rem;
  border-radius: 999px;
  border: 1px solid rgba(0, 212, 255, 0.22);
  background: rgba(0, 212, 255, 0.06);
}

.page-scripts .scripts-page-hero h1 {
  font-family: Outfit, "Noto Sans KR", sans-serif;
  font-size: clamp(1.55rem, 4vw, 2.35rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  margin: 0 0 0.85rem;
  line-height: 1.18;
}

.page-scripts .scripts-page-hero__line {
  width: min(100px, 24vw);
  margin: 0 0 1rem;
  height: 3px;
  border-radius: 3px;
  background: linear-gradient(90deg, rgba(0, 212, 255, 0.9) 0%, rgba(255, 116, 107, 0.75) 100%);
}

.page-scripts .scripts-page-lead {
  max-width: 44rem;
  margin: 0 0 1.1rem;
  font-size: 0.98rem;
  line-height: 1.78;
  color: rgba(255, 255, 255, 0.74);
}

.page-scripts .scripts-page-lead a {
  color: rgba(0, 212, 255, 0.95);
  text-decoration: none;
  border-bottom: 1px solid rgba(0, 212, 255, 0.35);
  transition: border-color 0.2s, color 0.2s;
}

.page-scripts .scripts-page-lead a:hover {
  color: #fff;
  border-bottom-color: rgba(255, 255, 255, 0.6);
}

.page-scripts .scripts-page-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.page-scripts .scripts-page-chip {
  display: inline-flex;
  align-items: center;
  padding: 0.38rem 0.8rem;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 600;
  text-decoration: none;
  color: rgba(255, 255, 255, 0.82);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: border-color 0.2s, background 0.2s, color 0.2s;
}

.page-scripts .scripts-page-chip:hover {
  color: #fff;
  border-color: rgba(0, 212, 255, 0.35);
  background: rgba(0, 212, 255, 0.1);
}

.page-scripts .scripts-page-chip--stat {
  border-color: rgba(255, 116, 107, 0.28);
  background: rgba(255, 116, 107, 0.08);
  color: rgba(255, 200, 195, 0.95);
}

.page-scripts .scripts-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem 1rem;
  margin-bottom: 1.35rem;
}

.page-scripts .scripts-search {
  flex: 1 1 16rem;
  max-width: 28rem;
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.65rem 1rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(12px);
  transition: border-color 0.2s, box-shadow 0.2s;
}

.page-scripts .scripts-search:focus-within {
  border-color: rgba(0, 212, 255, 0.4);
  box-shadow: 0 0 0 3px rgba(0, 212, 255, 0.12);
}

.page-scripts .scripts-search svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  color: rgba(255, 255, 255, 0.45);
}

.page-scripts .scripts-search input {
  flex: 1;
  min-width: 0;
  border: 0;
  background: transparent;
  color: #fff;
  font-family: "Noto Sans KR", Outfit, sans-serif;
  font-size: 0.92rem;
  outline: none;
}

.page-scripts .scripts-search input::placeholder {
  color: rgba(255, 255, 255, 0.38);
}

.page-scripts .scripts-toolbar__count {
  margin: 0;
  font-size: 0.82rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.45);
  font-family: "DM Mono", monospace;
  letter-spacing: 0.04em;
}

.page-scripts .script-list {
  display: grid;
  gap: 1rem;
}

@media (min-width: 768px) {
  .page-scripts .script-list {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.1rem;
  }
}

@media (min-width: 1100px) {
  .page-scripts .script-list {
    grid-template-columns: repeat(3, 1fr);
  }

  .page-scripts .script-card--featured {
    grid-column: 1 / -1;
  }
}

.page-scripts .script-card {
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
  grid-template-rows: auto auto 1fr auto auto;
  min-height: 100%;
  border-radius: 18px;
  padding: 1.2rem 1.2rem 1.1rem;
  border: 1px solid rgba(255, 255, 255, 0.09);
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.06) 0%, rgba(255, 255, 255, 0.02) 45%, rgba(0, 0, 0, 0.18) 100%);
  box-shadow: 0 10px 36px rgba(0, 0, 0, 0.22);
  overflow: hidden;
  transition: transform 0.28s cubic-bezier(0.4, 0, 0.2, 1), border-color 0.28s ease, box-shadow 0.28s ease;
}

.page-scripts .script-card.is-hidden {
  display: none;
}

.page-scripts .script-card::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  border-radius: 18px 0 0 18px;
  background: linear-gradient(180deg, rgba(0, 212, 255, 0.85) 0%, rgba(255, 116, 107, 0.75) 100%);
  opacity: 0.75;
}

.page-scripts .script-card--featured {
  padding: 1.45rem 1.45rem 1.25rem;
  border-color: rgba(0, 212, 255, 0.22);
  background:
    linear-gradient(135deg, rgba(0, 212, 255, 0.08) 0%, transparent 42%),
    linear-gradient(160deg, rgba(255, 255, 255, 0.08) 0%, rgba(255, 255, 255, 0.02) 50%, rgba(0, 0, 0, 0.2) 100%);
  box-shadow: 0 16px 52px rgba(0, 0, 0, 0.32), 0 0 60px rgba(0, 212, 255, 0.06);
}

.page-scripts .script-card--featured::after {
  content: '추천';
  position: absolute;
  top: 1rem;
  right: 1rem;
  padding: 0.25rem 0.65rem;
  border-radius: 999px;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: rgba(0, 212, 255, 0.95);
  border: 1px solid rgba(0, 212, 255, 0.3);
  background: rgba(0, 212, 255, 0.1);
}

.page-scripts .script-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 255, 255, 0.2);
  box-shadow: 0 18px 52px rgba(0, 0, 0, 0.32), 0 0 40px rgba(0, 212, 255, 0.05);
}

.page-scripts .script-card h3 {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 8px;
  padding-left: 4px;
  padding-right: 3.5rem;
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.35;
}

.page-scripts .script-card--featured h3 {
  font-size: 1.2rem;
}

.page-scripts .script-card h3::before {
  content: '';
  flex-shrink: 0;
  width: 34px;
  height: 34px;
  border-radius: 11px;
  background: linear-gradient(135deg, rgba(0, 212, 255, 0.18) 0%, rgba(255, 116, 107, 0.14) 100%);
  border: 1px solid rgba(255, 255, 255, 0.14);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2300d4ff' stroke-width='2'%3E%3Cpolyline points='16 18 22 12 16 6'/%3E%3Cpolyline points='8 6 2 12 8 18'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 16px 16px;
}

.page-scripts .script-card .tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin: 0 0 12px;
  padding-left: 4px;
}

.page-scripts .script-card .tags span {
  background: rgba(255, 255, 255, 0.07);
  color: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(255, 255, 255, 0.12);
  padding: 3px 10px;
  border-radius: 999px;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.page-scripts .script-card .tags span:first-child {
  border-color: rgba(0, 212, 255, 0.25);
  background: rgba(0, 212, 255, 0.08);
  color: rgba(180, 240, 255, 0.95);
}

.page-scripts .script-card p {
  font-size: 0.86rem;
  line-height: 1.68;
  color: rgba(255, 255, 255, 0.72);
  margin: 0 0 12px;
  padding-left: 4px;
}

.page-scripts .script-card p a {
  color: rgba(0, 212, 255, 0.92);
  text-decoration: none;
  border-bottom: 1px solid rgba(0, 212, 255, 0.3);
  transition: border-color 0.2s ease, color 0.2s ease;
}

.page-scripts .script-card p a:hover {
  color: #fff;
  border-bottom-color: rgba(255, 255, 255, 0.5);
}

.page-scripts .script-card code {
  display: block;
  margin: 0 0 10px;
  padding: 12px 14px;
  border-radius: 12px;
  font-size: 0.72rem;
  line-height: 1.55;
  font-family: "JetBrains Mono", "DM Mono", Consolas, monospace;
  color: rgba(200, 230, 255, 0.92);
  background: rgba(0, 0, 0, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
  overflow-x: auto;
  word-break: break-all;
}

.page-scripts .script-card--featured code {
  font-size: 0.78rem;
  padding: 14px 16px;
}

@media (min-width: 640px) {
  .page-scripts .script-card--featured {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto auto 1fr auto;
    column-gap: 1.25rem;
  }

  .page-scripts .script-card--featured h3,
  .page-scripts .script-card--featured .tags,
  .page-scripts .script-card--featured p {
    grid-column: 1;
  }

  .page-scripts .script-card--featured code {
    grid-column: 1 / -1;
    margin-bottom: 0;
  }

  .page-scripts .script-card--featured .btn-copy {
    grid-column: 1 / -1;
    justify-self: start;
  }
}

.page-scripts .script-card .btn-copy {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 9px 18px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  cursor: pointer;
  color: #fff;
  background: linear-gradient(135deg, rgba(0, 212, 255, 0.22) 0%, rgba(255, 116, 107, 0.18) 100%);
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.25);
  transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease, border-color 0.2s ease;
  align-self: start;
}

.page-scripts .script-card .btn-copy::before {
  content: '';
  width: 14px;
  height: 14px;
  background: currentColor;
  opacity: 0.85;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2'%3E%3Crect x='9' y='9' width='13' height='13' rx='2'/%3E%3Cpath d='M5 15H4a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h9a2 2 0 0 1 2 2v1'/%3E%3C/svg%3E") center/contain no-repeat;
}

.page-scripts .script-card .btn-copy:hover {
  filter: brightness(1.08);
  border-color: rgba(0, 212, 255, 0.4);
  box-shadow: 0 10px 28px rgba(0, 212, 255, 0.15);
  transform: translateY(-1px);
}

.page-scripts .script-card .btn-copy:active {
  transform: translateY(0);
}

.page-scripts .script-card .btn-copy.is-copied {
  background: linear-gradient(135deg, rgba(52, 211, 153, 0.35) 0%, rgba(16, 185, 129, 0.25) 100%);
  border-color: rgba(52, 211, 153, 0.45);
}

.page-scripts .scripts-page-footer {
  margin-top: 2.5rem;
  padding: 2rem 1.5rem 2.5rem;
  text-align: center;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  background: linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.35));
}

.page-scripts .scripts-page-footer__copy {
  margin: 0 0 0.65rem;
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.38);
}

.page-scripts .scripts-page-footer__links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.35rem 1.25rem;
  margin: 0;
}

.page-scripts .scripts-page-footer__links a {
  font-size: 0.85rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.55);
  text-decoration: none;
  transition: color 0.2s;
}

.page-scripts .scripts-page-footer__links a:hover {
  color: var(--primary);
}

.light.page-scripts {
  background-color: #f8f8fa;
  background-image:
    radial-gradient(ellipse 100% 55% at 50% -22%, rgba(0, 212, 255, 0.08), transparent 55%),
    radial-gradient(ellipse 48% 38% at 100% 5%, rgba(255, 116, 107, 0.06), transparent 50%);
  color: #0a0a0a;
}

.light.page-scripts .scripts-page-hero {
  background: linear-gradient(155deg, rgba(255, 255, 255, 0.95), rgba(245, 245, 247, 0.9));
  border-color: rgba(0, 0, 0, 0.08);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.06);
}

.light.page-scripts .scripts-page-lead {
  color: #525252;
}

.light.page-scripts .scripts-search {
  background: rgba(255, 255, 255, 0.9);
  border-color: rgba(0, 0, 0, 0.1);
}

.light.page-scripts .scripts-search input {
  color: #171717;
}

.light.page-scripts .scripts-search input::placeholder {
  color: #a3a3a3;
}

.light.page-scripts .script-card {
  background: linear-gradient(160deg, #ffffff 0%, #fafafa 100%);
  border-color: rgba(0, 0, 0, 0.08);
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.06);
}

.light.page-scripts .script-card p {
  color: #525252;
}

.light.page-scripts .script-card code {
  color: #171717;
  background: rgba(0, 0, 0, 0.04);
  border-color: rgba(0, 0, 0, 0.08);
}

.light.page-scripts .script-card .tags span {
  background: rgba(0, 0, 0, 0.04);
  color: #404040;
  border-color: rgba(0, 0, 0, 0.08);
}

.page-scripts .scripts-nav {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}

.page-scripts .scripts-nav a {
  padding: 8px 13px;
  font-size: 13px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.72);
  text-decoration: none;
  border-radius: 999px;
  border: 1px solid transparent;
  transition: color 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.page-scripts .scripts-nav a:hover {
  color: var(--primary);
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.16);
}

.page-scripts .scripts-nav a.is-active {
  color: var(--primary);
  background: linear-gradient(135deg, rgba(255, 116, 107, 0.14), rgba(0, 212, 255, 0.1));
  border-color: rgba(255, 255, 255, 0.22);
}

.light.page-scripts .scripts-nav a {
  color: rgba(0, 0, 0, 0.65);
}

.light.page-scripts .scripts-nav a.is-active {
  color: #0a0a0a;
  background: rgba(0, 0, 0, 0.05);
  border-color: rgba(0, 0, 0, 0.1);
}

/* ===== Updates / Changelog page ===== */
.page-updates {
  position: relative;
  background-color: var(--background);
  background-image:
    radial-gradient(ellipse 95% 55% at 50% -28%, rgba(255, 255, 255, 0.11), transparent),
    radial-gradient(ellipse 45% 38% at 100% 15%, rgba(255, 255, 255, 0.07), transparent);
  min-height: 100vh;
}

.page-updates .upd-page-bg {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

.page-updates .upd-page-bg__glow--tl {
  position: absolute;
  width: min(110vw, 960px);
  height: min(110vw, 960px);
  left: max(-28%, -220px);
  top: -38%;
  border-radius: 50%;
  background: radial-gradient(
    circle at 42% 40%,
    rgba(255, 255, 255, 0.14) 0%,
    rgba(255, 255, 255, 0.05) 45%,
    transparent 68%
  );
  filter: blur(52px);
}

.page-updates .upd-page-bg__glow--br {
  position: absolute;
  width: min(95vw, 820px);
  height: min(95vw, 820px);
  right: -32%;
  bottom: -8%;
  border-radius: 50%;
  background: radial-gradient(
    circle at 48% 48%,
    rgba(255, 255, 255, 0.12) 0%,
    rgba(255, 255, 255, 0.04) 50%,
    transparent 70%
  );
  filter: blur(56px);
}

.page-updates .upd-page-bg__mesh {
  position: absolute;
  inset: 0;
  opacity: 0.14;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: radial-gradient(ellipse 85% 65% at 50% 18%, black, transparent 72%);
}

.page-updates .nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 4rem;
}

.page-updates .scripts-nav {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.page-updates .scripts-nav a {
  padding: 8px 14px;
  font-size: 13px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.72);
  text-decoration: none;
  border-radius: 999px;
  border: 1px solid transparent;
  transition: color 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.page-updates .scripts-nav a:hover {
  color: var(--primary);
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.18);
}

.page-updates .scripts-nav a.is-active {
  color: var(--primary);
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.28);
}

.page-updates .upd-main {
  position: relative;
  z-index: 1;
  padding: 5.25rem 0 3.5rem;
}

.page-updates .upd-main__wrap {
  max-width: 44rem;
}

.page-updates .upd-header {
  text-align: center;
  margin-bottom: 2.5rem;
}

.page-updates .upd-header__kicker {
  margin: 0 0 0.65rem;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--muted-foreground);
}

.page-updates .upd-header__title {
  margin: 0 0 1rem;
  font-size: clamp(1.65rem, 4.2vw, 2.35rem);
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 1.15;
  color: var(--foreground);
}

.page-updates .upd-header__line {
  width: 72px;
  height: 3px;
  margin: 0 auto 1.1rem;
  border-radius: 3px;
  background: linear-gradient(90deg, var(--primary) 0%, var(--accent) 100%);
}

.page-updates .upd-header__lede {
  margin: 0 auto;
  max-width: 36rem;
  font-size: 1.02rem;
  line-height: 1.65;
  color: var(--muted-foreground);
}

.page-updates .upd-timeline {
  list-style: none;
  margin: 0;
  padding: 0 0 0 1.35rem;
  position: relative;
}

.page-updates .upd-timeline::before {
  content: "";
  position: absolute;
  left: 5px;
  top: 0.5rem;
  bottom: 0.75rem;
  width: 2px;
  border-radius: 2px;
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.55) 0%,
    rgba(255, 255, 255, 0.35) 55%,
    rgba(255, 255, 255, 0.08) 100%
  );
}

.page-updates .upd-release {
  position: relative;
  margin-bottom: 1.65rem;
  padding-left: 1.35rem;
}

.page-updates .upd-release:last-child {
  margin-bottom: 0;
}

.page-updates .upd-release::before {
  content: "";
  position: absolute;
  left: -1.06rem;
  top: 1.15rem;
  width: 13px;
  height: 13px;
  border-radius: 50%;
  background: var(--background);
  border: 2px solid var(--primary);
  box-shadow:
    0 0 0 3px color-mix(in srgb, var(--background) 92%, transparent),
    0 0 18px rgba(255, 255, 255, 0.35);
  z-index: 1;
}

.page-updates .upd-release__head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.5rem 1rem;
  margin-bottom: 0.65rem;
}

.page-updates .upd-release__ver {
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--primary);
}

.page-updates .upd-release__date {
  font-size: 0.8125rem;
  font-variant-numeric: tabular-nums;
  color: var(--muted-foreground);
}

.page-updates .upd-lines {
  list-style: none;
  margin: 0;
  padding: 0.95rem 1.05rem 1.05rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background: linear-gradient(165deg, color-mix(in srgb, var(--card) 88%, transparent) 0%, rgba(0, 0, 0, 0.2) 100%);
  box-shadow: 0 10px 36px rgba(0, 0, 0, 0.22);
}

.page-updates .upd-lines__item {
  display: flex;
  gap: 0.5rem;
  align-items: flex-start;
  font-size: 0.94rem;
  line-height: 1.58;
  color: color-mix(in srgb, var(--foreground) 93%, transparent);
}

.page-updates .upd-lines__item + .upd-lines__item {
  margin-top: 0.5rem;
}

.page-updates .upd-lines__mark {
  flex-shrink: 0;
  width: 1rem;
  text-align: center;
  font-weight: 700;
  font-size: 0.82rem;
  line-height: 1.55;
  opacity: 0.95;
}

.page-updates .upd-lines__item--add .upd-lines__mark {
  color: #737373;
}

.page-updates .upd-lines__item--note .upd-lines__mark {
  color: #a3a3a3;
}

.page-updates .upd-code {
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 0.84em;
  padding: 0.12em 0.38em;
  border-radius: 6px;
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #cbd5e1;
}

.page-updates .upd-footer {
  position: relative;
  z-index: 1;
  margin-top: 1rem;
  padding: 2rem 1.5rem 2.5rem;
  text-align: center;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.38);
  border-top: 1px solid var(--border);
  background: linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.18));
}

.page-updates .upd-footer a {
  color: rgba(255, 255, 255, 0.48);
  text-decoration: none;
  transition: color 0.2s ease;
}

.page-updates .upd-footer a:hover {
  color: var(--primary);
}

.page-updates .upd-footer__copy {
  margin: 0.65rem 0 0;
  font-size: 12px;
  opacity: 0.85;
}

.light.page-updates {
  background-image:
    radial-gradient(ellipse 95% 50% at 50% -25%, rgba(255, 255, 255, 0.08), transparent),
    radial-gradient(ellipse 50% 40% at 100% 12%, rgba(255, 255, 255, 0.05), transparent);
}

.light.page-updates .upd-lines {
  background: linear-gradient(165deg, #ffffff 0%, #f6f4f0 100%);
  border-color: rgba(0, 0, 0, 0.08);
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.06);
}

.light.page-updates .upd-lines__item {
  color: var(--foreground);
}

.light.page-updates .upd-code {
  color: #334155;
  background: rgba(0, 0, 0, 0.05);
  border-color: rgba(0, 0, 0, 0.1);
}

.light.page-updates .scripts-nav a {
  color: rgba(26, 24, 22, 0.72);
}

.light.page-updates .scripts-nav a:hover,
.light.page-updates .scripts-nav a.is-active {
  color: var(--primary);
}

.light.page-updates .upd-footer {
  color: var(--muted-foreground);
  background: linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.03));
}

.light.page-updates .upd-footer a {
  color: var(--muted-foreground);
}

@media (max-width: 480px) {
  .page-updates .upd-timeline {
    padding-left: 1.1rem;
  }

  .page-updates .upd-release {
    padding-left: 1.1rem;
  }
}

/* ===== Editorial: Features / Showcase / CTA (home) ===== */
.features--editorial {
  position: relative;
  padding: 5.5rem 0 5rem;
  overflow: hidden;
  background:
    linear-gradient(180deg, color-mix(in srgb, var(--card) 35%, transparent) 0%, transparent 45%),
    radial-gradient(ellipse 100% 80% at 50% 0%, rgba(255, 255, 255, 0.06), transparent 55%);
}

.features__mesh {
  pointer-events: none;
  position: absolute;
  inset: 0;
  opacity: 0.35;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, black, transparent);
}

.section-header--editorial {
  text-align: center;
  margin-bottom: 3rem;
}

.features--editorial .feature-card p {
  font-size: 0.97rem;
  line-height: 1.68;
}

.section-header__eyebrow {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted-foreground);
  margin-bottom: 0.75rem;
}

.section-header__title {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  margin: 0 0 1rem;
  line-height: 1.2;
}

.neon-accent-line--wide {
  width: 72px;
  height: 3px;
  border-radius: 3px;
  margin: 0 auto;
}

.features-grid--bento {
  counter-reset: feat;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 1rem;
}

@media (min-width: 640px) and (max-width: 1023px) {
  .features-grid--bento {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.15rem;
  }

  .features-grid--bento .feature-card--wide {
    grid-column: 1 / -1;
    padding: 1.75rem 1.5rem 1.5rem;
  }
}

@media (min-width: 1024px) {
  .features-grid--bento {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.25rem;
  }

  .features-grid--bento .feature-card--wide {
    grid-column: span 2;
    padding: 2rem 2rem 1.75rem;
  }
}

.feature-card--accent {
  position: relative;
  overflow: hidden;
  border-color: rgba(255, 255, 255, 0.22);
  background: linear-gradient(165deg, rgba(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0.02) 100%);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.25);
}

.feature-card--accent::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}

/* Showcase split */
.showcase--split {
  position: relative;
  padding: 5.5rem 0;
  overflow: hidden;
}

.showcase__fade {
  pointer-events: none;
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 50% at 20% 40%, rgba(255, 255, 255, 0.07), transparent 50%);
}

/* Showcase: 단일 열 (미리보기 이미지 없음) */
.showcase--flow {
  position: relative;
  padding: 5.25rem 0 5.75rem;
  overflow: hidden;
  background:
    linear-gradient(180deg, color-mix(in srgb, var(--card) 28%, transparent) 0%, transparent 55%),
    radial-gradient(ellipse 95% 55% at 50% 0%, rgba(255, 255, 255, 0.07), transparent 58%);
}

.section-header--showcase-flow {
  max-width: 40rem;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 2.35rem;
}

.section-header--showcase-flow .section-header__title {
  line-height: 1.28;
}

.showcase-desc--flow {
  margin: 0.35rem auto 0;
  max-width: 36rem;
  font-size: clamp(0.98rem, 2.2vw, 1.08rem);
  line-height: 1.75;
  color: var(--muted-foreground);
}

.tech-cards--flow {
  max-width: 920px;
  margin: 0 auto;
  gap: 1rem;
}

@media (min-width: 880px) {
  .tech-cards--flow {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.2rem;
  }
}

.tech-cards--flow .tech-card {
  padding: 1.28rem 1.25rem 1.35rem;
  border-radius: 14px;
  background: linear-gradient(165deg, rgba(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0.02) 100%);
  border: 1px solid rgba(255, 255, 255, 0.09);
  box-shadow: 0 10px 36px rgba(0, 0, 0, 0.2);
}

.tech-cards--flow .tech-card:hover {
  border-color: rgba(255, 255, 255, 0.22);
  box-shadow: 0 14px 44px rgba(0, 0, 0, 0.24);
}

.tech-cards--flow .tech-card-text h4 {
  font-size: 1.06rem;
  font-weight: 650;
  letter-spacing: -0.02em;
  margin-bottom: 0.35rem;
}

.tech-cards--flow .tech-card-text span {
  font-size: 0.93rem;
  line-height: 1.6;
}

.light .tech-cards--flow .tech-card {
  background: linear-gradient(165deg, #ffffff 0%, #f5f3ef 100%);
  border-color: rgba(0, 0, 0, 0.07);
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.06);
}

.light .tech-cards--flow .tech-card:hover {
  border-color: rgba(255, 255, 255, 0.28);
}

.showcase-grid--split {
  gap: 2.5rem 3rem;
}

@media (min-width: 768px) {
  .showcase-grid--split {
    grid-template-columns: 1.05fr 1fr;
    align-items: center;
  }

  .showcase-visual {
    order: 1;
  }

  .showcase-content {
    order: 2;
  }
}

.showcase-frame {
  position: relative;
}

.showcase-frame__label {
  display: inline-block;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted-foreground);
  margin-bottom: 0.75rem;
}

.showcase-img-wrap--elevated {
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow:
    0 24px 64px rgba(0, 0, 0, 0.35),
    0 0 0 1px rgba(255, 255, 255, 0.04) inset;
}

.showcase__eyebrow {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted-foreground);
  margin-bottom: 0.75rem;
}

.showcase-content .showcase__eyebrow + h2 {
  margin-top: 0;
}

.tech-cards--grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.75rem;
}

@media (min-width: 520px) {
  .tech-cards--grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.tech-cards--grid .tech-card {
  flex-direction: column;
  gap: 0.75rem;
  padding: 1.1rem 1rem;
  min-height: 100%;
}

.tech-cards--grid .tech-card-icon {
  width: 40px;
  height: 40px;
}

/* CTA elevated */
.cta--elevated {
  padding: 5rem 0 5.5rem;
}

.cta--elevated .cta-bg {
  opacity: 0.14;
  filter: saturate(0.85);
}

.cta__glow {
  pointer-events: none;
  position: absolute;
  inset: auto 0 0 0;
  height: 60%;
  background: radial-gradient(ellipse 70% 80% at 50% 100%, rgba(255, 255, 255, 0.12), transparent 65%);
}

.cta__inner {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: center;
}

.cta-panel {
  width: 100%;
  max-width: 640px;
  padding: 2.5rem 2rem;
  text-align: center;
  border-radius: 1.25rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: linear-gradient(165deg, rgba(255, 255, 255, 0.06) 0%, rgba(255, 255, 255, 0.02) 100%);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.35);
}

.light .cta-panel {
  background: linear-gradient(165deg, #ffffff 0%, #f3efe8 100%);
  border-color: rgba(0, 0, 0, 0.07);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.08);
}

.cta-panel__eyebrow {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted-foreground);
  margin: 0 0 1rem;
}

.cta-panel__title {
  font-size: clamp(1.5rem, 4vw, 2.25rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.25;
  margin: 0 0 1rem;
}

.cta-panel__sub {
  font-size: 1.05rem;
  line-height: 1.65;
  color: var(--muted-foreground);
  margin: 0 0 2rem;
}

.cta-panel__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
  align-items: center;
}

.btn-cta-primary,
.btn-cta-outline {
  padding: 0.9rem 2rem;
  font-size: 1rem;
  min-width: 11rem;
  border-radius: var(--radius-lg);
}

.btn-cta-outline {
  border-color: rgba(255, 255, 255, 0.45);
  color: var(--primary);
}

.btn-cta-outline:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--primary);
}

.light .btn-cta-outline {
  border-color: rgba(138, 106, 61, 0.35);
}

/* ===== Responsive: 모바일·태블릿 ===== */
.home-page {
  overflow-x: clip;
}

@media (max-width: 767px) {
  .nav-inner {
    flex-wrap: wrap;
    row-gap: 0.5rem;
    height: auto;
    min-height: 3.5rem;
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
  }

  .nav-actions {
    width: 100%;
    justify-content: flex-start;
    flex-wrap: wrap;
    gap: 4px 6px;
  }

  /* 홈: 모바일에서 로고 숨김 · 링크·테마만 가운데 */
  .home-page .nav-logo {
    display: none;
  }

  .home-page .nav-inner {
    justify-content: center;
    flex-wrap: wrap;
    row-gap: 0.35rem;
  }

  .home-page .nav-actions {
    justify-content: center;
    width: 100%;
  }

  .nav-link {
    padding: 6px 10px;
    font-size: 12px;
  }

  .nav-link--btn {
    font-size: 12px;
  }

  .logo {
    font-size: 1.2rem;
  }

  .theme-btn {
    padding: 0.4rem;
  }

  .hero,
  .hero--cyber {
    padding: clamp(5.25rem, 16vw, 6.5rem) 0 2.75rem;
  }

  .home-page .hero-content h1 {
    text-align: center;
    padding: 0 0.35rem;
  }

  .home-page .hero-content #hero-title {
    display: inline-block;
    max-width: 100%;
    text-align: center;
  }

  .hero-desc {
    font-size: clamp(0.9rem, 3.8vw, 1.1rem);
    margin-bottom: 2rem;
    padding: 0 0.25rem;
  }

  .section-header h2 {
    font-size: clamp(1.35rem, 5vw, 2rem);
  }

  .section-header--games .section-header__kicker {
    margin-bottom: 0.75rem;
  }

  .supported-games {
    padding: 3rem 0;
  }

  .supported-games .section-header {
    margin-bottom: 2rem;
  }

  .features--editorial {
    padding: 3.25rem 0 2.75rem;
  }

  .section-header--editorial {
    margin-bottom: 2rem;
  }

  .showcase--split {
    padding: 3.25rem 0;
  }

  .showcase--flow {
    padding: 3.25rem 0 3.5rem;
  }

  .showcase h2 {
    font-size: clamp(1.35rem, 5vw, 1.85rem);
  }

  .section-header--showcase-flow .section-header__title {
    font-size: clamp(1.35rem, 5vw, 1.95rem);
  }

  .showcase-desc {
    font-size: 1rem;
  }

  .showcase-desc--flow {
    font-size: 0.98rem;
  }

  .cta,
  .cta--elevated {
    padding: 3rem 0 3.5rem;
  }

  .cta:not(.cta--elevated) h2 {
    font-size: clamp(1.35rem, 5vw, 1.9rem);
  }

  .cta-desc {
    font-size: 1.05rem;
    padding: 0 0.25rem;
  }

  .cta-panel {
    padding: 1.65rem 1.15rem;
  }

  .btn-cta-primary,
  .btn-cta-outline {
    min-width: 0;
    width: 100%;
    max-width: 22rem;
  }

  .footer {
    padding: 2rem 0;
  }

  .footer-grid {
    gap: 1.5rem;
  }

  .game-card-wrap:hover {
    transform: translateY(-3px) scale(1.01);
  }
}

@media (max-width: 480px) {
  .container {
    padding-left: 1rem;
    padding-right: 1rem;
  }

  .hero--cyber .copy-box--hero .window-body {
    flex-direction: column;
    align-items: stretch;
    gap: 0.75rem;
    padding: 0.95rem 1rem 1rem;
  }

  .hero--cyber .copy-box--hero .copy-btn {
    width: 100%;
    justify-content: center;
    padding: 0.65rem 1rem;
  }

  .hero-buttons .btn {
    width: 100%;
    max-width: 20rem;
  }
}

/* page-scripts: mobile */
@media (max-width: 767px) {
  .page-scripts .nav-logo {
    display: none;
  }

  .page-scripts .scripts-nav-bar .nav-inner {
    justify-content: center;
    flex-wrap: wrap;
    row-gap: 0.35rem;
    min-height: 3.5rem;
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
  }

  .page-scripts .scripts-theme-btn {
    position: absolute;
    right: 1rem;
    top: 0.65rem;
  }

  .page-scripts .scripts-nav {
    width: 100%;
    justify-content: center;
    flex-wrap: wrap;
    gap: 6px;
  }

  .page-scripts .scripts-page-main {
    padding-top: 7rem;
  }

  .page-scripts .scripts-page-hero {
    text-align: center;
  }

  .page-scripts .scripts-page-hero__line {
    margin-left: auto;
    margin-right: auto;
  }

  .page-scripts .scripts-page-chips {
    justify-content: center;
  }

  .page-scripts .scripts-toolbar {
    flex-direction: column;
    align-items: stretch;
  }

  .page-scripts .scripts-search {
    max-width: none;
  }

  .page-scripts .scripts-toolbar__count {
    text-align: center;
  }

  .page-scripts .script-card code {
    font-size: 0.68rem;
    padding: 11px 12px;
  }

  .page-scripts .script-card .btn-copy {
    width: 100%;
  }

  .page-scripts .script-card--featured::after {
    top: 0.75rem;
    right: 0.75rem;
  }
}

/* ===== Home modern refresh ===== */
.home-page {
  background:
    radial-gradient(circle at 18% 0%, rgba(255, 79, 70, 0.1), transparent 30rem),
    radial-gradient(circle at 82% 10%, rgba(255, 255, 255, 0.08), transparent 28rem),
    #050505;
}

.home-page .nav {
  padding: 0.65rem 0;
}

.home-page .nav-inner {
  height: 4.25rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 999px;
  background: rgba(8, 8, 10, 0.68);
  box-shadow: 0 22px 70px rgba(0, 0, 0, 0.32);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  padding: 0 1rem 0 1.35rem;
  position: relative;
  gap: 0.8rem;
}

.home-page .nav.scrolled {
  background: transparent;
  border-bottom: 0;
}

.home-page .nav-logo {
  letter-spacing: -0.04em;
  font-size: 1.05rem;
  margin-right: auto;
}

.home-page .nav-menu-toggle {
  width: 42px;
  height: 42px;
  display: none;
  place-items: center;
  gap: 4px;
  flex: 0 0 auto;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 15px;
  background: rgba(255, 255, 255, 0.055);
  color: #fff;
  cursor: pointer;
}

.home-page .nav-menu-toggle span {
  width: 17px;
  height: 2px;
  display: block;
  border-radius: 999px;
  background: currentColor;
  transition: transform 0.22s ease, opacity 0.22s ease;
}

.home-page .nav-menu-toggle.is-open span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

.home-page .nav-menu-toggle.is-open span:nth-child(2) {
  opacity: 0;
}

.home-page .nav-menu-toggle.is-open span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

.home-page .nav-menu {
  position: absolute;
  left: 0;
  top: calc(100% + 0.65rem);
  width: min(320px, calc(100vw - 2.5rem));
  padding: 0.65rem;
  display: grid;
  gap: 0.35rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 24px;
  background: rgba(10, 10, 12, 0.94);
  box-shadow: 0 24px 90px rgba(0, 0, 0, 0.45);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

.home-page .nav-menu[hidden] {
  display: none !important;
}

.home-page .nav-menu .nav-link {
  width: 100%;
  margin: 0;
  padding: 0.9rem 1rem;
  border-radius: 16px;
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.78);
}

.home-page .nav-link {
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.9rem;
  font-weight: 600;
}

.home-page .nav-link:hover {
  color: #fff;
}

.home-page .theme-btn {
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.06);
}

.home-page .hero--cyber {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 8.75rem 0 6rem;
}

.home-page .hero-bg__base {
  background:
    linear-gradient(120deg, rgba(255, 255, 255, 0.035) 0 1px, transparent 1px 88px),
    radial-gradient(circle at 20% 18%, rgba(255, 79, 70, 0.18), transparent 22rem),
    radial-gradient(circle at 75% 20%, rgba(255, 255, 255, 0.12), transparent 26rem),
    linear-gradient(180deg, #050505 0%, #09090b 48%, #050505 100%);
}

.home-page .hero-bg__orb,
.home-page .hero-bg__arc,
.home-page .hero-bg__shards {
  display: none;
}

.home-page .hero-bg__mesh {
  opacity: 0.22;
  background-size: 84px 84px;
  mask-image: linear-gradient(to bottom, transparent 0%, #000 18%, #000 70%, transparent 100%);
}

.home-page .hero-gradient {
  background: linear-gradient(to bottom, rgba(5, 5, 5, 0.86) 0%, transparent 28%, rgba(5, 5, 5, 0.92) 100%);
}

.home-page .hero-content--modern {
  max-width: 1180px;
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(360px, 0.78fr);
  align-items: center;
  gap: clamp(2rem, 5vw, 5rem);
  text-align: left;
}

.home-page .hero-copy {
  min-width: 0;
}

.home-page .hero-eyebrow {
  width: fit-content;
  margin: 0 0 1.2rem;
  padding: 0.45rem 0.72rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.055);
  color: rgba(255, 255, 255, 0.72);
  font-family: var(--mono);
  font-size: 0.74rem;
  letter-spacing: 0.13em;
}

.home-page .hero-content h1 {
  max-width: 760px;
  min-height: 0;
  margin: 0;
  font-size: clamp(2.15rem, 4.8vw, 4.75rem);
  line-height: 1.04;
  letter-spacing: -0.07em;
  font-weight: 800;
}

.home-page .hero-content h1 .neon-accent {
  color: #fff !important;
  text-shadow: none;
}

.home-page .typing-cursor {
  display: none;
}

.home-page .hero-desc {
  max-width: 680px;
  margin: 1.6rem 0 0;
  color: rgba(255, 255, 255, 0.68);
  font-size: clamp(1rem, 1.8vw, 1.18rem);
  line-height: 1.8;
}

.home-page .hero-buttons {
  justify-content: flex-start;
  align-items: center;
  margin-top: 2.2rem;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 0.8rem;
}

.home-page .btn {
  min-height: 48px;
  border-radius: 999px;
  padding: 0.82rem 1.25rem;
  font-weight: 750;
}

.home-page .btn-primary {
  border: 1px solid rgba(255, 255, 255, 0.78);
  background: #f7f7f7;
  color: #060606;
  box-shadow: 0 18px 40px rgba(255, 255, 255, 0.11);
}

.home-page .btn-outline,
.home-page .btn-ghost {
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.045);
  color: rgba(255, 255, 255, 0.86);
}

.home-page .btn-ghost {
  background: transparent;
  color: rgba(255, 255, 255, 0.62);
}

.home-page .btn:hover {
  transform: translateY(-2px);
}

.home-page .hero-metrics {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin-top: 2rem;
}

.home-page .hero-metrics span {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.72rem 0.86rem;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.04);
  color: rgba(255, 255, 255, 0.58);
  font-size: 0.86rem;
}

.home-page .hero-metrics b {
  color: #fff;
  font-family: var(--mono);
  font-size: 0.88rem;
}

.home-page .script-card.window-style {
  position: relative;
  width: 100%;
  max-width: 460px;
  margin: 0;
  justify-self: end;
  overflow: hidden;
  border-radius: 28px;
  border: 1px solid rgba(255, 255, 255, 0.11);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.035)),
    #0a0a0c;
  box-shadow: 0 30px 110px rgba(0, 0, 0, 0.56);
  animation: heroFadeInUp 0.7s var(--ease-out) 0.28s both;
}

.home-page .script-card.window-style::before {
  content: "";
  position: absolute;
  inset: 1px;
  border-radius: 27px;
  pointer-events: none;
  background: radial-gradient(circle at 20% 0%, rgba(255, 255, 255, 0.16), transparent 18rem);
}

.home-page .script-card .window-titlebar {
  height: auto;
  padding: 1.05rem 1.15rem 0;
  border: 0;
  background: transparent;
}

.home-page .script-card .window-title {
  color: rgba(255, 255, 255, 0.5);
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
}

.home-page .script-card .window-body {
  position: relative;
  display: grid;
  gap: 1rem;
  padding: 1.1rem;
  border-radius: 0;
  background: transparent;
}

.home-page .script-card .window-body code {
  display: block;
  min-height: 144px;
  padding: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 20px;
  background: rgba(0, 0, 0, 0.42);
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.9rem;
  line-height: 1.7;
  white-space: normal;
  word-break: break-word;
}

.home-page .script-card .copy-btn {
  width: 100%;
  height: 48px;
  justify-content: center;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
}

.home-page .script-card .copy-btn:hover {
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 255, 255, 0.28);
}

.home-page .supported-games,
.home-page .features,
.home-page .showcase {
  padding: clamp(4.5rem, 8vw, 7rem) 0;
}

.home-page .section-header,
.home-page .supported-games .section-header {
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
}

.home-page .section-header h2,
.home-page .section-header__title {
  letter-spacing: -0.06em;
  font-size: clamp(2rem, 4vw, 3.6rem);
}

.home-page .neon-accent-line {
  height: 1px;
  width: 84px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.62), transparent);
  box-shadow: none;
}

.home-page .games-grid {
  gap: 1rem;
}

.home-page .game-card-wrap {
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.085);
  border-radius: 28px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.065), rgba(255, 255, 255, 0.025));
  box-shadow: 0 18px 70px rgba(0, 0, 0, 0.28);
  transform: none;
}

.home-page .game-card-wrap:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 255, 255, 0.18);
  box-shadow: 0 28px 90px rgba(0, 0, 0, 0.36);
}

.home-page .game-card {
  min-height: 230px;
  padding: 1.25rem;
  position: relative;
}

.home-page .game-card-icon {
  width: 100%;
  height: 100%;
  border-radius: 22px;
  margin-bottom: 0;
  background: rgba(255, 255, 255, 0.055);
  border: 0;
}

.home-page .game-card-icon-fallback {
  display: none !important;
}

.home-page .game-card h3 {
  letter-spacing: -0.035em;
  color: rgba(255, 255, 255, 0.92);
  margin-bottom: 0;
}

.home-page .game-card--inactive {
  cursor: default;
}

.home-page .game-card-icon-fallback--admin {
  display: flex !important;
  background: rgba(124, 58, 237, 0.2);
  color: #9d4edd;
}

.home-page .game-card-tags {
  display: none;
}

.home-page .game-card-copy-btn {
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  background: rgba(255, 255, 255, 0.035);
  color: rgba(255, 255, 255, 0.7);
  font-weight: 700;
}

.home-page .feature-card,
.home-page .tech-card,
.home-page .cta-panel {
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 28px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.062), rgba(255, 255, 255, 0.022));
  box-shadow: 0 22px 80px rgba(0, 0, 0, 0.26);
}

.home-page .feature-card:hover,
.home-page .tech-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 28px 100px rgba(0, 0, 0, 0.34);
}

.home-page .cta--elevated {
  position: relative;
  overflow: hidden;
  padding: clamp(4rem, 8vw, 7rem) 0;
}

.home-page .cta-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 50% 0%, rgba(255, 79, 70, 0.15), transparent 28rem),
    linear-gradient(180deg, transparent, rgba(255, 255, 255, 0.035), transparent);
}

.home-page .cta-panel {
  position: relative;
  padding: clamp(2rem, 5vw, 4rem);
  text-align: center;
}

.home-page .cta-panel__title {
  font-size: clamp(2rem, 5vw, 4rem);
  letter-spacing: -0.075em;
}

.home-page .footer--modern {
  border-top: 1px solid rgba(255, 255, 255, 0.075);
  background: rgba(5, 5, 5, 0.96);
}

.home-page .footer-brand {
  margin-bottom: 0.75rem;
  font-size: 1.25rem;
}

.home-page .footer-copy {
  max-width: 260px;
  color: rgba(255, 255, 255, 0.5);
  line-height: 1.75;
  font-size: 0.9rem;
}

.home-page .footer-socials {
  display: flex;
  gap: 0.75rem;
  margin-top: 1rem;
}

.home-page .footer-socials a {
  width: 38px;
  height: 38px;
  display: inline-grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 13px;
  background: rgba(255, 255, 255, 0.045);
  color: rgba(255, 255, 255, 0.56);
}

.home-page .footer-socials a:hover {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.2);
}

.home-page .footer-title {
  margin-bottom: 1rem;
  color: rgba(255, 255, 255, 0.38);
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.home-page .footer-bottom--modern {
  margin-top: 2rem;
  padding-top: 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.75rem;
  border-top: 1px solid rgba(255, 255, 255, 0.065);
}

.home-page .footer-bottom--modern p {
  color: rgba(255, 255, 255, 0.28);
  font-size: 0.82rem;
}

.light.home-page,
.light .home-page {
  background: #f7f7f5;
}

.light .home-page .nav-inner,
.light.home-page .nav-inner {
  background: rgba(255, 255, 255, 0.72);
  border-color: rgba(0, 0, 0, 0.08);
}

.light .home-page .nav-menu-toggle,
.light.home-page .nav-menu-toggle {
  color: #111;
  border-color: rgba(0, 0, 0, 0.1);
  background: rgba(0, 0, 0, 0.035);
}

.light .home-page .nav-menu,
.light.home-page .nav-menu {
  background: rgba(255, 255, 255, 0.94);
  border-color: rgba(0, 0, 0, 0.08);
}

.light .home-page .nav-menu .nav-link,
.light.home-page .nav-menu .nav-link {
  color: rgba(0, 0, 0, 0.68);
}

.light .home-page .hero-bg__base,
.light.home-page .hero-bg__base {
  background:
    linear-gradient(120deg, rgba(0, 0, 0, 0.035) 0 1px, transparent 1px 88px),
    radial-gradient(circle at 20% 18%, rgba(255, 79, 70, 0.08), transparent 22rem),
    linear-gradient(180deg, #ffffff 0%, #f7f7f5 52%, #ffffff 100%);
}

@media (max-width: 980px) {
  .home-page .hero-content--modern {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .home-page .hero-eyebrow,
  .home-page .hero-metrics {
    margin-left: auto;
    margin-right: auto;
  }

  .home-page .hero-buttons {
    justify-content: center;
  }

  .home-page .script-card.window-style {
    justify-self: center;
    max-width: 620px;
  }
}

@media (max-width: 640px) {
  .home-page .nav-inner {
    border-radius: 24px;
    height: auto;
    min-height: 4rem;
    flex-wrap: wrap;
    gap: 0.5rem;
    padding: 0.75rem;
  }

  .home-page .nav-actions {
    gap: 0.5rem;
    width: auto;
    justify-content: flex-end;
  }

  .home-page .hero--cyber {
    min-height: auto;
    padding-top: 8rem;
  }

  .home-page .hero-content h1 {
    font-size: clamp(1.95rem, 10vw, 3.25rem);
    letter-spacing: -0.06em;
  }

  .home-page .hero-buttons .btn {
    width: 100%;
    max-width: none;
  }

  .home-page .hero-metrics {
    display: grid;
    grid-template-columns: 1fr;
  }
}

/* ===== Kicia-inspired home polish ===== */
.home-page {
  --kh-ink: #3f3f46;
  --kh-soft: #7b7b83;
  --kh-line: rgba(255, 114, 104, 0.18);
  --kh-coral: #ff746b;
  background:
    radial-gradient(circle at 18% 12%, rgba(255, 116, 107, 0.14), transparent 26rem),
    radial-gradient(circle at 82% 0%, rgba(255, 180, 172, 0.18), transparent 28rem),
    linear-gradient(180deg, #fffaf8 0%, #fff 46%, #fff9f7 100%);
  color: var(--kh-ink);
}

.home-page::before,
.home-page::after {
  content: "";
  position: fixed;
  z-index: 0;
  width: min(36vw, 360px);
  height: min(36vw, 360px);
  pointer-events: none;
  opacity: 0.5;
  filter: blur(0.2px);
  background:
    radial-gradient(ellipse at 20% 28%, rgba(255, 116, 107, 0.28) 0 12%, transparent 13%),
    radial-gradient(ellipse at 38% 18%, rgba(255, 116, 107, 0.18) 0 14%, transparent 15%),
    radial-gradient(ellipse at 18% 54%, rgba(255, 116, 107, 0.16) 0 16%, transparent 17%),
    radial-gradient(ellipse at 54% 40%, rgba(255, 116, 107, 0.12) 0 20%, transparent 21%);
}

.home-page::before {
  left: -70px;
  top: 110px;
  transform: rotate(-18deg);
}

.home-page::after {
  right: -90px;
  top: 110px;
  transform: scaleX(-1) rotate(-18deg);
}

.home-page .nav {
  z-index: 70;
  padding: 0.9rem 0;
}

.home-page .nav-inner {
  max-width: 1180px;
  height: 4rem;
  margin: 0 auto;
  border-color: rgba(24, 24, 27, 0.08);
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 0 18px 60px rgba(24, 24, 27, 0.08);
}

.home-page .nav-logo {
  color: #141414 !important;
  font-weight: 800;
}

.home-page .nav-logo::before {
  content: "KH";
  display: inline-grid;
  place-items: center;
  width: 34px;
  height: 34px;
  margin-right: 0.55rem;
  border-radius: 12px;
  background: #111;
  color: #fff;
  font-size: 0.82rem;
  letter-spacing: -0.08em;
  transform: rotate(-6deg);
}

.home-page .nav-menu-toggle,
.home-page .theme-btn {
  color: #171717;
  border-color: rgba(24, 24, 27, 0.08);
  background: #fff;
  box-shadow: 0 10px 24px rgba(24, 24, 27, 0.08);
}

.home-page .nav-menu {
  border-color: rgba(24, 24, 27, 0.08);
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 24px 80px rgba(24, 24, 27, 0.12);
}

.home-page .nav-menu .nav-link {
  color: #55555d;
}

.home-page .nav-menu .nav-link:hover {
  color: #111;
  background: #fff1ef;
  border-color: rgba(255, 116, 107, 0.22);
}

.home-page .hero--cyber {
  min-height: 74vh;
  padding: 8.5rem 0 3.2rem;
}

.home-page .hero-bg__base {
  background:
    radial-gradient(ellipse 40% 18% at 50% 44%, rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0.34) 58%, transparent 70%),
    radial-gradient(circle at 18% 35%, rgba(255, 116, 107, 0.2), transparent 18rem),
    radial-gradient(circle at 82% 35%, rgba(255, 116, 107, 0.18), transparent 18rem),
    linear-gradient(180deg, #fffaf8 0%, #fff 58%, #fff 100%);
}

.home-page .hero-bg__mesh {
  opacity: 0.12;
  background-size: 96px 96px;
  background-image:
    linear-gradient(rgba(255, 116, 107, 0.22) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 116, 107, 0.22) 1px, transparent 1px);
}

.home-page .hero-gradient {
  background: linear-gradient(to bottom, rgba(255, 250, 248, 0.92) 0%, transparent 20%, #fff 100%);
}

.home-page .hero-content--modern {
  max-width: 980px;
  grid-template-columns: 1fr;
  gap: 2rem;
  text-align: center;
}

.home-page .hero-copy {
  display: grid;
  justify-items: center;
}

.home-page .hero-eyebrow {
  border-color: rgba(255, 116, 107, 0.28);
  background: rgba(255, 116, 107, 0.08);
  color: var(--kh-coral);
}

.home-page .hero-content h1 {
  max-width: 780px;
  color: #4a4a50;
  font-size: clamp(2.45rem, 5.4vw, 4.9rem);
  line-height: 1.06;
  letter-spacing: -0.075em;
}

.home-page .hero-content h1 .neon-accent {
  color: #3c3c42 !important;
}

.home-page .hero-desc {
  max-width: 610px;
  margin-top: 1.25rem;
  color: rgba(82, 82, 91, 0.66);
  font-size: clamp(0.95rem, 1.5vw, 1.06rem);
  line-height: 1.75;
}

.home-page .hero-buttons {
  justify-content: center;
}

.home-page .btn-primary {
  border-color: #171717;
  background: #171717;
  color: #fff;
  box-shadow: 0 18px 42px rgba(24, 24, 27, 0.16);
}

.home-page .btn-outline,
.home-page .btn-ghost {
  border-color: rgba(24, 24, 27, 0.1);
  background: #fff;
  color: #3f3f46;
}

.home-page .btn-ghost {
  background: rgba(255, 255, 255, 0.48);
  color: #71717a;
}

.home-page .hero-metrics {
  justify-content: center;
  margin-top: 1.25rem;
}

.home-page .hero-metrics span {
  border-color: rgba(24, 24, 27, 0.08);
  background: rgba(255, 255, 255, 0.72);
  color: #71717a;
}

.home-page .hero-metrics b {
  color: #27272a;
}

.home-page .script-card.window-style {
  max-width: 680px;
  justify-self: center;
  border-color: rgba(255, 116, 107, 0.18);
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 24px 80px rgba(255, 116, 107, 0.14), 0 16px 48px rgba(24, 24, 27, 0.08);
}

.home-page .script-card .window-title {
  color: #ef6d64;
}

.home-page .script-card .window-body code {
  min-height: 76px;
  border-color: rgba(24, 24, 27, 0.08);
  background: #111;
  color: #fff;
}

.home-page .script-card .copy-btn {
  background: #171717;
  color: #fff;
}

.home-page .supported-games {
  padding-top: 1.5rem;
}

.home-page .supported-games .container {
  overflow: hidden;
}

.home-page .games-marquee {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  padding: 0.5rem 0 1.1rem;
}

.home-page .games-grid-row {
  padding: 0;
}

.home-page .supported-games .section-header {
  display: none;
}

.home-page .games-grid {
  display: flex;
  gap: 1rem;
  width: max-content;
  overflow: visible;
  padding: 0.7rem 0.25rem 1.5rem;
  scroll-snap-type: none;
  -webkit-overflow-scrolling: touch;
  will-change: transform;
}

.home-page .games-grid.is-auto-scrolling {
  scroll-behavior: auto;
  scroll-snap-type: none;
}

.home-page .game-card-wrap.is-marquee-clone {
  pointer-events: auto;
}

.home-page .games-grid::-webkit-scrollbar {
  height: 10px;
}

.home-page .games-grid::-webkit-scrollbar-thumb {
  border-radius: 999px;
  background: rgba(255, 116, 107, 0.28);
}

.home-page .game-card-wrap {
  min-width: min(68vw, 280px);
  max-width: 320px;
  flex: 0 0 min(68vw, 280px);
  scroll-snap-align: start;
  border-color: rgba(255, 116, 107, 0.18);
  border-radius: 0;
  clip-path: polygon(7% 0, 100% 0, 93% 100%, 0% 100%);
  background: #111;
  box-shadow: 0 18px 44px rgba(24, 24, 27, 0.12);
}

.home-page .game-card {
  min-height: 210px;
  padding: 1rem 1.15rem;
  justify-content: flex-end;
  background: linear-gradient(180deg, transparent 42%, rgba(0, 0, 0, 0.82) 100%);
}

.home-page .game-card-icon {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  border: 0;
  border-radius: 0;
  background: #111;
  z-index: 0;
}

.home-page .game-card-icon img,
.home-page .game-card-icon-fallback {
  width: 100%;
  height: 100%;
  border-radius: 0;
  object-fit: cover;
  opacity: 1;
}

.home-page .game-card-icon-fallback {
  display: none !important;
}

.home-page .game-card-icon-fallback--admin {
  display: flex !important;
}

.home-page .game-card h3 {
  position: relative;
  z-index: 1;
  color: #fff;
  text-shadow: 0 2px 16px rgba(0, 0, 0, 0.45);
  margin-bottom: 0;
  font-size: 1.05rem;
}

.home-page .game-card-tags {
  display: none;
}

.home-page .game-card-tags span {
  border-color: rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.16);
  color: rgba(255, 255, 255, 0.82);
}

.home-page .game-card-copy-btn {
  color: #fff;
  border: 0;
  background: rgba(0, 0, 0, 0.92);
}

.home-page .cta--elevated {
  padding-top: 4rem;
}

.home-page .cta-bg {
  background:
    radial-gradient(circle at 50% 0%, rgba(255, 116, 107, 0.22), transparent 26rem),
    linear-gradient(180deg, transparent, rgba(255, 116, 107, 0.07), transparent);
}

.home-page .cta-panel {
  border-color: rgba(255, 116, 107, 0.2);
  background:
    radial-gradient(circle at 0 0, rgba(255, 116, 107, 0.18), transparent 18rem),
    rgba(255, 255, 255, 0.8);
  color: var(--kh-ink);
}

.home-page .cta-panel__eyebrow {
  color: var(--kh-coral);
}

.home-page .cta-panel__title {
  color: #3f3f46;
}

.home-page .cta-panel__sub {
  color: #71717a;
}

.home-page .footer--modern {
  border-top-color: rgba(255, 116, 107, 0.16);
  background: #fffaf8;
}

.home-page .footer-brand,
.home-page .footer-title {
  color: #3f3f46 !important;
}

.home-page .footer-copy,
.home-page .footer a,
.home-page .footer-bottom--modern p {
  color: #71717a;
}

.home-page .footer-socials a {
  border-color: rgba(24, 24, 27, 0.1);
  background: #fff;
  color: #52525b;
}

@media (max-width: 640px) {
  .home-page .hero--cyber {
    padding-top: 7.4rem;
  }

  .home-page .hero-content h1 {
    font-size: clamp(2rem, 11vw, 3.15rem);
  }

  .home-page::before,
  .home-page::after {
    width: 220px;
    height: 220px;
    opacity: 0.34;
  }

  .home-page .footer--modern {
    display: none;
  }
}

/* ===== Home mobile nav: hamburger list ===== */
.home-page .nav-menu-toggle,
.nav-inner .nav-menu-toggle {
  display: none;
}

.home-page .nav-inner,
.nav-inner:has(.scripts-nav) {
  position: relative;
}

.nav-inner .nav-menu {
  position: absolute;
  right: 0;
  left: auto;
  top: calc(100% + 0.65rem);
  width: min(320px, calc(100vw - 2rem));
  padding: 0.65rem;
  display: grid;
  gap: 0.25rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  background: rgba(10, 10, 12, 0.96);
  box-shadow: 0 24px 90px rgba(0, 0, 0, 0.45);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  z-index: 80;
}

.nav-inner .nav-menu[hidden] {
  display: none !important;
}

.nav-inner .nav-menu .nav-link {
  display: block;
  width: 100%;
  margin: 0;
  padding: 0.85rem 1rem;
  border-radius: 14px;
  font-size: 0.95rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.78);
  text-decoration: none;
  border: 1px solid transparent;
}

.nav-inner .nav-menu .nav-link:hover,
.nav-inner .nav-menu .nav-link.is-active {
  color: #fff;
  background: rgba(255, 111, 102, 0.12);
  border-color: rgba(255, 111, 102, 0.2);
}

.nav-inner .nav-menu-toggle {
  width: 42px;
  height: 42px;
  display: none;
  place-items: center;
  gap: 4px;
  flex: 0 0 auto;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.055);
  color: #fff;
  cursor: pointer;
  padding: 0;
}

.nav-inner .nav-menu-toggle span {
  width: 17px;
  height: 2px;
  display: block;
  border-radius: 999px;
  background: currentColor;
  transition: transform 0.22s ease, opacity 0.22s ease;
}

.nav-inner .nav-menu-toggle.is-open span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

.nav-inner .nav-menu-toggle.is-open span:nth-child(2) {
  opacity: 0;
}

.nav-inner .nav-menu-toggle.is-open span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

.home-page .nav-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.35rem;
  width: auto;
}

.home-page .nav-actions .nav-link {
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  margin: 0;
  padding: 0.52rem 0.78rem;
  border: 1px solid transparent;
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.68);
  font-weight: 700;
  text-decoration: none;
}

.home-page .nav-actions .nav-link::before {
  display: none !important;
}

.home-page .nav-actions .nav-link span {
  position: static;
  width: auto;
  height: auto;
  overflow: visible;
  clip: auto;
  white-space: normal;
}

.home-page .nav-actions .nav-link:hover {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.06);
}

@media (max-width: 760px) {
  .home-page .nav-inner,
  .nav-inner:has(.scripts-nav) {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
    flex-wrap: nowrap;
  }

  .home-page .nav-logo,
  .nav-inner:has(.scripts-nav) .nav-logo {
    flex: 1;
    min-width: 0;
    margin-right: 0;
  }

  .home-page .nav-menu-toggle,
  .nav-inner:has(.scripts-nav) .nav-menu-toggle {
    display: inline-grid;
  }

  .home-page .nav-actions > a.nav-link {
    display: none !important;
  }

  .nav-inner:has(.scripts-nav) > .scripts-nav {
    display: none !important;
  }

  .home-page .nav-actions {
    flex: 0 0 auto;
    width: auto;
  }
}

.light .nav-inner .nav-menu-toggle {
  color: #171717;
  border-color: rgba(24, 24, 27, 0.08);
  background: #fff;
  box-shadow: 0 10px 24px rgba(24, 24, 27, 0.08);
}

.light .nav-inner .nav-menu {
  border-color: rgba(24, 24, 27, 0.08);
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 24px 80px rgba(24, 24, 27, 0.12);
}

.light .nav-inner .nav-menu .nav-link {
  color: #55555d;
}

.light .nav-inner .nav-menu .nav-link:hover,
.light .nav-inner .nav-menu .nav-link.is-active {
  color: #111;
  background: rgba(0, 102, 204, 0.08);
  border-color: rgba(0, 102, 204, 0.18);
}

@media (max-width: 430px) {
  .home-page .nav-logo {
    font-size: 0.95rem;
  }

  .home-page .nav-logo::before {
    margin-right: 0;
  }
}

/* ===== Home dark final theme ===== */
.home-page,
.light .home-page {
  --kh-ink: #f4f4f5;
  --kh-soft: #a1a1aa;
  --kh-line: rgba(255, 255, 255, 0.1);
  --kh-coral: #ff6f66;
  background:
    radial-gradient(circle at 18% 6%, rgba(255, 111, 102, 0.16), transparent 28rem),
    radial-gradient(circle at 82% 0%, rgba(255, 255, 255, 0.08), transparent 30rem),
    linear-gradient(180deg, #060606 0%, #0b0b0d 48%, #050505 100%) !important;
  color: #f4f4f5;
}

.home-page::before,
.home-page::after {
  opacity: 0.18;
  mix-blend-mode: screen;
}

.home-page .nav-inner,
.light .home-page .nav-inner {
  border-color: rgba(255, 255, 255, 0.1);
  background: rgba(12, 12, 14, 0.78);
  box-shadow: 0 20px 70px rgba(0, 0, 0, 0.35);
}

.home-page .nav-logo,
.light .home-page .nav-logo {
  color: #fff !important;
}

.home-page .nav-logo::before,
.light .home-page .nav-logo::before {
  background: #fff;
  color: #111;
}

.home-page .nav-menu-toggle,
.home-page .theme-btn,
.light .home-page .nav-menu-toggle,
.light .home-page .theme-btn {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.07);
  box-shadow: none;
}

.home-page .nav-menu,
.light .home-page .nav-menu {
  border-color: rgba(255, 255, 255, 0.1);
  background: rgba(12, 12, 14, 0.96);
  box-shadow: 0 24px 90px rgba(0, 0, 0, 0.5);
}

.home-page .nav-menu .nav-link,
.light .home-page .nav-menu .nav-link {
  color: rgba(255, 255, 255, 0.74);
}

.home-page .nav-menu .nav-link:hover,
.light .home-page .nav-menu .nav-link:hover {
  color: #fff;
  background: rgba(255, 111, 102, 0.12);
  border-color: rgba(255, 111, 102, 0.26);
}

.home-page .hero-bg__base,
.light .home-page .hero-bg__base {
  background:
    radial-gradient(ellipse 48% 22% at 50% 42%, rgba(255, 255, 255, 0.08), transparent 70%),
    radial-gradient(circle at 18% 35%, rgba(255, 111, 102, 0.2), transparent 20rem),
    radial-gradient(circle at 82% 35%, rgba(255, 255, 255, 0.08), transparent 18rem),
    linear-gradient(180deg, #060606 0%, #0b0b0d 60%, #050505 100%);
}

.home-page .hero-bg__mesh,
.light .home-page .hero-bg__mesh {
  opacity: 0.16;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.08) 1px, transparent 1px);
}

.home-page .hero-gradient,
.light .home-page .hero-gradient {
  background: linear-gradient(to bottom, rgba(6, 6, 6, 0.92) 0%, transparent 24%, #050505 100%);
}

.home-page .hero-eyebrow,
.light .home-page .hero-eyebrow {
  border-color: rgba(255, 111, 102, 0.3);
  background: rgba(255, 111, 102, 0.1);
  color: #ff8a82;
}

.home-page .hero-content h1,
.light .home-page .hero-content h1,
.home-page .hero-content h1 .neon-accent,
.light .home-page .hero-content h1 .neon-accent {
  color: #fff !important;
}

.home-page .hero-desc,
.light .home-page .hero-desc {
  color: rgba(255, 255, 255, 0.62);
}

.home-page .btn-primary,
.light .home-page .btn-primary {
  border-color: #fff;
  background: #fff;
  color: #09090b;
  box-shadow: 0 18px 42px rgba(255, 255, 255, 0.08);
}

.home-page .btn-outline,
.home-page .btn-ghost,
.light .home-page .btn-outline,
.light .home-page .btn-ghost {
  border-color: rgba(255, 255, 255, 0.13);
  background: rgba(255, 255, 255, 0.055);
  color: rgba(255, 255, 255, 0.82);
}

.home-page .hero-metrics span,
.light .home-page .hero-metrics span {
  border-color: rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.055);
  color: rgba(255, 255, 255, 0.56);
}

.home-page .hero-metrics b,
.light .home-page .hero-metrics b {
  color: #fff;
}

.home-page .script-card.window-style,
.light .home-page .script-card.window-style {
  border-color: rgba(255, 255, 255, 0.11);
  background: rgba(13, 13, 15, 0.88);
  box-shadow: 0 24px 88px rgba(0, 0, 0, 0.52);
}

.home-page .script-card .window-body code,
.light .home-page .script-card .window-body code {
  border-color: rgba(255, 255, 255, 0.09);
  background: #050505;
  color: rgba(255, 255, 255, 0.86);
}

.home-page .script-card .copy-btn,
.light .home-page .script-card .copy-btn {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
}

.home-page .cta-panel,
.light .home-page .cta-panel {
  border-color: rgba(255, 255, 255, 0.1);
  background:
    radial-gradient(circle at 0 0, rgba(255, 111, 102, 0.14), transparent 18rem),
    rgba(14, 14, 16, 0.86);
  color: #fff;
}

.home-page .cta-panel__title,
.light .home-page .cta-panel__title {
  color: #fff;
}

.home-page .cta-panel__sub,
.light .home-page .cta-panel__sub {
  color: rgba(255, 255, 255, 0.62);
}

.home-page .footer--modern,
.light .home-page .footer--modern {
  border-top-color: rgba(255, 255, 255, 0.08);
  background: #050505;
}

.home-page .footer-brand,
.home-page .footer-title,
.light .home-page .footer-brand,
.light .home-page .footer-title {
  color: #fff !important;
}

.home-page .footer-copy,
.home-page .footer a,
.home-page .footer-bottom--modern p,
.light .home-page .footer-copy,
.light .home-page .footer a,
.light .home-page .footer-bottom--modern p {
  color: rgba(255, 255, 255, 0.52);
}

.home-page .footer-socials a,
.light .home-page .footer-socials a {
  border-color: rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.06);
  color: rgba(255, 255, 255, 0.7);
}

/* ===== Home light theme ===== */
.light .home-page {
  --kh-ink: #27272a;
  --kh-soft: #71717a;
  --kh-line: rgba(24, 24, 27, 0.1);
  --kh-coral: #f0645c;
  background:
    radial-gradient(circle at 18% 6%, rgba(240, 100, 92, 0.14), transparent 28rem),
    radial-gradient(circle at 82% 0%, rgba(24, 24, 27, 0.06), transparent 30rem),
    linear-gradient(180deg, #fffaf8 0%, #ffffff 48%, #fff8f6 100%) !important;
  color: #27272a;
}

.light .home-page::before,
.light .home-page::after {
  opacity: 0.44;
  mix-blend-mode: multiply;
}

.light .home-page .nav-inner {
  border-color: rgba(24, 24, 27, 0.08);
  background: rgba(255, 255, 255, 0.84);
  box-shadow: 0 20px 70px rgba(24, 24, 27, 0.08);
}

.light .home-page .nav-logo {
  color: #171717 !important;
}

.light .home-page .nav-logo::before {
  background: #171717;
  color: #fff;
}

.light .home-page .theme-btn,
.light .home-page .nav-actions .nav-link::before {
  color: #171717;
  border-color: rgba(24, 24, 27, 0.08);
  background: rgba(24, 24, 27, 0.045);
}

.light .home-page .nav-actions .nav-link {
  color: rgba(24, 24, 27, 0.68);
}

.light .home-page .nav-actions .nav-link:hover {
  color: #111;
  border-color: rgba(240, 100, 92, 0.18);
  background: rgba(240, 100, 92, 0.08);
}

.light .home-page .hero-bg__base {
  background:
    radial-gradient(ellipse 48% 22% at 50% 42%, rgba(255, 255, 255, 0.96), transparent 70%),
    radial-gradient(circle at 18% 35%, rgba(240, 100, 92, 0.18), transparent 20rem),
    radial-gradient(circle at 82% 35%, rgba(24, 24, 27, 0.06), transparent 18rem),
    linear-gradient(180deg, #fffaf8 0%, #ffffff 60%, #fff8f6 100%);
}

.light .home-page .hero-bg__mesh {
  opacity: 0.18;
  background-image:
    linear-gradient(rgba(240, 100, 92, 0.14) 1px, transparent 1px),
    linear-gradient(90deg, rgba(240, 100, 92, 0.14) 1px, transparent 1px);
}

.light .home-page .hero-gradient {
  background: linear-gradient(to bottom, rgba(255, 250, 248, 0.9) 0%, transparent 24%, #ffffff 100%);
}

.light .home-page .hero-eyebrow {
  border-color: rgba(240, 100, 92, 0.24);
  background: rgba(240, 100, 92, 0.08);
  color: #d84d45;
}

.light .home-page .hero-content h1,
.light .home-page .hero-content h1 .neon-accent {
  color: #3f3f46 !important;
}

.light .home-page .hero-desc {
  color: rgba(63, 63, 70, 0.66);
}

.light .home-page .btn-primary {
  border-color: #171717;
  background: #171717;
  color: #fff;
  box-shadow: 0 18px 42px rgba(24, 24, 27, 0.14);
}

.light .home-page .btn-outline,
.light .home-page .btn-ghost {
  border-color: rgba(24, 24, 27, 0.1);
  background: rgba(255, 255, 255, 0.82);
  color: #3f3f46;
}

.light .home-page .hero-metrics span {
  border-color: rgba(24, 24, 27, 0.08);
  background: rgba(255, 255, 255, 0.74);
  color: #71717a;
}

.light .home-page .hero-metrics b {
  color: #27272a;
}

.light .home-page .script-card.window-style {
  border-color: rgba(240, 100, 92, 0.18);
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 24px 80px rgba(240, 100, 92, 0.12), 0 16px 48px rgba(24, 24, 27, 0.08);
}

.light .home-page .script-card .window-body code {
  border-color: rgba(24, 24, 27, 0.08);
  background: #171717;
  color: #fff;
}

.light .home-page .script-card .copy-btn {
  background: #171717;
  color: #fff;
}

.light .home-page .cta-panel {
  border-color: rgba(240, 100, 92, 0.18);
  background:
    radial-gradient(circle at 0 0, rgba(240, 100, 92, 0.14), transparent 18rem),
    rgba(255, 255, 255, 0.82);
  color: #27272a;
}

.light .home-page .cta-panel__title {
  color: #27272a;
}

.light .home-page .cta-panel__sub {
  color: #71717a;
}

.light .home-page .footer--modern {
  border-top-color: rgba(240, 100, 92, 0.14);
  background: #fffaf8;
}

.light .home-page .footer-brand,
.light .home-page .footer-title {
  color: #27272a !important;
}

.light .home-page .footer-copy,
.light .home-page .footer a,
.light .home-page .footer-bottom--modern p {
  color: #71717a;
}

.light .home-page .footer-socials a {
  border-color: rgba(24, 24, 27, 0.1);
  background: rgba(255, 255, 255, 0.9);
  color: #52525b;
}

/* ===== Premium updates page refresh ===== */
.page-updates {
  background:
    radial-gradient(circle at 15% 0%, rgba(255, 111, 102, 0.14), transparent 28rem),
    radial-gradient(circle at 85% 8%, rgba(255, 255, 255, 0.08), transparent 30rem),
    linear-gradient(180deg, #060606 0%, #0b0b0d 48%, #050505 100%);
  color: #f4f4f5;
}

.page-updates .upd-page-bg__glow,
.page-updates .upd-page-bg__mesh {
  opacity: 0.28;
}

.page-updates .nav {
  padding: 0.9rem 0;
}

.page-updates .nav-inner {
  height: 4rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 999px;
  background: rgba(12, 12, 14, 0.78);
  box-shadow: 0 20px 70px rgba(0, 0, 0, 0.35);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  padding: 0 1rem 0 1.25rem;
}

.page-updates .nav-logo {
  color: #fff !important;
  font-size: 1.05rem;
}

.page-updates .scripts-nav {
  gap: 0.35rem;
}

.page-updates .scripts-nav a {
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.62);
  font-weight: 700;
}

.page-updates .scripts-nav a:hover,
.page-updates .scripts-nav a.is-active {
  color: #fff;
  background: rgba(255, 111, 102, 0.12);
  border-color: rgba(255, 111, 102, 0.22);
}

.page-updates .upd-main {
  padding: 8.5rem 0 5rem;
}

.page-updates .upd-main__wrap {
  max-width: 980px;
}

.page-updates .upd-header {
  margin-bottom: 3rem;
}

.page-updates .upd-header__kicker {
  width: fit-content;
  margin: 0 auto 1rem;
  padding: 0.45rem 0.72rem;
  border: 1px solid rgba(255, 111, 102, 0.3);
  border-radius: 999px;
  background: rgba(255, 111, 102, 0.1);
  color: #ff8a82;
}

.page-updates .upd-header__title {
  color: #fff;
  font-size: clamp(2.2rem, 5vw, 4.8rem);
  line-height: 1.02;
  letter-spacing: -0.075em;
}

.page-updates .upd-header__lede {
  color: rgba(255, 255, 255, 0.62);
  font-size: 1.02rem;
}

.page-updates .upd-timeline {
  display: grid;
  gap: 1rem;
  padding-left: 0;
}

.page-updates .upd-timeline::before,
.page-updates .upd-release::before {
  display: none;
}

.page-updates .upd-release {
  padding: 1.15rem;
  margin: 0;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 28px;
  background:
    radial-gradient(circle at 0 0, rgba(255, 111, 102, 0.08), transparent 18rem),
    rgba(13, 13, 15, 0.86);
  box-shadow: 0 20px 80px rgba(0, 0, 0, 0.28);
}

.page-updates .upd-release__head {
  margin-bottom: 0.85rem;
  padding-bottom: 0.85rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.page-updates .upd-release__ver {
  color: #fff;
  font-size: 1.05rem;
}

.page-updates .upd-release__date {
  color: rgba(255, 255, 255, 0.42);
}

.page-updates .upd-lines {
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
}

.page-updates .upd-lines__item {
  align-items: flex-start;
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.65;
}

.page-updates .upd-lines__mark {
  width: 1.35rem;
  height: 1.35rem;
  display: inline-grid;
  place-items: center;
  border-radius: 999px;
  background: rgba(255, 111, 102, 0.12);
  color: #ff8a82 !important;
  font-weight: 900;
}

.page-updates .upd-code {
  border-color: rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
}

.page-updates .upd-footer {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  background: #050505;
}

.page-updates .upd-footer,
.page-updates .upd-footer a {
  color: rgba(255, 255, 255, 0.52);
}

@media (min-width: 820px) {
  .page-updates .upd-timeline {
    grid-template-columns: 1fr;
    max-width: 720px;
    margin: 0 auto;
  }

  .page-updates .upd-release:first-child {
    grid-column: auto;
  }
}

@media (max-width: 640px) {
  .page-updates .upd-main {
    padding-top: 7.5rem;
  }

  .page-updates .upd-header__title {
    font-size: clamp(2rem, 11vw, 3.2rem);
  }
}

/* ===== Hero copy card ===== */
.home-page .script-console,
.home-page .script-card .run-btn {
  display: none !important;
}

.home-page .script-card .window-body code {
  min-height: 58px;
  white-space: nowrap;
  overflow-x: auto;
  font-size: clamp(0.72rem, 1.15vw, 0.84rem);
}

.home-page .script-card .window-body code span {
  display: inline-block;
  width: 1.8rem;
  color: rgba(255, 255, 255, 0.34);
  user-select: none;
}

.home-page .script-actions {
  display: flex;
  gap: 0.7rem;
}

.home-page .script-card .copy-btn {
  height: 44px;
  width: 100%;
  min-width: 120px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  border: 0;
  border-radius: 12px;
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}

.light .home-page .script-card .window-body code span {
  color: rgba(255, 255, 255, 0.34);
}

.page-game-seo {
  position: relative;
  background-color: #050508;
  background-image:
    radial-gradient(ellipse 100% 55% at 50% -22%, rgba(0, 212, 255, 0.12), transparent 55%),
    radial-gradient(ellipse 48% 38% at 100% 5%, rgba(255, 116, 107, 0.09), transparent 50%);
  color: #fafafa;
  min-height: 100vh;
}

.page-game-seo .game-seo-page-bg {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

.page-game-seo .game-seo-page-bg__glow--tl {
  position: absolute;
  width: min(95vw, 880px);
  height: min(95vw, 880px);
  left: -22%;
  top: -32%;
  border-radius: 50%;
  background: radial-gradient(circle at 42% 42%, rgba(0, 212, 255, 0.16), transparent 68%);
  filter: blur(58px);
}

.page-game-seo .game-seo-page-bg__glow--br {
  position: absolute;
  width: min(85vw, 720px);
  height: min(85vw, 720px);
  right: -26%;
  bottom: 0;
  border-radius: 50%;
  background: radial-gradient(circle at 50% 50%, rgba(255, 116, 107, 0.13), transparent 70%);
  filter: blur(62px);
}

.page-game-seo .game-seo-page-bg__mesh {
  position: absolute;
  inset: 0;
  opacity: 0.11;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 46px 46px;
  mask-image: radial-gradient(ellipse 88% 68% at 50% 10%, black, transparent 74%);
}

.page-game-seo .game-seo-nav,
.page-game-seo .game-seo-main,
.page-game-seo .game-seo-footer {
  position: relative;
  z-index: 1;
}

.page-game-seo .game-seo-nav .nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 4rem;
}

.page-game-seo .game-seo-nav .scripts-nav {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.page-game-seo .game-seo-nav .scripts-nav a {
  padding: 8px 14px;
  font-size: 13px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.72);
  text-decoration: none;
  border-radius: 999px;
  border: 1px solid transparent;
  transition: color 0.2s, background 0.2s, border-color 0.2s;
}

.page-game-seo .game-seo-nav .scripts-nav a:hover {
  color: var(--primary);
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.16);
}

.page-game-seo .game-seo-nav .scripts-nav a.is-active {
  color: var(--primary);
  background: linear-gradient(135deg, rgba(255, 116, 107, 0.14), rgba(0, 212, 255, 0.1));
  border-color: rgba(255, 255, 255, 0.22);
}

.page-game-seo .game-seo-main {
  padding: 2rem 0 3.5rem;
}

.page-game-seo .game-seo-shell {
  max-width: 1100px;
}

.page-game-seo .game-seo-hero {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1.5rem;
  align-items: center;
  margin-bottom: 2rem;
  padding: 1.5rem;
  border-radius: 22px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: linear-gradient(155deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.02));
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.32);
}

.page-game-seo .game-seo-hero--solo {
  display: block;
  grid-template-columns: 1fr;
}

.page-game-seo .game-seo-hero__visual:empty {
  display: none;
}

.page-game-seo .game-seo-hero:not(:has(.game-seo-thumb)) {
  grid-template-columns: 1fr;
}

.page-game-seo .game-seo-thumb {
  width: 112px;
  height: 112px;
  border-radius: 20px;
  object-fit: cover;
  border: 2px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.35), 0 0 40px rgba(0, 212, 255, 0.12);
}

.page-game-seo .game-seo-kicker {
  display: inline-block;
  font-family: "DM Mono", monospace;
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  color: rgba(0, 212, 255, 0.88);
  margin-bottom: 0.65rem;
  padding: 0.3rem 0.7rem;
  border-radius: 999px;
  border: 1px solid rgba(0, 212, 255, 0.22);
  background: rgba(0, 212, 255, 0.06);
}

.page-game-seo .game-seo-hero h1 {
  font-family: Outfit, "Noto Sans KR", sans-serif;
  font-size: clamp(1.4rem, 3.8vw, 2rem);
  font-weight: 800;
  line-height: 1.22;
  letter-spacing: -0.03em;
  margin: 0 0 0.85rem;
}

.page-game-seo .game-seo-hero__line {
  width: min(100px, 24vw);
  margin: 0 0 1rem;
}

.page-game-seo .game-seo-lead {
  color: rgba(255, 255, 255, 0.74);
  line-height: 1.78;
  margin: 0 0 0.85rem;
  font-size: 0.98rem;
}

.page-game-seo .game-seo-hero__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  align-items: center;
}

.page-game-seo .game-seo-chip {
  display: inline-flex;
  align-items: center;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 600;
  text-decoration: none;
  color: rgba(255, 255, 255, 0.82);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: border-color 0.2s, background 0.2s, color 0.2s;
}

.page-game-seo .game-seo-chip:hover {
  color: #fff;
  border-color: rgba(0, 212, 255, 0.35);
  background: rgba(0, 212, 255, 0.1);
}

.page-game-seo .game-seo-chip--roblox {
  border-color: rgba(255, 116, 107, 0.28);
}

.page-game-seo .game-seo-lang {
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.45);
  text-decoration: none;
}

.page-game-seo .game-seo-lang:hover {
  color: #00d4ff;
}

.page-game-seo .game-seo-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 280px;
  gap: 1.5rem;
  align-items: start;
}

.page-game-seo .game-seo-content {
  min-width: 0;
}

.page-game-seo .game-seo-aside {
  min-width: 0;
}

.page-game-seo .game-seo-sticky {
  position: sticky;
  top: 5.5rem;
}

.page-game-seo .game-seo-quick + .game-seo-quick {
  margin-top: 1rem;
}

.page-game-seo .game-seo-quick__note {
  margin: 0 0 0.75rem;
  font-size: 0.78rem;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.58);
}

.page-game-seo .game-seo-quick {
  padding: 1.15rem;
  border-radius: 18px;
  border: 1px solid rgba(255, 116, 107, 0.28);
  background: linear-gradient(165deg, rgba(255, 116, 107, 0.1), rgba(0, 212, 255, 0.06) 50%, rgba(8, 8, 14, 0.95));
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.35);
}

.page-game-seo .game-seo-quick__kicker {
  font-family: "DM Mono", monospace;
  font-size: 0.65rem;
  letter-spacing: 0.18em;
  color: rgba(0, 212, 255, 0.75);
  margin: 0 0 0.35rem;
}

.page-game-seo .game-seo-quick__title {
  margin: 0 0 0.75rem;
  font-size: 1rem;
  font-weight: 700;
}

.page-game-seo .game-seo-quick__code {
  margin-bottom: 0.75rem;
  padding: 0.65rem 0.75rem;
  border-radius: 12px;
  background: rgba(0, 0, 0, 0.45);
  border: 1px solid rgba(255, 255, 255, 0.08);
  overflow-x: auto;
}

.page-game-seo .game-seo-quick__code pre {
  margin: 0;
}

.page-game-seo .game-seo-quick__code code {
  font-family: "DM Mono", monospace;
  font-size: 0.68rem;
  line-height: 1.55;
  color: #e0f2fe;
  word-break: break-all;
  white-space: pre-wrap;
}

.page-game-seo .game-seo-quick__copy {
  width: 100%;
  padding: 0.6rem;
  border: none;
  border-radius: 12px;
  font: inherit;
  font-size: 0.82rem;
  font-weight: 700;
  color: #fff;
  cursor: pointer;
  background: linear-gradient(135deg, rgba(255, 116, 107, 0.55), rgba(0, 212, 255, 0.45));
  transition: transform 0.15s, box-shadow 0.2s;
}

.page-game-seo .game-seo-quick__copy:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(0, 212, 255, 0.2);
}

.page-game-seo .game-seo-quick__links {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  margin-top: 0.85rem;
  padding-top: 0.85rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.page-game-seo .game-seo-quick__links a {
  font-size: 0.82rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.62);
  text-decoration: none;
}

.page-game-seo .game-seo-quick__links a:hover {
  color: #00d4ff;
}

.page-game-seo .game-seo-block {
  margin-bottom: 1.15rem;
}

.page-game-seo .game-seo-card {
  padding: 1.35rem 1.25rem;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.02));
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.22);
}

.page-game-seo .game-seo-block h2 {
  font-size: 1.08rem;
  font-weight: 700;
  margin: 0 0 0.85rem;
  letter-spacing: -0.02em;
  color: #fff;
  padding-bottom: 0.55rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.page-game-seo .game-seo-lead-inline {
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.75;
  margin: 0 0 1rem;
  font-size: 0.92rem;
}

.page-game-seo .game-seo-chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-bottom: 1rem;
}

.page-game-seo .game-seo-info-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.55rem;
}

.page-game-seo .game-seo-info-list li {
  display: grid;
  gap: 0.25rem;
  padding: 0.65rem 0.75rem;
  border-radius: 12px;
  background: rgba(0, 0, 0, 0.28);
  border: 1px solid rgba(255, 255, 255, 0.06);
  font-size: 0.88rem;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.78);
}

.page-game-seo .game-seo-info-list__label {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(0, 212, 255, 0.75);
}

.page-game-seo .game-seo-features {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 200px), 1fr));
  gap: 0.55rem;
}

.page-game-seo .game-seo-features li {
  padding: 0.65rem 0.85rem;
  border-radius: 12px;
  background: rgba(0, 212, 255, 0.06);
  border: 1px solid rgba(0, 212, 255, 0.14);
  font-size: 0.88rem;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.85);
}

.page-game-seo .game-seo-features li::before {
  content: "✓ ";
  color: #40ffaa;
  font-weight: 700;
}

.page-game-seo .game-seo-steps {
  margin: 0 0 1rem;
  padding-left: 1.15rem;
  line-height: 1.75;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.92rem;
}

.page-game-seo .game-seo-steps li {
  margin-bottom: 0.4rem;
}

.page-game-seo .game-seo-steps a {
  color: #00d4ff;
  font-weight: 600;
  text-decoration: none;
}

.page-game-seo .game-seo-steps a:hover {
  text-decoration: underline;
}

.page-game-seo .game-seo-code {
  display: flex;
  align-items: stretch;
  margin: 0 0 0.85rem;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid rgba(0, 212, 255, 0.22);
  background: rgba(0, 0, 0, 0.45);
}

.page-game-seo .game-seo-code pre {
  margin: 0;
  flex: 1;
  padding: 0.9rem 1rem;
  overflow-x: auto;
}

.page-game-seo .game-seo-code code {
  font-family: "DM Mono", "JetBrains Mono", monospace;
  font-size: 0.76rem;
  line-height: 1.55;
  color: #e0f2fe;
  word-break: break-all;
  white-space: pre-wrap;
}

.page-game-seo .game-seo-code__copy {
  flex-shrink: 0;
  align-self: stretch;
  padding: 0 1rem;
  border: none;
  border-left: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 116, 107, 0.18);
  color: #fff;
  font: inherit;
  font-size: 0.78rem;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.2s;
}

.page-game-seo .game-seo-code__copy:hover {
  background: rgba(0, 212, 255, 0.22);
}

.page-game-seo .game-seo-note {
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.5);
  line-height: 1.65;
  margin: 0;
  padding: 0.6rem 0.75rem;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.page-game-seo .game-seo-note a {
  color: #00d4ff;
  text-decoration: none;
}

.page-game-seo .game-seo-exec-grid,
.page-game-seo .game-seo-faq {
  display: grid;
  gap: 0.65rem;
}

.page-game-seo .game-seo-faq__item {
  padding: 0.85rem 1rem;
  border-radius: 14px;
  background: rgba(0, 0, 0, 0.22);
  border: 1px solid rgba(255, 255, 255, 0.07);
}

.page-game-seo .game-seo-faq__item h3 {
  font-size: 0.9rem;
  font-weight: 700;
  margin: 0 0 0.4rem;
  color: #00d4ff;
}

.page-game-seo .game-seo-faq__item p {
  margin: 0;
  font-size: 0.88rem;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.72);
}

.page-game-seo .game-seo-link-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.page-game-seo .game-seo-link-row a {
  padding: 0.45rem 0.85rem;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 600;
  text-decoration: none;
  color: rgba(255, 255, 255, 0.78);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: border-color 0.2s, color 0.2s;
}

.page-game-seo .game-seo-link-row a:hover {
  color: #fff;
  border-color: rgba(0, 212, 255, 0.35);
}

.page-game-seo .game-seo-index-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 240px), 1fr));
  gap: 0.55rem;
}

.page-game-seo .game-seo-index-list li {
  margin: 0;
}

.page-game-seo .game-seo-index-list a {
  display: block;
  padding: 0.75rem 0.9rem;
  border-radius: 12px;
  color: rgba(255, 255, 255, 0.82);
  text-decoration: none;
  font-size: 0.88rem;
  font-weight: 500;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  transition: border-color 0.2s, background 0.2s, transform 0.15s;
}

.page-game-seo .game-seo-index-list a:hover {
  color: #fff;
  border-color: rgba(0, 212, 255, 0.32);
  background: rgba(0, 212, 255, 0.08);
  transform: translateY(-1px);
}

.page-features .game-seo-chip--stat {
  cursor: default;
  pointer-events: none;
  background: rgba(64, 255, 170, 0.08);
  border-color: rgba(64, 255, 170, 0.22);
  color: #a7f3d0;
}

.hub-quick-grid,
.page-features .gf-quick-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 200px), 1fr));
  gap: 0.65rem;
  margin-top: 1rem;
}

.hub-quick-card,
.page-features .gf-quick-card {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  padding: 0.9rem 1rem;
  border-radius: 14px;
  text-decoration: none;
  background: rgba(0, 0, 0, 0.28);
  border: 1px solid rgba(255, 255, 255, 0.08);
  transition: border-color 0.2s, background 0.2s, transform 0.15s;
}

.hub-quick-card:hover,
.page-features .gf-quick-card:hover {
  border-color: rgba(0, 212, 255, 0.35);
  background: rgba(0, 212, 255, 0.08);
  transform: translateY(-2px);
}

.hub-quick-card__label,
.page-features .gf-quick-card__label {
  font-size: 0.92rem;
  font-weight: 700;
  color: #fff;
  display: flex;
  align-items: center;
  gap: 0.45rem;
  flex-wrap: wrap;
}

.hub-quick-card__live {
  display: inline-flex;
  align-items: center;
  padding: 0.12rem 0.45rem;
  border-radius: 999px;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: #6ee7b7;
  background: rgba(16, 185, 129, 0.14);
  border: 1px solid rgba(16, 185, 129, 0.28);
}

.hub-quick-card__desc,
.page-features .gf-quick-card__desc {
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.52);
  line-height: 1.45;
}

.home-hub-tabs {
  position: relative;
  z-index: 2;
  padding: 2.5rem 0 0.5rem;
}

.home-hub-tabs__title {
  margin: 0 0 0.85rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.45);
}

.home-hub-tabs .hub-quick-grid {
  margin-top: 0;
}

.light .home-hub-tabs__title {
  color: rgba(24, 24, 27, 0.48);
}

.light .hub-quick-card {
  background: rgba(255, 255, 255, 0.92);
  border-color: rgba(24, 24, 27, 0.08);
}

.light .hub-quick-card:hover {
  border-color: rgba(0, 102, 204, 0.35);
  background: rgba(0, 102, 204, 0.06);
}

.light .hub-quick-card__label {
  color: #1d1d1f;
}

.light .hub-quick-card__desc {
  color: #7a7a7a;
}

.page-features .gf-catalog__head {
  margin-bottom: 1.15rem;
}

.page-features .gf-catalog__head h2 {
  margin-bottom: 0.35rem;
}

.page-features .gf-spotlight {
  margin-bottom: 1rem;
}

.page-features .gf-spotlight__kicker {
  margin: 0 0 0.85rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(0, 212, 255, 0.88);
}

.page-features .gf-spotlight__inner {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.page-features .gf-spotlight__visual {
  flex-shrink: 0;
}

.page-features .gf-spotlight__thumb {
  width: 96px;
  height: 96px;
  border-radius: 18px;
  object-fit: cover;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.page-features .gf-spotlight__body {
  flex: 1;
  min-width: 0;
}

.page-features .gf-spotlight__title {
  margin: 0 0 0.45rem;
  font-size: 1.15rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: -0.02em;
}

.page-features .gf-spotlight__desc {
  margin: 0 0 0.75rem;
  font-size: 0.88rem;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.62);
}

.page-features .gf-spotlight__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin-bottom: 0.85rem;
}

.page-features .gf-spotlight__tag {
  padding: 0.28rem 0.62rem;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.72);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.page-features .gf-spotlight__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.page-features .gf-spotlight__btn {
  display: inline-flex;
  align-items: center;
  padding: 0.55rem 0.95rem;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 600;
  text-decoration: none;
  color: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.04);
  transition: border-color 0.2s, background 0.2s, color 0.2s;
}

.page-features .gf-spotlight__btn:hover {
  color: #fff;
  border-color: rgba(0, 212, 255, 0.35);
  background: rgba(0, 212, 255, 0.08);
}

.page-features .gf-spotlight__btn--primary {
  color: #fff;
  border-color: rgba(0, 212, 255, 0.45);
  background: rgba(0, 212, 255, 0.14);
}

.page-features .gf-spotlight__btn--primary:hover {
  background: rgba(0, 212, 255, 0.22);
}

@media (max-width: 640px) {
  .page-features .gf-spotlight__inner {
    flex-direction: column;
    align-items: stretch;
  }

  .page-features .gf-spotlight__visual {
    display: flex;
    justify-content: center;
  }
}

.page-features .gf-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr));
  gap: 0.85rem;
}

.page-features .gf-card {
  display: flex;
  gap: 0.85rem;
  padding: 0.95rem;
  border-radius: 16px;
  text-decoration: none;
  background: rgba(0, 0, 0, 0.32);
  border: 1px solid rgba(255, 255, 255, 0.08);
  transition: border-color 0.2s, background 0.2s, transform 0.15s, box-shadow 0.2s;
}

.page-features .gf-card:hover {
  border-color: rgba(0, 212, 255, 0.38);
  background: rgba(0, 212, 255, 0.06);
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.35);
}

.page-features .gf-card__visual {
  flex-shrink: 0;
}

.page-features .gf-card__thumb {
  display: block;
  width: 72px;
  height: 72px;
  border-radius: 14px;
  object-fit: cover;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.04);
}

.page-features .gf-card__thumb--hub {
  display: grid;
  place-items: center;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  color: #00d4ff;
  background: linear-gradient(135deg, rgba(0, 212, 255, 0.15), rgba(255, 116, 107, 0.12));
}

.page-features .gf-card__body {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  min-width: 0;
}

.page-features .gf-card__title {
  font-size: 0.92rem;
  font-weight: 700;
  color: #fff;
  line-height: 1.35;
}

.page-features .gf-card__desc {
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.55);
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.page-features .gf-card__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin-top: 0.15rem;
}

.page-features .gf-card__tag {
  font-size: 0.68rem;
  font-weight: 600;
  padding: 0.2rem 0.45rem;
  border-radius: 999px;
  color: rgba(165, 243, 252, 0.95);
  background: rgba(0, 212, 255, 0.1);
  border: 1px solid rgba(0, 212, 255, 0.18);
}

.page-features .gf-card__cta {
  margin-top: auto;
  padding-top: 0.35rem;
  font-size: 0.75rem;
  font-weight: 700;
  color: #00d4ff;
}

@media (max-width: 520px) {
  .page-features .gf-card {
    flex-direction: column;
    align-items: flex-start;
  }

  .page-features .gf-card__thumb,
  .page-features .gf-card__thumb--hub {
    width: 56px;
    height: 56px;
  }
}

.page-game-seo .game-seo-block code {
  font-family: "DM Mono", monospace;
  font-size: 0.76rem;
  word-break: break-all;
  color: #a5f3fc;
}

.page-game-seo .game-seo-footer {
  padding: 2rem 1.5rem 2.5rem;
  text-align: center;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  background: linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.35));
}

.page-game-seo .game-seo-footer__copy {
  margin: 0 0 0.65rem;
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.38);
}

.page-game-seo .game-seo-footer__links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.35rem 1.25rem;
  margin: 0;
}

.page-game-seo .game-seo-footer__links a {
  font-size: 0.85rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.55);
  text-decoration: none;
}

.page-game-seo .game-seo-footer__links a:hover {
  color: var(--primary);
}

@media (max-width: 900px) {
  .page-game-seo .game-seo-layout {
    grid-template-columns: 1fr;
  }

  .page-game-seo .game-seo-sticky {
    position: static;
  }

  .page-game-seo .game-seo-aside {
    order: -1;
  }
}

@media (max-width: 640px) {
  .page-game-seo .game-seo-hero {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .page-game-seo .game-seo-hero__line {
    margin-left: auto;
    margin-right: auto;
  }

  .page-game-seo .game-seo-hero__meta {
    justify-content: center;
  }

  .page-game-seo .game-seo-thumb {
    margin: 0 auto;
  }

  .page-game-seo .game-seo-code {
    flex-direction: column;
  }

  .page-game-seo .game-seo-code__copy {
    border-left: none;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 0.65rem;
  }
}

.light.page-game-seo {
  background-color: #f4f6fa;
  color: #111;
}

.light.page-game-seo .game-seo-lead,
.light.page-game-seo .game-seo-lead-inline,
.light.page-game-seo .game-seo-steps,
.light.page-game-seo .game-seo-faq__item p,
.light.page-game-seo .game-seo-info-list li {
  color: rgba(0, 0, 0, 0.62);
}

.light.page-game-seo .game-seo-hero,
.light.page-game-seo .game-seo-card,
.light.page-game-seo .game-seo-quick {
  background: rgba(255, 255, 255, 0.92);
  border-color: rgba(0, 0, 0, 0.08);
}

.light.page-game-seo .game-seo-block h2 {
  color: #111;
}

.light.page-game-seo .game-seo-code code,
.light.page-game-seo .game-seo-quick__code code {
  color: #0f172a;
}

.page-executors {
  position: relative;
  background-color: #050508;
  background-image:
    radial-gradient(ellipse 100% 60% at 50% -25%, rgba(0, 212, 255, 0.14), transparent 55%),
    radial-gradient(ellipse 50% 40% at 100% 0%, rgba(255, 116, 107, 0.1), transparent 50%),
    radial-gradient(ellipse 45% 35% at 0% 100%, rgba(139, 92, 246, 0.08), transparent 55%);
  color: #fafafa;
  min-height: 100vh;
}

.page-executors .exec-page-bg {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

.page-executors .exec-page-bg__glow--tl {
  position: absolute;
  width: min(100vw, 900px);
  height: min(100vw, 900px);
  left: -25%;
  top: -35%;
  border-radius: 50%;
  background: radial-gradient(circle at 40% 40%, rgba(0, 212, 255, 0.18) 0%, rgba(0, 212, 255, 0.04) 45%, transparent 68%);
  filter: blur(60px);
}

.page-executors .exec-page-bg__glow--br {
  position: absolute;
  width: min(90vw, 780px);
  height: min(90vw, 780px);
  right: -28%;
  bottom: -5%;
  border-radius: 50%;
  background: radial-gradient(circle at 50% 50%, rgba(255, 116, 107, 0.16) 0%, rgba(255, 116, 107, 0.04) 48%, transparent 70%);
  filter: blur(64px);
}

.page-executors .exec-page-bg__mesh {
  position: absolute;
  inset: 0;
  opacity: 0.12;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse 90% 70% at 50% 12%, black, transparent 75%);
}

.page-executors .exec-nav,
.page-executors .executors-main,
.page-executors .executors-footer {
  position: relative;
  z-index: 1;
}

.page-executors .exec-nav .nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 4rem;
}

.page-executors .exec-nav .scripts-nav {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.page-executors .exec-nav .scripts-nav a {
  padding: 8px 14px;
  font-size: 13px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.72);
  text-decoration: none;
  border-radius: 999px;
  border: 1px solid transparent;
  transition: color 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.page-executors .exec-nav .scripts-nav a:hover {
  color: var(--primary);
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.16);
}

.page-executors .exec-nav .scripts-nav a.is-active {
  color: var(--primary);
  background: linear-gradient(135deg, rgba(255, 116, 107, 0.14), rgba(0, 212, 255, 0.1));
  border-color: rgba(255, 255, 255, 0.22);
  box-shadow: 0 0 24px rgba(0, 212, 255, 0.12);
}

.page-executors .executors-main {
  padding: 2.5rem 0 3.5rem;
}

.page-executors .executors-wrap {
  max-width: 1180px;
}

.page-executors .executors-hero {
  text-align: center;
  margin-bottom: 2.25rem;
}

.page-executors .executors-hero__kicker {
  display: inline-block;
  font-family: "DM Mono", "JetBrains Mono", monospace;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  color: rgba(0, 212, 255, 0.9);
  margin-bottom: 0.85rem;
  padding: 0.35rem 0.85rem;
  border-radius: 999px;
  border: 1px solid rgba(0, 212, 255, 0.25);
  background: rgba(0, 212, 255, 0.06);
}

.page-executors .executors-hero__title,
.page-executors .executors-hero h1 {
  font-family: Outfit, "Noto Sans KR", sans-serif;
  font-size: clamp(1.85rem, 4.5vw, 2.75rem);
  font-weight: 800;
  margin: 0 0 1rem;
  letter-spacing: -0.04em;
  line-height: 1.15;
  background: linear-gradient(135deg, #fff 0%, rgba(255, 255, 255, 0.82) 55%, rgba(0, 212, 255, 0.85) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.page-executors .executors-hero__line {
  width: min(120px, 28vw);
  margin: 0 auto 1.15rem;
}

.page-executors .executors-hero__lead {
  max-width: 580px;
  margin: 0 auto;
  color: rgba(255, 255, 255, 0.68);
  line-height: 1.8;
  font-size: 1.02rem;
}

.page-executors .executors-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.85rem;
  margin-bottom: 1.5rem;
}

.page-executors .executors-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.25rem;
  padding: 1rem 0.75rem;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.02));
  backdrop-filter: blur(12px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.22);
}

.page-executors .executors-stat__val {
  font-family: Outfit, sans-serif;
  font-size: 1.65rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1;
  color: #fff;
}

.page-executors .executors-stat__lbl {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: rgba(255, 255, 255, 0.45);
  text-transform: uppercase;
}

.page-executors .executors-stat--ok .executors-stat__val { color: #40ffaa; }
.page-executors .executors-stat--free .executors-stat__val { color: #60a5fa; }
.page-executors .executors-stat--plat .executors-stat__val { color: #00d4ff; }

.page-executors .executors-panel {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding: 1.15rem 1.25rem;
  margin-bottom: 1.75rem;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: linear-gradient(165deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.02));
  backdrop-filter: blur(16px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.page-executors .executors-search-wrap {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.65rem 1rem;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(0, 0, 0, 0.35);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.page-executors .executors-search-wrap:focus-within {
  border-color: rgba(0, 212, 255, 0.45);
  box-shadow: 0 0 0 3px rgba(0, 212, 255, 0.12);
}

.page-executors .executors-search__icon {
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  opacity: 0.5;
  background: currentColor;
  color: rgba(255, 255, 255, 0.55);
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='white'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M21 21l-5.2-5.2M11 18a7 7 0 100-14 7 7 0 000 14z'/%3E%3C/svg%3E") center / contain no-repeat;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='white'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M21 21l-5.2-5.2M11 18a7 7 0 100-14 7 7 0 000 14z'/%3E%3C/svg%3E") center / contain no-repeat;
}

.page-executors .executors-search {
  flex: 1;
  min-width: 0;
  border: none;
  background: transparent;
  color: #fff;
  font: inherit;
  font-size: 0.95rem;
  outline: none;
}

.page-executors .executors-search::placeholder {
  color: rgba(255, 255, 255, 0.35);
}

.page-executors .executors-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-bottom: 0;
}

.page-executors .platform-tabs--locked {
  pointer-events: none;
  opacity: 0.5;
}

.page-executors .platform-tab {
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.04);
  color: rgba(255, 255, 255, 0.62);
  padding: 0.5rem 1rem;
  border-radius: 999px;
  font: inherit;
  font-weight: 600;
  font-size: 0.82rem;
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s, color 0.2s, transform 0.15s, box-shadow 0.2s;
}

.page-executors .platform-tab:hover {
  border-color: rgba(0, 212, 255, 0.35);
  color: #fff;
  transform: translateY(-1px);
}

.page-executors .platform-tab.active {
  border-color: rgba(255, 116, 107, 0.55);
  background: linear-gradient(135deg, rgba(255, 116, 107, 0.18), rgba(0, 212, 255, 0.1));
  color: #fff;
  box-shadow: 0 4px 20px rgba(255, 116, 107, 0.15);
}

.page-executors .platform-tab[data-platform="Windows"].active {
  border-color: rgba(96, 165, 250, 0.5);
  background: linear-gradient(135deg, rgba(96, 165, 250, 0.2), rgba(96, 165, 250, 0.06));
}

.page-executors .platform-tab[data-platform="Mac"].active {
  border-color: rgba(192, 132, 252, 0.5);
  background: linear-gradient(135deg, rgba(192, 132, 252, 0.2), rgba(192, 132, 252, 0.06));
}

.page-executors .platform-tab[data-platform="Android"].active {
  border-color: rgba(74, 222, 128, 0.5);
  background: linear-gradient(135deg, rgba(74, 222, 128, 0.2), rgba(74, 222, 128, 0.06));
}

.page-executors .platform-tab[data-platform="iOS"].active {
  border-color: rgba(251, 146, 60, 0.5);
  background: linear-gradient(135deg, rgba(251, 146, 60, 0.2), rgba(251, 146, 60, 0.06));
}

.page-executors .executors-platform-head {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin: 2.25rem 0 1rem;
  padding: 0.65rem 0 0.65rem 0.85rem;
  border-left: 3px solid rgba(0, 212, 255, 0.65);
  background: linear-gradient(90deg, rgba(0, 212, 255, 0.08), transparent 70%);
  border-radius: 0 12px 12px 0;
  border-bottom: none;
}

.page-executors .executors-platform-head h2 {
  font-size: 1.15rem;
  font-weight: 700;
  margin: 0;
  letter-spacing: -0.02em;
}

.page-executors .executors-platform-count {
  font-family: "DM Mono", monospace;
  font-size: 0.72rem;
  font-weight: 500;
  padding: 0.2rem 0.55rem;
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.7);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.page-executors .executors-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr));
  gap: 1.15rem;
  margin-bottom: 0.5rem;
}

.page-executors .exploit-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  padding: 1.2rem;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: linear-gradient(165deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.02));
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.3);
  overflow: hidden;
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.page-executors .exploit-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(0, 212, 255, 0.5), transparent);
  opacity: 0;
  transition: opacity 0.25s ease;
}

.page-executors .exploit-card:hover {
  transform: translateY(-5px);
  border-color: rgba(0, 212, 255, 0.35);
  box-shadow: 0 24px 56px rgba(0, 0, 0, 0.4), 0 0 40px rgba(0, 212, 255, 0.08);
}

.page-executors .exploit-card:hover::before {
  opacity: 1;
}

.page-executors .exploit-card--recommended {
  border-color: rgba(255, 116, 107, 0.45);
  background: linear-gradient(155deg, rgba(255, 116, 107, 0.14), rgba(0, 212, 255, 0.06) 42%, rgba(12, 12, 18, 0.95) 100%);
  box-shadow: 0 20px 48px rgba(255, 116, 107, 0.12), 0 16px 40px rgba(0, 0, 0, 0.35);
}

.page-executors .exploit-card--recommended::before {
  opacity: 1;
  background: linear-gradient(90deg, #ff746b, #00d4ff);
}

.page-executors .exploit-card__head {
  display: flex;
  gap: 0.85rem;
  align-items: center;
}

.page-executors .exploit-card__logo {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  object-fit: cover;
  flex-shrink: 0;
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
}

.page-executors .exploit-card__logo--fallback {
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(0, 212, 255, 0.22), rgba(255, 116, 107, 0.18));
  color: #fff;
  font-weight: 800;
  font-size: 1.15rem;
}

.page-executors .exploit-card__titles h3 {
  margin: 0;
  font-size: 1.08rem;
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.02em;
}

.page-executors .exploit-card__ver {
  margin: 0.3rem 0 0;
  font-family: "DM Mono", monospace;
  font-size: 0.72rem;
  color: rgba(255, 255, 255, 0.45);
}

.page-executors .exploit-card__badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.page-executors .status-badge {
  display: inline-block;
  padding: 0.22rem 0.6rem;
  border-radius: 999px;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.page-executors .status-updated {
  background: rgba(64, 255, 170, 0.12);
  color: #40ffaa;
  border: 1px solid rgba(64, 255, 170, 0.28);
}

.page-executors .status-recommended {
  background: rgba(255, 116, 107, 0.18);
  color: #ffb4a8;
  border: 1px solid rgba(255, 116, 107, 0.38);
}

.page-executors .status-detected {
  background: rgba(239, 68, 68, 0.12);
  color: #f87171;
  border: 1px solid rgba(239, 68, 68, 0.28);
}

.page-executors .status-malware-warn {
  background: rgba(251, 146, 60, 0.12);
  color: #fdba74;
  border: 1px solid rgba(251, 146, 60, 0.32);
}

.page-executors .status-free {
  background: rgba(59, 130, 246, 0.12);
  color: #60a5fa;
  border: 1px solid rgba(59, 130, 246, 0.28);
}

.page-executors .status-paid {
  background: rgba(168, 85, 247, 0.12);
  color: #c084fc;
  border: 1px solid rgba(168, 85, 247, 0.28);
}

.page-executors .exploit-card__meters {
  display: grid;
  gap: 0.65rem;
}

.page-executors .exploit-card__meter-label {
  display: flex;
  justify-content: space-between;
  font-size: 0.75rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.5);
  margin-bottom: 0.35rem;
}

.page-executors .percentage-bar {
  height: 7px;
  background: rgba(255, 255, 255, 0.07);
  border-radius: 999px;
  overflow: hidden;
}

.page-executors .percentage-fill {
  height: 100%;
  background: linear-gradient(90deg, #ff746b, #00d4ff);
  border-radius: 999px;
  box-shadow: 0 0 12px rgba(0, 212, 255, 0.35);
}

.page-executors .percentage-fill--alt {
  background: linear-gradient(90deg, #8b5cf6, #00d4ff);
  box-shadow: 0 0 12px rgba(139, 92, 246, 0.35);
}

.page-executors .exploit-card__meta {
  display: grid;
  gap: 0.4rem;
  padding: 0.65rem 0.75rem;
  border-radius: 12px;
  background: rgba(0, 0, 0, 0.22);
  border: 1px solid rgba(255, 255, 255, 0.06);
  font-size: 0.8rem;
}

.page-executors .exploit-card__row {
  display: flex;
  justify-content: space-between;
  gap: 0.75rem;
  align-items: flex-start;
}

.page-executors .exploit-card__row span:first-child {
  color: rgba(255, 255, 255, 0.42);
  flex-shrink: 0;
}

.page-executors .exploit-card__row span:last-child {
  text-align: right;
  color: rgba(255, 255, 255, 0.88);
}

.page-executors .exploit-card__mono {
  font-family: "DM Mono", "JetBrains Mono", monospace;
  font-size: 0.68rem;
  word-break: break-all;
}

.page-executors .exploit-card__links {
  display: flex;
  gap: 0.5rem;
  margin-top: auto;
  padding-top: 0.15rem;
  border-top: none;
}

.page-executors .exploit-card__link {
  flex: 1;
  text-align: center;
  padding: 0.55rem 0.65rem;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: #fff;
  text-decoration: none;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  transition: background 0.2s, border-color 0.2s, transform 0.15s;
}

.page-executors .exploit-card__link:hover {
  background: rgba(0, 212, 255, 0.16);
  border-color: rgba(0, 212, 255, 0.35);
  transform: translateY(-1px);
}

.page-executors .exploit-card__link--discord:hover {
  background: rgba(88, 101, 242, 0.22);
  border-color: rgba(88, 101, 242, 0.45);
}

.page-executors .executors-loading {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1.15rem;
  min-height: 220px;
  padding: 3rem 1rem;
  border-radius: 20px;
  border: 1px dashed rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.02);
  color: rgba(255, 255, 255, 0.55);
}

.page-executors .executors-loading__text {
  font-size: 0.92rem;
}

.page-executors .executors-spinner {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 3px solid rgba(255, 255, 255, 0.08);
  border-top-color: #00d4ff;
  border-right-color: #ff746b;
  animation: executors-spin 0.85s linear infinite;
}

@keyframes executors-spin {
  to { transform: rotate(360deg); }
}

.page-executors .executors-empty {
  text-align: center;
  padding: 3rem 1.5rem;
  border-radius: 20px;
  border: 1px dashed rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.03);
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.95rem;
}

.page-executors .executors-empty--err {
  border-color: rgba(239, 68, 68, 0.35);
  color: #f87171;
  background: rgba(239, 68, 68, 0.06);
}

.page-executors .executors-credit {
  margin-top: 2rem;
  text-align: center;
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.38);
}

.page-executors .executors-credit a {
  color: rgba(0, 212, 255, 0.75);
  text-decoration: none;
}

.page-executors .executors-credit a:hover {
  color: #00d4ff;
  text-decoration: underline;
}

.page-executors .executors-footer {
  padding: 2rem 1.5rem 2.5rem;
  text-align: center;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  background: linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.35));
}

.page-executors .executors-footer__copy {
  margin: 0 0 0.65rem;
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.38);
}

.page-executors .executors-footer__links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.35rem 1.25rem;
  margin: 0;
}

.page-executors .executors-footer__links a {
  font-size: 0.85rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.55);
  text-decoration: none;
  transition: color 0.2s;
}

.page-executors .executors-footer__links a:hover {
  color: var(--primary);
}

@media (max-width: 720px) {
  .page-executors .executors-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .page-executors .executors-panel {
    padding: 1rem;
  }

  .page-executors .executors-tabs {
    justify-content: flex-start;
    overflow-x: auto;
    flex-wrap: nowrap;
    padding-bottom: 0.25rem;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }

  .page-executors .executors-tabs::-webkit-scrollbar {
    display: none;
  }

  .page-executors .platform-tab {
    flex-shrink: 0;
  }
}

.light .page-executors {
  background-color: #f4f6fa;
  background-image:
    radial-gradient(ellipse 100% 60% at 50% -25%, rgba(0, 212, 255, 0.12), transparent 55%),
    radial-gradient(ellipse 50% 40% at 100% 0%, rgba(255, 116, 107, 0.08), transparent 50%);
  color: #111;
}

.light .page-executors .executors-hero__title,
.light .page-executors .executors-hero h1 {
  background: linear-gradient(135deg, #111 0%, #333 60%, #007a8a 100%);
  -webkit-background-clip: text;
  background-clip: text;
}

.light .page-executors .executors-hero__lead,
.light .page-executors .exploit-card__ver,
.light .page-executors .exploit-card__row span:first-child,
.light .page-executors .executors-stat__lbl,
.light .page-executors .executors-credit {
  color: rgba(0, 0, 0, 0.55);
}

.light .page-executors .executors-stat,
.light .page-executors .executors-panel,
.light .page-executors .exploit-card {
  background: rgba(255, 255, 255, 0.85);
  border-color: rgba(0, 0, 0, 0.08);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.06);
}

.light .page-executors .executors-search-wrap {
  background: rgba(0, 0, 0, 0.04);
  border-color: rgba(0, 0, 0, 0.08);
}

.light .page-executors .executors-search {
  color: #111;
}

.light .page-executors .platform-tab {
  background: rgba(0, 0, 0, 0.04);
  border-color: rgba(0, 0, 0, 0.1);
  color: rgba(0, 0, 0, 0.65);
}

.light .page-executors .exploit-card__meta {
  background: rgba(0, 0, 0, 0.04);
  border-color: rgba(0, 0, 0, 0.06);
}

.light .page-executors .exploit-card__row span:last-child {
  color: #111;
}

.light .page-executors .executors-stat__val {
  color: #111;
}

.light .page-executors .executors-stat--ok .executors-stat__val { color: #059669; }
.light .page-executors .executors-stat--free .executors-stat__val { color: #2563eb; }
.light .page-executors .executors-stat--plat .executors-stat__val { color: #0891b2; }

.page-guide {
  position: relative;
  background-color: #050508;
  background-image:
    radial-gradient(ellipse 100% 55% at 50% -22%, rgba(0, 212, 255, 0.12), transparent 55%),
    radial-gradient(ellipse 48% 38% at 100% 8%, rgba(255, 116, 107, 0.09), transparent 50%);
  color: #fafafa;
  min-height: 100vh;
}

.page-guide .guide-page-bg {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

.page-guide .guide-page-bg__glow--tl {
  position: absolute;
  width: min(95vw, 880px);
  height: min(95vw, 880px);
  left: -22%;
  top: -32%;
  border-radius: 50%;
  background: radial-gradient(circle at 42% 42%, rgba(0, 212, 255, 0.16), transparent 68%);
  filter: blur(58px);
}

.page-guide .guide-page-bg__glow--br {
  position: absolute;
  width: min(85vw, 720px);
  height: min(85vw, 720px);
  right: -26%;
  bottom: 0;
  border-radius: 50%;
  background: radial-gradient(circle at 50% 50%, rgba(255, 116, 107, 0.14), transparent 70%);
  filter: blur(60px);
}

.page-guide .guide-page-bg__mesh {
  position: absolute;
  inset: 0;
  opacity: 0.11;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 46px 46px;
  mask-image: radial-gradient(ellipse 88% 68% at 50% 10%, black, transparent 74%);
}

.page-guide .guide-nav,
.page-guide .guide-main,
.page-guide .guide-footer {
  position: relative;
  z-index: 1;
}

.page-guide .guide-nav .nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 4rem;
}

.page-guide .guide-nav .scripts-nav {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.page-guide .guide-nav .scripts-nav a {
  padding: 8px 14px;
  font-size: 13px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.72);
  text-decoration: none;
  border-radius: 999px;
  border: 1px solid transparent;
  transition: color 0.2s, background 0.2s, border-color 0.2s;
}

.page-guide .guide-nav .scripts-nav a:hover {
  color: var(--primary);
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.16);
}

.page-guide .guide-nav .scripts-nav a.is-active {
  color: var(--primary);
  background: linear-gradient(135deg, rgba(255, 116, 107, 0.14), rgba(0, 212, 255, 0.1));
  border-color: rgba(255, 255, 255, 0.22);
}

.page-guide .guide-main {
  padding: 2.5rem 0 3rem;
}

.page-guide .guide-wrap {
  max-width: 820px;
}

.page-guide .guide-hero {
  text-align: center;
  margin-bottom: 2rem;
}

.page-guide .guide-hero__kicker {
  display: inline-block;
  font-family: "DM Mono", monospace;
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  color: rgba(0, 212, 255, 0.88);
  margin-bottom: 0.85rem;
  padding: 0.35rem 0.85rem;
  border-radius: 999px;
  border: 1px solid rgba(0, 212, 255, 0.22);
  background: rgba(0, 212, 255, 0.06);
}

.page-guide .guide-hero__title {
  font-family: Outfit, "Noto Sans KR", sans-serif;
  font-size: clamp(1.75rem, 4.2vw, 2.5rem);
  font-weight: 800;
  margin: 0 0 1rem;
  letter-spacing: -0.04em;
  line-height: 1.2;
}

.page-guide .guide-hero__line {
  width: min(110px, 26vw);
  margin: 0 auto 1.1rem;
}

.page-guide .guide-hero__lead {
  max-width: 560px;
  margin: 0 auto;
  color: rgba(255, 255, 255, 0.68);
  line-height: 1.8;
  font-size: 1rem;
}

.page-guide .guide-toc {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.45rem;
  margin-bottom: 2rem;
  padding: 0.85rem 1rem;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.04);
}

.page-guide .guide-toc a {
  padding: 0.4rem 0.85rem;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.62);
  text-decoration: none;
  border: 1px solid transparent;
  transition: color 0.2s, background 0.2s, border-color 0.2s;
}

.page-guide .guide-toc a:hover {
  color: #fff;
  background: rgba(0, 212, 255, 0.12);
  border-color: rgba(0, 212, 255, 0.28);
}

.page-guide .guide-steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.page-guide .guide-step {
  display: grid;
  grid-template-columns: 3rem 1fr;
  gap: 1rem;
  align-items: start;
  padding: 1.35rem 1.25rem;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.02));
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.28);
}

.page-guide .guide-step__marker {
  width: 3rem;
  height: 3rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  font-family: Outfit, sans-serif;
  font-weight: 800;
  font-size: 1.1rem;
  color: #fff;
  background: linear-gradient(135deg, rgba(255, 116, 107, 0.35), rgba(0, 212, 255, 0.28));
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: 0 8px 24px rgba(0, 212, 255, 0.12);
}

.page-guide .guide-step__title {
  margin: 0 0 0.65rem;
  font-size: 1.12rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: #fff;
}

.page-guide .guide-step__text {
  margin: 0 0 0.75rem;
  line-height: 1.78;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.95rem;
}

.page-guide .guide-step__text:last-child {
  margin-bottom: 0;
}

.page-guide .guide-step__text a {
  color: #00d4ff;
  text-decoration: none;
  font-weight: 500;
}

.page-guide .guide-step__text a:hover {
  text-decoration: underline;
}

.page-guide .guide-step__text strong {
  color: #fff;
  font-weight: 600;
}

.page-guide .guide-step__text code {
  font-family: "DM Mono", "JetBrains Mono", monospace;
  font-size: 0.82em;
  padding: 0.12rem 0.45rem;
  border-radius: 6px;
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: #a5f3fc;
}

.page-guide .guide-step__list,
.page-guide .guide-step__ordered {
  margin: 0 0 0.75rem;
  padding-left: 1.2rem;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.92rem;
  line-height: 1.75;
}

.page-guide .guide-step__list li + li,
.page-guide .guide-step__ordered li + li {
  margin-top: 0.35rem;
}

.page-guide .guide-step__note {
  margin: 0.75rem 0 0;
  padding: 0.65rem 0.85rem;
  border-radius: 10px;
  font-size: 0.85rem;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.55);
  background: rgba(0, 212, 255, 0.06);
  border: 1px solid rgba(0, 212, 255, 0.14);
}

.page-guide .guide-code {
  display: flex;
  align-items: stretch;
  gap: 0;
  margin: 0.85rem 0 1rem;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(0, 0, 0, 0.45);
}

.page-guide .guide-code pre {
  margin: 0;
  flex: 1;
  padding: 0.9rem 1rem;
  overflow-x: auto;
}

.page-guide .guide-code code {
  font-family: "DM Mono", "JetBrains Mono", monospace;
  font-size: 0.78rem;
  line-height: 1.55;
  color: #e0f2fe;
  white-space: pre-wrap;
  word-break: break-all;
}

.page-guide .guide-code__copy {
  flex-shrink: 0;
  align-self: stretch;
  padding: 0 1rem;
  border: none;
  border-left: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 116, 107, 0.15);
  color: #fff;
  font: inherit;
  font-size: 0.78rem;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.2s;
}

.page-guide .guide-code__copy:hover {
  background: rgba(0, 212, 255, 0.22);
}

.page-guide .guide-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin: 0.85rem 0 1rem;
}

.page-guide .guide-tags a {
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 600;
  text-decoration: none;
  color: rgba(255, 255, 255, 0.75);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: border-color 0.2s, background 0.2s, color 0.2s;
}

.page-guide .guide-tags a:hover {
  color: #fff;
  border-color: rgba(0, 212, 255, 0.35);
  background: rgba(0, 212, 255, 0.1);
}

.page-guide .guide-step__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin: 0.85rem 0 0;
}

.page-guide .guide-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.55rem 1.1rem;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 700;
  text-decoration: none;
  color: #fff;
  background: linear-gradient(135deg, rgba(255, 116, 107, 0.55), rgba(0, 212, 255, 0.4));
  border: 1px solid rgba(255, 255, 255, 0.18);
  transition: transform 0.15s, box-shadow 0.2s;
}

.page-guide .guide-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(0, 212, 255, 0.18);
}

.page-guide .guide-btn--ghost {
  background: rgba(255, 255, 255, 0.06);
}

.page-guide .guide-help {
  margin-top: 2rem;
  padding: 1.35rem 1.25rem;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: linear-gradient(165deg, rgba(139, 92, 246, 0.08), rgba(255, 255, 255, 0.03));
}

.page-guide .guide-help__title {
  margin: 0 0 1rem;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.page-guide .guide-faq {
  margin: 0;
}

.page-guide .guide-faq__item {
  padding: 0.75rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.page-guide .guide-faq__item:first-child {
  border-top: none;
  padding-top: 0;
}

.page-guide .guide-faq__item dt {
  margin: 0 0 0.35rem;
  font-size: 0.88rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.9);
}

.page-guide .guide-faq__item dd {
  margin: 0;
  font-size: 0.88rem;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.58);
}

.page-guide .guide-faq__item dd a {
  color: #00d4ff;
  text-decoration: none;
}

.page-guide .guide-faq__item dd a:hover {
  text-decoration: underline;
}

.page-guide .guide-footer {
  padding: 2rem 1.5rem 2.5rem;
  text-align: center;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  background: linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.35));
}

.page-guide .guide-footer__copy {
  margin: 0 0 0.65rem;
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.38);
}

.page-guide .guide-footer__links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.35rem 1.25rem;
  margin: 0;
}

.page-guide .guide-footer__links a {
  font-size: 0.85rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.55);
  text-decoration: none;
}

.page-guide .guide-footer__links a:hover {
  color: var(--primary);
}

@media (max-width: 640px) {
  .page-guide .guide-step {
    grid-template-columns: 1fr;
    gap: 0.75rem;
  }

  .page-guide .guide-step__marker {
    width: 2.5rem;
    height: 2.5rem;
    font-size: 1rem;
  }

  .page-guide .guide-toc {
    justify-content: flex-start;
    overflow-x: auto;
    flex-wrap: nowrap;
    scrollbar-width: none;
  }

  .page-guide .guide-toc::-webkit-scrollbar {
    display: none;
  }

  .page-guide .guide-toc a {
    flex-shrink: 0;
  }

  .page-guide .guide-code {
    flex-direction: column;
  }

  .page-guide .guide-code__copy {
    border-left: none;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 0.65rem;
  }
}

.light.page-guide {
  background-color: #f4f6fa;
  color: #111;
}

.light.page-guide .guide-hero__lead,
.light.page-guide .guide-step__text,
.light.page-guide .guide-step__list,
.light.page-guide .guide-step__ordered,
.light.page-guide .guide-faq__item dd {
  color: rgba(0, 0, 0, 0.62);
}

.light.page-guide .guide-step,
.light.page-guide .guide-toc,
.light.page-guide .guide-help {
  background: rgba(255, 255, 255, 0.9);
  border-color: rgba(0, 0, 0, 0.08);
}

.light.page-guide .guide-step__title {
  color: #111;
}

.light.page-guide .guide-code {
  background: rgba(0, 0, 0, 0.04);
}

.light.page-guide .guide-code code {
  color: #0f172a;
}

html[data-auto-translate] body {
  top: 0 !important;
}

html[data-auto-translate] .goog-te-banner-frame,
html[data-auto-translate] .skiptranslate iframe.goog-te-banner-frame {
  display: none !important;
  visibility: hidden !important;
}

html[data-auto-translate] .goog-te-gadget {
  font-size: 0 !important;
}

html[data-auto-translate] #goog-gt-tt,
html[data-auto-translate] .goog-te-balloon-frame {
  display: none !important;
}

.page-updates .upd-header {
  text-align: center;
}

.page-updates .upd-release:first-child {
  padding: 1.45rem 1.35rem;
  border-color: rgba(255, 111, 102, 0.28);
  background:
    radial-gradient(circle at 0 0, rgba(255, 111, 102, 0.12), transparent 22rem),
    rgba(13, 13, 15, 0.92);
}

.page-updates .upd-release__head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.55rem 0.85rem;
}

.page-updates .upd-release__ver {
  font-family: Outfit, "Noto Sans KR", sans-serif;
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.page-updates .upd-release__date {
  font-family: "DM Mono", monospace;
  font-size: 0.78rem;
  letter-spacing: 0.04em;
}

.page-updates .upd-lines__item {
  gap: 0.65rem;
  padding: 0.55rem 0;
  font-size: 0.97rem;
  line-height: 1.72;
  letter-spacing: -0.01em;
}

.page-updates .upd-lines__item + .upd-lines__item {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.page-updates .upd-lines__item a {
  color: #7dd3fc;
  text-decoration: none;
  font-weight: 600;
  border-bottom: 1px solid rgba(125, 211, 252, 0.35);
  transition: color 0.15s, border-color 0.15s;
}

.page-updates .upd-lines__item a:hover {
  color: #bae6fd;
  border-bottom-color: rgba(186, 230, 253, 0.65);
}

.page-updates .upd-lines__item code {
  font-family: "JetBrains Mono", "DM Mono", monospace;
  font-size: 0.84em;
  padding: 0.12em 0.45em;
  border-radius: 6px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  word-break: break-word;
}

.page-updates .upd-lines__item--note {
  color: rgba(255, 255, 255, 0.58);
  font-size: 0.92rem;
}

.page-updates .upd-lines__item--note .upd-lines__mark {
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.55) !important;
}

.page-guide .guide-nav .nav-inner,
.page-game-seo .game-seo-nav .nav-inner,
.page-features .game-seo-nav .nav-inner {
  height: auto;
  min-height: 4rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 999px;
  background: rgba(12, 12, 14, 0.78);
  box-shadow: 0 20px 70px rgba(0, 0, 0, 0.35);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  padding: 0.45rem 1rem 0.45rem 1.25rem;
}

.page-guide .guide-nav .scripts-nav a,
.page-game-seo .game-seo-nav .scripts-nav a,
.page-features .game-seo-nav .scripts-nav a {
  font-weight: 700;
  font-size: 12px;
}

.page-guide .guide-main {
  padding: 7.5rem 0 3.5rem;
}

.page-guide .guide-wrap {
  max-width: 760px;
}

.page-guide .guide-hero__title {
  font-size: clamp(1.85rem, 4.5vw, 2.65rem);
  line-height: 1.18;
}

.page-guide .guide-hero__lead {
  max-width: 620px;
  font-size: 1.02rem;
  line-height: 1.75;
  color: rgba(255, 255, 255, 0.72);
}

.page-guide .guide-toc {
  position: sticky;
  top: 5.5rem;
  z-index: 2;
  margin-bottom: 2.25rem;
  padding: 0.75rem;
  border-radius: 999px;
  background: rgba(10, 10, 12, 0.82);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.page-guide .guide-step {
  padding: 1.5rem 1.35rem;
  border-radius: 22px;
}

.page-guide .guide-step__title {
  font-size: 1.12rem;
  margin-bottom: 0.65rem;
}

.page-guide .guide-step__text {
  font-size: 0.97rem;
  line-height: 1.75;
  color: rgba(255, 255, 255, 0.76);
}

.page-guide .guide-step__list,
.page-guide .guide-step__ordered {
  font-size: 0.94rem;
  line-height: 1.72;
  color: rgba(255, 255, 255, 0.68);
}

.page-guide .guide-help {
  margin-top: 2rem;
  padding: 1.35rem 1.25rem;
  border-radius: 22px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.03);
}

.page-guide .guide-faq__item dt {
  font-size: 0.95rem;
}

.page-guide .guide-faq__item dd {
  font-size: 0.92rem;
  line-height: 1.7;
}

.page-features .game-seo-main,
.page-game-seo.page-features .game-seo-main {
  padding: 7.5rem 0 3.5rem;
}

.page-features .game-seo-hero--solo {
  padding: 1.65rem 1.5rem;
  margin-bottom: 2.25rem;
  border-radius: 24px;
}

.page-features .game-seo-hero h1 {
  font-size: clamp(1.65rem, 4vw, 2.35rem);
  line-height: 1.2;
  margin-bottom: 0.75rem;
}

.page-features .game-seo-lead {
  font-size: 1rem;
  line-height: 1.78;
  max-width: 640px;
}

.page-features .game-seo-chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-top: 0.35rem;
}

.page-features .gf-catalog {
  padding: 1.35rem 1.25rem;
  border-radius: 24px;
}

.page-features .gf-catalog__head h2 {
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.page-features .game-seo-lead-inline {
  font-size: 0.92rem;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.58);
  margin: 0;
}

.page-features .gf-grid {
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr));
  gap: 1rem;
}

.page-features .gf-card {
  padding: 1.05rem;
  border-radius: 18px;
}

.page-features .gf-card__title {
  font-size: 1rem;
  line-height: 1.4;
}

.page-features .gf-card__desc {
  font-size: 0.84rem;
  line-height: 1.58;
  -webkit-line-clamp: 3;
}

.page-features .gf-quick-card__label {
  font-size: 0.98rem;
}

.page-features .gf-quick-card__desc {
  font-size: 0.82rem;
  line-height: 1.55;
}

@media (max-width: 640px) {
  .page-guide .guide-main,
  .page-features .game-seo-main {
    padding-top: 6.75rem;
  }

  .page-guide .guide-nav .nav-inner,
  .page-game-seo .game-seo-nav .nav-inner {
    border-radius: 20px;
    padding: 0.65rem 0.85rem;
  }

  .page-guide .guide-toc {
    position: static;
    border-radius: 16px;
    justify-content: flex-start;
    overflow-x: auto;
    flex-wrap: nowrap;
  }

  .page-guide .guide-toc a {
    white-space: nowrap;
  }

  .page-updates .upd-lines__item {
    font-size: 0.92rem;
  }
}

/* Hub learn / ecosystem cross-links */
.hub-learn {
  margin: 1.75rem 0 0;
  padding: 1.25rem 0 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  max-width: 760px;
}
.hub-learn--compact { margin-top: 1.25rem; padding-top: 0; border-top: none; }
.hub-learn__title {
  margin: 0 0 12px;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text, #e8e8ef);
}
.hub-learn p,
.hub-learn__more {
  margin: 0 0 10px;
  font-size: 0.92rem;
  line-height: 1.65;
  color: var(--text-muted, #9ca3af);
}
.hub-learn__list,
.hub-learn__steps {
  margin: 0 0 12px;
  padding-left: 1.25rem;
  font-size: 0.9rem;
  line-height: 1.6;
  color: var(--text-muted, #9ca3af);
}
.hub-learn__steps--big li { margin-bottom: 8px; }
.hub-learn__list li { margin-bottom: 6px; }
.hub-learn code {
  font-size: 0.85em;
  padding: 2px 6px;
  border-radius: 4px;
  background: rgba(0, 212, 255, 0.08);
}
.hub-learn a { color: #00d4ff; text-decoration: none; }
.hub-learn a:hover { text-decoration: underline; }
.hub-glossary { margin: 0; }
.hub-glossary dt {
  font-weight: 600;
  color: var(--text, #e8e8ef);
  margin-top: 12px;
  font-size: 0.9rem;
}
.hub-glossary dd {
  margin: 4px 0 0;
  font-size: 0.88rem;
  line-height: 1.55;
  color: var(--text-muted, #9ca3af);
}
.hub-eco { margin: 2rem 0 1rem; }
.hub-eco__title {
  margin: 0 0 14px;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-muted, #9ca3af);
}
.hub-eco-grid { margin-bottom: 0; }
.hub-faq { display: flex; flex-direction: column; gap: 8px; }
.hub-faq__item {
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  padding: 0 14px;
  background: rgba(255, 255, 255, 0.02);
}
.hub-faq__item summary {
  cursor: pointer;
  padding: 11px 0;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text, #e8e8ef);
  list-style: none;
}
.hub-faq__item summary::-webkit-details-marker { display: none; }
.hub-faq__item p {
  margin: 0 0 12px;
  font-size: 0.86rem;
  line-height: 1.55;
  color: var(--text-muted, #9ca3af);
}
.hub-unified-foot {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 4px;
  justify-content: center;
  margin-bottom: 10px;
  font-size: 0.82rem;
}
.hub-unified-foot a {
  color: var(--text-muted, #9ca3af);
  text-decoration: none;
}
.hub-unified-foot a:hover { color: #00d4ff; text-decoration: underline; }
.hub-unified-foot__sep { opacity: 0.35; user-select: none; }
.page-learn .learn-wrap { max-width: 820px; }
.page-learn .learn-toc { margin-bottom: 1.5rem; }
.guide-hero__actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 1rem; }
.light .hub-learn { border-top-color: rgba(0, 0, 0, 0.08); }
.light .hub-faq__item { border-color: rgba(0, 0, 0, 0.08); background: rgba(0, 0, 0, 0.02); }
