/* TypingWay - Main Stylesheet */
/* Theme: Clean Government/Official with Dark Red Accent */

@font-face {
  font-family: 'KrutiDev010';
  src: url('../fonts/KrutiDev010.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
}

:root {
  --accent: #8b0000;
  --accent-light: #c0392b;
  --accent-dark: #5a0000;
  --accent-glow: rgba(139, 0, 0, 0.15);
  --bg: #ffffff;
  --bg-secondary: #f8f8f8;
  --bg-tertiary: #f0f0f0;
  --text: #1a1a1a;
  --text-muted: #666;
  --text-light: #999;
  --border: #e0e0e0;
  --border-strong: #c0c0c0;
  --success: #16a34a;
  --error: #dc2626;
  --warning: #d97706;
  --correct-bg: #dcfce7;
  --error-bg: #fee2e2;
  --cursor-color: #8b0000;
  --sidebar-w: 240px;
  --header-h: 56px;
  --shadow: 0 1px 4px rgba(0,0,0,0.08);
  --shadow-md: 0 4px 16px rgba(0,0,0,0.10);
  --radius: 8px;
  --radius-sm: 4px;
  --font-ui: 'Segoe UI', 'Noto Sans', sans-serif;
  --font-hindi: 'KrutiDev010', serif;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { font-size: 14px; }

body {
  font-family: var(--font-ui);
  background: var(--bg);
  color: var(--text);
  min-height: 100vh;
  overflow-x: hidden;
}

/* ═══════════════════════════ SCROLLBAR ═══════════════════════════ */
::-webkit-scrollbar { width: 6px; height: 6px; }
::-webkit-scrollbar-track { background: var(--bg-tertiary); }
::-webkit-scrollbar-thumb { background: var(--border-strong); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--accent); }

/* ═══════════════════════════ HEADER ═══════════════════════════ */
#header {
  height: var(--header-h);
  background: var(--accent);
  display: flex; align-items: center;
  padding: 0 20px;
  box-shadow: 0 2px 8px rgba(139,0,0,0.4);
}

#header .logo-area {
  display: flex; align-items: center; gap: 10px;
  flex-shrink: 0;
}

#header .logo-icon {
  width: 34px; height: 34px;
  background: rgba(255,255,255,0.15);
  border-radius: 6px;
  display: flex; align-items: center; justify-content: center;
  font-size: 18px;
}

#header .brand {
  font-size: 1.25rem; font-weight: 700;
  color: #fff; letter-spacing: -0.3px;
}
#header .brand span { color: rgba(255,255,255,0.7); font-weight: 400; font-size: 0.85rem; margin-left: 4px; }

#header nav { display: flex; align-items: center; gap: 4px; margin-left: 28px; }
#header nav a {
  color: rgba(255,255,255,0.85); text-decoration: none;
  padding: 5px 12px; border-radius: 4px;
  font-size: 0.85rem; transition: background 0.15s;
}
#header nav a:hover, #header nav a.active { background: rgba(255,255,255,0.18); color: #fff; }

#header .header-right { margin-left: auto; display: flex; align-items: center; gap: 10px; }

.btn-header {
  background: rgba(255,255,255,0.15); border: 1px solid rgba(255,255,255,0.25);
  color: #fff; padding: 5px 14px; border-radius: 4px;
  cursor: pointer; font-size: 0.8rem; transition: all 0.15s;
}
.btn-header:hover { background: rgba(255,255,255,0.28); }
.btn-header.active { background: rgba(255,255,255,0.9); color: var(--accent); font-weight: 600; }

/* ═══════════════════════════ LAYOUT ═══════════════════════════ */
#app-layout {
  display: grid;
  grid-template-columns: var(--sidebar-w) 1fr var(--sidebar-w);
  grid-template-rows: 1fr;
  min-height: calc(100vh - var(--header-h));
/*
  margin-top: var(--header-h);
*/
}

/* ═══════════════════════════ SIDEBARS ═══════════════════════════ */
.sidebar {
  /*background: var(--bg-secondary);*/
  /*border-right: 1px solid var(--border);*/
  overflow-y: auto;
  padding: 14px;
  display: flex; flex-direction: column; gap: 12px;
}
.sidebar-right { border-right: none; /*border-left: 1px solid var(--border);*/ }

.sidebar-section {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}
.sidebar-section-title {
  background: var(--accent); color: #fff;
  padding: 7px 12px; font-size: 0.75rem; font-weight: 600;
  letter-spacing: 0.5px; text-transform: uppercase;
}

