:root {
  --gc-bg: #f5f7fb;
  --gc-surface: rgba(255, 255, 255, 0.84);
  --gc-surface-solid: #ffffff;
  --gc-ink: #10213f;
  --gc-muted: #5f708f;
  --gc-line: rgba(16, 33, 63, 0.1);
  --gc-primary: #0f6bff;
  --gc-primary-strong: #004ecc;
  --gc-primary-soft: #e9f2ff;
  --gc-accent: #ff7a1a;
  --gc-green: #11845b;
  --gc-green-soft: #e8fff5;
  --gc-pink: #c92c7b;
  --gc-pink-soft: #ffe8f4;
  --gc-gold: #f2b74f;
  --gc-shadow-sm: 0 16px 36px rgba(16, 33, 63, 0.08);
  --gc-shadow-md: 0 28px 70px rgba(16, 33, 63, 0.12);
  --gc-radius-xl: 32px;
  --gc-radius-lg: 24px;
  --gc-radius-md: 18px;
  --gc-transition: 220ms ease;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  color: var(--gc-ink);
  font-family: "Manrope", sans-serif;
  background:
    radial-gradient(circle at top left, rgba(15, 107, 255, 0.16), transparent 30%),
    radial-gradient(circle at top right, rgba(255, 122, 26, 0.14), transparent 22%),
    linear-gradient(180deg, #fbfdff 0%, #f4f8fd 45%, #eef3f9 100%);
}

a,
button,
input,
textarea {
  font: inherit;
}

.gc-shell {
  width: min(1240px, calc(100% - 24px));
  margin: 0 auto;
  padding: 24px 0 48px;
}

.gc-nav {
  position: sticky;
  top: 16px;
  z-index: 20;
  margin-bottom: 20px;
}

.gc-nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 18px;
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: var(--gc-shadow-sm);
  backdrop-filter: blur(18px);
}

.gc-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--gc-ink);
  text-decoration: none;
}

.gc-brand-mark {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 14px;
  color: #fff;
  font-weight: 800;
  background: linear-gradient(135deg, var(--gc-primary), var(--gc-accent));
}

.gc-brand-copy {
  display: grid;
  gap: 2px;
}

.gc-brand-copy strong {
  font-size: 1rem;
}

.gc-brand-copy span,
.gc-meta-text,
.gc-muted {
  color: var(--gc-muted);
}

.gc-nav-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.gc-nav-links a {
  padding: 8px 12px;
  border-radius: 999px;
  color: var(--gc-muted);
  text-decoration: none;
  transition: color var(--gc-transition), background var(--gc-transition);
}

.gc-nav-links a:hover,
.gc-nav-links a:focus-visible {
  color: var(--gc-primary);
  background: rgba(15, 107, 255, 0.08);
}

.gc-panel {
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: var(--gc-radius-xl);
  background: var(--gc-surface);
  box-shadow: var(--gc-shadow-md);
  backdrop-filter: blur(18px);
}

.gc-hero {
  position: relative;
  overflow: hidden;
  padding: 22px;
}

.gc-hero::after {
  content: "";
  position: absolute;
  inset: auto -8% -18% auto;
  width: 300px;
  height: 300px;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(15, 107, 255, 0.16), transparent 68%);
  pointer-events: none;
}

.gc-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(15, 107, 255, 0.08);
  color: var(--gc-primary);
  font-size: 0.88rem;
  font-weight: 700;
}

.gc-display {
  margin: 18px 0 16px;
  color: var(--gc-ink);
  font-family: "Instrument Serif", serif;
  font-size: clamp(3rem, 8vw, 6rem);
  line-height: 0.92;
  letter-spacing: -0.05em;
}

.gc-display em {
  font-style: italic;
  color: var(--gc-primary);
}

.gc-lead {
  margin: 0;
  color: var(--gc-muted);
  font-size: 1.05rem;
  line-height: 1.8;
}

.gc-form-card,
.gc-preview-card,
.gc-feature-card,
.gc-stat-card,
.gc-dashboard-card,
.gc-module-card,
.gc-lesson-card,
.gc-slide-card,
.gc-quiz-option {
  border: 1px solid var(--gc-line);
  border-radius: var(--gc-radius-lg);
  background: rgba(255, 255, 255, 0.9);
  box-shadow: var(--gc-shadow-sm);
}

