

:root {
  --bg-primary: #08080a;
  --bg-secondary: #0f0f13;
  --bg-tertiary: #15141b;

  --color-text-primary: #f8fafc;
  --color-text-secondary: #94a3b8;
  --color-text-muted: #57657a;

  --accent-color: #c084fc; 
  --accent-rgb: 192, 132, 252;

  --secondary-color: #818cf8; 
  --scythe-red: #e53935; 

  --border-color: #1e1b27;
  --card-glow-color: rgba(192, 132, 252, 0.05);

  --font-serif: 'Playfair Display', Georgia, serif;
  --font-sans: 'Outfit', sans-serif;
  --font-mono: 'JetBrains Mono', Consolas, monospace;

  --transition-speed: 0.25s;
}

body.screech-theme {
  --bg-primary: #050507;
  --bg-secondary: #0b0a0e;
  --bg-tertiary: #100f16;

  --accent-color: #a78bfa;
  --accent-rgb: 167, 139, 250;

  --border-color: #272136;
  --card-glow-color: rgba(167, 139, 250, 0.12);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 110px;
}

body {
  font-family: var(--font-sans);
  background-color: var(--bg-primary);
  color: var(--color-text-primary);
  overflow-x: hidden;
  position: relative;
  line-height: 1.6;
  transition: background-color var(--transition-speed), color var(--transition-speed);
}

::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: var(--bg-primary);
}
::-webkit-scrollbar-thumb {
  background: var(--border-color);
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--accent-color);
}

#souls-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 0;
  pointer-events: none;
}

.container {
  width: 100%;
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
  z-index: 2;
}

section {
  padding: 100px 0;
  position: relative;
  z-index: 2;
}

.section-title {
  font-family: var(--font-mono);
  font-size: 2.1rem;
  font-weight: 600;
  color: var(--color-text-primary);
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 10px;
  letter-spacing: -0.5px;
}

.title-slash {
  color: var(--accent-color);
}

.section-subtitle {
  color: var(--color-text-secondary);
  font-size: 1rem;
  margin-bottom: 50px;
}

#portfolio-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: rgba(8, 8, 10, 0.9);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  z-index: 100;
  border-bottom: 1px solid var(--border-color);
  transition: background-color var(--transition-speed), border-color var(--transition-speed);
}

.header-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 14px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo-area {
  display: flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-mono);
  font-weight: 600;
  font-size: 1.15rem;
}

.logo-accent {
  color: var(--accent-color);
}

.logo-text {
  color: var(--color-text-primary);
}

#main-nav ul {
  display: flex;
  list-style: none;
  gap: 28px;
}

.nav-link {
  text-decoration: none;
  font-family: var(--font-mono);
  color: var(--color-text-secondary);
  font-size: 0.85rem;
  transition: color var(--transition-speed);
  position: relative;
  padding: 4px 0;
}

.nav-link::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0%;
  height: 1.5px;
  background-color: var(--accent-color);
  transition: width 0.2s ease;
}

.nav-link:hover, .nav-link.active {
  color: var(--color-text-primary);
}

.nav-link:hover::after, .nav-link.active::after {
  width: 100%;
}

#wavelength-toggle {
  background: transparent;
  border: 1px solid var(--border-color);
  color: var(--color-text-secondary);
  padding: 6px 14px;
  border-radius: 4px;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: all 0.25s ease;
}

#wavelength-toggle:hover {
  border-color: var(--accent-color);
  color: var(--accent-color);
  box-shadow: 0 0 10px rgba(var(--accent-rgb), 0.15);
}

#wavelength-toggle i {
  font-size: 0.75rem;
  transition: transform 0.4s ease;
}

#wavelength-toggle:hover i {
  transform: rotate(180deg);
}

.resonance-meter-container {
  width: 100%;
  height: 3px;
  background: #08080a;
  position: relative;
  overflow: hidden;
}

#resonance-bar {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  background: var(--accent-color);
  transition: width 0.15s ease-out;
}

.hero-section {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  padding-top: 100px;
  max-width: 1140px;
  margin: 0 auto;
  padding-left: 24px;
  padding-right: 24px;
  position: relative;
}

.hero-content {
  flex: 1.2;
  position: relative;
}

