@import url('https://fonts.googleapis.com/css2?family=Rajdhani:wght@400;500;600;700&family=Exo+2:wght@300;400;500;600;700;800&family=Source+Code+Pro:wght@400;500&display=swap');

:root {
  --xbox-green: #107C10;
  --xbox-green-bright: #52B043;
  --xbox-green-glow: #00FF41;
  --bg-primary: #0A0A0A;
  --bg-secondary: #111111;
  --bg-card: #161616;
  --bg-card-hover: #1E1E1E;
  --text-primary: #F0F0F0;
  --text-secondary: #999;
  --text-muted: #555;
  --border: #2A2A2A;
  --border-green: rgba(16, 124, 16, 0.4);
  --accent: #52B043;
  --danger: #E81123;
  --warning: #FFB900;
  --radius: 8px;
  --radius-lg: 16px;
  --shadow-green: 0 0 20px rgba(82, 176, 67, 0.15);
  --shadow-card: 0 4px 24px rgba(0,0,0,0.5);
  --transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  --font-display: 'Rajdhani', sans-serif;
  --font-body: 'Exo 2', sans-serif;
  --font-mono: 'Source Code Pro', monospace;
}

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

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: var(--font-body);
  background: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
}

body::before {
  content: '';
  position: fixed;
  inset: 0;
  background: 
    radial-gradient(ellipse 80% 50% at 50% -10%, rgba(16, 124, 16, 0.12) 0%, transparent 60%),
    radial-gradient(ellipse 40% 30% at 90% 80%, rgba(82, 176, 67, 0.05) 0%, transparent 50%);
  pointer-events: none;
  z-index: 0;
}

/* ─── TYPOGRAPHY ─── */
h1, h2, h3, h4, h5 { font-family: var(--font-display); font-weight: 700; line-height: 1.2; }
h1 { font-size: clamp(2.2rem, 5vw, 4rem); }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.8rem); }
h3 { font-size: clamp(1.3rem, 2.5vw, 1.8rem); }
h4 { font-size: 1.2rem; }
p { color: var(--text-secondary); line-height: 1.7; }
a { color: var(--accent); text-decoration: none; transition: var(--transition); }
a:hover { color: var(--xbox-green-glow); }

/* ─── LAYOUT ─── */
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
section { position: relative; z-index: 1; }

/* ─── NAVBAR ─── */
.navbar {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(10, 10, 10, 0.92);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  padding: 0;
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--text-primary);
  letter-spacing: 0.5px;
}
.nav-logo .logo-icon {
  width: 34px;
  height: 34px;
  background: var(--xbox-green);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  box-shadow: 0 0 12px rgba(16, 124, 16, 0.5);
}
.nav-logo span { color: var(--accent); }
.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
  list-style: none;
}
.nav-links a {
  color: var(--text-secondary);
  font-size: 0.9rem;
  font-weight: 500;
  padding: 8px 14px;
  border-radius: var(--radius);
  transition: var(--transition);
  letter-spacing: 0.3px;
}
.nav-links a:hover, .nav-links a.active {
  color: var(--text-primary);
  background: var(--bg-card);
}
.nav-cta {
  background: var(--xbox-green) !important;
  color: white !important;
  padding: 8px 18px !important;
}
.nav-cta:hover { background: var(--xbox-green-bright) !important; }

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 6px;
  background: none;
  border: none;
}
.hamburger span {
  width: 24px;
  height: 2px;
  background: var(--text-primary);
  transition: var(--transition);
  display: block;
}
.hamburger.open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

.mobile-menu {
  display: none;
  position: fixed;
  top: 64px;
  left: 0; right: 0;
  background: rgba(10, 10, 10, 0.98);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  padding: 20px 24px;
  z-index: 999;
  flex-direction: column;
  gap: 4px;
}
.mobile-menu.open { display: flex; }
.mobile-menu a {
  color: var(--text-secondary);
  font-size: 1rem;
  font-weight: 500;
  padding: 12px 16px;
  border-radius: var(--radius);
  display: block;
}
.mobile-menu a:hover { color: var(--text-primary); background: var(--bg-card); }