.gc-form-card,
.gc-preview-card,
.gc-dashboard-card,
.gc-lesson-card,
.gc-slide-card {
  padding: 24px;
}

.gc-input {
  min-height: 58px;
  border-radius: 16px;
  border: 1px solid rgba(16, 33, 63, 0.12);
  padding: 0 18px;
}

.gc-input:focus,
.gc-short-answer:focus {
  border-color: var(--gc-primary);
  box-shadow: 0 0 0 0.25rem rgba(15, 107, 255, 0.16);
}

.gc-btn-primary,
.gc-btn-secondary,
.gc-btn-danger,
.gc-btn-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 54px;
  padding: 0 22px;
  border-radius: 16px;
  border: 0;
  font-weight: 700;
  text-decoration: none;
  transition:
    transform var(--gc-transition),
    box-shadow var(--gc-transition),
    opacity var(--gc-transition),
    background var(--gc-transition);
}

.gc-btn-primary:hover,
.gc-btn-secondary:hover,
.gc-btn-danger:hover,
.gc-btn-ghost:hover,
.gc-chip:hover,
.gc-module-card:hover,
.gc-quiz-option:hover {
  transform: translateY(-1px);
}

.gc-btn-primary {
  color: #fff;
  background: linear-gradient(135deg, var(--gc-primary), #3388ff);
  box-shadow: 0 16px 30px rgba(15, 107, 255, 0.24);
}

.gc-btn-secondary {
  color: var(--gc-primary);
  background: #fff;
  border: 1px solid rgba(15, 107, 255, 0.15);
}

.gc-btn-danger {
  color: #fff;
  background: linear-gradient(135deg, #d9466f, #be123c);
  box-shadow: 0 16px 30px rgba(190, 24, 93, 0.22);
}

.gc-btn-ghost {
  min-height: 46px;
  color: var(--gc-muted);
  background: transparent;
}

.gc-user-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 42px;
  padding: 0 14px;
  border-radius: 999px;
  background: rgba(15, 107, 255, 0.08);
  color: var(--gc-primary-strong);
  font-size: 0.92rem;
  font-weight: 700;
}

.gc-user-pill-button {
  border: 0;
  cursor: pointer;
}

.gc-user-menu {
  position: relative;
}

.gc-user-menu-dropdown {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  z-index: 30;
  min-width: 190px;
  padding: 8px;
  border: 1px solid var(--gc-line);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.98);
  box-shadow: var(--gc-shadow-sm);
  backdrop-filter: blur(18px);
}

.gc-user-menu-item {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  min-height: 46px;
  padding: 0 12px;
  border: 0;
  border-radius: 12px;
  background: transparent;
  color: var(--gc-ink);
  text-align: left;
  transition: background var(--gc-transition), color var(--gc-transition);
}

.gc-user-menu-item span {
  color: var(--gc-primary);
}

.gc-user-menu-item:hover {
  background: rgba(15, 107, 255, 0.08);
  color: var(--gc-primary-strong);
}

.gc-chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.gc-chip {
  padding: 10px 14px;
  border: 1px solid rgba(15, 107, 255, 0.1);
  border-radius: 999px;
  background: #fff;
  color: var(--gc-primary-strong);
}

.gc-kpi {
  display: grid;
  gap: 14px;
}

.gc-stat-card {
  height: 100%;
  padding: 20px;
}