/* Exercise List */
#exercise-list { padding: 0; }
.exercise-filter {
  display: flex; gap: 4px; padding: 8px;
  background: var(--bg-tertiary);
  border-bottom: 1px solid var(--border);
}
.filter-btn {
  flex: 1; padding: 3px; font-size: 0.7rem;
  border: 1px solid var(--border); border-radius: 3px;
  background: var(--bg); cursor: pointer; transition: all 0.15s;
  text-transform: capitalize;
}
.filter-btn:hover { border-color: var(--accent); color: var(--accent); }
.filter-btn.active { background: var(--accent); color: #fff; border-color: var(--accent); }

.exercise-items { max-height: 360px; overflow-y: auto; }
.exercise-item {
  padding: 8px 12px; cursor: pointer;
  border-bottom: 1px solid var(--border);
  transition: background 0.1s;
  display: flex; flex-direction: column; gap: 2px;
}
.exercise-item:hover { background: var(--accent-glow); }
.exercise-item.active { background: var(--accent-glow); border-left: 3px solid var(--accent); }
.exercise-item .ex-title { font-size: 0.98rem; font-weight: 600; color: var(--text); }
.exercise-item .ex-meta { font-size: 0.68rem; color: var(--text-muted); }
.exercise-item .ex-level {
  font-size: 0.62rem; padding: 1px 5px; border-radius: 5px;
  display: inline-block; margin-top: 2px;
}
.ex-level.beginner { background: #dcfce7; color: #15803d; }
.ex-level.intermediate { background: #fef9c3; color: #854d0e; }
.ex-level.advance { background: #fee2e2; color: #991b1b; }

/* Pagination */
.pagination {
  display: flex; align-items: center; justify-content: center;
  gap: 4px; padding: 8px;
  border-top: 1px solid var(--border);
}
.pg-btn {
  width: 24px; height: 24px; border: 1px solid var(--border);
  background: var(--bg); border-radius: 3px; cursor: pointer;
  font-size: 0.7rem; display: flex; align-items: center; justify-content: center;
  transition: all 0.1s;
}
.pg-btn:hover { border-color: var(--accent); color: var(--accent); }
.pg-btn.active { background: var(--accent); color: #fff; border-color: var(--accent); }
.pg-info { font-size: 0.68rem; color: var(--text-muted); padding: 0 4px; }

/* Ad placeholder */
.ad-placeholder {
  border: 2px dashed var(--border-strong);
  border-radius: var(--radius);
  padding: 20px 10px;
  text-align: center;
  color: var(--text-light);
  font-size: 0.72rem;
  min-height: 120px;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px;
}
.ad-placeholder .ad-icon { font-size: 1.8rem; opacity: 0.4; }

/* Right sidebar charts */
#chart-speed, #chart-accuracy { height: 120px; padding: 8px; }

.daily-challenge { padding: 10px 12px; }
.challenge-item {
  display: flex; align-items: center; gap: 8px;
  padding: 5px 0; border-bottom: 1px solid var(--border);
  font-size: 0.75rem;
}
.challenge-item:last-child { border-bottom: none; }
.challenge-check {
  width: 16px; height: 16px; border-radius: 50%;
  border: 2px solid var(--border-strong); flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.6rem;
}
.challenge-check.done { background: var(--success); border-color: var(--success); color: #fff; }

.achievements { padding: 10px 12px; }
.achievement {
  display: flex; align-items: center; gap: 8px;
  padding: 5px 0; font-size: 0.75rem;
}
.ach-icon { font-size: 1.1rem; }

/* ═══════════════════════════ MAIN CONTENT ═══════════════════════════ */
#main-content {
  padding: 14px 16px;
  display: flex; flex-direction: column;
  min-width: 0;
}

/* ═══════════════════════════ LIVE STATS ═══════════════════════════ */
#live-stats {
  display: grid; grid-template-columns: repeat(5, 1fr);
  gap: 8px;
}
.stat-card {
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 10px 12px;
  text-align: center;
  transition: border-color 0.2s;
}
.stat-card:hover { border-color: var(--accent); }
.stat-value {
  font-size: 1.8rem; font-weight: 700;
  color: var(--accent); line-height: 1.1;
  font-variant-numeric: tabular-nums;
}
.stat-label { font-size: 0.65rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.5px; margin-top: 2px; }
.stat-unit { font-size: 0.7rem; color: var(--text-light); }

#stat-streak .stat-value { color: var(--warning); }
#stat-accuracy .stat-value { color: var(--success); }
#stat-errors .stat-value { color: var(--error); }

/* ═══════════════════════════ EXERCISE HEADER ═══════════════════════════ */
#exercise-header {
  display: flex; align-items: center; gap: 10px;
  background: var(--bg-secondary); border: 1px solid var(--border);
  /*border-radius: var(--radius); */
    border-top-left-radius: var(--radius);
    border-top-right-radius: var(--radius);
    padding: 8px 14px;
}
#exercise-title { font-size: 0.9rem; font-weight: 600; color: var(--text); }
#exercise-level { margin-left: auto; }

/* ═══════════════════════════ PARAGRAPH BOX ═══════════════════════════ */
#paragraph-box {
  background: var(--bg-secondary);
  border-left: 2px solid var(--border);
  border-right: 2px solid var(--border);
  /*border-radius: var(--radius);*/
  padding: 16px 18px;
  height: 120px; overflow-y: auto; overflow-x: hidden;
  line-height: 1.9;
  font-size: 24px;
  letter-spacing: 0.3px;
  word-wrap: break-word;
  white-space: pre-wrap;
  cursor: default;
    user-select: none;
  transition: border-color 0.2s;
}
#paragraph-box:focus-within { border-color: var(--accent); }
#paragraph-box.hindi-mode { font-family: var(--font-hindi); font-size: 24px; }

.char { position: relative; display: inline-block; white-space: pre-wrap; word-break: keep-all;}
.char.correct { color: var(--success); background: var(--correct-bg); border-radius: 2px; }
.char.incorrect { color: var(--error); background: var(--error-bg); border-radius: 2px; text-decoration: underline wavy var(--error); }
.char.pending { color: var(--text-muted); }
.char.cursor::after {
  content: '';
  position: absolute; right: -1px; top: 2px; bottom: 2px;
  width: 100%; background: rgba(0,0,255,0.08);
  animation: blink 0.8s step-end infinite;
  border-radius: 1px;
}

/* Ghost cursor */
.ghost-cursor::before {
  content: '';
  position: absolute; right: -1px; top: 2px; bottom: 2px;
  width: 2px; background: rgba(100, 100, 255, 0.5);
  border-radius: 1px;
}

@keyframes blink { 0%,100% { opacity: 1; } 50% { opacity: 0; } }

/* ═══════════════════════════ INPUT BOX ═══════════════════════════ */
#input-area {
  position: relative;
}
#type-input {
  width: 100%;
  padding: 12px 16px;
  font-size: 1.05rem;
  border: 2px solid var(--border);
  /*border-radius: var(--radius);*/
  border-bottom-left-radius: var(--radius);
  border-bottom-right-radius: var(--radius);
  background: var(--bg);
  color: var(--text);
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
  letter-spacing: 0.3px;
}
#type-input:focus { border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-glow); }
#type-input.hindi-mode { font-family: var(--font-hindi); font-size: 1.1rem; }
#type-input::placeholder { color: var(--text-light); font-family: var(--font-ui); }
#type-input:disabled { background: var(--bg-tertiary); cursor: not-allowed; }

