/* =====================================================
   RESET & CUSTOM PROPERTIES
   ===================================================== */

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

:root {
  --bg:           #080808;
  --surface:      #111111;
  --surface-2:    #191919;
  --border:       rgba(255, 255, 255, 0.07);
  --border-hover: rgba(255, 255, 255, 0.14);
  --text:         #e2e2e2;
  --text-muted:   #888;
  --text-dim:     #444;
  --accent:       #60a5fa;
  --accent-dim:   rgba(96, 165, 250, 0.12);
  --accent-2:     #818cf8;
  --font-sans:    'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono:    'IBM Plex Mono', 'Fira Code', monospace;
  --radius:       12px;
  --radius-lg:    18px;
}

html {
  scroll-behavior: smooth;
  scrollbar-width: thin;
  scrollbar-color: var(--surface-2) var(--bg);
}

::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--surface-2); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--accent); }

body {
  background-color: var(--bg);
  color: var(--text);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }

.mono { font-family: var(--font-mono); }
.accent { color: var(--accent); }

.gradient-text {
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-2) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 28px;
}

/* =====================================================
   NAVIGATION
   ===================================================== */

#nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 22px 0;
  transition: background 0.4s ease, border-color 0.4s ease, padding 0.3s ease;
}

#nav.scrolled {
  background: rgba(8, 8, 8, 0.82);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-bottom: 1px solid var(--border);
  padding: 14px 0;
}

.nav-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  font-family: var(--font-mono);
  font-size: 17px;
  font-weight: 600;
  color: var(--text);
  transition: color 0.2s;
  letter-spacing: -0.5px;
}
.nav-logo:hover { color: var(--accent); }

.nav-links {
  list-style: none;
  display: flex;
  gap: 36px;
}

.nav-links a {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--text-muted);
  transition: color 0.2s;
  position: relative;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -3px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--accent);
  transition: width 0.25s ease;
}
.nav-links a:hover { color: var(--text); }
.nav-links a:hover::after { width: 100%; }

/* =====================================================
   HERO
   ===================================================== */

#hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 120px 0 80px;
  position: relative;
  overflow: hidden;
}

/* Ambient glow blob */
.hero-glow {
  position: absolute;
  top: -10%;
  left: -10%;
  width: 60%;
  height: 70%;
  background: radial-gradient(ellipse, rgba(96, 165, 250, 0.06) 0%, transparent 65%);
  pointer-events: none;
  z-index: 0;
}

#hero .container {
  position: relative;
  z-index: 1;
}

/* Hero entry animations */
#hero .container > * {
  animation: fadeUp 0.7s ease forwards;
  opacity: 0;
}
#hero .hero-tag     { animation-delay: 0.05s; }
#hero .hero-name    { animation-delay: 0.15s; }
#hero .hero-subtitle { animation-delay: 0.25s; }
#hero .hero-desc    { animation-delay: 0.35s; }
#hero .hero-cta     { animation-delay: 0.45s; }
#hero .scroll-hint  { animation-delay: 0.65s; }

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


.hero-tag {
  font-size: 13px;
  color: var(--text-dim);
  margin-bottom: 32px;
  display: flex;
  align-items: center;
}

/* Blinking cursor */
.cursor {
  display: inline-block;
  width: 9px;
  height: 16px;
  background: var(--accent);
  border-radius: 1px;
  margin-left: 2px;
  vertical-align: middle;
  animation: blink 1.1s step-end infinite;
}
@keyframes blink {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0; }
}

.hero-name {
  font-size: clamp(52px, 9vw, 100px);
  font-weight: 700;
  letter-spacing: -4px;
  line-height: 0.93;
  margin-bottom: 28px;
}

.hero-subtitle {
  font-size: clamp(13px, 1.6vw, 15px);
  color: var(--text-muted);
  margin-bottom: 18px;
  letter-spacing: 0.3px;
}

.hero-desc {
  font-size: clamp(17px, 2.5vw, 21px);
  color: var(--text-muted);
  font-weight: 300;
  margin-bottom: 44px;
  max-width: 420px;
}

