/* ===================================================
   GUIDELINES.CSS — UIverse Guidelines Page
   Import AFTER style.css AND home.css
   =================================================== */

/* ============================================================
   DESIGN TOKENS & SYSTEM THEME IMPLEMENTATION
   ============================================================ */
:root {
  /* Brand colors */
  --accent: #eb6835;
  --accent-2: #6c5ce7;
  --accent-glow: rgba(235, 104, 53, 0.18);

  /* Structure and Spacing */
  --sidebar-w: 240px;
  --sidebar-width: 240px;
  --navbar-h: 64px;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;

  /* Fonts */
  --font-heading: 'Syne', sans-serif;
  --font-body: 'DM Sans', sans-serif;

  /* Global Theme Backgrounds & Colors (Light Mode) */
  --bg: #f5f4f2;
  --body-bg: #f5f4f2;
  --surface: #ffffff;
  --surface-muted: #f8fafc;
  --card-bg: #ffffff;
  --card-border: #ebebeb;
  
  /* Text Colors (Light Mode) */
  --text: #111111;
  --text-muted: #666666;
  --text-primary: #111111;
  --text-secondary: #666666;

  /* Transitions */
  --transition: 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Dark theme overrides */
body.dark-mode {
  --bg: #0f0f12;
  --body-bg: #0f0f12;
  --surface: #1a1a1e;
  --surface-muted: #25252b;
  --card-bg: #1a1a1e;
  --card-border: #2a2a30;
  
  --text: #f0f0f0;
  --text-muted: #999999;
  --text-primary: #f0f0f0;
  --text-secondary: #999999;
}

/* Apply background and color resets to override messy style.css */
html, body {
  background-color: var(--body-bg) !important;
  background: var(--body-bg) !important;
  color: var(--text-primary) !important;
  transition: background-color 0.3s ease, color 0.3s ease;
}

/* Fix text contrast in inputs and toggles inside content */
input, select, textarea {
  color: var(--text-primary);
  background-color: var(--surface);
  border-color: var(--card-border);
}

/* ============================================================
   SIDEBAR
   ============================================================ */
.sidebar {
  width: var(--sidebar-w);
  height: 100vh;
  background: linear-gradient(160deg, #141428 0%, #1c1c35 100%);
  display: flex;
  flex-direction: column;
  padding: 0;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 1050;
  border-right: 1px solid rgba(255,255,255,0.05);
  transition: transform var(--transition);
}

.sidebar-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 22px 24px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.brand-icon {
  font-size: 24px;
  color: var(--accent);
}

.brand-text {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 20px;
  color: var(--text-primary);
  letter-spacing: -0.5px;
}

.sidebar-nav {
  flex: 1;
  overflow-y: auto;
  padding: 16px 12px;
}

.sidebar-nav ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.sidebar-nav li a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 11px 14px;
  color: #8a9bc0;
  text-decoration: none;
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-weight: 500;
  transition: all var(--transition);
}

.sidebar-nav li a i {
  width: 18px;
  text-align: center;
  font-size: 15px;
}

.sidebar-nav li a:hover {
  background: rgba(255,255,255,0.07);
  color: #fff;
  transform: translateX(3px);
}

.sidebar-nav li.active a {
  background: linear-gradient(90deg, rgba(235,104,53,0.2) 0%, rgba(235,104,53,0.05) 100%);
  color: var(--accent);
  border-left: 3px solid var(--accent);
}

.sidebar-footer {
  padding: 20px 24px;
  border-top: 1px solid rgba(255,255,255,0.06);
  display: flex;
  gap: 16px;
}

.sidebar-footer a {
  color: #6a7a94;
  font-size: 16px;
  transition: color var(--transition);
}

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

/* Sidebar backdrop (mobile) */
.sidebar-backdrop {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.5);
  z-index: 1040;
  backdrop-filter: blur(2px);
}

.sidebar-backdrop.visible {
  display: block;
}

/* ============================================================
   HERO
   ============================================================ */