/* ═══════════════════════════ CONTROLS ═══════════════════════════ */
#controls {
  display: flex; align-items: center; gap: 8px; flex-wrap: wrap;position: relative;
}

.btn {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 7px 14px; border-radius: var(--radius-sm);
  font-size: 0.8rem; font-weight: 500; cursor: pointer;
  border: 1px solid transparent; transition: all 0.15s;
  white-space: nowrap;
}
.btn-primary { background: var(--accent); color: #fff; border-color: var(--accent); }
.btn-primary:hover { background: var(--accent-light); }
.btn-outline {
  background: var(--bg); color: var(--text);
  border-color: var(--border-strong);
}
.btn-outline:hover { border-color: var(--accent); color: var(--accent); }
.btn-outline.active { border-color: var(--accent); color: var(--accent); background: var(--accent-glow); }
.btn-icon {
  width: 32px; height: 32px; padding: 0;
  border-radius: var(--radius-sm);
  background: var(--bg); border: 1px solid var(--border-strong);
  cursor: pointer; display: flex; align-items: center; justify-content: center;
  font-size: 1rem; transition: all 0.15s;
}
.btn-icon:hover { border-color: var(--accent); }
.btn-icon.muted { opacity: 0.5; }

/* Time selector */
.time-selector {
  display: flex; align-items: center; gap: 4px;
  background: var(--bg-secondary); border: 1px solid var(--border);
  border-radius: var(--radius-sm); padding: 3px 8px;
}
.time-selector label { font-size: 0.72rem; color: var(--text-muted); }
.time-selector select {
  border: none; background: transparent; font-size: 0.8rem;
  cursor: pointer; outline: none; color: var(--text);
}

/* ═══════════════════════════ KEYBOARD ═══════════════════════════ */

#keyboard-section {
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 12px;
  user-select: none;
}