.gc-danger-card {
  border-color: rgba(201, 44, 123, 0.16);
  background: linear-gradient(180deg, #fff8fb 0%, #fff2f7 100%);
}

.gc-stat-card-light {
  background: rgba(255, 255, 255, 0.96);
}

.gc-stat-card-light .gc-stat-value,
.gc-stat-card-light .gc-meta-text {
  color: var(--gc-ink);
}

.gc-stat-value {
  display: block;
  margin-bottom: 6px;
  color: var(--gc-ink);
  font-size: 1.5rem;
  font-weight: 800;
}

.gc-preview-shell {
  padding: 28px;
  border-radius: 28px;
  background:
    linear-gradient(180deg, rgba(12, 23, 42, 0.98), rgba(23, 42, 76, 0.98)),
    linear-gradient(135deg, rgba(15, 107, 255, 0.12), rgba(255, 122, 26, 0.08));
  color: #fff;
}

.gc-preview-shell .gc-muted,
.gc-preview-shell .gc-meta-text {
  color: rgba(255, 255, 255, 0.72);
}

.gc-preview-shell .gc-stat-card-light .gc-stat-value,
.gc-preview-shell .gc-stat-card-light .gc-meta-text {
  color: var(--gc-ink);
}

.gc-mini-card {
  padding: 18px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.gc-proof-strip {
  display: grid;
  gap: 16px;
}

.gc-feature-card {
  height: 100%;
  padding: 22px;
}

.gc-feature-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  margin-bottom: 16px;
  border-radius: 16px;
  color: var(--gc-primary);
  background: var(--gc-primary-soft);
  font-size: 1.3rem;
}

.gc-screenshot {
  padding: 24px;
  border-radius: 28px;
  background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
}

.gc-course-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 22px;
  border-radius: 24px;
  background: linear-gradient(180deg, #f7fbff 0%, #edf5ff 100%);
  border: 1px solid rgba(15, 107, 255, 0.12);
}

.gc-badge-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 18px;
}

.gc-stat-badge {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 8px 12px;
  align-items: center;
  padding: 16px;
  border-radius: 20px;
  background: linear-gradient(180deg, #f8fbff 0%, #eef5ff 100%);
  border: 1px solid rgba(15, 107, 255, 0.12);
}

.gc-stat-badge strong {
  font-size: 1.15rem;
}

.gc-stat-badge small {
  grid-column: 1 / -1;
  color: var(--gc-muted);
  font-size: 0.78rem;
}

.gc-stat-badge-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 14px;
  background: #fff;
  color: var(--gc-primary);
  font-size: 1.15rem;
  box-shadow: inset 0 0 0 1px rgba(15, 107, 255, 0.08);
}

.gc-course-sidebar {
  padding: 22px 18px;
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 26px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: var(--gc-shadow-sm);
  backdrop-filter: blur(18px);
}

.gc-sidebar-section {
  display: grid;
  gap: 8px;
}

.gc-sidebar-nav {
  display: grid;
  gap: 8px;
}

.gc-sidebar-nav-item {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  min-height: 48px;
  padding: 0 14px;
  border: 1px solid transparent;
  border-radius: 14px;
  background: transparent;
  color: var(--gc-muted);
  text-align: left;
  transition: background var(--gc-transition), color var(--gc-transition), border-color var(--gc-transition);
}

.gc-sidebar-nav-item span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  color: var(--gc-primary);
}

.gc-sidebar-nav-item.active,
.gc-sidebar-nav-item:hover {
  background: rgba(15, 107, 255, 0.08);
  border-color: rgba(15, 107, 255, 0.08);
  color: var(--gc-primary-strong);
}

.gc-sidebar-list {
  display: grid;
  gap: 10px;
}

.gc-library-section {
  padding-top: 6px;
  border-top: 1px solid var(--gc-line);
}

.gc-library-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.gc-library-course,
.gc-sidebar-course {
  display: grid;
  gap: 4px;
  width: 100%;
  padding: 14px 16px;
  border: 1px solid rgba(15, 107, 255, 0.08);
  border-radius: 16px;
  background: #fff;
  color: var(--gc-ink);
  text-align: left;
  transition: border-color var(--gc-transition), box-shadow var(--gc-transition), transform var(--gc-transition);
}

.gc-library-course {
  gap: 10px;
  padding: 18px;
  border-radius: 20px;
}

.gc-library-course-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.gc-library-course strong,
.gc-sidebar-course span {
  display: block;
}

.gc-library-course span,
.gc-sidebar-course span {
  color: var(--gc-muted);
  font-size: 0.88rem;
}

.gc-library-course:hover,
.gc-library-course.active,
.gc-sidebar-course:hover,
.gc-sidebar-course.active {
  border-color: rgba(15, 107, 255, 0.22);
  box-shadow: 0 16px 24px rgba(16, 33, 63, 0.08);
  transform: translateY(-1px);
}