.assembly-bg-decor {
  position: absolute;
  top: -50px;
  left: -20px;
  z-index: 1;
  font-family: var(--font-mono);
  font-size: 0.85rem;
  line-height: 1.7;
  color: var(--color-text-muted);
  opacity: 0.08;
  pointer-events: none;
  user-select: none;
}

.hero-eyebrow {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 2px;
  color: var(--accent-color);
  margin-bottom: 16px;
  position: relative;
  z-index: 2;
}

.hero-title {
  font-size: 4rem;
  font-family: var(--font-serif);
  font-weight: 800;
  line-height: 1.1;
  color: var(--color-text-primary);
  margin-bottom: 16px;
  position: relative;
  z-index: 2;
}

.hero-subtitle {
  font-size: 1.35rem;
  color: var(--color-text-secondary);
  font-weight: 400;
  margin-bottom: 24px;
  position: relative;
  z-index: 2;
}

.hero-description {
  color: var(--color-text-secondary);
  font-size: 1rem;
  margin-bottom: 36px;
  max-width: 500px;
  position: relative;
  z-index: 2;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  position: relative;
  z-index: 2;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 0.85rem;
  text-decoration: none;
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-primary {
  background: var(--accent-color);
  color: #08080a;
  border: 1px solid var(--accent-color);
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(var(--accent-rgb), 0.2);
}

.btn-secondary {
  background: transparent;
  color: var(--color-text-primary);
  border: 1px solid var(--border-color);
}

.btn-secondary:hover {
  border-color: var(--color-text-primary);
  background: rgba(255, 255, 255, 0.01);
}

.visual-wrapper {
  flex: 0.8;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  min-height: 380px;
}

.soul-avatar-container {
  width: 260px;
  height: 260px;
  position: relative;
  z-index: 5;
  display: flex;
  justify-content: center;
  align-items: center;
  perspective: 800px;
}

.crona-soul-3d-img {
  width: 90%;
  height: auto;
  border-radius: 50%;
  box-shadow: 0 10px 30px rgba(var(--accent-rgb), 0.15);
  transition: transform 0.25s ease-out, box-shadow 0.25s ease-out;
  transform-style: preserve-3d;
  will-change: transform;
}

.section-divider {
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border-color), transparent);
  margin: 0;
}

.about-section {
  background: var(--bg-secondary);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: start;
}

.profile-card {
  padding-right: 15px;
}

.profile-meta {
  margin: 24px 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.meta-row {
  display: flex;
  justify-content: space-between;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--border-color);
  font-size: 0.9rem;
}

.meta-row .label {
  color: var(--color-text-secondary);
  font-family: var(--font-mono);
}

.meta-row .val {
  font-weight: 500;
}

.highlighted-text {
  color: var(--accent-color);
}

.profile-bio p {
  color: var(--color-text-secondary);
  margin-bottom: 16px;
  font-size: 0.95rem;
}

.skills-card {
  background: var(--bg-tertiary);
  border: 1px solid var(--border-color);
  padding: 35px;
  border-radius: 8px;
}

.skills-title {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  margin-bottom: 6px;
}

.skills-desc {
  color: var(--color-text-secondary);
  font-size: 0.9rem;
  margin-bottom: 28px;
}

.skill-stack-container {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.skill-item {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.skill-info {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--font-mono);
  font-size: 0.88rem;
}

.skill-name {
  color: var(--color-text-primary);
  font-weight: 500;
}

.skill-percentage, .skill-level {
  color: var(--accent-color);
  font-weight: 600;
}

.skill-languages-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 4px;
}

.lang-tag {
  background: var(--bg-primary);
  border: 1px solid var(--border-color);
  color: var(--color-text-secondary);
  padding: 3px 8px;
  border-radius: 4px;
  font-size: 0.78rem;
  font-family: var(--font-mono);
  transition: all var(--transition-speed) ease;
}

.lang-tag:hover {
  border-color: var(--accent-color);
  color: var(--accent-color);
  background: rgba(192, 132, 252, 0.05);
  box-shadow: 0 0 8px rgba(192, 132, 252, 0.1);
  transform: translateY(-1px);
}

.skill-progress-bg {
  width: 100%;
  height: 8px;
  background: var(--bg-primary);
  border: 1px solid var(--border-color);
  border-radius: 4px;
  overflow: hidden;
  position: relative;
}