/* ─── HERO ─── */
.hero {
  min-height: 92vh;
  display: flex;
  align-items: center;
  padding: 80px 0 60px;
  position: relative;
  overflow: hidden;
}
.hero-grid-bg {
  position: absolute;
  inset: 0;
  background-image: 
    linear-gradient(rgba(82, 176, 67, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(82, 176, 67, 0.04) 1px, transparent 1px);
  background-size: 50px 50px;
  mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 30%, transparent 80%);
}
.hero-content { text-align: center; position: relative; z-index: 1; }
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(82, 176, 67, 0.1);
  border: 1px solid rgba(82, 176, 67, 0.3);
  color: var(--accent);
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 500;
  padding: 6px 16px;
  border-radius: 100px;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 24px;
}
.hero-badge::before { content: '●'; font-size: 0.5rem; animation: pulse 2s infinite; }
@keyframes pulse { 0%,100%{opacity:1} 50%{opacity:0.3} }

.hero h1 { margin-bottom: 20px; letter-spacing: -0.5px; }
.hero h1 em { font-style: normal; color: var(--accent); }
.hero-sub {
  font-size: 1.15rem;
  max-width: 560px;
  margin: 0 auto 40px;
  color: var(--text-secondary);
}
.hero-stats {
  display: flex;
  justify-content: center;
  gap: 40px;
  margin-top: 60px;
  flex-wrap: wrap;
}
.stat { text-align: center; }
.stat-num {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 700;
  color: var(--accent);
  display: block;
}
.stat-label { font-size: 0.82rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: 1px; }

/* ─── SEARCH TOOL ─── */
.search-section { padding: 60px 0 80px; }
.search-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow-card);
  position: relative;
  overflow: hidden;
}
.search-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--xbox-green), var(--xbox-green-bright), transparent);
}
.search-card h2 { margin-bottom: 8px; }
.search-card > p { margin-bottom: 28px; font-size: 0.95rem; }

.search-form { display: flex; gap: 12px; margin-bottom: 24px; }
.search-input-wrap { flex: 1; position: relative; }
.search-input-wrap .input-icon {
  position: absolute;
  left: 16px; top: 50%;
  transform: translateY(-50%);
  color: var(--text-muted);
  font-size: 1.1rem;
  pointer-events: none;
}
#gamertag-input {
  width: 100%;
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--text-primary);
  font-family: var(--font-mono);
  font-size: 1rem;
  padding: 14px 16px 14px 48px;
  transition: var(--transition);
  outline: none;
}
#gamertag-input:focus { border-color: var(--xbox-green); box-shadow: 0 0 0 3px rgba(16, 124, 16, 0.15); }
#gamertag-input::placeholder { color: var(--text-muted); font-family: var(--font-body); }

.btn {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  padding: 14px 28px;
  border-radius: var(--radius);
  border: none;
  cursor: pointer;
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
}
.btn-primary {
  background: var(--xbox-green);
  color: white;
}
.btn-primary:hover { background: var(--xbox-green-bright); transform: translateY(-1px); box-shadow: 0 4px 16px rgba(16, 124, 16, 0.4); }
.btn-primary:active { transform: translateY(0); }
.btn-secondary {
  background: var(--bg-secondary);
  color: var(--text-secondary);
  border: 1px solid var(--border);
}
.btn-secondary:hover { color: var(--text-primary); border-color: var(--accent); }
.btn-sm { padding: 8px 16px; font-size: 0.88rem; }

/* ─── RESULT CARD ─── */
#result-area { margin-top: 24px; }
.result-card {
  background: var(--bg-secondary);
  border: 1px solid var(--border-green);
  border-radius: var(--radius-lg);
  padding: 28px;
  animation: slideUp 0.35s ease;
}
@keyframes slideUp { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: translateY(0); } }

.result-header {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 24px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--border);
  flex-wrap: wrap;
}
.avatar {
  width: 72px;
  height: 72px;
  background: linear-gradient(135deg, var(--xbox-green), var(--xbox-green-bright));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-weight: 700;
  color: white;
  flex-shrink: 0;
  box-shadow: 0 0 20px rgba(82, 176, 67, 0.3);
}
.result-name-area { flex: 1; min-width: 0; }
.result-gamertag {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 4px;
  word-break: break-word;
}
.result-sub { font-size: 0.85rem; color: var(--text-muted); display: flex; align-items: center; gap: 6px; }
.badge-verified {
  background: rgba(82, 176, 67, 0.15);
  color: var(--accent);
  font-size: 0.75rem;
  padding: 2px 10px;
  border-radius: 100px;
  border: 1px solid rgba(82, 176, 67, 0.3);
  font-family: var(--font-mono);
}
.result-actions { display: flex; gap: 8px; flex-wrap: wrap; }