.hero-cta {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 22px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 500;
  transition: all 0.2s ease;
  cursor: pointer;
  border: none;
  white-space: nowrap;
}
.btn-primary {
  background: var(--accent);
  color: #000;
  font-weight: 600;
}
.btn-primary:hover {
  background: #93c5fd;
  transform: translateY(-1px);
  box-shadow: 0 4px 24px rgba(96, 165, 250, 0.3);
}
.btn-ghost {
  background: transparent;
  color: var(--text-muted);
  border: 1px solid var(--border);
}
.btn-ghost:hover {
  border-color: var(--border-hover);
  color: var(--text);
  transform: translateY(-1px);
}

.scroll-hint {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 48px;
  font-size: 11px;
  color: var(--text-dim);
  letter-spacing: 1px;
  animation: bobDown 2s ease-in-out infinite;
}
@keyframes bobDown {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(5px); }
}

/* =====================================================
   SECTION SHARED
   ===================================================== */

.section {
  padding: 128px 0;
  position: relative;
}

.section-label {
  font-size: 12px;
  color: var(--accent);
  margin-bottom: 10px;
  letter-spacing: 1px;
  font-weight: 500;
}

.section-title {
  font-size: clamp(30px, 4.5vw, 48px);
  font-weight: 700;
  letter-spacing: -2px;
  margin-bottom: 64px;
  color: var(--text);
}

/* =====================================================
   ABOUT
   ===================================================== */

.about-grid {
  display: grid;
  grid-template-columns: 1.3fr 0.9fr;
  gap: 48px;
  align-items: start;
}

.about-grid > * {
  min-width: 0;
}

.about-left .section-title {
  margin-bottom: 28px;
}

/* Terminal Window */
.terminal-window {
  background: #0d1117;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  width: 100%;
  max-width: 600px;
}

.terminal-window.terminal-inactive {
  cursor: pointer;
}

.terminal-hint {
  margin-top: 10px;
  font-size: 12px;
  color: var(--text-muted);
  opacity: 0.5;
  transition: opacity 0.4s ease;
}

.terminal-hint.hidden {
  opacity: 0;
  pointer-events: none;
}

.terminal-header {
  background: #161b22;
  padding: 11px 16px;
  display: flex;
  align-items: center;
  gap: 7px;
  border-bottom: 1px solid var(--border);
}

.dot {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  flex-shrink: 0;
}
.dot.red    { background: #ff5f57; }
.dot.yellow { background: #febc2e; }
.dot.green  { background: #28c840; }

.terminal-title {
  font-size: 12px;
  color: var(--text-dim);
  margin-left: 6px;
}

.terminal-body {
  padding: 24px;
}

.xterm-body {
  padding: 8px;
  height: 380px;
  overscroll-behavior: contain;
}

.xterm-body #xterm-container {
  height: 100%;
}

/* Let xterm own its background */
.xterm-body .xterm {
  height: 100%;
}

/* Hide xterm scrollbar */
.xterm-body .xterm-viewport::-webkit-scrollbar { display: none; }
.xterm-body .xterm-viewport { scrollbar-width: none; }
.terminal-body pre {
  font-family: var(--font-mono);
  font-size: 13px;
  line-height: 1.85;
  white-space: pre-wrap;
}
.t-brace  { color: #cbd5e1; }
.t-key    { color: #60a5fa; }
.t-str    { color: #a3e635; }
.t-prompt { color: #4ade80; }

.term-line {
  font-family: var(--font-mono);
  font-size: 13px;
  line-height: 1.85;
  display: flex;
  align-items: baseline;
}

.term-cursor {
  display: inline-block;
  width: 7px;
  height: 13px;
  background: var(--text);
  vertical-align: text-bottom;
  animation: termBlink 1s step-end infinite;
}
@keyframes termBlink {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0; }
}

.term-output {
  display: none;
  margin-top: 2px;
}

.term-idle {
  display: none;
}

.about-avatar {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--border);
  margin-bottom: 24px;
  margin-top: 30px; /* offset = "// about" label height, aligns photo with h2 */
}

.about-text {
  display: flex;
  flex-direction: column;
  gap: 22px;
  padding-top: 8px;
}
.about-text p {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.85;
}

/* =====================================================
   BENTO GRID (PROJECTS)
   ===================================================== */

.bento-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.bento-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  position: relative;
  overflow: hidden;
  transition: border-color 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
}

/* Mouse-tracking inner glow */
.bento-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(
    300px circle at var(--mx, 50%) var(--my, 50%),
    rgba(96, 165, 250, 0.07),
    transparent 70%
  );
  opacity: 0;
  transition: opacity 0.35s ease;
  pointer-events: none;
  border-radius: inherit;
}
.bento-card:hover {
  border-color: var(--border-hover);
  transform: translateY(-3px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.5);
}
.bento-card:hover::before { opacity: 1; }

.bento-featured { grid-column: span 2; }
.bento-wide     { grid-column: span 2; }

.card-num {
  font-size: 11px;
  color: var(--text-dim);
  letter-spacing: 1px;
}

.bento-card h3 {
  font-size: 19px;
  font-weight: 600;
  letter-spacing: -0.4px;
  color: var(--text);
}

.bento-card p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.75;
  flex: 1;
}

.card-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 4px;
}