.keyboard-row {
  display: flex; justify-content: center;
  gap: 4px; margin-bottom: 4px;
}
.key {
  min-width: 36px; height: 36px;
  background: var(--bg);
  border: 1px solid var(--border-strong);
  border-bottom: 3px solid var(--border-strong);
  border-radius: 5px;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  font-size: 0.72rem; font-weight: 500;
  cursor: default; transition: all 0.08s;
  position: relative;
  color: var(--text);
}

body.lang-hindi #keyboard { font-family: 'KrutiDev010', serif;}
body.lang-hindi #keyboard .key-main { font-size:1rem; font-weight: 600; }
body.lang-hindi #keyboard .key-shift { font-size:0.99rem; }

.key .key-main { font-size: 0.78rem; line-height: 1.3; }
.key .key-shift { font-size: 0.6rem; color: var(--text-muted); line-height: 1; }
.key.wide { min-width: 56px; }
.key.wider { min-width: 72px; }
.key.widest { min-width: 96px; }
.key.space { min-width: 220px; }

/* Finger colors */
.key.f-lp { border-top: 2px solid #e74c3c; }
.key.f-lr { border-top: 2px solid #e67e22; }
.key.f-lm { border-top: 2px solid #f1c40f; }
.key.f-li { border-top: 2px solid #2ecc71; }
.key.f-ri { border-top: 2px solid #2ecc71; }
.key.f-rm { border-top: 2px solid #3498db; }
.key.f-rr { border-top: 2px solid #9b59b6; }
.key.f-rp { border-top: 2px solid #e91e63; }
.key.f-th { border-top: 2px solid #607d8b; }

/* Key states */
.key.active {
  background: var(--accent); color: #fff;
  border-color: var(--accent-dark);
  transform: translateY(1px);
}
.key.heat-green { background: #dcfce7; border-color: #16a34a; color: #15803d; }
.key.heat-yellow { background: #fef9c3; border-color: #ca8a04; color: #854d0e; }
.key.heat-red { background: #fee2e2; border-color: #dc2626; color: #991b1b; }

/* Finger legend */
.finger-legend {
  display: flex; justify-content: center;
  gap: 10px; margin-top: 8px; flex-wrap: wrap;
}
.legend-item {
  display: flex; align-items: center; gap: 4px;
  font-size: 0.65rem; color: var(--text-muted);
}
.legend-dot {
  width: 8px; height: 8px; border-radius: 50%;
}

/* ═══════════════════════════ RESULT MODAL ═══════════════════════════ */
#result-overlay {
  position: fixed; inset: 0; z-index: 200;
  background: rgba(0,0,0,0.8);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px); /* for Safari */

  display: none; align-items: center; justify-content: center;
}
#result-overlay.show { display: flex; }

#result-modal {
  background: var(--bg); border-radius: 12px;
  padding: 28px 32px; max-width: 600px; width: 90%;
  max-height: 85vh;
  box-shadow: 0 20px 60px rgba(0,0,0,0.3);
}
.result-title { font-size: 1.4rem; font-weight: 700; color: var(--accent); margin-bottom: 4px; }
.result-subtitle { font-size: 0.85rem; color: var(--text-muted); margin-bottom: 20px; }

.result-stats {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 10px; margin-bottom: 20px;
}
.result-stat {
  background: var(--bg-secondary); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 12px; text-align: center;
}
.result-stat-val { font-size: 1.8rem; font-weight: 700; color: var(--accent); }
.result-stat-label { font-size: 0.7rem; color: var(--text-muted); }

.result-section-title { font-size: 0.85rem; font-weight: 600; color: var(--text); margin: 14px 0 8px; }

.weak-items {
  display: flex; flex-wrap: wrap; gap: 6px;
}
.weak-item {
  padding: 3px 10px; border-radius: 12px;
  font-size: 0.75rem; background: var(--error-bg); color: var(--error);
  border: 1px solid #fca5a5;
}

.result-actions { display: flex; gap: 10px; margin-top: 20px; }

.result-chart-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.result-chart-wrap { height: 140px; }

/* ═══════════════════════════ FOCUS MODE ═══════════════════════════ */
body.focus-mode #app-layout { grid-template-columns: 1fr; }
body.focus-mode .sidebar { display: none; }
/*body.focus-mode #keyboard-section { display: none; }*/
/*body.focus-mode #live-stats { display: none; }*/
body.focus-mode #exercise-header { display: none; }
/*body.focus-mode #ghost-bar { display: none; }*/
/*body.focus-mode .ghost-label { display: none; }*/
/*body.focus-mode #controls { justify-content: flex-end; }*/
body.focus-mode #main-content { max-width: 860px; margin: 0 auto; width: 100%; }
/* ═══════════════════════════ GHOST RACE BAR ═══════════════════════════ */
#ghost-bar {
  height: 6px; background: var(--bg-tertiary);
  border-radius: 3px; overflow: hidden;
  border: 1px solid var(--border);
  display: flex; gap: 0;
}
.ghost-you { height: 100%; background: var(--accent); transition: width 0.3s; border-radius: 3px 0 0 3px; }
.ghost-ghost { height: 100%; background: rgba(100,100,255,0.5); transition: width 0.3s; border-radius: 0 3px 3px 0; }
.ghost-label { font-size: 0.65rem; color: var(--text-muted); text-align: right; margin-top: 2px; }

/* ═══════════════════════════ TOAST ═══════════════════════════ */
#toast {
  position: fixed; bottom: 20px; right: 20px; z-index: 300;
  display: flex; flex-direction: column; gap: 6px;
}
.toast-msg {
  background: var(--text); color: #fff;
  padding: 8px 16px; border-radius: 6px;
  font-size: 0.8rem; box-shadow: var(--shadow-md);
  animation: slideIn 0.2s ease;
}
@keyframes slideIn { from { transform: translateX(20px); opacity: 0; } to { transform: none; opacity: 1; } }


/* ═══════════════════════════ TOAST 2 (inline, below input) ═══════════════════════════ */
#toast2-area {
  min-height: 24px;       /* reserves space so layout doesn't jump */
  display: flex;
  align-items: center;
    position: absolute;
    right: 0;
}

.toast2-msg {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #fffbea;
  color: #92400e;
  border: 1px solid #fcd34d;
  border-left: 3px solid #f59e0b;
  padding: 5px 12px;
  border-radius: 4px;
  font-size: 0.78rem;
  font-weight: 500;
  animation: fadeInUp 0.2s ease;
}

@keyframes fadeInUp {
  from { transform: translateY(4px); opacity: 0; }
  to   { transform: none; opacity: 1; }
}



/* ═══════════════════════════ FINGER GUIDE ═══════════════════════════ */
#finger-guide { padding: 10px; }

#hands-container {
  display: flex;
  justify-content: center;
  align-items: flex-end;
  gap: 8px;
}

#hand-left, #hand-right {
  width: 90px;
  height: 120px;
}

#finger-guide-label {
  text-align: center;
  font-size: 0.7rem;
  color: var(--text-muted);
  margin-top: 6px;
  min-height: 16px;
  transition: color 0.2s;
}

/* Finger glow animation */
.finger-glow {
  filter: drop-shadow(0 0 6px currentColor);
  transition: fill 0.15s, filter 0.15s;
}

/* Individual finger glow colors matching the legend */
.glow-lp { fill: #e74c3c !important; stroke: #c0392b !important; }
.glow-lr { fill: #e67e22 !important; stroke: #d35400 !important; }
.glow-lm { fill: #f1c40f !important; stroke: #d4ac0d !important; }
.glow-li { fill: #2ecc71 !important; stroke: #27ae60 !important; }
.glow-ri { fill: #2ecc71 !important; stroke: #27ae60 !important; }
.glow-rm { fill: #3498db !important; stroke: #2980b9 !important; }
.glow-rr { fill: #9b59b6 !important; stroke: #8e44ad !important; }
.glow-rp { fill: #e91e63 !important; stroke: #c2185b !important; }
.glow-th { fill: #607d8b !important; stroke: #455a64 !important; }


/* ═══════════════════════════ PROGRESS BAR ═══════════════════════════ */
#progress-bar-wrap { height: 4px; background: var(--bg-tertiary); border-radius: 2px; }
#progress-bar { height: 100%; background: var(--accent); border-radius: 2px; transition: width 0.1s; width: 0%; }


/*SEO ARTICLE*/

/* ================================
   GLOBAL ARTICLE STYLES
================================ */

.intro-typing,
.seo-article,
.faq-section{
    width:100%;
    max-width:1000px;
    margin:60px auto;
    padding:40px;
    background:#ffffff;
    border-radius:10px;
    box-shadow:0 8px 30px rgba(0,0,0,0.06);
    font-family:system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Ubuntu;
    line-height:1.8;
    color:#333;
}


/* ================================
   HEADINGS
================================ */

.intro-typing h1,
.seo-article h1{
    font-size:34px;
    color:#8b0000;
    margin-bottom:20px;
    line-height:1.3;
    font-weight:700;
}

.seo-article h2,
.faq-section h2{
    font-size:26px;
    margin-top:45px;
    margin-bottom:15px;
    color:#8b0000;
    border-left:5px solid #b30000;
    padding-left:12px;
}

.seo-article h3,
.faq-section h3{
    font-size:20px;
    margin-top:25px;
    margin-bottom:8px;
    color:#444;
}


/* ================================
   PARAGRAPH
================================ */

.seo-article p,
.intro-typing p,
.faq-section p{
    font-size:17px;
    margin-bottom:18px;
    color:#444;
}


/* ================================
   LINKS
================================ */

.seo-article a,
.faq-section a,
.intro-typing a{
    color:#b30000;
    font-weight:600;
    text-decoration:none;
    border-bottom:1px dotted #b30000;
    transition:all .2s ease;
}

.seo-article a:hover,
.faq-section a:hover,
.intro-typing a:hover{
    color:#8b0000;
    border-bottom:1px solid #8b0000;
}


/* ================================
   LISTS
================================ */

.seo-article ul,
.faq-section ul{
    margin:20px 0;
    padding-left:25px;
}

.seo-article li,
.faq-section li{
    margin-bottom:10px;
    font-size:16px;
}


/* ================================
   IMAGES
================================ */

.seo-article img{
    width:100%;
    border-radius:8px;
    margin:30px 0;
    box-shadow:0 6px 20px rgba(0,0,0,0.1);
}


/* ================================
   FAQ SECTION
================================ */

.faq-section{
    background:#fafafa;
}

.faq-section h3{
    cursor:pointer;
    padding:12px 15px;
    background:#ffffff;
    border-radius:6px;
    box-shadow:0 2px 10px rgba(0,0,0,0.05);
}

.faq-section p{
    padding:10px 5px 20px 5px;
}


/* ================================
   INTRO SECTION
================================ */

.intro-typing{
    text-align:center;
    background:linear-gradient(135deg,#fff5f5,#ffffff);
    border:1px solid #f2dede;
}

.intro-typing p{
    max-width:750px;
    margin:auto;
    font-size:18px;
}


/* ================================
   MOBILE RESPONSIVE
================================ */

@media(max-width:900px){

.intro-typing,
.seo-article,
.faq-section{
    padding:30px 25px;
}

.intro-typing h1,
.seo-article h1{
    font-size:28px;
}

.seo-article h2{
    font-size:22px;
}

.seo-article p{
    font-size:16px;
}

}

@media(max-width:600px){

.intro-typing,
.seo-article,
.faq-section{
    padding:22px 18px;
    margin:35px auto;
}

.intro-typing h1{
    font-size:24px;
}

.seo-article h2{
    font-size:20px;
}

.seo-article p{
    font-size:15px;
}

}






/* ═══════════════════════════ Footer ═══════════════════════════ */
.footer
{
    width: 100%;
    padding: 20px;
    text-align: center;
    background: darkred;
    color: #fff;
}
.footer a
{
    text-decoration: none;
    color: #fff;
    font-weight: 500;
}

/* ═══════════════════════════ RESPONSIVE ═══════════════════════════ */
@media (max-width: 1100px) {
  :root { --sidebar-w: 200px; }
}
@media (max-width: 900px) {
  #app-layout { grid-template-columns: 1fr; }
  .sidebar { display: none; }
  #live-stats { grid-template-columns: repeat(3, 1fr); }
}

/* For screens 1417px and wider */
@media (min-width: 1417px) {
    #app-layout {
        width: 80%;
        margin: 0 auto;
    }
    .seo-article
    {
        width: 80%;
        margin: 0 auto;
    }

}