.result-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 14px; }
.result-stat {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 16px;
  text-align: center;
  transition: var(--transition);
}
.result-stat:hover { border-color: var(--border-green); transform: translateY(-2px); }
.result-stat .val {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--accent);
  display: block;
  margin-bottom: 4px;
}
.result-stat .lbl { font-size: 0.8rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.8px; }

.result-info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 12px;
  margin-top: 20px;
}
.info-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 14px;
}
.info-icon {
  width: 36px;
  height: 36px;
  background: rgba(82, 176, 67, 0.1);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  flex-shrink: 0;
}
.info-label { font-size: 0.75rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.8px; }
.info-val { font-size: 0.95rem; font-weight: 500; color: var(--text-primary); margin-top: 2px; }

/* Error / Loading */
.error-card {
  background: rgba(232, 17, 35, 0.08);
  border: 1px solid rgba(232, 17, 35, 0.25);
  border-radius: var(--radius);
  padding: 20px 24px;
  color: #FF6B7A;
  display: flex;
  align-items: center;
  gap: 12px;
  animation: slideUp 0.3s ease;
  font-size: 0.95rem;
}
.loading-card {
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
  text-align: center;
  color: var(--text-muted);
}
.spinner {
  width: 36px;
  height: 36px;
  border: 3px solid var(--border);
  border-top-color: var(--xbox-green);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
  margin: 0 auto 14px;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ─── HISTORY ─── */
.history-section { margin-top: 24px; }
.history-title {
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--text-muted);
  margin-bottom: 10px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.clear-history { cursor: pointer; color: var(--text-muted); font-size: 0.8rem; background: none; border: none; transition: var(--transition); }
.clear-history:hover { color: var(--danger); }
.history-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.history-chip {
  font-family: var(--font-mono);
  font-size: 0.82rem;
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  color: var(--text-secondary);
  padding: 5px 14px;
  border-radius: 100px;
  cursor: pointer;
  transition: var(--transition);
}
.history-chip:hover { border-color: var(--accent); color: var(--text-primary); }

/* ─── FEATURES ─── */
.features-section { padding: 80px 0; }
.section-header { text-align: center; margin-bottom: 56px; }
.section-label {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--accent);
  display: block;
  margin-bottom: 12px;
}
.section-header h2 { margin-bottom: 12px; }
.section-header p { max-width: 520px; margin: 0 auto; }

.features-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 20px; }
.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}
.feature-card:hover {
  border-color: var(--border-green);
  transform: translateY(-4px);
  box-shadow: var(--shadow-green);
}
.feature-icon {
  width: 52px;
  height: 52px;
  background: rgba(82, 176, 67, 0.1);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 18px;
  transition: var(--transition);
}
.feature-card:hover .feature-icon { background: rgba(82, 176, 67, 0.2); }
.feature-card h3 { font-size: 1.15rem; margin-bottom: 8px; color: var(--text-primary); }
.feature-card p { font-size: 0.9rem; }

/* ─── HOW IT WORKS ─── */
.how-section { padding: 80px 0; background: var(--bg-secondary); }
.steps { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 0; counter-reset: steps; position: relative; }
.steps::before {
  content: '';
  position: absolute;
  top: 32px;
  left: calc(10% + 32px);
  right: calc(10% + 32px);
  height: 1px;
  background: var(--border);
}
.step { text-align: center; padding: 0 20px; counter-increment: steps; }
.step-num {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--bg-card);
  border: 2px solid var(--xbox-green);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--accent);
  position: relative;
  z-index: 1;
  box-shadow: 0 0 20px rgba(16, 124, 16, 0.2);
}
.step h3 { font-size: 1.05rem; margin-bottom: 8px; }
.step p { font-size: 0.88rem; }

/* ─── FAQ ─── */
.faq-section { padding: 80px 0; }
.faq-list { max-width: 760px; margin: 0 auto; display: flex; flex-direction: column; gap: 12px; }
.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: var(--transition);
}
.faq-item.open { border-color: var(--border-green); }
.faq-q {
  width: 100%;
  background: none;
  border: none;
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  padding: 18px 20px;
  text-align: left;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  transition: var(--transition);
}
.faq-q:hover { color: var(--accent); }
.faq-icon { font-size: 1.2rem; flex-shrink: 0; transition: var(--transition); color: var(--text-muted); }
.faq-item.open .faq-icon { transform: rotate(45deg); color: var(--accent); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height 0.35s ease, padding 0.25s ease; }
.faq-item.open .faq-a { max-height: 300px; }
.faq-a p { padding: 0 20px 18px; font-size: 0.92rem; }

