/* ═══════════════════════════════════════════════════════
   PORTFOLIO CSS — Modern, Responsive, Dark/Light
   ═══════════════════════════════════════════════════════ */

/* ─── VARIABLES ─────────────────────────────────────────── */
:root {
  --bg:          #0d0d12;
  --bg-2:        #13131a;
  --bg-3:        #1a1a25;
  --surface:     rgba(255,255,255,0.04);
  --surface-h:   rgba(255,255,255,0.08);
  --border:      rgba(255,255,255,0.08);
  --border-h:    rgba(255,255,255,0.16);
  --text:        #e8e8f0;
  --text-2:      #9999b0;
  --text-3:      #666680;
  --accent:      #7c3aed;
  --accent-2:    #5b21b6;
  --accent-rgb:  124,58,237;
  --green:       #10b981;
  --red:         #ef4444;
  --yellow:      #f59e0b;
  --radius:      12px;
  --radius-lg:   20px;
  --radius-sm:   8px;
  --shadow:      0 4px 24px rgba(0,0,0,.4);
  --shadow-lg:   0 8px 48px rgba(0,0,0,.6);
  --font:        'Inter', system-ui, -apple-system, sans-serif;
  --mono:        'JetBrains Mono', 'Fira Code', monospace;
  --transition:  0.2s cubic-bezier(0.4,0,0.2,1);
  --nav-h:       64px;
}

[data-theme="light"] {
  --bg:          #f8f8fc;
  --bg-2:        #ffffff;
  --bg-3:        #f0f0f8;
  --surface:     rgba(0,0,0,0.04);
  --surface-h:   rgba(0,0,0,0.08);
  --border:      rgba(0,0,0,0.08);
  --border-h:    rgba(0,0,0,0.16);
  --text:        #111118;
  --text-2:      #55556a;
  --text-3:      #88889a;
  --shadow:      0 4px 24px rgba(0,0,0,.12);
  --shadow-lg:   0 8px 48px rgba(0,0,0,.18);
}

/* ─── RESET ─────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  transition: background var(--transition), color var(--transition);
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font: inherit; }

/* ─── UTILITIES ─────────────────────────────────────────── */
.container { max-width: 1200px; margin: 0 auto; padding: 0 1.5rem; }
.section   { padding: 6rem 0; }
.gradient-text {
  background: linear-gradient(135deg, #7c3aed, #06b6d4);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.mt-auto { margin-top: auto; }

/* ─── SCROLL REVEAL ─────────────────────────────────────── */
[data-aos] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
[data-aos].aos-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ─── BUTTONS ───────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  transition: all var(--transition);
  white-space: nowrap;
  border: 1.5px solid transparent;
  text-decoration: none;
}
.btn-primary {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 0 20px rgba(var(--accent-rgb),.35);
}
.btn-primary:hover {
  background: var(--accent-2);
  transform: translateY(-2px);
  box-shadow: 0 4px 24px rgba(var(--accent-rgb),.5);
}
.btn-outline {
  border-color: var(--border-h);
  color: var(--text);
  background: transparent;
}
.btn-outline:hover {
  border-color: var(--accent);
  color: var(--accent);
  background: rgba(var(--accent-rgb),.08);
}
.btn-ghost {
  color: var(--text-2);
  background: transparent;
}
.btn-ghost:hover { color: var(--text); background: var(--surface-h); }
.btn-sm  { padding: 0.45rem 1rem; font-size: 0.82rem; }
.btn-lg  { padding: 1rem 2rem; font-size: 1rem; }
.btn-block { width: 100%; justify-content: center; }

/* ─── CARDS ─────────────────────────────────────────────── */
.card {
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: border-color var(--transition), box-shadow var(--transition), transform var(--transition);
}
.card:hover {
  border-color: var(--border-h);
  box-shadow: var(--shadow);
  transform: translateY(-4px);
}

/* ─── TAGS ──────────────────────────────────────────────── */
.tag {
  display: inline-block;
  padding: 0.25rem 0.65rem;
  background: rgba(var(--accent-rgb),.15);
  color: #a78bfa;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 500;
}

/* ─── SECTION HEADER ────────────────────────────────────── */
.section-header {
  text-align: center;
  margin-bottom: 3.5rem;
}
.section-tag {
  display: inline-block;
  padding: 0.3rem 1rem;
  background: rgba(var(--accent-rgb),.12);
  color: #a78bfa;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 1rem;
  border: 1px solid rgba(var(--accent-rgb),.25);
}
.section-title {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin-bottom: 1rem;
}
.section-desc {
  color: var(--text-2);
  font-size: 1.05rem;
  max-width: 520px;
  margin: 0 auto;
}
.section-cta { text-align: center; margin-top: 3rem; }

/* ═══════════════════════════════════════════════════════
   NAVIGATION
   ═══════════════════════════════════════════════════════ */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: var(--nav-h);
  background: rgba(13,13,18,0.8);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  transition: background var(--transition), border-color var(--transition);
}
[data-theme="light"] .site-header {
  background: rgba(248,248,252,0.85);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  gap: 2rem;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 700;
  font-size: 1.1rem;
  letter-spacing: -0.01em;
}
.logo-dot {
  width: 8px;
  height: 8px;
  background: var(--accent);
  border-radius: 50%;
  box-shadow: 0 0 8px rgba(var(--accent-rgb),.7);
  animation: pulse-dot 2s infinite;
}
@keyframes pulse-dot {
  0%,100% { box-shadow: 0 0 8px rgba(var(--accent-rgb),.7); }
  50%      { box-shadow: 0 0 16px rgba(var(--accent-rgb),.4); }
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}
.nav-link {
  padding: 0.4rem 0.85rem;
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-2);
  transition: all var(--transition);
}
.nav-link:hover, .nav-link.active {
  color: var(--text);
  background: var(--surface-h);
}
.nav-link.active { color: var(--accent); }
.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.theme-toggle {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--surface);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-2);
  transition: all var(--transition);
}
.theme-toggle:hover { color: var(--text); background: var(--surface-h); }
.icon-sun  { display: none; }
.icon-moon { display: block; }
[data-theme="light"] .icon-sun  { display: block; }
[data-theme="light"] .icon-moon { display: none; }
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 36px;
  height: 36px;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-sm);
  background: var(--surface);
  border: 1px solid var(--border);
}
.nav-toggle span {
  width: 18px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: all var(--transition);
}
.nav-toggle.open span:nth-child(1) { transform: rotate(45deg) translate(5px,5px); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: rotate(-45deg) translate(5px,-5px); }