.tag {
  font-family: var(--font-mono);
  font-size: 11px;
  padding: 3px 9px;
  background: rgba(96, 165, 250, 0.08);
  color: var(--accent);
  border: 1px solid rgba(96, 165, 250, 0.18);
  border-radius: 4px;
}

.card-links {
  margin-top: 4px;
  display: flex;
  gap: 16px;
}
.card-link {
  font-size: 12px;
  color: var(--text-dim);
  transition: color 0.2s;
}
.card-link:hover { color: var(--accent); }

.projects-footer {
  margin-top: 40px;
  display: flex;
  justify-content: center;
}

/* =====================================================
   SKILLS
   ===================================================== */

.skills-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.skill-group {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  transition: border-color 0.2s ease;
}
.skill-group:hover { border-color: var(--border-hover); }

.skill-group-title {
  font-size: 11px;
  color: var(--accent);
  letter-spacing: 1.2px;
  font-weight: 500;
  margin-bottom: 18px;
  text-transform: uppercase;
}

.skill-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.skill-tag {
  font-size: 13px;
  padding: 5px 13px;
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: 6px;
  color: var(--text-muted);
  transition: all 0.2s ease;
  cursor: default;
}
.skill-tag:hover {
  border-color: rgba(96, 165, 250, 0.3);
  color: var(--text);
  background: rgba(96, 165, 250, 0.06);
}

/* =====================================================
   CONTACT
   ===================================================== */

.contact-desc {
  font-size: 16px;
  color: var(--text-muted);
  max-width: 480px;
  margin-bottom: 48px;
  line-height: 1.8;
}

.contact-links {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.contact-link {
  display: inline-flex;
  align-items: center;
  gap: 18px;
  padding: 20px 28px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-family: var(--font-mono);
  font-size: 14px;
  color: var(--text-muted);
  max-width: 500px;
  transition: all 0.25s ease;
}
.contact-link:hover {
  border-color: rgba(96, 165, 250, 0.4);
  color: var(--text);
  background: var(--accent-dim);
  transform: translateX(6px);
}

.contact-icon {
  width: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  flex-shrink: 0;
}

/* =====================================================
   FOOTER
   ===================================================== */

footer {
  padding: 36px 0;
  border-top: 1px solid var(--border);
}
.footer-text {
  font-size: 12px;
  color: var(--text-dim);
  letter-spacing: 0.5px;
}

/* =====================================================
   REVEAL ANIMATIONS
   ===================================================== */

.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}
.reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}

/* =====================================================
   BLOG
   ===================================================== */

.blog-section,
.blog-post { padding-top: 140px; }

/* Post list */
.post-list {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.post-card {
  display: block;
  padding: 28px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: border-color 0.2s, background 0.2s, transform 0.2s;
}
.post-card:hover {
  border-color: var(--border-hover);
  background: var(--surface);
  transform: translateX(4px);
}
.post-date {
  font-size: 12px;
  color: var(--text-dim);
  letter-spacing: 0.5px;
  display: block;
  margin-bottom: 8px;
}
.post-title {
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -0.5px;
  color: var(--text);
  margin-bottom: 8px;
}
.post-desc {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 12px;
}
.post-read {
  font-size: 12px;
  color: var(--text-dim);
  transition: color 0.2s;
}
.post-card:hover .post-read { color: var(--accent); }

/* Single post */
.container-narrow { max-width: 720px; }

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: var(--text-dim);
  margin-bottom: 48px;
  transition: color 0.2s;
}
.back-link:hover { color: var(--accent); }