/* ─── CTA ─── */
.cta-section { padding: 80px 0; }
.cta-box {
  background: linear-gradient(135deg, var(--bg-card) 0%, rgba(16, 124, 16, 0.1) 100%);
  border: 1px solid var(--border-green);
  border-radius: var(--radius-lg);
  padding: 64px 40px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-box::before {
  content: '⊕';
  position: absolute;
  right: -40px;
  bottom: -40px;
  font-size: 14rem;
  color: rgba(82, 176, 67, 0.03);
  pointer-events: none;
}
.cta-box h2 { margin-bottom: 14px; }
.cta-box p { max-width: 480px; margin: 0 auto 32px; }
.cta-buttons { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* ─── RESOURCES ─── */
.resources-section { padding: 80px 0; background: var(--bg-secondary); }
.resources-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 20px; }
.resource-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}
.resource-card:hover { border-color: var(--border-green); transform: translateY(-3px); }
.resource-tag {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--accent);
  background: rgba(82, 176, 67, 0.1);
  padding: 4px 10px;
  border-radius: 100px;
  display: inline-block;
  margin-bottom: 12px;
}
.resource-card h3 { font-size: 1.05rem; margin-bottom: 8px; color: var(--text-primary); }
.resource-card p { font-size: 0.88rem; flex: 1; }
.resource-link { margin-top: 16px; font-size: 0.9rem; font-weight: 600; display: flex; align-items: center; gap: 6px; }

/* ─── BLOG PREVIEW ─── */
.blog-section { padding: 80px 0; }
.blog-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 24px; }
.blog-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}
.blog-card:hover { border-color: var(--border-green); transform: translateY(-4px); box-shadow: var(--shadow-green); }
.blog-thumb {
  height: 180px;
  background: linear-gradient(135deg, #0D2B0D, #1A4A1A);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 4rem;
  position: relative;
  overflow: hidden;
}
.blog-thumb::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, transparent 50%, rgba(0,0,0,0.5));
}
.blog-content { padding: 24px; flex: 1; display: flex; flex-direction: column; }
.blog-meta { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; flex-wrap: wrap; }
.blog-cat {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--accent);
}
.blog-date { font-size: 0.8rem; color: var(--text-muted); }
.blog-card h3 { font-size: 1.1rem; margin-bottom: 10px; color: var(--text-primary); }
.blog-card p { font-size: 0.88rem; flex: 1; }
.blog-read-more { margin-top: 16px; font-size: 0.9rem; font-weight: 600; color: var(--accent); display: flex; align-items: center; gap: 6px; }
.blog-read-more:hover { gap: 10px; }

/* ─── FOOTER ─── */
.footer {
  background: var(--bg-secondary);
  border-top: 1px solid var(--border);
  padding: 60px 0 32px;
}
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 48px; }
.footer-brand .nav-logo { margin-bottom: 14px; }
.footer-brand p { font-size: 0.88rem; max-width: 280px; }
.footer-col h4 { font-size: 0.88rem; text-transform: uppercase; letter-spacing: 1px; color: var(--text-secondary); margin-bottom: 16px; font-family: var(--font-mono); }
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-col ul li a { color: var(--text-muted); font-size: 0.9rem; transition: var(--transition); }
.footer-col ul li a:hover { color: var(--accent); }
.footer-bottom { border-top: 1px solid var(--border); padding-top: 24px; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; }
.footer-bottom p { font-size: 0.82rem; color: var(--text-muted); }
.footer-legal { display: flex; gap: 20px; }
.footer-legal a { font-size: 0.82rem; color: var(--text-muted); }
.footer-legal a:hover { color: var(--accent); }

/* ─── BREADCRUMB ─── */
.breadcrumb { padding: 16px 0; display: flex; align-items: center; gap: 8px; font-size: 0.85rem; }
.breadcrumb a { color: var(--text-muted); }
.breadcrumb a:hover { color: var(--accent); }
.breadcrumb span { color: var(--text-muted); }
.breadcrumb strong { color: var(--text-primary); }