/* ═══════════════════════════════════════════════════════
   HERO
   ═══════════════════════════════════════════════════════ */
.hero {
  min-height: 100svh;
  display: flex;
  align-items: center;
  position: relative;
  padding-top: var(--nav-h);
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.03) 1px, transparent 1px);
  background-size: 60px 60px;
}
[data-theme="light"] .hero-grid {
  background-image:
    linear-gradient(rgba(0,0,0,.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,0,0,.04) 1px, transparent 1px);
}
.hero-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.25;
}
.glow-1 {
  width: 600px; height: 600px;
  background: var(--accent);
  top: -200px; right: -100px;
}
.glow-2 {
  width: 400px; height: 400px;
  background: #06b6d4;
  bottom: -150px; left: -100px;
  opacity: 0.15;
}
.hero-content {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 4rem;
  align-items: center;
  position: relative;
  z-index: 1;
}
.hero-text { max-width: 600px; }
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 1rem;
  background: rgba(16,185,129,.1);
  border: 1px solid rgba(16,185,129,.25);
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--green);
  margin-bottom: 1.5rem;
}
.badge-dot {
  width: 6px; height: 6px;
  background: var(--green);
  border-radius: 50%;
  animation: blink 1.5s ease infinite;
}
@keyframes blink { 0%,100% { opacity:1; } 50% { opacity:0.2; } }
.hero-title {
  font-size: clamp(2.4rem, 6vw, 4.2rem);
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin-bottom: 1.25rem;
}
.hero-subtitle {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--text-2);
  margin-bottom: 0.75rem;
}
.hero-desc {
  font-size: 1rem;
  color: var(--text-2);
  max-width: 480px;
  margin-bottom: 2rem;
}
.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 2rem;
}
.hero-tech {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.tech-tag {
  padding: 0.25rem 0.75rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 0.8rem;
  font-family: var(--mono);
  color: var(--text-2);
  transition: all var(--transition);
}
.tech-tag:hover { border-color: var(--accent); color: var(--accent); }

/* Avatar */
.hero-visual { position: relative; flex-shrink: 0; }
.avatar-container {
  position: relative;
  width: 280px;
  height: 280px;
}
.avatar-ring {
  position: absolute;
  inset: -12px;
  border-radius: 50%;
  border: 1.5px solid rgba(var(--accent-rgb),.3);
  animation: spin 20s linear infinite;
}
.ring-2 {
  inset: -24px;
  border-color: rgba(var(--accent-rgb),.15);
  animation-duration: 30s;
  animation-direction: reverse;
}
@keyframes spin { from { transform: rotate(0); } to { transform: rotate(360deg); } }
.avatar {
  width: 280px;
  height: 280px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--border);
  box-shadow: var(--shadow-lg), 0 0 40px rgba(var(--accent-rgb),.2);
}
.avatar-badge-top, .avatar-badge-bottom {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.4rem 0.9rem;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 600;
  backdrop-filter: blur(10px);
  border: 1px solid var(--border);
  white-space: nowrap;
}
.avatar-badge-top {
  top: 20px; right: -20px;
  background: rgba(16,185,129,.15);
  color: var(--green);
  border-color: rgba(16,185,129,.25);
}
.avatar-badge-bottom {
  bottom: 30px; left: -20px;
  background: var(--bg-3);
  color: var(--text-2);
}
.scroll-indicator {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  color: var(--text-3);
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, var(--accent), transparent);
  animation: scroll-line 1.5s ease-in-out infinite;
}
@keyframes scroll-line { 0%,100% { opacity:1; } 50% { opacity:0.3; } }

/* ═══════════════════════════════════════════════════════
   STATS
   ═══════════════════════════════════════════════════════ */