.gc-course-header-left,
.gc-module-head {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.gc-icon-box {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border-radius: 16px;
  background: var(--gc-primary-soft);
  color: var(--gc-primary);
  font-size: 1.2rem;
  flex-shrink: 0;
}

.gc-icon-box.practice {
  background: var(--gc-pink-soft);
  color: var(--gc-pink);
}

.gc-module-card {
  display: grid;
  gap: 14px;
  padding: 20px;
  transition: transform var(--gc-transition), box-shadow var(--gc-transition), border-color var(--gc-transition);
}

.gc-module-card:hover {
  box-shadow: 0 20px 42px rgba(16, 33, 63, 0.1);
  border-color: rgba(15, 107, 255, 0.18);
}

.gc-module-card.locked {
  opacity: 0.65;
  background: rgba(255, 255, 255, 0.72);
}

.gc-module-card.completed {
  border-color: rgba(17, 132, 91, 0.22);
  background: linear-gradient(180deg, #ffffff 0%, #f4fff9 100%);
}

.gc-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #90a0be;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.gc-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 34px;
  padding: 0 12px;
  border-radius: 999px;
  font-size: 0.88rem;
  font-weight: 700;
}

.gc-pill.xp {
  background: var(--gc-primary-soft);
  color: var(--gc-primary);
}

.gc-pill.done {
  background: var(--gc-green-soft);
  color: var(--gc-green);
}

.gc-pill.locked {
  background: rgba(16, 33, 63, 0.06);
  color: #8593ac;
}

.gc-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.gc-topbar .gc-meta-text {
  max-width: 100%;
  word-break: break-word;
}

.gc-progress-bar {
  height: 10px;
  border-radius: 999px;
  overflow: hidden;
  background: rgba(16, 33, 63, 0.08);
}

.gc-progress-fill {
  height: 100%;
  width: 0;
  border-radius: inherit;
  background: linear-gradient(135deg, var(--gc-primary), #47a4ff);
  transition: width var(--gc-transition);
}

.gc-slide-type {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  width: fit-content;
  padding: 8px 12px;
  border-radius: 999px;
  background: var(--gc-primary-soft);
  color: var(--gc-primary);
  font-size: 0.85rem;
  font-weight: 700;
}

.gc-slide-card {
  margin-top: 24px;
}

.gc-slide-body ul {
  margin-bottom: 0;
  padding-left: 1.2rem;
  color: var(--gc-muted);
  line-height: 1.8;
}

.gc-callout {
  padding: 16px 18px;
  border-radius: 18px;
  background: var(--gc-primary-soft);
  color: var(--gc-primary-strong);
}

.gc-quiz-option {
  display: flex;
  align-items: center;
  gap: 14px;
  width: 100%;
  padding: 16px 18px;
  text-align: left;
  transition: transform var(--gc-transition), border-color var(--gc-transition), background var(--gc-transition);
}

.gc-quiz-option.selected {
  border-color: rgba(15, 107, 255, 0.3);
  background: #eff6ff;
}

.gc-quiz-option.correct {
  border-color: rgba(17, 132, 91, 0.24);
  background: #effff7;
}

.gc-quiz-option.incorrect {
  border-color: rgba(201, 44, 123, 0.22);
  background: #fff0f7;
}

.gc-option-index {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 999px;
  background: rgba(16, 33, 63, 0.06);
  color: var(--gc-ink);
  font-size: 0.88rem;
  font-weight: 800;
  flex-shrink: 0;
}

.gc-feedback {
  min-height: 24px;
  font-weight: 600;
}

.gc-feedback.success {
  color: var(--gc-green);
}

.gc-feedback.error {
  color: var(--gc-pink);
}

.gc-short-answer {
  min-height: 140px;
  border-radius: 18px;
  border: 1px solid rgba(16, 33, 63, 0.12);
  padding: 16px 18px;
  resize: vertical;
}

.gc-empty,
.gc-loading {
  padding: 56px 24px;
  text-align: center;
}

.gc-loading {
  min-height: calc(100vh - 120px);
  display: grid;
  align-content: center;
  justify-items: center;
}

.gc-auth-backdrop {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: grid;
  place-items: center;
  padding: 20px;
  background: rgba(15, 23, 42, 0.36);
  backdrop-filter: blur(12px);
}

.gc-auth-modal {
  position: relative;
  width: min(100%, 440px);
  padding: 40px 34px 26px;
  border: 1px solid rgba(148, 163, 184, 0.18);
  border-radius: 24px;
  background: #ffffff;
  box-shadow: 0 28px 70px rgba(15, 23, 42, 0.16);
}

.gc-auth-close {
  position: absolute;
  top: 18px;
  right: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: #f1f5f9;
  color: #94a3b8;
  cursor: pointer;
  transition: background var(--gc-transition), color var(--gc-transition);
}

.gc-auth-close:hover,
.gc-auth-close:focus-visible {
  background: #e2e8f0;
  color: #475569;
}

.gc-auth-close svg,
.gc-auth-social-icon svg,
.gc-auth-primary-icon svg,
.gc-auth-visibility svg {
  width: 18px;
  height: 18px;
}

.gc-auth-header {
  display: grid;
  gap: 10px;
  text-align: center;
}

.gc-auth-title {
  margin: 0;
  color: #111827;
  font-size: clamp(2rem, 5vw, 2.25rem);
  font-weight: 800;
  letter-spacing: -0.03em;
}

.gc-auth-subtitle {
  margin: 0;
  color: #64748b;
  font-size: 1rem;
  line-height: 1.6;
}

.gc-auth-body {
  display: grid;
  gap: 22px;
  margin-top: 26px;
}

.gc-auth-social-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 52px;
  width: 100%;
  padding: 0 16px;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  background: #ffffff;
  color: #0f172a;
  font-weight: 700;
  cursor: pointer;
  transition: border-color var(--gc-transition), box-shadow var(--gc-transition), transform var(--gc-transition);
}

.gc-auth-social-button:hover,
.gc-auth-social-button:focus-visible {
  border-color: #cbd5e1;
  box-shadow: 0 12px 24px rgba(15, 23, 42, 0.08);
  transform: translateY(-1px);
}

.gc-auth-social-button:disabled,
.gc-auth-primary-button:disabled {
  cursor: not-allowed;
  opacity: 0.7;
  transform: none;
  box-shadow: none;
}

.gc-auth-social-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.gc-auth-separator {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 12px;
  align-items: center;
  color: #cbd5e1;
}

.gc-auth-separator span {
  height: 1px;
  background: #e2e8f0;
}

.gc-auth-separator strong {
  color: #94a3b8;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.22em;
}

.gc-auth-form {
  display: grid;
  gap: 18px;
  margin-top: 4px;
}

.gc-auth-field {
  display: grid;
  gap: 8px;
}

.gc-auth-label {
  color: #64748b;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.gc-auth-input-wrap {
  position: relative;
}

.gc-auth-input {
  width: 100%;
  min-height: 52px;
  padding: 0 16px;
  border: 1px solid #dbe3ee;
  border-radius: 12px;
  background: #ffffff;
  color: #0f172a;
  outline: none;
  transition: border-color var(--gc-transition), box-shadow var(--gc-transition);
}

.gc-auth-input::placeholder {
  color: #94a3b8;
}

.gc-auth-input:focus-visible {
  border-color: #22c55e;
  box-shadow: 0 0 0 4px rgba(34, 197, 94, 0.14);
}

.gc-auth-input-wrap .gc-auth-input {
  padding-right: 52px;
}

.gc-auth-visibility {
  position: absolute;
  top: 50%;
  right: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: #94a3b8;
  cursor: pointer;
  transform: translateY(-50%);
  transition: color var(--gc-transition), background var(--gc-transition);
}

.gc-auth-visibility:hover,
.gc-auth-visibility:focus-visible {
  color: #475569;
  background: #f8fafc;
}

.gc-auth-actions {
  margin-top: 4px;
}

.gc-auth-primary-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 54px;
  width: 100%;
  padding: 0 20px;
  border: 0;
  border-radius: 14px;
  background: #059669;
  color: #ffffff;
  font-weight: 800;
  cursor: pointer;
  transition: background var(--gc-transition), box-shadow var(--gc-transition), transform var(--gc-transition);
}