/* ─── BLOG POST PAGE ─── */
.blog-post-hero { padding: 80px 0 48px; }
.post-layout { display: grid; grid-template-columns: 1fr 320px; gap: 40px; padding-bottom: 80px; }
.post-body { font-size: 1rem; line-height: 1.8; }
.post-body h2 { font-size: 1.7rem; margin: 40px 0 16px; color: var(--text-primary); }
.post-body h3 { font-size: 1.25rem; margin: 28px 0 12px; color: var(--text-primary); }
.post-body p { margin-bottom: 18px; color: var(--text-secondary); }
.post-body ul, .post-body ol { margin: 16px 0 20px 24px; color: var(--text-secondary); }
.post-body li { margin-bottom: 8px; line-height: 1.7; }
.post-body a { color: var(--accent); text-decoration: underline; text-decoration-color: rgba(82, 176, 67, 0.3); }
.post-body a:hover { text-decoration-color: var(--accent); }
.post-body blockquote {
  border-left: 3px solid var(--xbox-green);
  padding: 16px 20px;
  margin: 24px 0;
  background: rgba(82, 176, 67, 0.05);
  border-radius: 0 var(--radius) var(--radius) 0;
  color: var(--text-secondary);
  font-style: italic;
}
.post-body .tip-box {
  background: rgba(82, 176, 67, 0.06);
  border: 1px solid rgba(82, 176, 67, 0.2);
  border-radius: var(--radius);
  padding: 20px 24px;
  margin: 24px 0;
}
.post-body .tip-box strong { color: var(--accent); }

.post-sidebar { position: sticky; top: 84px; align-self: start; display: flex; flex-direction: column; gap: 24px; }
.sidebar-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px;
}
.sidebar-card h4 { margin-bottom: 16px; font-size: 1rem; }
.toc-list { list-style: none; display: flex; flex-direction: column; gap: 8px; }
.toc-list a { color: var(--text-muted); font-size: 0.88rem; padding: 4px 0; display: block; border-left: 2px solid transparent; padding-left: 10px; transition: var(--transition); }
.toc-list a:hover { color: var(--accent); border-left-color: var(--accent); }

.post-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.post-tag {
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  color: var(--text-muted);
  font-size: 0.8rem;
  padding: 4px 12px;
  border-radius: 100px;
  transition: var(--transition);
}
.post-tag:hover { border-color: var(--accent); color: var(--accent); }

.cta-inline {
  background: linear-gradient(135deg, rgba(16, 124, 16, 0.12), rgba(82, 176, 67, 0.06));
  border: 1px solid var(--border-green);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  text-align: center;
  margin: 40px 0;
}
.cta-inline h3 { margin-bottom: 10px; font-size: 1.3rem; }
.cta-inline p { font-size: 0.9rem; margin-bottom: 18px; }

/* ─── BLOG LIST PAGE ─── */
.blog-hero { padding: 64px 0 48px; }
.blog-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(340px, 1fr)); gap: 24px; padding-bottom: 80px; }

/* ─── UTILITY ─── */
.text-center { text-align: center; }
.mt-4 { margin-top: 16px; }
.mt-8 { margin-top: 32px; }
.mb-4 { margin-bottom: 16px; }
.hidden { display: none !important; }
.tag { font-family: var(--font-mono); font-size: 0.75rem; }
.divider { height: 1px; background: var(--border); margin: 24px 0; }

/* ─── TOAST ─── */
.toast {
  position: fixed;
  bottom: 24px;
  right: 24px;
  background: var(--bg-card);
  border: 1px solid var(--border-green);
  border-radius: var(--radius);
  padding: 14px 20px;
  font-size: 0.9rem;
  color: var(--text-primary);
  display: flex;
  align-items: center;
  gap: 10px;
  box-shadow: var(--shadow-card);
  animation: slideUp 0.3s ease, fadeOut 0.3s ease 2s forwards;
  z-index: 9999;
}
@keyframes fadeOut { to { opacity: 0; transform: translateY(8px); } }

/* ─── RESPONSIVE ─── */
@media (max-width: 900px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .post-layout { grid-template-columns: 1fr; }
  .post-sidebar { position: static; }
  .steps::before { display: none; }
}
@media (max-width: 768px) {
  .nav-links { display: none; }
  .hamburger { display: flex; }
  .search-form { flex-direction: column; }
  .hero { padding: 60px 0 40px; min-height: auto; }
  .hero-stats { gap: 24px; }
  .cta-box { padding: 40px 24px; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
}
@media (max-width: 480px) {
  .search-card { padding: 24px 20px; }
  .result-header { flex-direction: column; align-items: flex-start; }
  .result-grid { grid-template-columns: 1fr 1fr; }
  .container { padding: 0 16px; }
}