.stats-section {
  background: var(--bg-2);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 3rem 0;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 2rem;
}
.stat-card {
  text-align: center;
  padding: 1.5rem;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--border);
  transition: all var(--transition);
}
.stat-card:hover {
  border-color: var(--border-h);
  background: var(--surface-h);
}
.stat-icon { font-size: 1.8rem; margin-bottom: 0.5rem; }
.stat-value {
  font-size: 2.5rem;
  font-weight: 900;
  letter-spacing: -0.03em;
  background: linear-gradient(135deg, var(--text), var(--text-2));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.stat-label { font-size: 0.85rem; color: var(--text-2); margin-top: 0.25rem; }

/* ═══════════════════════════════════════════════════════
   SKILLS
   ═══════════════════════════════════════════════════════ */
.skills-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1rem;
}
.skill-card {
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.25rem;
  transition: border-color var(--transition);
}
.skill-card:hover { border-color: var(--border-h); }
.skill-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.75rem;
}
.skill-name { font-weight: 600; font-size: 0.9rem; }
.skill-pct  { font-family: var(--mono); font-size: 0.82rem; color: var(--accent); }
.skill-bar  {
  height: 6px;
  background: var(--surface-h);
  border-radius: 999px;
  overflow: hidden;
}
.skill-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--accent), #06b6d4);
  border-radius: 999px;
  width: 0;
  transition: width 1.2s cubic-bezier(0.4,0,0.2,1);
}

/* ═══════════════════════════════════════════════════════
   SERVICES
   ═══════════════════════════════════════════════════════ */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.5rem;
}
.service-card {
  display: flex;
  flex-direction: column;
  padding: 2rem;
  gap: 1rem;
}
.service-icon {
  width: 52px;
  height: 52px;
  background: rgba(var(--accent-rgb),.12);
  border: 1px solid rgba(var(--accent-rgb),.2);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #a78bfa;
  font-size: 1.5rem;
}
.service-title { font-size: 1.15rem; font-weight: 700; }
.service-desc  { color: var(--text-2); font-size: 0.9rem; flex: 1; }
.service-features {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}
.service-features li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  color: var(--text-2);
}
.service-features li svg { color: var(--green); flex-shrink: 0; }

/* ═══════════════════════════════════════════════════════
   PORTFOLIO GRID
   ═══════════════════════════════════════════════════════ */
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 1.5rem;
}
.portfolio-card { display: flex; flex-direction: column; }
.card-image {
  position: relative;
  aspect-ratio: 16/9;
  overflow: hidden;
}
.card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}
.portfolio-card:hover .card-image img { transform: scale(1.05); }
.card-image-placeholder {
  width: 100%;
  height: 100%;
  background: var(--surface);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-3);
}
.card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,.6), transparent);
  display: flex;
  align-items: flex-end;
  padding: 1rem;
  opacity: 0;
  transition: opacity var(--transition);
}
.portfolio-card:hover .card-overlay { opacity: 1; }
.card-tags { display: flex; gap: 0.4rem; flex-wrap: wrap; }
.card-body {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  flex: 1;
}
.card-title { font-size: 1.1rem; font-weight: 700; }
.card-desc  { color: var(--text-2); font-size: 0.88rem; flex: 1; }
.card-footer { display: flex; gap: 0.75rem; align-items: center; margin-top: 0.5rem; }

/* Filter buttons */
.filter-bar {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-bottom: 2.5rem;
}
.filter-btn {
  padding: 0.4rem 1rem;
  border-radius: 999px;
  border: 1.5px solid var(--border);
  background: transparent;
  color: var(--text-2);
  font-size: 0.85rem;
  font-weight: 500;
  cursor: pointer;
  transition: all var(--transition);
}
.filter-btn:hover, .filter-btn.active {
  border-color: var(--accent);
  color: var(--accent);
  background: rgba(var(--accent-rgb),.08);
}

/* ═══════════════════════════════════════════════════════
   BLOG
   ═══════════════════════════════════════════════════════ */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 1.5rem;
}
.blog-card { display: flex; flex-direction: column; }
.blog-meta {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.8rem;
  color: var(--text-3);
  margin-bottom: 0.5rem;
}
.read-time::before { content: '·'; margin-right: 0.75rem; }