.gc-auth-primary-button:hover,
.gc-auth-primary-button:focus-visible {
  background: #047857;
  box-shadow: 0 18px 34px rgba(5, 150, 105, 0.24);
  transform: translateY(-1px);
}

.gc-auth-primary-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.gc-auth-feedback {
  display: grid;
  gap: 8px;
  min-height: 46px;
}

.gc-auth-footer {
  display: grid;
  gap: 12px;
  margin-top: 22px;
  text-align: center;
}

.gc-auth-switch-copy,
.gc-auth-disclaimer {
  margin: 0;
}

.gc-auth-switch-copy {
  color: #64748b;
}

.gc-auth-switch-link {
  border: 0;
  padding: 0;
  background: transparent;
  color: #7c3aed;
  font-weight: 700;
  cursor: pointer;
}

.gc-auth-disclaimer {
  color: #94a3b8;
  font-size: 0.76rem;
  line-height: 1.5;
}

.gc-auth-legal-link {
  border: 0;
  padding: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  text-decoration: underline;
  text-underline-offset: 2px;
  cursor: pointer;
}

.gc-auth-switch-link:focus-visible,
.gc-auth-legal-link:focus-visible,
.gc-auth-close:focus-visible,
.gc-auth-social-button:focus-visible,
.gc-auth-visibility:focus-visible,
.gc-auth-primary-button:focus-visible {
  outline: 2px solid rgba(124, 58, 237, 0.28);
  outline-offset: 2px;
}