.gl-hero {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-lg);
  padding: 52px 56px;
  overflow: hidden;
  position: relative;
}

.gl-hero::before {
  content: '';
  position: absolute;
  top: -80px; right: -80px;
  width: 300px; height: 300px;
  background: radial-gradient(circle, rgba(235,104,53,0.09) 0%, transparent 70%);
  pointer-events: none;
}

.gl-hero-left { flex: 1; min-width: 0; }

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--text-secondary);
  margin-bottom: 16px;
}
.breadcrumb a { color: var(--accent); text-decoration: none; font-weight: 500; }
.breadcrumb a:hover { text-decoration: underline; }
.breadcrumb i { font-size: 10px; }

.page-title {
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 800;
  letter-spacing: -1.5px;
  color: var(--text-primary);
  margin-bottom: 12px;
}

.page-desc {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.7;
  max-width: 500px;
  margin: 0 0 28px;
}

/* Quick-jump pills */
.gl-toc-pills {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.gl-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  background: var(--body-bg);
  border: 1.5px solid var(--card-border);
  border-radius: 40px;
  font-size: 12px;
  font-weight: 600;
  color: var(--text-secondary);
  text-decoration: none;
  transition: all var(--transition);
}
.gl-pill:hover { border-color: var(--accent); color: var(--accent); }

/* Hero right — stats */
.gl-hero-right { flex-shrink: 0; }

.gl-stats-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.gl-stat {
  background: var(--body-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-md);
  padding: 20px 18px;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.gl-stat-num {
  font-family: var(--font-heading);
  font-size: 26px;
  font-weight: 800;
  color: var(--accent);
}

.gl-stat-label {
  font-size: 12px;
  color: var(--text-secondary);
  font-weight: 500;
}

/* ============================================================
   TWO-COLUMN LAYOUT
   ============================================================ */
.gl-layout {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 36px;
  align-items: start;
}

/* ============================================================
   STICKY TOC
   ============================================================ */
.gl-toc {
  position: sticky;
  top: calc(var(--navbar-h, 64px) + 20px);
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-md);
  padding: 20px;
}

.gl-toc-heading {
  font-family: var(--font-heading);
  font-size: 11px;
  font-weight: 700;
  color: var(--text-secondary);
  letter-spacing: 0.8px;
  text-transform: uppercase;
  margin: 0 0 14px;
  display: flex;
  align-items: center;
  gap: 7px;
}

.gl-toc-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.gl-toc-link {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 10px;
  border-radius: var(--radius-sm);
  font-size: 13px;
  font-weight: 500;
  color: var(--text-secondary);
  text-decoration: none;
  transition: all var(--transition);
  border-left: 2px solid transparent;
}
.gl-toc-link:hover { color: var(--accent); background: rgba(235,104,53,0.06); border-left-color: rgba(235,104,53,0.4); }
.gl-toc-link.active { color: var(--accent); background: rgba(235,104,53,0.08); border-left-color: var(--accent); font-weight: 600; }

.gl-toc-num {
  font-family: var(--font-heading);
  font-size: 10px;
  font-weight: 800;
  color: #aaa;
  min-width: 20px;
}
.gl-toc-link.active .gl-toc-num { color: var(--accent); }

/* ============================================================
   CONTENT AREA
   ============================================================ */
.gl-content {
  display: flex;
  flex-direction: column;
  gap: 0;
}

/* ============================================================
   SECTION
   ============================================================ */
.gl-section {
  display: grid;
  grid-template-columns: 52px 1fr;
  gap: 20px;
  padding: 48px 0;
  border-bottom: 1px solid var(--card-border);
  scroll-margin-top: calc(var(--navbar-h, 64px) + 24px);
  animation: fadeUp 0.4s ease both;
}