/* ═══════════════════════════════════════════════════════
   PRICING
   ═══════════════════════════════════════════════════════ */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
}
.pricing-card {
  display: flex;
  flex-direction: column;
  padding: 2rem;
  position: relative;
  gap: 1.5rem;
}
.pricing-card--highlight {
  border-color: rgba(var(--accent-rgb),.5) !important;
  background: linear-gradient(135deg, var(--bg-2), rgba(var(--accent-rgb),.05));
  box-shadow: 0 0 40px rgba(var(--accent-rgb),.15);
}
.pricing-badge {
  position: absolute;
  top: -1px;
  right: 1.5rem;
  background: var(--accent);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 0.25rem 0.75rem;
  border-radius: 0 0 var(--radius-sm) var(--radius-sm);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.pricing-name  { font-size: 1.1rem; font-weight: 700; margin-bottom: 0.5rem; }
.pricing-price {
  display: flex;
  align-items: baseline;
  gap: 0.25rem;
}
.price-currency { font-size: 1.2rem; font-weight: 600; color: var(--text-2); }
.price-amount   { font-size: 3rem; font-weight: 900; letter-spacing: -0.04em; }
.price-period   { font-size: 0.9rem; color: var(--text-2); }
.pricing-note   { font-size: 0.8rem; color: var(--text-3); margin-top: 0.25rem; }
.pricing-features { display: flex; flex-direction: column; gap: 0.65rem; flex: 1; }
.pricing-features li {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.88rem;
}
.pricing-features li.included { color: var(--text); }
.pricing-features li.excluded { color: var(--text-3); }
.pricing-features li.included svg { color: var(--green); flex-shrink: 0; }
.pricing-features li.excluded svg { color: var(--text-3); flex-shrink: 0; }

/* ═══════════════════════════════════════════════════════
   TESTIMONIALS
   ═══════════════════════════════════════════════════════ */
.testimonials-track {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.5rem;
}
.testimonial-card { padding: 1.75rem; display: flex; flex-direction: column; gap: 1rem; }
.testimonial-stars { display: flex; gap: 2px; color: var(--yellow); }
.testimonial-text  { color: var(--text-2); font-size: 0.95rem; font-style: italic; flex: 1; }
.testimonial-author {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border);
}
.testimonial-author img {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
}
.testimonial-avatar-placeholder {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 700;
  font-size: 1.1rem;
  flex-shrink: 0;
}
.testimonial-author strong { display: block; font-size: 0.9rem; }
.testimonial-author span   { font-size: 0.8rem; color: var(--text-2); }

/* ═══════════════════════════════════════════════════════
   CTA SECTION
   ═══════════════════════════════════════════════════════ */
.cta-section { background: var(--bg-2); }
.cta-card {
  position: relative;
  overflow: hidden;
  text-align: center;
  padding: 5rem 2rem;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(var(--accent-rgb),.2);
  background: linear-gradient(135deg, rgba(var(--accent-rgb),.08), rgba(6,182,212,.08));
}
.cta-glow {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, rgba(var(--accent-rgb),.15), transparent 70%);
  pointer-events: none;
}
.cta-card h2 { font-size: clamp(1.8rem, 4vw, 2.5rem); font-weight: 800; margin-bottom: 1rem; }
.cta-card p  { color: var(--text-2); font-size: 1.05rem; margin-bottom: 2rem; }
.cta-actions { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

/* ═══════════════════════════════════════════════════════
   HISTORY
   ═══════════════════════════════════════════════════════ */
.history-section { padding-top: calc(var(--nav-h) + 4rem); }
.history-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(400px, 1fr)); gap: 2.5rem; }
.history-section-title {
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  padding-bottom: 0.75rem;
  border-bottom: 2px solid rgba(var(--accent-rgb),.3);
  color: #a78bfa;
}
.timeline { display: flex; flex-direction: column; gap: 1.25rem; position: relative; }
.timeline::before {
  content: '';
  position: absolute;
  left: 0.6rem;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--border);
}
.timeline-item {
  padding: 1.25rem 1.5rem;
  padding-left: 2.5rem;
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  position: relative;
  transition: border-color var(--transition);
}
.timeline-item::before {
  content: '';
  position: absolute;
  left: -0.35rem;
  top: 1.5rem;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--accent);
  border: 2px solid var(--bg);
}
.timeline-item.current::before { background: var(--green); }
.timeline-item:hover { border-color: var(--border-h); }
.timeline-period { font-family: var(--mono); font-size: 0.78rem; color: var(--accent); margin-bottom: 0.3rem; }
.timeline-role { font-weight: 700; font-size: 1rem; }
.timeline-company { color: var(--text-2); font-size: 0.88rem; margin-bottom: 0.5rem; }
.timeline-desc { color: var(--text-2); font-size: 0.88rem; }
.current-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.2rem 0.6rem;
  background: rgba(16,185,129,.12);
  border: 1px solid rgba(16,185,129,.25);
  border-radius: 999px;
  font-size: 0.72rem;
  color: var(--green);
  font-weight: 600;
  margin-left: 0.5rem;
}

/* ═══════════════════════════════════════════════════════
   CONTACT
   ═══════════════════════════════════════════════════════ */
.contact-section { padding-top: calc(var(--nav-h) + 4rem); }
.contact-grid { display: grid; grid-template-columns: 1fr 1.6fr; gap: 3rem; align-items: start; }
.contact-info h2 { font-size: 2rem; font-weight: 800; margin-bottom: 1rem; }
.contact-info p  { color: var(--text-2); margin-bottom: 1.5rem; }
.contact-items { display: flex; flex-direction: column; gap: 1rem; }
.contact-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem;
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}
.contact-item-icon {
  width: 40px;
  height: 40px;
  background: rgba(var(--accent-rgb),.12);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #a78bfa;
  flex-shrink: 0;
}
.contact-item-label { font-size: 0.78rem; color: var(--text-3); }
.contact-item-value { font-size: 0.9rem; font-weight: 500; }

