:root {
  --slate-50: #f8fafc;
  --slate-100: #f1f5f9;
  --slate-200: #e2e8f0;
  --slate-300: #cbd5e1;
  --slate-500: #64748b;
  --slate-600: #475569;
  --slate-700: #334155;
  --slate-800: #1e293b;
  --slate-900: #0f172a;
  --white: #ffffff;
  --cyan-300: #67e8f9;
  --cyan-500: #06b6d4;
  --cyan-700: #0e7490;
  --pink-700: #be185d;
  --lime-700: #4d7c0f;
  --lime-500: #84cc16;
  --orange-500: #f97316;
  --fuchsia-500: #d946ef;
  --amber-400: #fbbf24;
  --violet-500: #8b5cf6;
  --green-500: #22c55e;
  --sky-500: #0ea5e9;
  --yellow-400: #facc15;
  --red-100: #fee2e2;
  --red-800: #991b1b;
  --green-100: #dcfce7;
  --green-800: #166534;
  --shadow-soft: 0 10px 30px rgba(15, 23, 42, 0.08);
  --shadow-large: 0 20px 45px rgba(15, 23, 42, 0.12);
  --shadow-xl: 0 25px 55px rgba(15, 23, 42, 0.16);
  --radius-xl: 1rem;
  --radius-2xl: 1.5rem;
  --radius-3xl: 2rem;
  --container: 80rem;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-height: 100vh;
  background: var(--slate-50);
  color: var(--slate-900);
  font-family: Atlanta, "Segoe UI", Arial, sans-serif;
  line-height: 1.5;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
[hidden] { display: none !important; }

.page {
  min-height: 100vh;
  background: var(--slate-50);
  color: var(--slate-900);
}

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding-left: 1rem;
  padding-right: 1rem;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid rgba(226, 232, 240, 0.8);
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding-top: 1rem;
  padding-bottom: 1rem;
}

.brand-link {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  border-radius: var(--radius-2xl);
}

.brand-icon {
  display: flex;
  width: 3rem;
  height: 3rem;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border-radius: var(--radius-2xl);
  background: var(--white);
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.06);
  border: 1px solid var(--slate-200);
  flex-shrink: 0;
}

.brand-title {
  font-size: 1.5rem;
  font-weight: 900;
  letter-spacing: -0.03em;
  color: var(--slate-700);
  line-height: 1.1;
}

.brand-subtitle {
  margin-top: 0.125rem;
  font-size: 0.875rem;
  color: var(--slate-500);
}

.main-nav {
  display: none;
}

.main-nav ul,
.footer-nav ul,
.feature-list,
.plain-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.main-nav > ul {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.main-nav a,
.nav-toggle {
  display: inline-flex;
  align-items: center;
  border-radius: 0.75rem;
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--slate-700);
  transition: background-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
  background: transparent;
  border: 0;
  cursor: pointer;
  font-family: inherit;
}

.main-nav a:hover,
.nav-toggle:hover,
.footer-nav a:hover,
.ghost-button:hover {
  background: var(--slate-100);
  color: var(--slate-900);
}

.focus-ring:focus-visible,
.main-nav a:focus-visible,
.nav-toggle:focus-visible,
.footer-nav a:focus-visible,
.button:focus-visible,
.ghost-button:focus-visible,
.subnav a:focus-visible,
.breadcrumb-link:focus-visible,
.hero-jump a:focus-visible,
.hero-actions a:focus-visible,
.roblox-nav a:focus-visible {
  outline: none;
  box-shadow: 0 0 0 4px rgba(103, 232, 249, 0.55);
}

.nav-dropdown {
  position: relative;
}

.nav-toggle::after {
  content: "▾";
  margin-left: 0.5rem;
  font-size: 0.8rem;
  transition: transform 0.2s ease;
}

.nav-dropdown.is-open .nav-toggle::after {
  transform: rotate(180deg);
}

.subnav {
  position: absolute;
  top: calc(100% + 0.5rem);
  left: 0;
  min-width: 13rem;
  padding: 0.5rem;
  border-radius: 1rem;
  background: var(--white);
  border: 1px solid var(--slate-200);
  box-shadow: var(--shadow-large);
}

.subnav a {
  display: block;
  padding: 0.75rem 0.9rem;
  border-radius: 0.8rem;
  color: var(--slate-700);
  font-size: 0.95rem;
  font-weight: 700;
}

.subnav a:hover {
  background: var(--slate-100);
  color: var(--slate-900);
}

.hero-section {
  position: relative;
  overflow: hidden;
}

.hero-gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(34, 211, 238, 0.08), rgba(244, 114, 182, 0.09), rgba(132, 204, 22, 0.08));
  pointer-events: none;
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 2.5rem;
  padding-top: 4rem;
  padding-bottom: 4rem;
}

.hero-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.eyebrow-badge,
.eyebrow-inline {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  border-radius: 999px;
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
  font-weight: 700;
}

.eyebrow-badge {
  margin-bottom: 1rem;
  border: 1px solid var(--slate-200);
  background: var(--white);
  color: var(--slate-700);
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.06);
}