.skill-progress-bar {
  height: 100%;
  background: linear-gradient(90deg, var(--secondary-color), var(--accent-color));
  border-radius: 3px;
  box-shadow: 0 0 8px rgba(var(--accent-rgb), 0.3);
  transition: width 1.2s cubic-bezier(0.1, 0.8, 0.3, 1);
}

.calib-indicator {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 30px;
  font-size: 0.8rem;
  color: var(--color-text-secondary);
}

.indicator-pulse-light {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: var(--accent-color);
  box-shadow: 0 0 6px var(--accent-color);
  animation: indicator-pulse 2s infinite;
}

@keyframes indicator-pulse {
  0%, 100% { opacity: 0.4; }
  50% { opacity: 1; }
}

.writeups-section {
  background: var(--bg-primary);
}

.project-filters {
  display: flex;
  gap: 10px;
  margin-bottom: 36px;
}

.filter-btn {
  background: transparent;
  border: 1px solid var(--border-color);
  color: var(--color-text-secondary);
  padding: 6px 14px;
  border-radius: 4px;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  cursor: pointer;
  transition: all 0.2s ease;
}

.filter-btn:hover, .filter-btn.active {
  border-color: var(--accent-color);
  color: var(--accent-color);
  background: rgba(var(--accent-rgb), 0.02);
}

.writeups-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 24px;
}

.writeup-card {
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: 6px;
  padding: 28px;
  position: relative;
  overflow: hidden;
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  min-height: 250px;
  cursor: pointer;
}

.card-glow {
  position: absolute;
  top: -150px;
  left: -150px;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(var(--accent-rgb), 0.03) 0%, transparent 60%);
  pointer-events: none;
  transition: transform 0.4s ease;
}

.writeup-card:hover {
  transform: translateY(-3px);
  border-color: var(--accent-color);
  box-shadow: 0 8px 24px var(--card-glow-color);
}

.writeup-card:hover .card-glow {
  transform: translate(60px, 60px);
}

.writeup-meta-info {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.75rem;
  color: var(--color-text-muted);
  margin-bottom: 12px;
}

.meta-dot {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background-color: var(--color-text-muted);
}

.writeup-card-title {
  font-family: var(--font-serif);
  font-size: 1.45rem;
  line-height: 1.3;
  color: var(--color-text-primary);
  margin-bottom: 12px;
  font-weight: 600;
}

.writeup-card:hover .writeup-card-title {
  text-decoration: underline;
  text-decoration-color: rgba(var(--accent-rgb), 0.3);
}

.writeup-card-excerpt {
  color: var(--color-text-secondary);
  font-size: 0.88rem;
  line-height: 1.5;
  margin-bottom: 20px;
  flex-grow: 1;
}

.writeup-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 20px;
}

.tag {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.04);
  color: var(--color-text-secondary);
  padding: 3px 8px;
  border-radius: 3px;
  font-size: 0.7rem;
  font-family: var(--font-mono);
}

.writeup-footer-action {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--accent-color);
  margin-top: auto;
}

.writeup-footer-action i {
  transition: transform 0.2s ease;
}

.writeup-card:hover .writeup-footer-action i {
  transform: translateX(4px);
}

.more-writeups-link {
  text-align: center;
  margin-top: 40px;
}

.more-writeups-link a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--accent-color);
  text-decoration: none;
  font-family: var(--font-mono);
  font-size: 0.9rem;
  font-weight: 600;
  padding: 12px 24px;
  border: 1px solid var(--border-color);
  border-radius: 6px;
  transition: all var(--transition-speed) ease;
}

.more-writeups-link a:hover {
  border-color: var(--accent-color);
  background: rgba(var(--accent-rgb), 0.03);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(var(--accent-rgb), 0.1);
}

.more-writeups-link a i {
  font-size: 0.75rem;
  transition: transform 0.2s ease;
}

.more-writeups-link a:hover i {
  transform: translate(2px, -2px);
}

.contact-section {
  border-top: 1px solid var(--border-color);
  background: var(--bg-secondary);
}

.socials-section {
  border-top: 1px solid var(--border-color);
  background: var(--bg-secondary);
}

.socials-wrapper {
  max-width: 800px;
  margin: 0 auto;
}

.socials-instruction {
  color: var(--color-text-muted);
  font-size: 0.85rem;
  margin-bottom: 40px;
  font-family: var(--font-mono);
}

.socials-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