/* Form */
.contact-form-card { padding: 2rem; }
.form-group { margin-bottom: 1.25rem; }
.form-label { display: block; font-size: 0.85rem; font-weight: 600; margin-bottom: 0.4rem; }
.form-input, .form-textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  background: var(--surface);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--text);
  font: inherit;
  font-size: 0.9rem;
  transition: border-color var(--transition), background var(--transition);
  outline: none;
}
.form-input:focus, .form-textarea:focus {
  border-color: var(--accent);
  background: rgba(var(--accent-rgb),.05);
}
.form-textarea { resize: vertical; min-height: 130px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-honeypot { display: none !important; visibility: hidden; }
.form-alert {
  padding: 0.85rem 1rem;
  border-radius: var(--radius-sm);
  font-size: 0.88rem;
  margin-bottom: 1rem;
}
.form-alert.success {
  background: rgba(16,185,129,.1);
  border: 1px solid rgba(16,185,129,.25);
  color: var(--green);
}
.form-alert.error {
  background: rgba(239,68,68,.1);
  border: 1px solid rgba(239,68,68,.25);
  color: var(--red);
}

/* ═══════════════════════════════════════════════════════
   PAGINATION
   ═══════════════════════════════════════════════════════ */
.pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 3rem;
}
.page-btn {
  width: 40px; height: 40px;
  border-radius: var(--radius-sm);
  border: 1.5px solid var(--border);
  background: transparent;
  color: var(--text-2);
  font-size: 0.88rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition);
}
.page-btn:hover, .page-btn.active {
  border-color: var(--accent);
  color: var(--accent);
  background: rgba(var(--accent-rgb),.1);
}
.page-btn.active { font-weight: 700; }

/* ═══════════════════════════════════════════════════════
   ARTICLE CONTENT
   ═══════════════════════════════════════════════════════ */
.article-hero {
  padding-top: calc(var(--nav-h) + 3rem);
  padding-bottom: 3rem;
  background: var(--bg-2);
  border-bottom: 1px solid var(--border);
}
.article-layout { display: grid; grid-template-columns: 1fr 280px; gap: 3rem; padding: 3rem 0; align-items: start; }
.article-content {
  max-width: none;
  font-size: 1rem;
  line-height: 1.85;
  color: var(--text);
}
.article-content h1,h2,h3,h4 { margin: 2rem 0 1rem; font-weight: 700; line-height: 1.3; }
.article-content h2 { font-size: 1.5rem; }
.article-content h3 { font-size: 1.2rem; }
.article-content p  { margin-bottom: 1.25rem; color: var(--text-2); }
.article-content a  { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
.article-content ul, .article-content ol { padding-left: 1.5rem; margin-bottom: 1.25rem; color: var(--text-2); }
.article-content li { margin-bottom: 0.4rem; }
.article-content pre {
  background: var(--bg-3);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.25rem;
  overflow-x: auto;
  margin: 1.5rem 0;
}
.article-content code {
  font-family: var(--mono);
  font-size: 0.875em;
}
.article-content :not(pre) > code {
  background: var(--surface-h);
  padding: 0.15em 0.4em;
  border-radius: 4px;
  font-size: 0.875em;
}
.article-content blockquote {
  border-left: 3px solid var(--accent);
  padding-left: 1.25rem;
  margin: 1.5rem 0;
  color: var(--text-2);
  font-style: italic;
}
.article-content img {
  border-radius: var(--radius);
  margin: 1.5rem 0;
  border: 1px solid var(--border);
}
.article-content table { width: 100%; border-collapse: collapse; margin: 1.5rem 0; font-size: 0.9rem; }
.article-content th, .article-content td { padding: 0.65rem 1rem; border: 1px solid var(--border); }
.article-content th { background: var(--surface); font-weight: 600; }
.sidebar-card { padding: 1.5rem; margin-bottom: 1.5rem; }
.sidebar-title { font-size: 0.85rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; color: var(--text-3); margin-bottom: 1rem; }

/* ═══════════════════════════════════════════════════════
   FOOTER
   ═══════════════════════════════════════════════════════ */
.site-footer {
  background: var(--bg-2);
  border-top: 1px solid var(--border);
  padding: 4rem 0 2rem;
  margin-top: auto;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}
.footer-brand .nav-logo { margin-bottom: 0.75rem; }
.footer-brand p { color: var(--text-2); font-size: 0.9rem; margin: 0.5rem 0 1rem; }
.social-links { display: flex; gap: 0.75rem; }
.social-links a {
  width: 36px; height: 36px;
  border-radius: var(--radius-sm);
  background: var(--surface);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-2);
  transition: all var(--transition);
}
.social-links a:hover { color: var(--accent); border-color: var(--accent); background: rgba(var(--accent-rgb),.08); }
.footer-links h4, .footer-contact h4 { font-size: 0.85rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; color: var(--text-3); margin-bottom: 1rem; }
.footer-links ul { display: flex; flex-direction: column; gap: 0.5rem; }
.footer-links a { color: var(--text-2); font-size: 0.9rem; transition: color var(--transition); }
.footer-links a:hover { color: var(--accent); }
.footer-contact p { margin-bottom: 0.5rem; }
.footer-contact a { color: var(--text-2); font-size: 0.9rem; transition: color var(--transition); }
.footer-contact a:hover { color: var(--accent); }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
  font-size: 0.82rem;
  color: var(--text-3);
}
.footer-bottom a { color: var(--text-2); transition: color var(--transition); }
.footer-bottom a:hover { color: var(--accent); }