.eyebrow-inline {
  background: rgba(139, 92, 246, 0.12);
  color: var(--violet-500);
  margin-bottom: 1rem;
}

.hero-title {
  max-width: 48rem;
  margin: 0;
  font-size: clamp(2.4rem, 5vw, 4.5rem);
  line-height: 1.05;
  font-weight: 900;
  letter-spacing: -0.04em;
  color: var(--slate-900);
}

.hero-text,
.section-text,
.card-text,
.mini-feature-text,
.aside-text,
.notice-box,
.info-panel p,
.resource-card p,
.game-card p,
.tip-card p,
.tone-card p,
.tone-card li {
  color: var(--slate-600);
  line-height: 1.8;
}

.hero-text {
  max-width: 42rem;
  margin-top: 1.5rem;
  margin-bottom: 0;
  font-size: 1.125rem;
}

.hero-actions,
.hero-jump {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-top: 2rem;
}

.button,
.ghost-button,
.hero-jump a,
.hero-actions a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-2xl);
  padding: 0.875rem 1.5rem;
  font-size: 1rem;
  font-weight: 700;
  transition: transform 0.2s ease, background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
  width: 100%;
}

.button,
.hero-jump a,
.hero-actions a:not(.ghost-button) {
  background: var(--slate-800);
  color: var(--white);
  box-shadow: 0 16px 30px rgba(148, 163, 184, 0.35);
}

.button:hover,
.hero-jump a:hover,
.hero-actions a:not(.ghost-button):hover {
  transform: translateY(-2px);
}

.ghost-button {
  border: 1px solid var(--slate-300);
  background: var(--white);
  color: var(--slate-800);
}

.hero-visual {
  display: flex;
  align-items: center;
  justify-content: center;
}

.logo-shell {
  width: 100%;
  max-width: 28rem;
  border-radius: var(--radius-3xl);
  background: var(--white);
  padding: 1.25rem;
  box-shadow: var(--shadow-xl);
  border: 1px solid var(--slate-200);
}

.logo-shell-inner {
  border-radius: 1.5rem;
  background: var(--slate-50);
  padding: 1.5rem;
}

.hero-logo {
  width: 100%;
  max-width: 20rem;
  height: auto;
  margin: 0 auto;
  object-fit: contain;
}

.article-image {
  margin-top: 1.5rem;
  border-radius: 1.5rem;
  overflow: hidden;
  box-shadow: var(--shadow-large);
}

.article-image img {
  width: 100%;
  height: auto;
  display: block;
}

.game-image {
  margin: 0.75rem 0 1rem 0;
  border-radius: 1rem;
  overflow: hidden;
  border: 1px solid var(--slate-200);
}

.game-image img {
  width: 100%;
  height: auto;
  display: block;
}

.mini-feature-grid,
.card-grid,
.grid-2,
.grid-3,
.roblox-hero-grid,
.roblox-stack {
  display: grid;
  gap: 1.5rem;
}

.mini-feature,
.card,
.soft-card,
.hero-card-panel,
.info-panel,
.resource-card,
.game-card,
.tip-card,
.tone-card {
  border-radius: 1.75rem;
  background: var(--white);
  border: 1px solid var(--slate-200);
  padding: 1.5rem;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.05);
}

.soft-card {
  background: var(--slate-50);
  box-shadow: inset 0 0 0 1px var(--slate-200);
}

.mini-feature-title,
.card-title,
.aside-title,
.resource-card h3,
.game-card h3,
.tip-card h3,
.tone-card h3,
.info-panel h3,
.hero-card-panel h3 {
  margin: 0;
  color: var(--slate-900);
  font-weight: 800;
}

.mini-feature-title { font-size: 0.875rem; }
.card-title,
.resource-card h3,
.game-card h3,
.tip-card h3,
.tone-card h3,
.info-panel h3,
.hero-card-panel h3 { font-size: 1.2rem; }

.mini-feature-text { margin-top: 0.25rem; font-size: 0.875rem; }

.content-section { padding-top: 4rem; padding-bottom: 4rem; }
.section-heading { max-width: 48rem; margin-bottom: 2rem; }

.section-label {
  margin: 0;
  font-size: 0.875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.2em;
}

.label-tools { color: var(--cyan-700); }
.label-courses { color: var(--pink-700); }
.label-info { color: var(--lime-700); }

.section-title {
  margin: 0.5rem 0 0;
  font-size: clamp(2rem, 3vw, 2.5rem);
  line-height: 1.15;
  font-weight: 900;
  letter-spacing: -0.03em;
  color: var(--slate-900);
}

.card-accent {
  width: 5rem;
  height: 0.5rem;
  border-radius: 999px;
  margin-bottom: 1rem;
}

.accent-lime { background: var(--lime-500); }
.accent-orange { background: var(--orange-500); }
.accent-fuchsia { background: var(--fuchsia-500); }
.accent-amber { background: var(--amber-400); }
.accent-violet { background: var(--violet-500); }
.accent-cyan { background: var(--cyan-500); }
.accent-green { background: var(--green-500); }
.accent-sky { background: var(--sky-500); }
.accent-yellow { background: var(--yellow-400); }