.gc-loader {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.gc-loader span {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: var(--gc-primary);
  animation: gcPulse 0.9s infinite alternate;
}

.gc-loader span:nth-child(2) {
  animation-delay: 0.2s;
}

.gc-loader span:nth-child(3) {
  animation-delay: 0.4s;
}

@keyframes gcPulse {
  from {
    opacity: 0.35;
    transform: translateY(0);
  }

  to {
    opacity: 1;
    transform: translateY(-2px);
  }
}

@media (max-width: 991.98px) {
  .gc-nav-links {
    display: none;
  }

  .gc-shell {
    width: min(100% - 16px, 1240px);
    padding-top: 16px;
  }

  .gc-form-card,
  .gc-preview-card,
  .gc-dashboard-card,
  .gc-lesson-card,
  .gc-slide-card {
    padding: 20px;
  }

  .gc-display {
    font-size: clamp(2.6rem, 13vw, 4.5rem);
  }

  .gc-auth-modal {
    padding: 36px 22px 24px;
  }

  .gc-badge-row {
    grid-template-columns: 1fr;
  }

  .gc-library-grid {
    grid-template-columns: 1fr;
  }

  .gc-course-sidebar {
    padding: 16px;
  }

  .gc-sidebar-nav {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .gc-sidebar-nav-item {
    flex-direction: column;
    justify-content: center;
    gap: 8px;
    min-height: 72px;
    padding: 10px 8px;
    border-radius: 16px;
  }

  .gc-sidebar-nav-item strong {
    font-size: 0.78rem;
    line-height: 1.25;
    text-align: center;
  }

  .gc-course-header {
    gap: 20px;
  }

  .gc-module-card,
  .gc-library-course,
  .gc-stat-badge,
  .gc-stat-card {
    border-radius: 20px;
  }

  .gc-library-course-head {
    align-items: flex-start;
  }
}

@media (max-width: 767.98px) {
  .gc-shell {
    width: min(100% - 12px, 1240px);
    padding: 12px 0 32px;
  }

  .gc-nav {
    position: static;
    margin-bottom: 14px;
  }

  .gc-nav-inner {
    flex-direction: column;
    align-items: stretch;
    gap: 14px;
    padding: 14px;
    border-radius: 24px;
  }

  .gc-brand {
    gap: 10px;
  }

  .gc-brand-mark {
    width: 40px;
    height: 40px;
    border-radius: 12px;
  }

  .gc-brand-copy strong {
    font-size: 0.95rem;
  }

  .gc-brand-copy span {
    font-size: 0.82rem;
  }

  .gc-hero {
    padding: 16px;
  }

  .gc-hero::after {
    width: 180px;
    height: 180px;
    inset: auto -14% -10% auto;
  }

  .gc-badge {
    padding: 8px 12px;
    font-size: 0.8rem;
  }

  .gc-display {
    margin: 14px 0 12px;
    font-size: clamp(2.35rem, 13vw, 3.6rem);
    line-height: 0.96;
  }

  .gc-lead {
    font-size: 0.96rem;
    line-height: 1.65;
  }

  .gc-form-card,
  .gc-preview-card,
  .gc-dashboard-card,
  .gc-lesson-card,
  .gc-slide-card,
  .gc-feature-card,
  .gc-stat-card,
  .gc-course-sidebar {
    padding: 16px;
    border-radius: 20px;
  }

  .gc-input,
  .gc-btn-primary,
  .gc-btn-secondary,
  .gc-btn-ghost {
    min-height: 48px;
  }

  .gc-user-pill {
    width: 100%;
    justify-content: center;
  }

  .gc-user-menu {
    width: 100%;
  }

  .gc-user-menu-dropdown {
    position: static;
    min-width: 100%;
    margin-top: 10px;
    border-radius: 16px;
  }

  .gc-chip-row {
    gap: 8px;
  }

  .gc-chip {
    width: 100%;
    justify-content: center;
    padding: 11px 14px;
  }

  .gc-preview-shell {
    padding: 18px;
    border-radius: 22px;
  }

  .gc-mini-card,
  .gc-module-card {
    padding: 16px;
  }

  .gc-course-header,
  .gc-topbar,
  .gc-course-header-left,
  .gc-module-head {
    flex-direction: column;
    align-items: stretch;
  }

  .gc-topbar > * {
    width: 100%;
  }

  .gc-topbar .d-flex.align-items-center.gap-2,
  .gc-topbar .d-flex.align-items-center.gap-2.gap-lg-3 {
    width: 100%;
    flex-direction: column;
    align-items: stretch !important;
  }

  .gc-topbar .gc-meta-text {
    display: block;
    padding: 0 2px;
  }

  .gc-course-header {
    padding: 16px;
    border-radius: 20px;
  }

  .gc-course-sidebar {
    overflow-x: auto;
  }

  .gc-sidebar-nav {
    display: grid;
    grid-template-columns: repeat(4, minmax(96px, 1fr));
    gap: 10px;
    min-width: max-content;
  }

  .gc-sidebar-section + .gc-sidebar-section {
    margin-top: 12px;
  }

  .gc-library-section {
    padding-top: 12px;
  }

  .gc-library-course {
    padding: 16px;
  }

  .gc-library-course-head {
    flex-direction: column;
    align-items: flex-start;
  }

  .gc-quiz-option {
    padding: 14px 14px;
    gap: 12px;
  }

  .gc-callout {
    padding: 14px 15px;
  }

  .gc-progress-bar {
    height: 12px;
  }

  .gc-screenshot {
    padding: 16px;
    border-radius: 22px;
  }
}

@media (max-width: 575.98px) {
  .gc-shell {
    width: min(100% - 10px, 1240px);
  }

  .gc-nav-inner {
    padding: 12px;
  }

  .gc-display {
    font-size: clamp(2.1rem, 14vw, 3rem);
    letter-spacing: -0.04em;
  }

  .gc-lead {
    font-size: 0.92rem;
  }

  .gc-form-card,
  .gc-preview-card,
  .gc-dashboard-card,
  .gc-lesson-card,
  .gc-slide-card,
  .gc-feature-card,
  .gc-stat-card,
  .gc-course-sidebar {
    padding: 14px;
  }

  .gc-input {
    padding: 0 14px;
    border-radius: 14px;
  }

  .gc-btn-primary,
  .gc-btn-secondary,
  .gc-btn-ghost,
  .gc-btn-danger {
    width: 100%;
    padding: 0 16px;
    border-radius: 14px;
  }

  .gc-slide-type,
  .gc-pill,
  .gc-badge {
    max-width: 100%;
    justify-content: center;
    text-align: center;
  }

  .gc-stat-badge {
    padding: 14px;
    gap: 8px 10px;
  }

  .gc-stat-badge strong {
    font-size: 1.05rem;
  }

  .gc-auth-modal {
    padding: 32px 18px 20px;
  }

  .gc-preview-shell .row.g-3,
  .gc-screenshot .row.g-3 {
    --bs-gutter-y: 0.75rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}