.post-h1 {
  font-size: clamp(28px, 4vw, 48px);
  font-weight: 700;
  letter-spacing: -2px;
  line-height: 1.1;
  margin: 10px 0 24px;
}

/* Prose — rendered markdown */
.prose {
  font-size: 16px;
  line-height: 1.85;
  color: var(--text-muted);
  padding-top: 40px;
  border-top: 1px solid var(--border);
}
.prose h1, .prose h2, .prose h3, .prose h4 {
  color: var(--text);
  font-weight: 600;
  letter-spacing: -0.5px;
  line-height: 1.2;
  margin: 2em 0 0.75em;
}
.prose h1 { font-size: 1.9em; }
.prose h2 { font-size: 1.45em; }
.prose h3 { font-size: 1.2em; }
.prose p  { margin-bottom: 1.4em; }
.prose strong { color: var(--text); font-weight: 600; }
.prose a  { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
.prose a:hover { color: #93c5fd; }
.prose code {
  font-family: var(--font-mono);
  font-size: 0.875em;
  background: var(--surface);
  border: 1px solid var(--border);
  padding: 2px 7px;
  border-radius: 4px;
  color: var(--accent);
}
.prose pre {
  background: #0d1117;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px 24px;
  overflow-x: auto;
  margin: 1.5em 0;
}
.prose pre code {
  background: none;
  border: none;
  padding: 0;
  color: var(--text);
  font-size: 13px;
}
.prose blockquote {
  border-left: 2px solid var(--accent);
  padding-left: 20px;
  margin: 1.5em 0;
  color: var(--text-dim);
  font-style: italic;
}
.prose ul, .prose ol { padding-left: 24px; margin-bottom: 1.4em; }
.prose li  { margin-bottom: 0.4em; }
.prose hr  { border: none; border-top: 1px solid var(--border); margin: 2.5em 0; }
.prose img { max-width: 100%; border-radius: var(--radius); margin: 1.5em 0; }

/* Embeds */
.embed-video {
  position: relative;
  padding-bottom: 56.25%; /* 16:9 */
  height: 0;
  overflow: hidden;
  margin: 1.5em 0;
  border-radius: var(--radius);
  background: var(--surface);
}
.embed-video iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: none;
}
.embed-tweet {
  margin: 1.5em 0;
  display: flex;
  justify-content: center;
}
.embed-reddit {
  margin: 1.5em 0;
}
.embed-reddit iframe {
  width: 100%;
  height: 400px;
  border: none;
  border-radius: var(--radius);
}

/* =====================================================
   CHALLENGE / ARTURBOT 9000
   ===================================================== */

.challenge-badge {
  font-family: var(--font-mono);
  font-size: 11px;
  padding: 4px 10px;
  background: rgba(251, 146, 60, 0.12);
  color: #fb923c;
  border: 1px solid rgba(251, 146, 60, 0.25);
  border-radius: 4px;
  letter-spacing: 1px;
}
.challenge-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}
.challenge-desc {
  color: var(--text-muted);
  font-size: 15px;
  max-width: 600px;
  line-height: 1.7;
  margin-bottom: 48px;
}
.challenge-desc strong { color: var(--text); }