/* ═══════════════════════════════════════════════════════
   ADMIN
   ═══════════════════════════════════════════════════════ */
.admin-wrap { display: flex; min-height: 100vh; }
.admin-sidebar {
  width: 240px;
  background: var(--bg-2);
  border-right: 1px solid var(--border);
  padding: 1.5rem 0;
  position: sticky;
  top: 0;
  height: 100vh;
  overflow-y: auto;
  flex-shrink: 0;
}
.admin-logo { padding: 0 1.5rem 1.5rem; border-bottom: 1px solid var(--border); }
.admin-nav  { padding: 1rem 0.75rem; }
.admin-nav-link {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.6rem 0.75rem;
  border-radius: var(--radius-sm);
  color: var(--text-2);
  font-size: 0.88rem;
  font-weight: 500;
  transition: all var(--transition);
  margin-bottom: 0.15rem;
}
.admin-nav-link:hover, .admin-nav-link.active {
  color: var(--text);
  background: var(--surface-h);
}
.admin-nav-link.active { color: var(--accent); }
.admin-content { flex: 1; padding: 2rem; overflow: auto; }
.admin-topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--border);
}
.admin-topbar h1 { font-size: 1.5rem; font-weight: 800; }
.stat-cards-row { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 1rem; margin-bottom: 2rem; }
.admin-stat-card { padding: 1.25rem; }
.admin-stat-card .label { font-size: 0.78rem; color: var(--text-3); text-transform: uppercase; letter-spacing: 0.07em; }
.admin-stat-card .value { font-size: 2rem; font-weight: 800; margin-top: 0.25rem; }
.data-table { width: 100%; border-collapse: collapse; font-size: 0.88rem; }
.data-table th { padding: 0.65rem 1rem; background: var(--surface); font-weight: 600; text-align: left; border-bottom: 1px solid var(--border); font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.05em; color: var(--text-2); }
.data-table td { padding: 0.85rem 1rem; border-bottom: 1px solid var(--border); color: var(--text-2); }
.data-table tr:last-child td { border-bottom: none; }
.data-table tr:hover td { background: var(--surface); }
.badge-pub   { display: inline-block; padding: 0.15rem 0.5rem; background: rgba(16,185,129,.1); color: var(--green); border-radius: 999px; font-size: 0.72rem; font-weight: 600; }
.badge-draft { display: inline-block; padding: 0.15rem 0.5rem; background: rgba(245,158,11,.1); color: var(--yellow); border-radius: 999px; font-size: 0.72rem; font-weight: 600; }
.badge-spam  { display: inline-block; padding: 0.15rem 0.5rem; background: rgba(239,68,68,.1); color: var(--red); border-radius: 999px; font-size: 0.72rem; font-weight: 600; }
.admin-login-wrap {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg);
}
.admin-login-card { width: 100%; max-width: 420px; padding: 2.5rem; }
.admin-login-card h1 { font-size: 1.6rem; font-weight: 800; margin-bottom: 0.5rem; }
.admin-login-card p  { color: var(--text-2); margin-bottom: 2rem; }

/* ═══════════════════════════════════════════════════════
   PAGE HEADER
   ═══════════════════════════════════════════════════════ */
.page-hero {
  padding: calc(var(--nav-h) + 4rem) 0 4rem;
  text-align: center;
  background: var(--bg-2);
  border-bottom: 1px solid var(--border);
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at top center, rgba(var(--accent-rgb),.12), transparent 70%);
  pointer-events: none;
}
.page-hero h1 { font-size: clamp(2rem, 5vw, 3.5rem); font-weight: 900; letter-spacing: -0.03em; margin-bottom: 1rem; position: relative; }
.page-hero p  { color: var(--text-2); font-size: 1.1rem; max-width: 520px; margin: 0 auto; position: relative; }

/* ═══════════════════════════════════════════════════════
   404
   ═══════════════════════════════════════════════════════ */
.error-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 2rem;
}
.error-code { font-size: 8rem; font-weight: 900; line-height: 1; color: var(--border-h); }
.error-page h2 { font-size: 1.8rem; font-weight: 700; margin-bottom: 1rem; }
.error-page p  { color: var(--text-2); margin-bottom: 2rem; }

/* ═══════════════════════════════════════════════════════
   RESPONSIVE
   ═══════════════════════════════════════════════════════ */