@media (max-width: 768px) {
  .socials-grid {
    grid-template-columns: 1fr;
  }
}

.social-tile-card {
  background: var(--bg-primary);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  padding: 24px;
  display: flex;
  align-items: center;
  gap: 20px;
  text-decoration: none;
  position: relative;
  overflow: hidden;
  transition: all var(--transition-speed) ease;
}

.tile-glow {
  position: absolute;
  top: -100px;
  left: -100px;
  width: 200px;
  height: 200px;
  background: radial-gradient(circle, rgba(var(--accent-rgb), 0.02) 0%, transparent 60%);
  pointer-events: none;
  transition: transform 0.4s ease;
}

.social-tile-card:hover {
  border-color: var(--accent-color);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(var(--accent-rgb), 0.05);
}

.social-tile-card:hover .tile-glow {
  transform: translate(40px, 40px);
}

.tile-icon {
  font-size: 2.2rem;
  color: var(--color-text-secondary);
  transition: color var(--transition-speed) ease;
  flex-shrink: 0;
}

.social-tile-card:hover .tile-icon {
  color: var(--accent-color);
}

.tile-content {
  flex-grow: 1;
}

.tile-title {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  color: var(--color-text-primary);
  margin-bottom: 2px;
  font-weight: 600;
}

.tile-username {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  color: var(--accent-color);
  display: inline-block;
  margin-bottom: 6px;
}

.tile-desc {
  font-size: 0.85rem;
  color: var(--color-text-secondary);
  line-height: 1.4;
}

.tile-arrow {
  font-size: 0.8rem;
  color: var(--color-text-muted);
  transition: all var(--transition-speed) ease;
  align-self: flex-start;
  margin-top: 4px;
}

.social-tile-card:hover .tile-arrow {
  color: var(--accent-color);
  transform: translate(2px, -2px);
}

.suzuya-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: 1140px;
  margin: 60px auto;
  padding: 0 24px;
}

.suzuya-divider .divider-line {
  flex-grow: 1;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border-color), transparent);
}

.suzuya-divider .scythe-wrapper {
  width: 70px;
  height: 70px;
  margin: 0 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform var(--transition-speed) ease;
  cursor: help;
}

.suzuya-divider .suzuya-scythe {
  width: 100%;
  height: 100%;
  filter: drop-shadow(0 0 4px rgba(229, 57, 53, 0.2));
  transform: rotate(-15deg);
  transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), filter var(--transition-speed) ease;
}

.suzuya-divider .scythe-wrapper:hover .suzuya-scythe {
  transform: rotate(15deg) scale(1.2);
  filter: drop-shadow(0 0 10px rgba(229, 57, 53, 0.7));
}

#portfolio-footer {
  background: #060608;
  border-top: 1px solid var(--border-color);
  padding: 30px 0;
  position: relative;
  z-index: 5;
}

.footer-container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 30px;
}

.footer-brand {
  font-family: var(--font-mono);
  font-weight: 600;
  font-size: 1rem;
  color: var(--color-text-primary);
}

.footer-brand .slash {
  color: var(--accent-color);
}

.footer-copy {
  color: var(--color-text-muted);
  font-size: 0.75rem;
}

.footer-socials {
  display: flex;
  gap: 16px;
}

.footer-socials a {
  color: var(--color-text-secondary);
  font-size: 0.95rem;
  transition: color 0.2s ease, transform 0.2s ease;
}

.footer-socials a:hover {
  color: var(--accent-color);
  transform: translateY(-1px);
}

#medium-reader-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: #08080a;
  z-index: 1000;
  overflow-y: auto;
  display: none; 
  opacity: 0;
  transition: opacity 0.3s ease;
}

#medium-reader-overlay.active {
  display: block;
  opacity: 1;
}

.reader-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: rgba(8, 8, 10, 0.95);
  backdrop-filter: blur(12px);
  z-index: 1010;
  border-bottom: 1px solid var(--border-color);
}

.reader-header-container {
  max-width: 680px;
  margin: 0 auto;
  padding: 16px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

#close-reader {
  background: transparent;
  border: none;
  color: var(--color-text-secondary);
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  transition: color 0.2s;
}

#close-reader:hover {
  color: var(--color-text-primary);
}

.reader-brand {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--color-text-muted);
}