/* Chat window */
.chat-wrapper {
  max-width: 780px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  height: 560px;
}
.chat-titlebar {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 20px;
  background: #111;
  border-bottom: 1px solid var(--border);
}
.chat-titlebar-dot { width: 10px; height: 10px; border-radius: 50%; }
.chat-titlebar-dot.r { background: #ff5f57; }
.chat-titlebar-dot.y { background: #febc2e; }
.chat-titlebar-dot.g { background: #28c840; }
.chat-titlebar-name { font-family: var(--font-mono); font-size: 12px; color: var(--text-muted); margin-left: 6px; }
.chat-titlebar-status { font-family: var(--font-mono); font-size: 11px; color: #28c840; margin-left: auto; }

.chat-messages {
  flex: 1;
  overflow-y: auto;
  padding: 24px 20px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  scrollbar-width: thin;
  scrollbar-color: var(--surface-2) transparent;
}

.message { display: flex; gap: 10px; align-items: flex-end; max-width: 85%; }
.message.user { align-self: flex-end; flex-direction: row-reverse; }
.avatar { font-size: 20px; flex-shrink: 0; margin-bottom: 2px; }
.bubble { padding: 12px 16px; border-radius: 16px; font-size: 14px; line-height: 1.65; }
.message.bot .bubble {
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-bottom-left-radius: 4px;
  color: var(--text);
}
.message.user .bubble {
  background: var(--accent);
  color: #000;
  border-bottom-right-radius: 4px;
  font-weight: 500;
}

/* Typing indicator */
.typing .bubble { display: flex; align-items: center; gap: 5px; padding: 14px 18px; }
.typing .bubble span {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--text-dim);
  animation: typingBounce 1.3s ease-in-out infinite;
}
.typing .bubble span:nth-child(2) { animation-delay: 0.15s; }
.typing .bubble span:nth-child(3) { animation-delay: 0.3s; }
@keyframes typingBounce {
  0%, 60%, 100% { transform: translateY(0); opacity: 0.4; }
  30% { transform: translateY(-6px); opacity: 1; }
}

/* Input row */
.chat-input-area {
  padding: 16px 20px;
  border-top: 1px solid var(--border);
  display: flex;
  gap: 10px;
  background: var(--surface);
}
.chat-input {
  flex: 1;
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 10px 14px;
  font-size: 14px;
  color: var(--text);
  font-family: var(--font-sans);
  outline: none;
  transition: border-color 0.2s;
}
.chat-input:focus { border-color: var(--border-hover); }
.chat-input::placeholder { color: var(--text-dim); }
.send-btn {
  background: var(--accent);
  color: #000;
  border: none;
  border-radius: 8px;
  padding: 10px 20px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s, transform 0.1s;
  white-space: nowrap;
}
.send-btn:hover { background: #93c5fd; }
.send-btn:active { transform: scale(0.97); }
.send-btn:disabled { opacity: 0.5; cursor: not-allowed; transform: none; }
.clear-btn {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--text-dim);
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  transition: color 0.2s;
}
.clear-btn:hover { color: var(--text-muted); }
.chat-footer { display: flex; justify-content: flex-end; padding: 8px 20px 0; }

/* Hint box */
.hint-box {
  max-width: 780px;
  margin-top: 24px;
  padding: 16px 20px;
  background: rgba(251, 146, 60, 0.06);
  border: 1px solid rgba(251, 146, 60, 0.18);
  border-radius: var(--radius);
}
.hint-box p {
  font-family: var(--font-mono);
  font-size: 12px;
  color: #fb923c;
  line-height: 1.7;
  margin: 0;
}
.hint-box strong { color: #fdba74; }

/* Success / "I got the secret" box */
.success-box {
  max-width: 780px;
  margin-top: 20px;
  padding: 20px 24px;
  background: rgba(34, 197, 94, 0.06);
  border: 1px solid rgba(34, 197, 94, 0.22);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}
.success-box-text p {
  font-family: var(--font-mono);
  font-size: 12px;
  color: #86efac;
  line-height: 1.7;
  margin: 0;
}
.success-box-text strong { color: #4ade80; }
.success-btn {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(34, 197, 94, 0.12);
  color: #4ade80;
  border: 1px solid rgba(34, 197, 94, 0.3);
  border-radius: 8px;
  padding: 10px 20px;
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.2s, border-color 0.2s;
  white-space: nowrap;
}
.success-btn:hover {
  background: rgba(34, 197, 94, 0.2);
  border-color: rgba(34, 197, 94, 0.5);
  color: #4ade80;
}

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

@media (max-width: 900px) {
  .about-grid {
    grid-template-columns: 1fr;
  }
  .bento-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .bento-featured,
  .bento-wide {
    grid-column: span 2;
  }
}

@media (max-width: 640px) {
  .bento-grid {
    grid-template-columns: 1fr;
  }
  .bento-featured,
  .bento-wide {
    grid-column: span 1;
  }
  .skills-grid {
    grid-template-columns: 1fr;
  }
  .nav-links {
    display: none;
  }
  .section { padding: 80px 0; }
  .section-title { margin-bottom: 40px; }
  .hero-name { letter-spacing: -2px; }

  .container {
    padding: 0 16px;
  }
  .xterm-body {
    height: 300px;
  }
}