@media (max-width: 1024px) {
  .hero-content { grid-template-columns: 1fr; }
  .hero-visual   { display: none; }
  .contact-grid  { grid-template-columns: 1fr; }
  .article-layout{ grid-template-columns: 1fr; }
  .footer-grid   { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .nav-links {
    position: fixed;
    top: var(--nav-h);
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--bg-2);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    transform: translateX(100%);
    transition: transform 0.3s ease;
    border-top: 1px solid var(--border);
  }
  .nav-links.open  { transform: translateX(0); }
  .nav-toggle { display: flex; }
  .nav-link { font-size: 1.1rem; padding: 0.75rem 2rem; }
  .portfolio-grid, .blog-grid, .services-grid { grid-template-columns: 1fr; }
  .pricing-grid   { grid-template-columns: 1fr; }
  .history-grid   { grid-template-columns: 1fr; }
  .form-row       { grid-template-columns: 1fr; }
  .footer-grid    { grid-template-columns: 1fr; }
  .footer-bottom  { flex-direction: column; gap: 0.5rem; text-align: center; }
  .hero-actions   { flex-direction: column; align-items: flex-start; }
  .admin-sidebar  { display: none; }
  .admin-content  { padding: 1rem; }
  .stats-grid     { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 480px) {
  .section      { padding: 4rem 0; }
  .stats-grid   { grid-template-columns: repeat(2, 1fr); }
  .cta-actions  { flex-direction: column; }
  .pricing-grid { grid-template-columns: 1fr; }
}

/* ─── SCROLLBAR ─────────────────────────────────────────── */
::-webkit-scrollbar { width: 8px; height: 8px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--border-h); border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: var(--text-3); }

/* ─── SELECTION ─────────────────────────────────────────── */
::selection { background: rgba(var(--accent-rgb),.35); color: var(--text); }

/* ─── FOCUS ─────────────────────────────────────────────── */
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }

/* ─── PRINT ──────────────────────────────────────────────── */
@media print {
  .site-header, .site-footer, .nav-toggle { display: none; }
  .hero-bg, .hero-glow { display: none; }
  body { background: white; color: black; }
}