.reader-progress-container {
  position: fixed;
  top: 48px;
  left: 0;
  width: 100%;
  height: 2px;
  z-index: 1015;
}

#reader-progress-bar {
  height: 100%;
  width: 0%;
  background: var(--accent-color);
}

.reader-container {
  max-width: 680px; 
  margin: 100px auto 80px auto;
  padding: 0 20px;
}

.medium-article-body {
  font-family: var(--font-sans);
}

#reader-title {
  font-family: var(--font-serif);
  font-size: 2.3rem;
  font-weight: 800;
  line-height: 1.25;
  color: var(--color-text-primary);
  margin-bottom: 24px;
}

.reader-author-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 40px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--border-color);
}

.author-avatar-placeholder {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background-color: var(--bg-tertiary);
  border: 1px solid var(--border-color);
  position: relative;
}

.author-avatar-placeholder::before {
  content: "";
  position: absolute;
  width: 16px;
  height: 22px;
  top: 9px;
  left: 14px;
  background: var(--accent-color);
  clip-path: polygon(50% 0%, 0% 80%, 100% 80%);
  border-radius: 50% 50% 0 0;
}

.author-details {
  display: flex;
  flex-direction: column;
}

.author-name {
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--color-text-primary);
}

.publish-meta {
  font-size: 0.8rem;
  color: var(--color-text-muted);
}

#reader-content-body {
  font-size: 1.15rem; 
  line-height: 1.8; 
  color: #d1d5db; 
}

#reader-content-body p {
  margin-bottom: 24px;
}

#reader-content-body h2 {
  font-family: var(--font-serif);
  font-size: 1.7rem;
  margin-top: 40px;
  margin-bottom: 16px;
  color: var(--color-text-primary);
}

#reader-content-body h3 {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  margin-top: 30px;
  margin-bottom: 12px;
  color: var(--color-text-primary);
}

#reader-content-body blockquote {
  border-left: 3px solid var(--accent-color);
  padding: 10px 20px;
  margin: 30px 0;
  font-style: italic;
  background: rgba(255, 255, 255, 0.01);
  color: var(--color-text-secondary);
}

#reader-content-body pre {
  background-color: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: 6px;
  padding: 20px;
  margin: 30px 0;
  overflow-x: auto;
}

#reader-content-body code {
  font-family: var(--font-mono);
  font-size: 0.9rem;
  color: #a78bfa;
}

#reader-content-body pre code {
  color: #e2e8f0;
  display: block;
}

#reader-content-body code .comment {
  color: #64748b;
  font-style: italic;
}

#reader-content-body code .keyword {
  color: #ff79c6;
  font-weight: 600;
}

#reader-content-body code .number {
  color: #bd93f9;
}

#reader-content-body code .string {
  color: #f1fa8c;
}

body.screech-theme .crona-soul-3d-img {
  animation: soul-vibrate 0.12s infinite alternate;
  box-shadow: 0 0 25px rgba(167, 139, 250, 0.35);
}

body.screech-theme .hero-title {
  animation: screech-aberration 0.3s infinite alternate;
}

@keyframes soul-vibrate {
  0% { transform: translate(0.5px, 0.5px); }
  100% { transform: translate(-0.5px, -0.5px); }
}

@keyframes screech-aberration {
  0% { text-shadow: 1px 1px 0px rgba(129,140,248,0.4); }
  100% { text-shadow: -1px -1px 0px rgba(229,57,53,0.4); }
}

@media (max-width: 992px) {
  .hero-section {
    flex-direction: column-reverse;
    text-align: center;
    padding-top: 140px;
    gap: 30px;
    min-height: auto;
    padding-bottom: 60px;
  }

  .hero-description {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-buttons {
    justify-content: center;
  }

  .hero-title {
    font-size: 3.2rem;
  }

  .about-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .profile-card {
    padding-right: 0;
  }
}

@media (max-width: 768px) {
  .section-title {
    font-size: 1.8rem;
  }

  #main-nav {
    display: none;
  }

  .hero-title {
    font-size: 2.6rem;
  }

  .footer-container {
    flex-direction: column;
    text-align: center;
    gap: 20px;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 2.1rem;
  }

  .hero-buttons {
    flex-direction: column;
    width: 100%;
  }

  .hero-buttons .btn {
    width: 100%;
    justify-content: center;
  }

  .form-row {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .skills-card {
    padding: 20px;
  }
}