.white-section { background: var(--white); }

.courses-layout {
  display: grid;
  gap: 1.5rem;
}

.aside-panel {
  border-radius: var(--radius-3xl);
  background: var(--slate-900);
  padding: 2rem;
  color: var(--white);
  box-shadow: var(--shadow-xl);
}

.aside-title { font-size: 1.75rem; font-weight: 900; }
.aside-text { margin: 1rem 0 0; color: rgba(226, 232, 240, 0.95); }

.feature-list {
  margin-top: 1.5rem;
  display: grid;
  gap: 0.75rem;
  font-size: 0.875rem;
  line-height: 1.7;
  color: rgba(226, 232, 240, 0.95);
}

.feature-list li {
  border-radius: var(--radius-2xl);
  background: rgba(255, 255, 255, 0.1);
  padding: 0.75rem 1rem;
}

.footer-link {
  color: var(--slate-700);
  font-weight: 700;
  border-radius: 0.5rem;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.footer-link:hover {
  color: var(--slate-900);
  background: var(--slate-100);
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  align-items: center;
  margin-bottom: 1rem;
  font-size: 0.92rem;
  color: var(--slate-500);
}

.breadcrumb-link {
  color: var(--slate-700);
  font-weight: 700;
  border-radius: 0.5rem;
  padding: 0.2rem 0.35rem;
}

.roblox-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.roblox-nav a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1rem;
  border-radius: 999px;
  background: var(--white);
  border: 1px solid var(--slate-200);
  color: var(--slate-700);
  font-size: 0.95rem;
  font-weight: 700;
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.05);
  transition: transform 0.2s ease, background-color 0.2s ease, color 0.2s ease;
}

.roblox-nav a:hover {
  transform: translateY(-2px);
  background: var(--slate-100);
  color: var(--slate-900);
}

.notice-box {
  border-radius: var(--radius-2xl);
  padding: 1.25rem 1.5rem;
  background: linear-gradient(135deg, rgba(34, 211, 238, 0.12), rgba(132, 204, 22, 0.10));
  border: 1px solid rgba(34, 211, 238, 0.18);
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.06);
}

.notice-box strong { color: var(--slate-900); }

.panel-yellow { background: linear-gradient(180deg, #fff9db 0%, #fffdf3 100%); }
.panel-blue { background: linear-gradient(180deg, #eaf6ff 0%, #f8fbff 100%); }
.tone-yellow { background: linear-gradient(180deg, #fff8db 0%, #ffffff 100%); }
.tone-red { background: linear-gradient(180deg, #fff1f2 0%, #ffffff 100%); }
.tone-green { background: linear-gradient(180deg, #ecfdf5 0%, #ffffff 100%); }
.tone-blue { background: linear-gradient(180deg, #eff6ff 0%, #ffffff 100%); }

.meta-line {
  margin-top: 0.5rem;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--slate-500);
}

.badge-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1rem;
  margin-bottom: 1rem;
}

.badge {
  display: inline-flex;
  align-items: center;
  padding: 0.45rem 0.75rem;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 700;
}

.badge-red { background: var(--red-100); color: var(--red-800); }
.badge-green { background: var(--green-100); color: var(--green-800); }

.plain-list {
  margin-top: 0.75rem;
  padding-left: 1.2rem;
  color: var(--slate-600);
  line-height: 1.8;
  list-style: disc;
}

.resource-card a {
  color: var(--cyan-700);
  word-break: break-word;
  font-weight: 700;
}

.resource-card a:hover { text-decoration: underline; }

.site-footer {
  border-top: 1px solid var(--slate-200);
  background: var(--white);
  margin-top: 0;
}

.footer-inner {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding-top: 2rem;
  padding-bottom: 2rem;
  font-size: 0.875rem;
  color: var(--slate-600);
}

.footer-brand strong {
  color: var(--slate-800);
  font-weight: 700;
}

.footer-nav ul {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-nav a {
  border-radius: 0.5rem;
  transition: background-color 0.2s ease, color 0.2s ease;
}

@media (min-width: 640px) {
  .container { padding-left: 1.5rem; padding-right: 1.5rem; }
  .hero-grid { padding-top: 5rem; padding-bottom: 5rem; }
  .hero-actions, .hero-jump { flex-direction: row; }
  .button, .ghost-button, .hero-jump a, .hero-actions a { width: auto; }
}

@media (min-width: 768px) {
  .main-nav { display: block; }
  .card-grid, .grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .grid-2, .roblox-hero-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (min-width: 1024px) {
  .container { padding-left: 2rem; padding-right: 2rem; }
  .hero-grid { grid-template-columns: 1.1fr 0.9fr; padding-top: 6rem; padding-bottom: 6rem; }
  .courses-layout { grid-template-columns: 1.1fr 0.9fr; }
  .footer-inner { flex-direction: row; align-items: center; justify-content: space-between; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
  }
}