/* ─── LIGHT THEME — hell circles tinted lighter ───────────── */
[data-theme="light"] .inferno-gates {
  background: linear-gradient(180deg, #1a1228 0%, #2a1800 40%, #3a2000 70%, #2a1000 100%);
}
[data-theme="light"] .circle-1 { background: linear-gradient(180deg,#1e2e14,#2e4a1e,#222e14); }
[data-theme="light"] .circle-2 { background: linear-gradient(180deg,#301040,#4c1858,#38123c); }
[data-theme="light"] .circle-3 { background: linear-gradient(180deg,#0e1830,#182a48,#101e30); }
[data-theme="light"] .circle-4 { background: linear-gradient(180deg,#2e1800,#4a2a00,#381e00); }
[data-theme="light"] .circle-5 { background: linear-gradient(180deg,#380e00,#541600,#420a00); }
[data-theme="light"] .circle-6 { background: linear-gradient(180deg,#240a36,#3a1050,#2c0840); }
[data-theme="light"] .circle-7 { background: linear-gradient(180deg,#340808,#500e0e,#3e0606); }
[data-theme="light"] .circle-8 { background: linear-gradient(180deg,#180428,#2c0a3c,#200630); }
[data-theme="light"] .circle-9 { background: linear-gradient(180deg,#000818,#001020,#000c18); }
[data-theme="light"] .soul-card { background: rgba(20,10,10,0.7); }
[data-theme="light"] .soul-title { color: rgba(255,240,220,0.95); }
[data-theme="light"] .soul-excerpt { color: rgba(220,190,170,0.75); }
[data-theme="light"] .circle-description p { opacity: 0.95; }
[data-theme="light"] body { background: #12080a; }
[data-theme="light"] .site-header { background: rgba(20,8,12,0.9) !important; }


/* ─── "LIGHT" THEME: even darker void — the prank ──────────────
   User clicks "light mode" expecting relief.
   Instead: deeper black, blood-red tints, maximum oppression.
   ─────────────────────────────────────────────────────────────── */
[data-theme="light"] {
  --bg:          #020000;
  --bg-2:        #050000;
  --bg-3:        #080000;
  --surface:     rgba(180,0,0,0.06);
  --surface-h:   rgba(200,0,0,0.10);
  --border:      rgba(180,0,0,0.14);
  --border-h:    rgba(220,0,0,0.22);
  --text:        rgba(230,210,210,0.92);
  --text-2:      rgba(190,160,160,0.65);
  --text-3:      rgba(150,110,110,0.45);
  --accent:      #ee0000;
  --accent-2:    #cc0000;
  --accent-rgb:  238,0,0;
  --green:       #cc0000;
  --shadow:      0 4px 32px rgba(0,0,0,.85);
  --shadow-lg:   0 8px 60px rgba(0,0,0,.95);
}

/* Body becomes pitch black */
[data-theme="light"] body {
  background: #020000 !important;
}

/* Extra vignette — closing in */
[data-theme="light"] body::before {
  background: radial-gradient(ellipse at center, transparent 35%, rgba(80,0,0,0.65) 100%);
  animation: none;
  opacity: 1;
}

/* Header — darker than dark */
[data-theme="light"] .site-header {
  background: rgba(4,0,0,0.97) !important;
  border-bottom-color: rgba(160,0,0,0.25) !important;
  box-shadow: 0 2px 20px rgba(0,0,0,0.9);
}

/* Nav links — bloodless */
[data-theme="light"] .nav-link { color: rgba(200,160,160,.65); }
[data-theme="light"] .nav-link:hover,
[data-theme="light"] .nav-link.active { color: rgba(255,80,80,.95); background: rgba(180,0,0,.10); }
[data-theme="light"] .logo-dot { background: #dd0000; box-shadow: 0 0 10px rgba(220,0,0,.8); }

/* Cards — obsidian black */
[data-theme="light"] .card {
  background: rgba(6,0,0,.92);
  border-color: rgba(160,0,0,.12);
  box-shadow: 0 4px 20px rgba(0,0,0,.7), inset 0 1px 0 rgba(180,0,0,.06);
}
[data-theme="light"] .card:hover {
  border-color: rgba(200,0,0,.2);
  box-shadow: 0 8px 40px rgba(0,0,0,.85), 0 0 30px rgba(160,0,0,.08);
}

/* Buttons */
[data-theme="light"] .btn-primary { background: #aa0000; box-shadow: 0 0 16px rgba(180,0,0,.4); }
[data-theme="light"] .btn-primary:hover { background: #cc0000; box-shadow: 0 4px 24px rgba(220,0,0,.5); }
[data-theme="light"] .btn-outline { border-color: rgba(180,0,0,.3); color: rgba(220,120,120,.85); }
[data-theme="light"] .btn-outline:hover { border-color: #dd0000; color: #ff6060; background: rgba(200,0,0,.08); }

/* Forms */
[data-theme="light"] .form-input,
[data-theme="light"] .form-textarea {
  background: rgba(8,0,0,.85);
  border-color: rgba(160,0,0,.2);
  color: rgba(230,210,210,.9);
}
[data-theme="light"] .form-input:focus,
[data-theme="light"] .form-textarea:focus {
  border-color: #dd0000;
  background: rgba(14,0,0,.9);
  box-shadow: 0 0 0 3px rgba(200,0,0,.12);
}

/* Section tags */
[data-theme="light"] .section-tag {
  background: rgba(180,0,0,.12);
  color: rgba(255,80,80,.9);
  border-color: rgba(180,0,0,.2);
}

/* Hell circles — even darker backgrounds */
[data-theme="light"] .circle-1 { background: linear-gradient(180deg,#060804,#0a100a,#070a06); }
[data-theme="light"] .circle-2 { background: linear-gradient(180deg,#0c0410,#140618,#0e0412); }
[data-theme="light"] .circle-3 { background: linear-gradient(180deg,#040816,#06102a,#040a18); }
[data-theme="light"] .circle-4 { background: linear-gradient(180deg,#0e0800,#1a1000,#120a00); }
[data-theme="light"] .circle-5 { background: linear-gradient(180deg,#120400,#1e0600,#160400); }
[data-theme="light"] .circle-6 { background: linear-gradient(180deg,#0a0218,#12042a,#0c0220); }
[data-theme="light"] .circle-7 { background: linear-gradient(180deg,#120202,#1e0404,#160202); }
[data-theme="light"] .circle-8 { background: linear-gradient(180deg,#080212,#100320,#0a0218); }
[data-theme="light"] .circle-9 { background: linear-gradient(180deg,#000204,#000408,#000204); }
[data-theme="light"] .inferno-gates { background: linear-gradient(180deg,#030000,#0a0200,#150400,#0a0100); }

/* Soul cards — pure black with red tint */
[data-theme="light"] .pc-inner {
  background: rgba(4,0,0,.95);
  border-color: rgba(160,0,0,.10);
}
[data-theme="light"] .pc-title   { color: rgba(240,215,215,.95); }
[data-theme="light"] .pc-excerpt { color: rgba(195,160,160,.62); }
[data-theme="light"] .testimonial-soul .pc-inner { background: rgba(4,0,6,.95); }

/* Skill bars become blood red */
[data-theme="light"] .soul-fill { background: linear-gradient(90deg, #880000, #dd0000); }
[data-theme="light"] .soul-orb  { background: #cc0000; box-shadow: 0 0 12px rgba(200,0,0,.7); }

/* Footer */
[data-theme="light"] .site-footer { background: rgba(4,0,0,.98); border-top-color: rgba(140,0,0,.18); }
[data-theme="light"] .footer-bottom { border-top-color: rgba(120,0,0,.14); color: rgba(160,110,110,.45); }

/* Scroll indicator becomes blood red */
[data-theme="light"] .scroll-line { background: linear-gradient(to bottom, #cc0000, transparent); }

/* Theme toggle icon swap — show sun in "light" (darker) mode */
[data-theme="light"] .icon-sun  { display: block; color: rgba(220,60,60,.8); }
[data-theme="light"] .icon-moon { display: none; }

/* Extra darkness overlay */
[data-theme="light"] .inferno-funnel::after {
  content: '';
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.15);
  pointer-events: none;
  z-index: 9993;
}

/* Tooltip prank message */
[data-theme="light"] #theme-toggle::after {
  content: 'There is no light here';
  position: absolute;
  right: 44px;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(4,0,0,.95);
  color: rgba(200,80,80,.9);
  border: 1px solid rgba(160,0,0,.3);
  border-radius: 6px;
  padding: 4px 10px;
  font-size: .72rem;
  white-space: nowrap;
  pointer-events: none;
  opacity: 0;
  animation: prank-tip 4s ease-in-out forwards;
  animation-delay: 0.2s;
}
@keyframes prank-tip {
  0%   { opacity: 0; transform: translateY(-50%) translateX(6px); }
  15%  { opacity: 1; transform: translateY(-50%) translateX(0); }
  75%  { opacity: 1; }
  100% { opacity: 0; }
}