.gl-section:last-child { border-bottom: none; padding-bottom: 0; }

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(14px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* Section icon */
.gl-section-icon {
  width: 46px;
  height: 46px;
  background: rgba(235,104,53,0.08);
  border: 1px solid rgba(235,104,53,0.2);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  color: var(--accent);
  flex-shrink: 0;
  margin-top: 4px;
}

.accent-icon {
  background: linear-gradient(135deg, rgba(235,104,53,0.15), rgba(108,92,231,0.12));
  border-color: rgba(108,92,231,0.25);
  color: #6c5ce7;
}

/* Section body */
.gl-section-body {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.gl-section-num {
  font-family: var(--font-heading);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 1.5px;
  color: var(--accent);
  opacity: 0.7;
}

.gl-section-body h2 {
  font-size: 24px;
  font-weight: 800;
  color: var(--text-primary);
  letter-spacing: -0.5px;
  margin: 0;
}

.gl-section-body h3.gl-sub {
  font-size: 16px;
  font-weight: 700;
  color: var(--text-primary);
  margin: 10px 0 0;
}

.gl-section-body p {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.75;
  margin: 0;
}

/* ============================================================
   INLINE CODE
   ============================================================ */
.gl-inline-code {
  background: rgba(235,104,53,0.1);
  color: var(--accent);
  padding: 2px 8px;
  border-radius: 5px;
  font-family: 'Fira Code', 'Courier New', monospace;
  font-size: 13px;
  font-weight: 600;
}

/* ============================================================
   CODE BLOCK
   ============================================================ */
.gl-code-block {
  background: #0f1117;
  color: #e0e0e0;
  border-radius: var(--radius-sm);
  padding: 20px;
  font-size: 13px;
  line-height: 1.7;
  overflow-x: auto;
  margin: 0;
  font-family: 'Fira Code', 'Courier New', monospace;
  border: 1px solid #2a2a2a;
  white-space: pre;
}

.gl-code-block code { background: none; padding: 0; font-size: inherit; }

/* ============================================================
   CALLOUTS
   ============================================================ */
.gl-callout {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 16px 18px;
  border-radius: var(--radius-sm);
}

.gl-callout i { font-size: 16px; flex-shrink: 0; margin-top: 2px; }
.gl-callout p { font-size: 14px; line-height: 1.6; margin: 0; }

.gl-callout-info {
  background: rgba(9,132,227,0.08);
  border: 1px solid rgba(9,132,227,0.25);
  border-left: 4px solid #0984e3;
}
.gl-callout-info i { color: #0984e3; }

.gl-callout-tip {
  background: rgba(0,184,148,0.08);
  border: 1px solid rgba(0,184,148,0.25);
  border-left: 4px solid #00b894;
}
.gl-callout-tip i { color: #00b894; }

.gl-callout-warning {
  background: rgba(253,203,110,0.1);
  border: 1px solid rgba(253,203,110,0.3);
  border-left: 4px solid #fdcb6e;
}
.gl-callout-warning i { color: #d98e00; }
.gl-callout-warning p { color: var(--text-primary); }

/* ============================================================
   STEPS
   ============================================================ */
.gl-steps {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.gl-step {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 20px 0;
  border-bottom: 1px solid var(--card-border);
}

.gl-step:last-child { border-bottom: none; }

.gl-step-num {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(235,104,53,0.1);
  border: 2px solid rgba(235,104,53,0.3);
  color: var(--accent);
  font-family: var(--font-heading);
  font-size: 14px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.gl-step-github {
  background: rgba(108,92,231,0.1);
  border-color: rgba(108,92,231,0.3);
  color: #6c5ce7;
  font-size: 15px;
}

.gl-step-body h4 {
  font-size: 15px;
  font-weight: 700;
  color: var(--text-primary);
  margin: 0 0 6px;
}

.gl-step-body p { font-size: 14px; color: var(--text-secondary); line-height: 1.6; margin: 0; }

/* ============================================================
   COLOUR GRID
   ============================================================ */
.gl-colour-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
  gap: 10px;
}

.gl-colour-swatch {
  border-radius: var(--radius-sm);
  padding: 36px 12px 12px;
  display: flex;
  flex-direction: column;
  gap: 3px;
  transition: transform var(--transition);
}

.gl-colour-swatch:hover { transform: translateY(-3px); }

.gl-colour-swatch span {
  font-size: 12px;
  font-weight: 700;
  color: #fff;
}

.gl-colour-swatch small {
  font-size: 11px;
  font-weight: 600;
  font-family: monospace;
  color: rgba(255,255,255,0.75);
}

/* ============================================================
   TYPOGRAPHY TABLE
   ============================================================ */
.gl-type-table {
  border: 1px solid var(--card-border);
  border-radius: var(--radius-sm);
  overflow: hidden;
}

.gl-type-row {
  display: grid;
  grid-template-columns: 1fr 1.5fr 1fr 2fr;
  gap: 0;
}

.gl-type-row > span {
  padding: 12px 16px;
  font-size: 13px;
  color: var(--text-secondary);
  border-bottom: 1px solid var(--card-border);
  border-right: 1px solid var(--card-border);
  line-height: 1.5;
}

.gl-type-row > span:last-child { border-right: none; }
.gl-type-row:last-child > span { border-bottom: none; }

.gl-type-header > span {
  font-size: 11px;
  font-weight: 700;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.7px;
  background: var(--body-bg);
}

.gl-mono {
  font-family: 'Fira Code', monospace;
  font-size: 12px !important;
  color: var(--accent) !important;
}

/* ============================================================
   TOKEN GRID
   ============================================================ */
.gl-token-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 12px;
}

.gl-token-card {
  background: var(--body-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-sm);
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  text-align: center;
}

.gl-token-preview {
  width: 100%;
  height: 48px;
  background: linear-gradient(135deg, rgba(235,104,53,0.2), rgba(108,92,231,0.15));
  border: 1px solid var(--card-border);
}

.gl-token-card code {
  font-family: 'Fira Code', monospace;
  font-size: 11px;
  color: var(--accent);
  background: rgba(235,104,53,0.08);
  padding: 2px 6px;
  border-radius: 4px;
}

.gl-token-card span { font-size: 11px; color: var(--text-secondary); }

/* ============================================================
   NAMING RULES
   ============================================================ */
.gl-rule-list {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.gl-rule {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.usage-steps{
  margin:0;
  padding-left:20px;
  color:var(--text-secondary);
  line-height:1.8;
}

.usage-grid{
  display:grid;
  grid-template-columns:repeat(2,1fr);
  gap:20px;
  margin-top:24px;
}

.usage-item{
  background:var(--card-bg);
  border:1px solid var(--card-border);
  border-radius:24px;
  padding:24px;
}

.usage-item h3{
  font-size:20px;
  margin-bottom:14px;
}

.usage-item .code-block{
  margin:0;
}

.usage-note{
  margin-top:24px;
}

.usage-note p{
  margin-bottom:0;
}

.usage-note a{
  color:var(--accent);
  font-weight:700;
  text-decoration:none;
}

.usage-note a:hover{
  text-decoration:underline;
}

/* =========================================================
   CONTRIBUTE SECTION

.gl-rule-do { background: rgba(0,184,148,0.12); color: #00b894; }

.gl-rule h4 {
  font-size: 14px;
  font-weight: 700;
  color: var(--text-primary);
  margin: 0 0 12px;
}

.gl-do-dont {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.gl-badge {
  display: inline-block;
  padding: 2px 10px;
  border-radius: 20px;
  font-size: 11px;
  font-weight: 700;
  margin-bottom: 6px;
}

.gl-badge-do   { background: rgba(0,184,148,0.12); color: #00b894; }
.gl-badge-dont { background: rgba(214,48,49,0.1);  color: #d63031; }

.gl-mini-code {
  background: #0f1117;
  color: #e0e0e0;
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  font-size: 12px;
  line-height: 1.6;
  font-family: 'Fira Code', monospace;
  margin: 0;
  overflow-x: auto;
  border: 1px solid #2a2a2a;
  white-space: pre;
}

/* ============================================================
   ACCESSIBILITY CHECKLIST
   ============================================================ */
.gl-checklist {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.gl-check-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 22px 0;
  border-bottom: 1px solid var(--card-border);
}

.gl-check-item:last-child { border-bottom: none; }

.gl-check-dot {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(0,184,148,0.1);
  border: 1.5px solid rgba(0,184,148,0.35);
  color: #00b894;
  font-size: 11px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
}

.gl-check-item h4 {
  font-size: 15px;
  font-weight: 700;
  color: var(--text-primary);
  margin: 0 0 6px;
}

.gl-check-item p { font-size: 14px; color: var(--text-secondary); line-height: 1.6; margin: 0; }

/* ============================================================
   FAQ
   ============================================================ */
.gl-faq-list {
  display: flex;
  flex-direction: column;
  gap: 0;
  border: 1px solid var(--card-border);
  border-radius: var(--radius-md);
  overflow: hidden;
}

.gl-faq-item {
  border-bottom: 1px solid var(--card-border);
  cursor: pointer;
  transition: background var(--transition);
}

.gl-faq-item:last-child { border-bottom: none; }
.gl-faq-item:hover { background: rgba(235,104,53,0.03); }

.gl-faq-q {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 22px;
  font-size: 15px;
  font-weight: 600;
  color: var(--text-primary);
  gap: 12px;
}

.gl-faq-icon {
  font-size: 12px;
  color: var(--text-secondary);
  transition: transform 0.25s ease;
  flex-shrink: 0;
}

.gl-faq-item.open .gl-faq-icon { transform: rotate(180deg); color: var(--accent); }
.gl-faq-item.open .gl-faq-q { color: var(--accent); }

.gl-faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
  padding: 0 22px;
}

.gl-faq-item.open .gl-faq-a {
  max-height: 300px;
  padding: 0 22px 18px;
}

.gl-faq-a p {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.7;
  margin: 0;
}

/* ============================================================
   CTA BLOCK
   ============================================================ */
.gl-cta {
  margin-top: 8px;
  background: linear-gradient(130deg, #eb6835 0%, #6c5ce7 100%);
  border-radius: var(--radius-lg);
  padding: 48px;
  text-align: center;
  color: #fff;
  position: relative;
  overflow: hidden;
}

.gl-cta::before {
  content: '';
  position: absolute;
  top: -60px; right: -60px;
  width: 200px; height: 200px;
  background: rgba(255,255,255,0.1);
  border-radius: 50%;
  pointer-events: none;
}

.gl-cta-inner { position: relative; z-index: 1; }

.gl-cta h3 {
  font-family: var(--font-heading);
  font-size: 22px;
  font-weight: 800;
  margin: 0 0 8px;
}

.gl-cta p { font-size: 15px; opacity: 0.85; margin: 0 0 24px; }

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

}

.gl-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 24px;
  border-radius: 40px;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  transition: all var(--transition);
}

.gl-cta-primary {
  background: #fff;
  color: var(--accent);
}
.gl-cta-primary:hover { background: #f5f5f5; transform: translateY(-2px); }

.gl-cta-outline {
  background: transparent;
  color: #fff;
  border: 1.5px solid rgba(255,255,255,0.5);
}
.gl-cta-outline:hover { background: rgba(255,255,255,0.12); transform: translateY(-2px); }

/* ============================================================
   LINK STYLE
   ============================================================ */
.gl-link {
  color: var(--accent);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.gl-link:hover { opacity: 0.8; }
/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  margin-left: var(--sidebar-w);
  background: #111;
  color: #aaa;
  padding: 0;
  margin-top: 60px;
}

.footer-container {
  display: grid;
  grid-template-columns: 2fr 2fr 2fr;
  gap: 40px;
  padding: 56px 48px 40px;
  max-width: 100%;
}

.footer-logo {
  font-family: var(--font-heading);
  font-size: 20px;
  font-weight: 800;
  color: var(--accent);
  margin-bottom: 12px;
}

.footer-col p {
  font-size: 14px;
  line-height: 1.7;
  margin: 0 0 16px;
}

.footer-col h3 {
  font-family: var(--font-heading);
  font-size: 13px;
  font-weight: 700;
  color: #fff;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.footer-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-col ul li a {
  color: #888;
  text-decoration: none;
  font-size: 14px;
  position: relative;
}

.footer-col ul li a:hover {
  color: var(--accent);
}

.footer-col ul li a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -3px;
  width: 0%;
  height: 2px;
  background: var(--accent);
  transition: width 0.3s ease;
  transition: color var(--transition);
  transition: all 0.3s ease;
  position: relative;
  display: inline-block;
}

.footer-col ul li a:hover {
  color: var(--accent);
  transform: translateX(3px);
  text-shadow: 0 0 8px rgba(235, 104, 53, 0.4);
}

.footer-col ul li a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -3px;
  width: 0%;
  height: 1px;
  background: var(--accent);
  transition: width 0.3s ease;
}

.footer-col ul li a:hover::after {
  width: 100%;
}

.socials a {
  transition: all 0.3s ease;
}

.socials a:hover {
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 0 12px rgba(235, 104, 53, 0.35);
}

.footer-col ul li a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -3px;
  width: 0%;
  height: 2px;
  background: var(--accent);
  transition: width 0.3s ease;
}

.footer-col ul li a:hover {
  color: var(--accent);
}

.footer-col ul li a:hover::after {
  width: 100%;
}

.footer-links {
  display: flex;
  gap: 6rem;
  align-items: start;
  justify-content: center;
  padding: 0 2rem;
}

.socials {
  margin-top: 12px;
  display: flex;
  justify-content: center;
  gap: 12px;
}

.socials a {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: #1e1e1e;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #888;
  text-decoration: none;
  margin-right: 12px;
  font-size: 14px;
  transition: all 0.3s ease;
  transition: color 0.3s ease, transform 0.2s ease;
}

.socials a:hover {
  background: var(--accent);
  color: #fff;
  transform: translateY(-2px) scale(1.1);
  box-shadow: 0 0 8px var(--accent);
  transform: scale(1.1);
}

.newsletter-form {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 12px;
}

.newsletter-form input {
  flex: 1;
  min-width: 0;
  padding: 10px 14px;
  background: #1e1e1e;
  border: 1px solid #2a2a2a;
  border-radius: var(--radius-sm);
  color: #fff;
  font-size: 13px;
  outline: none;
  transition: border-color var(--transition);
}

.newsletter-form input:focus {
  border-color: var(--accent);
}

.newsletter-form button {
  padding: 10px 18px;
  background: var(--accent);
  color: #fff;
  border: none;
  border-radius: var(--radius-sm);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: background var(--transition);
}

.newsletter-form button:hover {
  background: #d45c28;
}

.footer-bottom {
  border-top: 1px solid #1e1e1e;
  padding: 20px 48px;
  text-align: center;
  font-size: 13px;
  color: #555;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1000px) {
  .gl-layout { grid-template-columns: 1fr; }
  .gl-toc { display: none; }
}

@media (max-width: 768px) {
  .gl-hero { flex-direction: column; padding: 32px 24px; }
  .gl-hero-right { display: none; }

  .gl-section { grid-template-columns: 1fr; gap: 12px; }
  .gl-section-icon { display: none; }

  .gl-do-dont { grid-template-columns: 1fr; }
  .gl-type-row { grid-template-columns: 1fr 1fr; }
  .gl-type-row > span:nth-child(3),
  .gl-type-row > span:nth-child(4) { display: none; }

  .gl-colour-grid { grid-template-columns: repeat(3, 1fr); }
  .gl-cta { padding: 32px 24px; }
}

@media (max-width: 480px) {
  .gl-toc-pills { flex-direction: column; }
  .gl-stats-grid { grid-template-columns: 1fr 1fr; }
  .gl-colour-grid { grid-template-columns: repeat(2, 1fr); }
  .gl-rule { flex-direction: column; }
}