/* ============================================
   NUNO MENDES PORTFOLIO - CSS
   Terminal/Hacker Aesthetic
   Mobile First Design
   ============================================ */

/* ============================================
   FONT FACES
   ============================================ */
@font-face {
  font-family: 'Archivo';
  src: url('/fonts/Archivo/static/Archivo-Regular.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Archivo';
  src: url('/fonts/Archivo/static/Archivo-Medium.ttf') format('truetype');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Archivo';
  src: url('/fonts/Archivo/static/Archivo-SemiBold.ttf') format('truetype');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Archivo';
  src: url('/fonts/Archivo/static/Archivo-Bold.ttf') format('truetype');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Archivo';
  src: url('/fonts/Archivo/static/Archivo-ExtraBold.ttf') format('truetype');
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Archivo';
  src: url('/fonts/Archivo/static/Archivo-ExtraBoldItalic.ttf') format('truetype');
  font-weight: 800;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: 'Archivo Expanded';
  src: url('/fonts/Archivo/static/Archivo_Expanded-Bold.ttf') format('truetype');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Archivo Expanded';
  src: url('/fonts/Archivo/static/Archivo_Expanded-SemiBold.ttf') format('truetype');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Archivo Condensed';
  src: url('/fonts/Archivo/static/Archivo_Condensed-Bold.ttf') format('truetype');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Ubuntu Mono';
  src: url('https://fonts.gstatic.com/s/ubuntumono/v15/KFOjCneDtsqEr0keqCMhbBc9AMX6lJBP.woff2') format('woff2');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

/* ============================================
   CSS VARIABLES - COLOR PALETTE
   ============================================ */
:root {
  /* Blacks */
  --off-black: #0D0D0D;
  --neutral-black: #212121;
  --rich-black: #061A02;
  --black-green: #031601;

  /* Greens */
  --dark-green: #04220F;
  --bangladesh-green: #035762;
  --mountain-meadow: #53A849;
  --caribbean-green: #85DA1D;
  --caribbean-green-80: #7BDF00;
  --glow-green: #D2F1AC;

  /* Neutrals */
  --pistachio: #AACBC4;
  --stone: #6F7D7D;
  --anti-flash-white: #D7D7D7;

  /* Accents */
  --frost: #86B9E0;
  --dark-blue: #012D55;
  --sunny: #FFC069;
  --orange: #DF8200;
  --burnt: #3E0B00;

  /* Typography */
  --font-primary: 'Archivo', sans-serif;
  --font-expanded: 'Archivo Expanded', 'Archivo', sans-serif;

  /* Spacing */
  --spacing-xs: 4px;
  --spacing-sm: 8px;
  --spacing-md: 16px;
  --spacing-lg: 24px;
  --spacing-xl: 32px;
  --spacing-2xl: 48px;
  --spacing-3xl: 64px;

  /* Line height and kerning as specified */
  --line-height: 1.25;
  --letter-spacing: 0.05em;
}

/* ============================================
   LOADING SCREEN
   ============================================ */
#loading-screen {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: var(--off-black);
  z-index: 9999;
  display: flex;
  flex-direction: column;
  font-family: 'Ubuntu Mono', 'Courier New', monospace;
  font-size: 14px;
  color: var(--anti-flash-white);
  overflow: hidden;
}

#loading-screen.fade-out {
  opacity: 0;
  transition: opacity 0.5s ease-out;
}

.loading-content {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  overflow-y: auto;
}

.loading-stage {
  width: 100%;
  max-width: 800px;
  max-height: 80vh;
  overflow-y: auto;
}

/* Boot Messages */
.boot-message {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 4px;
  line-height: 1.5;
}

.status-ok {
  color: var(--caribbean-green);
  font-weight: 700;
  flex-shrink: 0;
}

.status-starting {
  color: var(--sunny);
  font-weight: 700;
  flex-shrink: 0;
  animation: pulse 1s ease-in-out infinite;
}

.message-text {
  color: var(--anti-flash-white);
}

/* Login Stage */
.login-header {
  color: var(--anti-flash-white);
  margin-bottom: 20px;
}

.login-line {
  color: var(--anti-flash-white);
  margin-bottom: 8px;
}

/* Welcome Stage */
.welcome-header {
  color: var(--caribbean-green);
  font-weight: 700;
  margin-bottom: 16px;
}

.welcome-info {
  color: var(--stone);
  margin-bottom: 16px;
}

.welcome-info div {
  margin-bottom: 4px;
}

.system-info {
  color: var(--stone);
  margin-bottom: 24px;
}

.system-info div {
  margin-bottom: 4px;
}

/* Terminal Commands */
.terminal-commands {
  margin-top: 16px;
}

.cmd-line {
  margin-bottom: 8px;
  color: var(--anti-flash-white);
}

.cmd-line .prompt {
  color: var(--caribbean-green);
  font-weight: 700;
  margin-right: 8px;
}

.server-msg {
  color: var(--glow-green);
  margin-left: 16px;
  margin-top: 8px;
}

/* Cursor */
.loading-screen .cursor {
  color: var(--caribbean-green);
  animation: blink 0.8s ease-in-out infinite;
}

/* Skip Button */
.skip-btn {
  position: fixed;
  bottom: 20px;
  right: 20px;
  padding: 10px 20px;
  background: transparent;
  border: 1px solid var(--stone);
  color: var(--stone);
  font-family: 'Ubuntu Mono', monospace;
  font-size: 12px;
  cursor: pointer;
  transition: all 0.2s ease;
  z-index: 10000;
}

.skip-btn:hover {
  background: var(--caribbean-green);
  border-color: var(--caribbean-green);
  color: var(--off-black);
}

/* Loading Screen Animations */
@keyframes blink {
  0%, 50% { opacity: 1; }
  51%, 100% { opacity: 0; }
}

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

.fade-in {
  animation: fadeIn 0.3s ease-out;
}

.fade-in-delay-1 { animation: fadeIn 0.5s ease-out 0.1s both; }
.fade-in-delay-2 { animation: fadeIn 0.5s ease-out 0.3s both; }
.fade-in-delay-3 { animation: fadeIn 0.5s ease-out 0.6s both; }

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(-10px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ============================================
   RESET & BASE STYLES
   ============================================ */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-primary);
  font-weight: 400;
  font-size: 16px;
  line-height: var(--line-height);
  letter-spacing: var(--letter-spacing);
  color: var(--anti-flash-white);
  background-color: var(--off-black);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

ul, ol {
  list-style: none;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

/* ============================================
   TYPOGRAPHY
   ============================================ */
/* Section titles - ExtraBold Italic */
.section-title {
  font-weight: 800;
  font-style: italic;
  line-height: var(--line-height);
  letter-spacing: var(--letter-spacing);
}

/* Subtitles (>skills and tech, /systems etc) - Bold */
.subtitle {
  font-weight: 700;
  line-height: var(--line-height);
  letter-spacing: var(--letter-spacing);
}

/* Tags - Bold */
.tag {
  font-weight: 700;
  line-height: var(--line-height);
  letter-spacing: var(--letter-spacing);
}

/* Body text - Regular */
.body-text {
  font-weight: 400;
  line-height: var(--line-height);
  letter-spacing: var(--letter-spacing);
}

/* Glass panel body text - Medium */
.glass-body {
  font-weight: 500;
  line-height: var(--line-height);
  letter-spacing: var(--letter-spacing);
}

/* Marquee text - Archivo Expanded Bold */
.marquee-text {
  font-family: var(--font-expanded);
  font-weight: 700;
  line-height: var(--line-height);
  letter-spacing: var(--letter-spacing);
}

/* Terminal commands - 20% bigger than body, ExtraBold Italic */
.terminal-command {
  font-family: var(--font-primary);
  font-weight: 800;
  font-style: italic;
  font-size: 1.2em;
}

.terminal-command .prompt {
  color: var(--anti-flash-white);
}

.terminal-command .cmd {
  color: var(--caribbean-green);
}

.terminal-response {
  font-family: var(--font-primary);
  font-weight: 800;
  font-style: italic;
  font-size: 1.2em;
}

.terminal-response .prompt {
  color: var(--anti-flash-white);
}

.terminal-response .result {
  color: var(--caribbean-green);
}

/* ============================================
   LAYOUT UTILITIES
   ============================================ */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--spacing-md);
  position: relative;
  z-index: 1;
}

.section {
  padding: var(--spacing-2xl) 0;
}

/* ============================================
   HEADER
   ============================================ */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: var(--spacing-md);
  background: rgba(13, 13, 13, 0.9);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.header__inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
}

.header__logo {
  font-weight: 500;
  font-size: 14px;
  color: var(--anti-flash-white);
}

.header__status {
  display: flex;
  align-items: center;
  gap: var(--spacing-sm);
  margin-left: var(--spacing-md);
  margin-right: auto;
}

.status-indicator {
  position: relative;
  width: 10px;
  height: 10px;
}

.status-indicator__dot {
  width: 10px;
  height: 10px;
  background-color: var(--caribbean-green);
  border-radius: 50%;
  position: relative;
  z-index: 2;
}

.status-indicator__wave {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 10px;
  height: 10px;
  border: 1px solid var(--caribbean-green);
  border-radius: 50%;
  animation: radar-wave 2s ease-out infinite;
}

.status-indicator__wave:nth-child(2) {
  animation-delay: 0.5s;
}

.status-indicator__wave:nth-child(3) {
  animation-delay: 1s;
}

@keyframes radar-wave {
  0% {
    width: 10px;
    height: 10px;
    opacity: 1;
  }
  100% {
    width: 30px;
    height: 30px;
    opacity: 0;
  }
}

/* Unavailable status styles */
.status-indicator--unavailable .status-indicator__dot {
  background-color: #DC2626;
}

.status-text--unavailable {
  color: #DC2626 !important;
}

.status-cursor--unavailable {
  color: #DC2626 !important;
}

.biography__status-text--unavailable {
  color: #DC2626 !important;
}

.status-text {
  font-size: 12px;
  font-weight: 700;
  color: var(--caribbean-green);
  text-transform: uppercase;
  letter-spacing: 0;
  display: inline;
}

.status-cursor {
  font-size: 14px;
  font-weight: 900;
  color: var(--caribbean-green);
  animation: blink-cursor 0.7s step-end infinite;
  margin-left: -2px;
  display: inline;
}

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

/* Hamburger Menu Button */
.menu-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8px 12px;
  border-radius: 20px;
  background: linear-gradient(135deg, rgba(123, 223, 0, 0.1) 0%, rgba(13, 13, 13, 0.8) 100%);
  border: 0.5px solid rgba(210, 241, 172, 0.3);
  color: var(--caribbean-green);
  font-size: 18px;
  transition: all 0.3s ease;
}

.menu-btn:hover {
  border-color: var(--glow-green);
  box-shadow: 0 0 15px rgba(133, 218, 29, 0.2);
}

/* Desktop Navigation */
.nav-desktop {
  display: none;
}

.nav-desktop__list {
  display: flex;
  gap: var(--spacing-md);
}

.nav-desktop__link {
  font-weight: 500;
  font-size: 14px;
  padding: 8px 16px;
  border-radius: 20px;
  transition: all 0.3s ease;
}

.nav-desktop__link--active {
  color: var(--glow-green);
}

.nav-desktop__link--active::before {
  content: '$';
}

.nav-desktop__link:not(.nav-desktop__link--active)::before {
  content: '/';
}

.nav-desktop__link:not(.nav-desktop__link--active) {
  color: var(--caribbean-green);
}

.nav-desktop__link:hover {
  background: rgba(133, 218, 29, 0.1);
}

/* Mobile Menu Drawer */
.mobile-menu {
  position: fixed;
  top: 0;
  right: -100%;
  width: 100%;
  max-width: 300px;
  height: 100vh;
  height: 100dvh; /* Use dynamic viewport height to account for browser UI */
  background: var(--neutral-black);
  z-index: 2000;
  padding: var(--spacing-xl);
  padding-bottom: calc(var(--spacing-xl) + env(safe-area-inset-bottom, 20px) + 60px); /* Extra space for Safari bottom bar */
  transition: right 0.3s ease;
  display: flex;
  flex-direction: column;
}

.mobile-menu.is-open {
  right: 0;
}

.mobile-menu__overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  z-index: 1999;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.mobile-menu__overlay.is-visible {
  opacity: 1;
  visibility: visible;
}

.mobile-menu__header {
  display: flex;
  justify-content: flex-end;
  margin-bottom: var(--spacing-2xl);
}

.mobile-menu__nav {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-lg);
  flex: 1;
  overflow-y: auto;
  padding-bottom: var(--spacing-2xl);
}

.mobile-menu__link {
  font-size: 24px;
  font-weight: 500;
  color: var(--caribbean-green);
  transition: color 0.3s ease;
}

.mobile-menu__link::before {
  content: '/';
  margin-right: var(--spacing-xs);
}

.mobile-menu__link--active {
  color: var(--glow-green);
}

.mobile-menu__link--active::before {
  content: '$';
}

.mobile-menu__footer {
  position: static;
  margin-top: var(--spacing-xl);
  padding-bottom: var(--spacing-md); /* Extra padding for Safari bottom bar visibility */
}

/* Language Switcher */
.lang-switcher {
  display: flex;
  align-items: center;
  gap: var(--spacing-sm);
  padding: 12px 20px; /* Larger tap targets for mobile */
  border-radius: 20px;
  background: rgba(123, 223, 0, 0.1);
  border: 0.5px solid rgba(210, 241, 172, 0.3);
}

.lang-switcher__btn {
  font-size: 16px;
  font-weight: 500;
  color: var(--stone);
  padding: 6px 12px;
  border-radius: 10px;
  transition: all 0.3s ease;
  min-width: 44px; /* Minimum touch target size */
  text-align: center;
}

.lang-switcher__btn--active {
  color: var(--caribbean-green);
  background: rgba(133, 218, 29, 0.2);
  font-weight: 600;
}

/* Desktop Language Switcher (floating) */
.lang-switcher--floating {
  display: none;
  position: fixed;
  bottom: var(--spacing-xl);
  right: var(--spacing-xl);
  z-index: 100;
  transition: bottom 0.3s ease;
}

.lang-switcher--floating.at-footer {
  position: absolute;
  bottom: auto;
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: var(--spacing-2xl) var(--spacing-md);
  position: relative;
  overflow: hidden;
}

.hero__content {
  position: relative;
  z-index: 10;
}

.hero__title {
  font-family: 'Archivo Expanded', var(--font-primary);
  font-size: clamp(1.5rem, 6vw, 2.5rem);
  font-weight: 600;
  font-style: normal;
  color: var(--anti-flash-white);
  margin-bottom: var(--spacing-sm);
}

.hero__title .dollar {
  color: var(--anti-flash-white);
}

.hero__title .name {
  color: var(--anti-flash-white);
}

.hero__subtitle {
  font-family: 'Archivo SemiExpanded', 'Archivo', var(--font-primary);
  font-size: clamp(0.875rem, 3.5vw, 1.125rem);
  font-weight: 400;
  color: var(--anti-flash-white);
  margin-bottom: var(--spacing-lg);
  line-height: 1.4;
}

.hero__status {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--spacing-sm);
  margin-bottom: var(--spacing-xl);
}

.hero__availability {
  font-family: var(--font-primary);
  font-weight: 500;
  font-size: 12px;
  letter-spacing: 0.1em;
  color: var(--caribbean-green);
  text-transform: uppercase;
}

.hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 19.09px;
  justify-content: center;
}

/* CTA Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: var(--btn-padding-mobile, 14px 32px);
  border-radius: var(--btn-border-radius, 31.82px);
  font-family: 'Ubuntu Mono', monospace;
  font-weight: 700;
  font-size: var(--btn-font-size-mobile, 14px);
  letter-spacing: 0.25em;
  line-height: 125%;
  text-transform: uppercase;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.btn--primary {
  border-radius: 31.818px;
  border: 0.636px solid #3D5C17;
  background: radial-gradient(86.92% 211.82% at 50.13% 160.91%, #D2F1AC 0%, rgba(123, 223, 0, 0.20) 55.77%, rgba(123, 223, 0, 0.00) 100%), linear-gradient(180deg, rgba(4, 34, 15, 0.00) 0%, rgba(3, 22, 1, 0.00) 100%);
  backdrop-filter: blur(1.5px);
  -webkit-backdrop-filter: blur(1.5px);
  color: var(--caribbean-green);
  position: relative;
}

.btn--secondary {
  background: radial-gradient(ellipse 300% 300% at 50% 100%,
    rgba(172, 201, 241, 0.28) 0%,
    rgba(47, 108, 194, 0.14) 30%,
    rgba(0, 138, 223, 0) 50%);
  border: 0.64px solid transparent;
  background-clip: padding-box;
  color: var(--anti-flash-white);
  position: relative;
}

.btn--secondary::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 31.82px;
  padding: 0.64px;
  background: linear-gradient(180deg, rgba(134, 185, 224, 0.7) 0%, rgba(1, 45, 85, 0.7) 100%);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 20px rgba(133, 218, 29, 0.3);
}

/* Floating Symbols */
.hero__symbols {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
  -webkit-transform: translateZ(0); /* Safari GPU acceleration */
  transform: translateZ(0);
  min-height: 100vh; /* Ensure full height on Safari */
  display: block !important; /* Force display */
  visibility: visible !important; /* Force visibility */
}

.floating-symbol {
  position: absolute;
  opacity: 0.8;
  animation: float 18s ease-in-out infinite;
  will-change: transform, opacity;
  -webkit-animation: float 18s ease-in-out infinite;
}

.floating-symbol--blur {
  filter: blur(2px);
  -webkit-filter: blur(2px);
  opacity: 0.4;
}

.floating-symbol--large {
  transform: scale(1.5);
  -webkit-transform: scale(1.5);
}

.floating-symbol--small {
  transform: scale(0.6);
  -webkit-transform: scale(0.6);
  opacity: 0.4;
}

/* Mobile: ensure symbols are visible */
@media (max-width: 767px) {
  .hero__symbols {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    position: absolute !important;
    z-index: 1 !important;
  }
  
  .hero-orbit {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
  }
  
  .hero-orbit-symbol {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
  }
  
  .hero-orbit-symbol img {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
  }
  
  .floating-symbol {
    opacity: 1 !important;
  }
  
  .floating-symbol--blur {
    opacity: 0.7 !important;
  }
  
  .section-bg-symbols {
    display: block !important;
    visibility: visible !important;
  }
  
  .section-bg-symbol {
    opacity: 0.9 !important;
  }
}

@-webkit-keyframes float {
  0%, 100% {
    -webkit-transform: translateY(0) rotate(0deg);
    transform: translateY(0) rotate(0deg);
  }
  25% {
    -webkit-transform: translateY(-15px) rotate(5deg);
    transform: translateY(-15px) rotate(5deg);
  }
  50% {
    -webkit-transform: translateY(-5px) rotate(-3deg);
    transform: translateY(-5px) rotate(-3deg);
  }
  75% {
    -webkit-transform: translateY(-18px) rotate(3deg);
    transform: translateY(-18px) rotate(3deg);
  }
}

@keyframes float {
  0%, 100% {
    -webkit-transform: translateY(0) rotate(0deg);
    transform: translateY(0) rotate(0deg);
  }
  25% {
    -webkit-transform: translateY(-15px) rotate(5deg);
    transform: translateY(-15px) rotate(5deg);
  }
  50% {
    -webkit-transform: translateY(-5px) rotate(-3deg);
    transform: translateY(-5px) rotate(-3deg);
  }
  75% {
    -webkit-transform: translateY(-18px) rotate(3deg);
    transform: translateY(-18px) rotate(3deg);
  }
}

/* ============================================
   MARQUEE DIVIDER
   ============================================ */
.marquee {
  overflow: hidden;
  padding: var(--spacing-lg) 0;
  position: relative;
  background: var(--anti-flash-white);
  width: 100vw;
  margin-left: calc(-50vw + 50%);
}

/* Fade edges */
.marquee::before,
.marquee::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  width: calc(var(--marquee-fade-width, 15) * 1%);
  z-index: 2;
  pointer-events: none;
}

.marquee::before {
  left: 0;
  background: linear-gradient(to right, var(--anti-flash-white) 0%, transparent calc(var(--marquee-fade-end, 100) * 1%));
}

.marquee::after {
  right: 0;
  background: linear-gradient(to left, var(--anti-flash-white) 0%, transparent calc(var(--marquee-fade-end, 100) * 1%));
}

.marquee__track {
  display: flex;
  width: fit-content;
  animation: marquee-scroll 20s linear infinite;
  will-change: transform;
}

.marquee--reverse .marquee__track {
  animation-name: marquee-scroll-reverse;
}

.marquee__text {
  font-family: var(--font-expanded);
  font-weight: 700;
  font-size: clamp(1.3rem, 3vw, 1.5rem);
  color: var(--dark-green);
  white-space: nowrap;
  padding: 0 var(--spacing-sm);
  text-transform: capitalize;
  flex-shrink: 0;
}

@keyframes marquee-scroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

@keyframes marquee-scroll-reverse {
  0% {
    transform: translateX(-50%);
  }
  100% {
    transform: translateX(0);
  }
}

/* ============================================
   BIOGRAPHY SECTION
   ============================================ */
.biography {
  padding: var(--spacing-2xl) var(--spacing-md);
}

.biography__grid {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: var(--spacing-md);
  align-items: stretch;
}

.biography__left {
  display: flex;
  flex-direction: column;
}

.biography__terminal {
  margin-bottom: var(--spacing-md);
}

.biography__tagline {
  font-weight: 400;
  font-size: 16px;
  line-height: var(--line-height);
  color: var(--anti-flash-white);
  margin-bottom: var(--spacing-md);
}

.biography__tagline strong {
  font-weight: 700;
  color: var(--anti-flash-white);
}

.biography__text {
  font-weight: 400;
  font-size: 16px;
  line-height: var(--line-height);
  color: var(--anti-flash-white);
  margin-bottom: var(--spacing-sm);
}

.biography__text:last-of-type {
  margin-bottom: 0;
}

.biography__photo {
  display: flex;
  justify-content: flex-end;
  align-items: stretch;
}

.photo-frame {
  width: 180px;
  height: 100%;
  border-radius: 15px;
  padding: 3px;
  background: radial-gradient(circle, var(--frost) 0%, var(--dark-blue) 100%);
  position: relative;
  overflow: hidden;
}

.photo-frame::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 15px;
  padding: 0.35px;
  background: linear-gradient(135deg, var(--frost), var(--dark-blue));
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
  z-index: 1;
}

.photo-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 12px;
  /* Scale is applied via inline style from admin settings */
  transform-origin: center center;
}

.biography__status {
  display: flex;
  align-items: center;
  gap: var(--spacing-sm);
  margin-top: var(--spacing-md);
}

.biography__status-text {
  font-family: 'Archivo Condensed', 'Archivo', sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.15em;
  color: rgba(215, 215, 215, 0.6);
  text-transform: uppercase;
}

.biography__cta {
  margin-top: var(--spacing-lg);
}

/* Mobile: stack text then portrait (image below text) for better legibility */
@media (max-width: 767px) {
  .biography {
    padding: var(--spacing-xl) var(--spacing-md);
    background: var(--off-black, #0d0d0d);
  }

  .biography__grid {
    display: block;
  }

  .biography__left {
    padding: 0;
    background: transparent;
    box-shadow: none;
  }

  .biography__photo {
    display: block;
    margin-top: var(--spacing-lg);
    width: 100%;
  }

  .photo-frame {
    width: 100%;
    max-width: 360px;
    margin: 0 auto;
    aspect-ratio: 3 / 4;
    min-height: auto;
    height: auto;
  }

  .photo-frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 20%;
  }

  .biography__status {
    justify-content: flex-start;
  }
}

/* ============================================
   CURRICULUM / SKILLS SECTION
   ============================================ */
.curriculum {
  padding: var(--spacing-2xl) var(--spacing-md);
}

.curriculum__terminal {
  margin-bottom: var(--spacing-md);
}

.curriculum__intro {
  font-weight: 400;
  font-size: 16px;
  margin-bottom: var(--spacing-xl);
  color: var(--anti-flash-white);
}

.curriculum__header {
  font-family: var(--font-expanded);
  font-weight: 700;
  font-size: 18px;
  letter-spacing: 0.05em;
  color: var(--anti-flash-white);
  margin-bottom: var(--spacing-lg);
}

.skills-category {
  margin-bottom: var(--spacing-xl);
}

.skills-category__title {
  font-family: var(--font-expanded);
  font-weight: 700;
  font-size: 16px;
  color: var(--caribbean-green);
  margin-bottom: var(--spacing-md);
}

.skills-category__list {
  display: flex;
  flex-wrap: wrap;
  gap: var(--spacing-sm);
}

/* Skill Badges */
.skill-badge {
  padding: 6px 12px;
  border-radius: 20px;
  font-weight: 700;
  font-size: 16px;
  background: var(--rich-black);
  border: none;
  color: var(--glow-green);
}

.skill-badge--certification {
  background: var(--dark-blue);
  color: var(--frost);
}

/* Card Tags (Experience/Projects) */
.card-tag {
  padding: 4px 10px;
  border-radius: 15px;
  font-weight: 700;
  font-size: 12px;
  background: var(--rich-black);
  border: none;
  color: var(--glow-green);
}

/* ============================================
   EXPERIENCE SECTION
   ============================================ */
.experience {
  padding: var(--spacing-2xl) var(--spacing-md);
}

.experience__terminal {
  margin-bottom: var(--spacing-md);
}

.experience__intro {
  font-weight: 400;
  font-size: 16px;
  margin-bottom: var(--spacing-xl);
  color: var(--anti-flash-white);
}

/* Experience Card (Frosted Glass Style) */
.experience-card {
  padding: 15px 20px;
  border-radius: 20px;
  background: rgba(6, 26, 2, 0.6);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: none;
  margin-bottom: var(--spacing-lg);
  position: relative;
  overflow: hidden;
}

.experience-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 20px;
  padding: 1px;
  background: linear-gradient(135deg, var(--glow-green) 0%, rgba(210, 241, 172, 0.3) 50%, rgba(210, 241, 172, 0.1) 100%);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}

.experience-card__header {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-xs);
  margin-bottom: var(--spacing-md);
}

.experience-card__title {
  font-weight: 700;
  font-size: 18px;
  color: var(--glow-green);
}

.experience-card__subtitle {
  font-weight: 500;
  font-size: 14px;
  color: var(--anti-flash-white);
}

.experience-card__date {
  font-size: 12px;
  color: var(--stone);
}

.experience-card__company {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: var(--spacing-md);
}

.experience-card__company-link {
  font-weight: 700;
  font-size: 14px;
  color: var(--caribbean-green);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.experience-card__location {
  font-size: 12px;
  color: var(--stone);
}

.experience-card__responsibilities {
  margin-bottom: var(--spacing-md);
}

.experience-card__responsibility {
  font-weight: 500;
  font-size: 14px;
  color: var(--anti-flash-white);
  padding-left: var(--spacing-md);
  position: relative;
  margin-bottom: var(--spacing-xs);
}

.experience-card__responsibility::before {
  content: '>';
  position: absolute;
  left: 0;
  color: var(--caribbean-green);
}

.experience-card__tags {
  display: flex;
  flex-wrap: wrap;
  gap: var(--spacing-xs);
}

/* ============================================
   PROJECTS SECTION
   ============================================ */
.projects {
  padding: var(--spacing-2xl) var(--spacing-md);
}

.projects__terminal {
  margin-bottom: var(--spacing-md);
}

.projects__intro {
  font-weight: 400;
  font-size: 16px;
  margin-bottom: var(--spacing-xl);
  color: var(--anti-flash-white);
}

.projects__coming-soon {
  padding: 20px 25px;
  border-radius: 20px;
  background: rgba(6, 26, 2, 0.6);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: none;
  position: relative;
  overflow: hidden;
  margin-bottom: var(--spacing-xl);
}

.projects__coming-soon::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 20px;
  padding: 1px;
  background: linear-gradient(135deg, var(--glow-green) 0%, rgba(210, 241, 172, 0.3) 50%, rgba(210, 241, 172, 0.1) 100%);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}

.projects__coming-soon-text {
  font-weight: 500;
  font-size: 16px;
  color: var(--anti-flash-white);
  margin: 0;
  text-align: center;
  position: relative;
  z-index: 1;
}

.projects__grid {
  display: grid;
  gap: var(--spacing-lg);
}

/* Project Card (Frosted Glass Style) */
.project-card {
  padding: 15px 20px;
  border-radius: 20px;
  background: rgba(6, 26, 2, 0.6);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: none;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.project-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 20px;
  padding: 1px;
  background: linear-gradient(135deg, var(--glow-green) 0%, rgba(210, 241, 172, 0.3) 50%, rgba(210, 241, 172, 0.1) 100%);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}

.project-card__title {
  font-weight: 700;
  font-size: 18px;
  color: var(--glow-green);
  margin-bottom: var(--spacing-md);
}

.project-card__description {
  font-weight: 500;
  font-size: 14px;
  color: var(--anti-flash-white);
  margin-bottom: var(--spacing-md);
}

.project-card__tags {
  display: flex;
  flex-wrap: wrap;
  gap: var(--spacing-xs);
  margin-bottom: var(--spacing-md);
  flex-grow: 1;
  align-content: flex-start;
}

.project-card__divider {
  height: 1px;
  background: linear-gradient(to right, transparent, var(--stone), transparent);
  margin: var(--spacing-md) 0;
}

.project-card__actions {
  display: flex;
  justify-content: space-between;
  gap: var(--spacing-md);
  margin-top: auto;
  min-height: 24px;
}

.project-card__actions:empty {
  display: none;
}

/* Read Article always left, single link stays left */
.project-card__actions .project-card__link:only-child {
  margin-right: auto;
}

.project-card__link {
  font-weight: 500;
  font-size: 14px;
  color: var(--caribbean-green);
  transition: color 0.3s ease;
}

.project-card__link:hover {
  color: var(--glow-green);
}

/* ============================================
   PHOTOGRAPHY SECTION
   ============================================ */
.photography {
  padding: var(--spacing-2xl) var(--spacing-md);
}

.photography__terminal {
  margin-bottom: var(--spacing-md);
}

.photography__intro {
  font-weight: 400;
  font-size: 16px;
  margin-bottom: var(--spacing-xl);
  color: var(--anti-flash-white);
}

.photography__albums {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-2xl);
}

/* Album Card - Simple carousel style */
.album-card {
  margin-bottom: var(--spacing-xl);
  border-radius: 20px;
  overflow: hidden;
  background: linear-gradient(135deg, rgba(123, 223, 0, 0.08) 0%, rgba(6, 26, 2, 0.4) 100%);
  border: 1px solid rgba(210, 241, 172, 0.2);
  padding: var(--spacing-sm);
  max-width: var(--album-card-max-width-mobile, 100%);
  margin-left: auto;
  margin-right: auto;
}

@media (min-width: 768px) {
  .album-card {
    max-width: var(--album-card-max-width-tablet, 80%);
  }
}

@media (min-width: 1024px) {
  .album-card {
    max-width: var(--album-card-max-width-desktop, 60%);
  }
}

.album-card__carousel {
  position: relative;
  border-radius: 15px;
  overflow: hidden;
}

.album-card__track {
  display: flex;
  transition: transform 0.5s ease;
  -webkit-transition: -webkit-transform 0.5s ease;
  will-change: transform;
  -webkit-transform: translateZ(0); /* Safari GPU acceleration */
  transform: translateZ(0);
}

.album-card__slide {
  flex: 0 0 100%;
  aspect-ratio: var(--album-card-aspect-ratio-mobile, 16/10);
}

@media (min-width: 768px) {
  .album-card__slide {
    aspect-ratio: var(--album-card-aspect-ratio-tablet, 16/10);
  }
}

@media (min-width: 1024px) {
  .album-card__slide {
    aspect-ratio: var(--album-card-aspect-ratio-desktop, 16/10);
  }
}

.album-card__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  cursor: pointer;
  border-radius: 15px;
  display: block;
  -webkit-transform: translateZ(0); /* Safari GPU acceleration */
  transform: translateZ(0);
}

/* Mobile: ensure images are visible and sized properly */
@media (max-width: 767px) {
  .album-card {
    padding: var(--spacing-xs);
    margin-bottom: var(--spacing-lg);
  }
  
  .album-card__carousel {
    border-radius: 12px;
    overflow: visible; /* Allow image to be fully visible */
  }
  
  .album-card__track {
    overflow: visible;
  }
  
  .album-card__slide {
    flex: 0 0 100%;
    min-height: 250px;
    max-height: 60vh;
    height: auto;
    background: rgba(13, 13, 13, 0.3);
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    overflow: hidden;
  }
  
  .album-card__image {
    position: relative;
    width: 100%;
    height: auto;
    max-height: 60vh;
    object-fit: contain; /* Show full image without cropping */
    object-position: center;
    border-radius: 12px;
    display: block;
  }
}

.album-card__dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  padding: var(--spacing-md) 0 var(--spacing-sm);
}

.album-card__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--stone);
  cursor: pointer;
  transition: all 0.3s ease;
}

.album-card__dot.active {
  background: var(--caribbean-green);
  transform: scale(1.3);
}

/* Legacy Album styles (keep for backwards compatibility) */
.album {
  margin-bottom: var(--spacing-lg);
}

.album__title {
  font-family: var(--font-expanded);
  font-weight: 700;
  font-size: 18px;
  color: var(--caribbean-green);
  margin-bottom: var(--spacing-md);
}

.album__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--spacing-sm);
}

.album__image-wrapper {
  position: relative;
  overflow: hidden;
  border-radius: 10px;
  aspect-ratio: 4/3;
}

.album__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  cursor: pointer;
  transition: transform 0.3s ease;
}

.album__image:hover {
  transform: scale(1.05);
}

/* Album Header */
.album__header {
  display: flex;
  align-items: center;
  gap: var(--spacing-md);
  padding: var(--spacing-md);
  background: rgba(6, 26, 2, 0.6);
  border-radius: 10px;
  cursor: pointer;
  margin-bottom: var(--spacing-md);
  border: 1px solid rgba(123, 223, 0, 0.1);
  transition: all 0.3s ease;
}

.album__header:hover {
  border-color: rgba(123, 223, 0, 0.3);
}

.album__count {
  font-size: 14px;
  color: var(--stone);
}

.album__expand-icon {
  margin-left: auto;
  font-size: 20px;
  color: var(--caribbean-green);
  transition: transform 0.3s ease;
}

.album.is-expanded .album__expand-icon {
  transform: rotate(45deg);
}

.album__description {
  font-size: 14px;
  color: var(--stone);
  margin-bottom: var(--spacing-md);
  padding: 0 var(--spacing-md);
}

/* Album Carousel */
.album__carousel {
  position: relative;
  overflow: hidden;
  border-radius: 10px;
  margin-bottom: var(--spacing-md);
}

.album__carousel-track {
  display: flex;
  transition: transform 0.5s ease;
}

.album__carousel-slide {
  flex: 0 0 100%;
  aspect-ratio: 16/10;
}

.album__carousel-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 10px;
}

.album__carousel-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  padding: var(--spacing-sm) 0;
  margin-top: var(--spacing-sm);
}

.album__carousel-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--stone);
  cursor: pointer;
  transition: all 0.3s ease;
}

.album__carousel-dot.active {
  background: var(--caribbean-green);
  transform: scale(1.2);
}

/* Album Expanded (inline) */
.album__expanded {
  display: none;
  padding: var(--spacing-md);
  background: rgba(6, 26, 2, 0.4);
  border-radius: 10px;
  margin-top: var(--spacing-md);
}

.album.is-expanded .album__expanded {
  display: block;
  animation: expandIn 0.4s ease;
}

.album.is-expanded .album__carousel {
  display: none;
}

@keyframes expandIn {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.album__expanded-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--spacing-md);
}

.album__expanded-item {
  border-radius: 10px;
  overflow: hidden;
}

.album__expanded-item img {
  width: 100%;
  height: auto;
  display: block;
  cursor: pointer;
  transition: transform 0.3s ease;
}

.album__expanded-item img:hover {
  transform: scale(1.02);
}

/* Expanded Album View (legacy) */
.album-expanded {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--off-black);
  z-index: 3000;
  padding: var(--spacing-xl);
  overflow-y: auto;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.album-expanded.is-open {
  opacity: 1;
  visibility: visible;
}

.album-expanded__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: var(--spacing-xl);
}

.album-expanded__title {
  font-weight: 700;
  font-size: 24px;
  color: var(--glow-green);
}

.album-expanded__back {
  font-weight: 500;
  color: var(--caribbean-green);
}

.album-expanded__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--spacing-md);
}

.album-expanded__image {
  width: 100%;
  border-radius: 10px;
  cursor: pointer;
  transition: transform 0.3s ease;
}

.album-expanded__image:hover {
  transform: scale(1.02);
}

/* Photography See More Button */
.photography__see-more {
  display: flex;
  justify-content: center;
  margin-top: var(--spacing-xl);
}

/* Lightbox with Metadata Panel */
.lightbox {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.95);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  z-index: 4000;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--spacing-md);
}

.lightbox.is-open {
  opacity: 1;
  visibility: visible;
}

.lightbox__close {
  position: absolute;
  top: var(--spacing-md);
  right: var(--spacing-md);
  font-size: 32px;
  font-weight: 300;
  color: rgba(255, 255, 255, 0.6);
  z-index: 10;
  background: transparent;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.lightbox__close:hover {
  color: var(--caribbean-green);
}

.lightbox__content {
  display: flex;
  flex-direction: column;
  width: 100%;
  max-width: 1400px;
  gap: var(--spacing-lg);
  align-items: center;
  justify-content: center;
  margin: 0 auto;
}

/* Image container - holds image and nav buttons */
.lightbox__image-container {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.lightbox__image {
  display: block;
  max-width: 100%;
  max-height: 80vh;
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: 8px;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
}

.lightbox__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  color: rgba(255, 255, 255, 0.8);
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  width: 48px;
  height: 48px;
  display: none; /* Hidden on mobile by default */
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  z-index: 10;
}

.lightbox__nav:hover {
  background: rgba(0, 0, 0, 0.7);
  color: var(--caribbean-green);
  border-color: rgba(123, 223, 0, 0.5);
}

.lightbox__nav svg {
  width: 20px;
  height: 20px;
}

.lightbox__nav--prev {
  left: 10px;
}

.lightbox__nav--next {
  right: 10px;
}

/* Image counter */
.lightbox__counter {
  position: absolute;
  bottom: var(--spacing-md);
  left: 50%;
  transform: translateX(-50%);
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: var(--spacing-sm) var(--spacing-md);
  border-radius: 20px;
  font-family: 'Ubuntu Mono', monospace;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.9);
}

/* Metadata Panel */
.lightbox__metadata {
  width: 100%;
  max-width: 320px;
  padding: var(--spacing-lg);
  display: flex;
  flex-direction: column;
  background: rgba(13, 13, 13, 0.8);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(123, 223, 0, 0.3);
  border-radius: 12px;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
}

.lightbox__metadata-title {
  font-family: var(--font-expanded);
  font-weight: 700;
  font-size: 1.5rem;
  color: var(--caribbean-green);
  margin-bottom: var(--spacing-lg);
  line-height: 1.3;
}

.lightbox__metadata-exif {
  background: rgba(0, 0, 0, 0.4);
  border-radius: 8px;
  padding: var(--spacing-md);
  margin-bottom: var(--spacing-lg);
  border: 1px solid rgba(255, 255, 255, 0.1);
  font-family: 'Ubuntu Mono', monospace;
  font-size: 0.875rem;
}

.lightbox__metadata-exif .terminal-command {
  font-size: 0.75rem;
  margin-bottom: var(--spacing-sm);
  padding-bottom: var(--spacing-sm);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  letter-spacing: 0.05em;
}

.lightbox__exif-data {
  font-family: 'Ubuntu Mono', monospace;
  font-size: 0.875rem;
}

.lightbox__exif-row {
  display: flex;
  justify-content: space-between;
  padding: 4px 0;
}

.lightbox__exif-label {
  color: rgba(123, 223, 0, 0.6);
}

.lightbox__exif-value {
  color: var(--anti-flash-white);
  text-align: right;
}

.lightbox__metadata-desc {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.875rem;
  line-height: 1.6;
  margin-bottom: auto;
}

.lightbox__metadata-hint {
  margin-top: var(--spacing-lg);
  font-family: 'Ubuntu Mono', monospace;
  font-size: 0.75rem;
  color: rgba(123, 223, 0, 0.6);
}

.lightbox__metadata-hint span {
  display: block;
  margin-bottom: var(--spacing-sm);
  color: rgba(123, 223, 0, 0.4);
}

.lightbox__metadata-hint p {
  margin: 4px 0;
}

/* Mobile hint visibility */
.lightbox__hint-desktop {
  display: none;
}

.lightbox__hint-mobile {
  display: block;
}

/* Mobile: optimize for vertical images */
@media (max-width: 768px) {
  .lightbox {
    padding: 0;
    align-items: flex-start;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }

  .lightbox__content {
    width: 100%;
    max-width: 100%;
    gap: 0;
    padding: var(--spacing-sm);
    padding-bottom: var(--spacing-md);
    min-height: 100%;
  }

  .lightbox__image-container {
    width: 100%;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    min-height: 0;
    flex-shrink: 0;
    position: relative;
    margin-bottom: var(--spacing-md);
    /* Allow scrolling for tall vertical images */
    max-height: 70vh;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    /* Hide scrollbar but keep functionality */
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* IE and Edge */
  }
  
  .lightbox__image-container::-webkit-scrollbar {
    display: none; /* Chrome, Safari, Opera */
  }

  .lightbox__image {
    max-width: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    object-position: center top;
    /* Ensure vertical images don't overflow */
    display: block;
    margin: 0 auto;
    /* Remove max-height constraint to allow full image display with scrolling */
    /* Ensure image doesn't have any unwanted margins or padding */
    padding: 0;
    border: none;
  }

  .lightbox__metadata {
    width: 100%;
    max-width: 100%;
    flex-shrink: 0;
    padding: var(--spacing-md);
    max-height: none;
  }

  .lightbox__metadata-title {
    font-size: 1.25rem;
    margin-bottom: var(--spacing-md);
  }

  .lightbox__counter {
    position: absolute;
    bottom: var(--spacing-sm);
    right: var(--spacing-sm);
    left: auto;
    transform: none;
    margin: 0;
    display: block;
    z-index: 10;
    /* Smaller on mobile */
    padding: 6px 12px;
    font-size: 0.8rem;
  }

  .lightbox__close {
    top: var(--spacing-sm);
    right: var(--spacing-sm);
    width: 36px;
    height: 36px;
    font-size: 28px;
    z-index: 11;
  }
}

/* Desktop: side-by-side layout */
@media (min-width: 769px) {
  .lightbox__content {
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: var(--spacing-xl);
  }

  .lightbox__image-container {
    flex: 1 1 auto;
    min-width: 0;
    max-width: calc(100% - 320px - var(--spacing-xl));
  }

  .lightbox__nav {
    display: flex;
  }

  .lightbox__metadata {
    width: 320px;
    flex-shrink: 0;
    max-height: 80vh;
    overflow-y: auto;
  }

  .lightbox__hint-desktop {
    display: block;
  }

  .lightbox__hint-mobile {
    display: none;
  }
}

/* Large desktop */
@media (min-width: 1200px) {
  .lightbox__nav--prev {
    left: var(--spacing-lg);
  }

  .lightbox__nav--next {
    right: var(--spacing-lg);
  }

  .lightbox__nav {
    width: 64px;
    height: 64px;
  }

  .lightbox__nav svg {
    width: 28px;
    height: 28px;
  }
}

/* Legacy lightbox styles for album carousel (if needed) */
.lightbox__album-carousel {
  display: none;
}

.lightbox__album-title {
  font-family: var(--font-expanded);
  font-weight: 700;
  font-size: 14px;
  color: var(--caribbean-green);
  text-align: center;
  margin-bottom: var(--spacing-sm);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.lightbox__album-track {
  display: flex;
  gap: var(--spacing-sm);
  overflow-x: auto;
  padding: var(--spacing-sm) 0;
  scroll-behavior: smooth;
  justify-content: center;
  flex-wrap: nowrap;
}

.lightbox__album-thumb {
  flex-shrink: 0;
  width: 60px;
  height: 60px;
  border-radius: 8px;
  overflow: hidden;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all 0.3s ease;
  opacity: 0.6;
}

.lightbox__album-thumb:hover {
  opacity: 1;
  border-color: var(--stone);
}

.lightbox__album-thumb.is-active {
  border-color: var(--caribbean-green);
  opacity: 1;
  transform: scale(1.1);
}

.lightbox__album-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ============================================
   PHOTOGRAPHY PAGE (Standalone Pinterest-style)
   ============================================ */
.photography-page {
  min-height: 100vh;
  padding-top: 80px; /* Header height */
}

.photography-page__header {
  padding: var(--spacing-2xl) 0;
  border-bottom: 1px solid rgba(123, 223, 0, 0.1);
}

.photography-page__back {
  display: inline-flex;
  align-items: center;
  gap: var(--spacing-sm);
  color: var(--caribbean-green);
  font-weight: 500;
  font-size: 14px;
  margin-bottom: var(--spacing-lg);
  transition: color 0.3s ease;
}

.photography-page__back:hover {
  color: var(--glow-green);
}

.photography-page__back-arrow {
  font-size: 18px;
}

.photography-page__title {
  font-family: var(--font-expanded);
  font-weight: 700;
  font-size: clamp(2rem, 5vw, 3rem);
  color: var(--glow-green);
  margin-bottom: var(--spacing-md);
}

.photography-page__intro {
  color: var(--anti-flash-white);
  max-width: 600px;
}

.photography-page__gallery {
  padding: var(--spacing-2xl) 0;
}

/* Masonry Grid */
.masonry-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--spacing-md);
}

.masonry-item {
  position: relative;
  border-radius: 10px;
  overflow: hidden;
  cursor: pointer;
  break-inside: avoid;
  transition: transform 0.4s ease, opacity 0.4s ease;
}

.masonry-item__image {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.4s ease;
}

.masonry-item:hover {
  transform: scale(1.02) !important;
  z-index: 10;
}

.masonry-item:hover .masonry-item__image {
  transform: scale(1.05);
}

.masonry-item__overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: var(--spacing-md);
  background: linear-gradient(to top, rgba(0, 0, 0, 0.8) 0%, transparent 100%);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.masonry-item:hover .masonry-item__overlay {
  opacity: 1;
}

.masonry-item__album-name {
  font-family: var(--font-expanded);
  font-weight: 700;
  font-size: 12px;
  color: var(--caribbean-green);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* Tablet: 3 columns */
@media (min-width: 768px) {
  .masonry-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .masonry-item__album-name {
    font-size: 14px;
  }
}

/* Desktop: CSS Columns for true masonry effect */
@media (min-width: 1024px) {
  .masonry-grid {
    display: block;
    column-count: 3;
    column-gap: var(--spacing-md);
  }

  .masonry-item {
    margin-bottom: var(--spacing-md);
  }

  .photography-page__header {
    padding: var(--spacing-3xl) 0;
  }

  .photography-page__gallery {
    padding: var(--spacing-3xl) 0;
  }
}

/* Mobile: single column and contain images to avoid cropping */
@media (max-width: 767px) {
  .masonry-grid {
    grid-template-columns: 1fr;
  }

  .masonry-item__image {
    height: auto;
    object-fit: contain;
  }
}

/* Large desktop: 4 columns */
@media (min-width: 1400px) {
  .masonry-grid {
    column-count: 4;
  }
}

/* Legacy lightbox album thumbs */
@media (min-width: 768px) {
  .lightbox__album-thumb {
    width: 70px;
    height: 70px;
  }
}

@media (min-width: 1024px) {
  .lightbox__album-thumb {
    width: 80px;
    height: 80px;
  }
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
  padding: var(--spacing-2xl) var(--spacing-md);
  text-align: center;
  background: var(--anti-flash-white);
  color: var(--off-black);
}

.footer__social {
  display: flex;
  justify-content: center;
  gap: var(--spacing-md);
  margin-bottom: var(--spacing-xl);
}

.footer__social-link {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--off-black);
  border-radius: 8px;
  color: var(--caribbean-green);
  font-size: 24px;
  transition: all 0.3s ease;
}

.footer__social-link:hover {
  background: var(--neutral-black);
  transform: translateY(-2px);
}

.footer__contact {
  margin-bottom: var(--spacing-xl);
}

.footer__contact-item {
  font-size: 14px;
  color: var(--off-black);
  margin-bottom: var(--spacing-sm);
}

.footer__contact-link {
  color: var(--dark-green);
}

.footer__credit {
  font-size: 12px;
  color: var(--stone);
}

.footer__credit-link {
  color: var(--caribbean-green);
  text-decoration: underline;
  transition: color 0.2s ease;
}

.footer__credit-link:hover {
  color: var(--glow-green);
}

/* ============================================
   ARTICLE PAGE
   ============================================ */
.article {
  max-width: 720px;
  margin: 0 auto;
  padding: calc(80px + var(--spacing-2xl)) var(--spacing-md) var(--spacing-2xl);
}

.article__back {
  display: inline-flex;
  align-items: center;
  gap: var(--spacing-sm);
  font-weight: 500;
  color: var(--caribbean-green);
  margin-bottom: var(--spacing-xl);
  transition: color 0.3s ease;
}

.article__back:hover {
  color: var(--glow-green);
}

.article__header {
  margin-bottom: var(--spacing-2xl);
}

.article__title {
  font-size: clamp(2rem, 6vw, 3rem);
  font-weight: 800;
  font-style: italic;
  color: var(--glow-green);
  margin-bottom: var(--spacing-md);
}

.article__meta {
  display: flex;
  flex-wrap: wrap;
  gap: var(--spacing-md);
  font-size: 14px;
  color: var(--stone);
  margin-bottom: var(--spacing-lg);
}

.article__tags {
  display: flex;
  flex-wrap: wrap;
  gap: var(--spacing-xs);
}

.article__featured-image {
  width: 100%;
  border-radius: 15px;
  margin-bottom: var(--spacing-2xl);
}

.article__content {
  font-weight: 400;
  font-size: 18px;
  line-height: 1.7;
  color: var(--anti-flash-white);
}

.article__content h2 {
  font-weight: 700;
  font-size: 24px;
  color: var(--glow-green);
  margin-top: var(--spacing-2xl);
  margin-bottom: var(--spacing-lg);
}

.article__content h3 {
  font-weight: 700;
  font-size: 20px;
  color: var(--caribbean-green);
  margin-top: var(--spacing-xl);
  margin-bottom: var(--spacing-md);
}

.article__content p {
  margin-bottom: var(--spacing-lg);
}

.article__content a {
  color: var(--caribbean-green);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.article__content code {
  font-family: 'Courier New', monospace;
  background: var(--neutral-black);
  padding: 2px 6px;
  border-radius: 4px;
  font-size: 0.9em;
}

.article__content pre {
  background: var(--neutral-black);
  padding: var(--spacing-lg);
  border-radius: 10px;
  overflow-x: auto;
  margin-bottom: var(--spacing-lg);
}

.article__content pre code {
  background: none;
  padding: 0;
}

.article__content blockquote {
  border-left: 3px solid var(--caribbean-green);
  padding-left: var(--spacing-lg);
  margin: var(--spacing-xl) 0;
  font-style: italic;
  color: var(--pistachio);
}

.article__content ul,
.article__content ol {
  margin-bottom: var(--spacing-lg);
  padding-left: var(--spacing-xl);
}

.article__content li {
  margin-bottom: var(--spacing-sm);
}

.article__content ul li {
  list-style-type: disc;
}

.article__content ol li {
  list-style-type: decimal;
}

.article__content img {
  width: 100%;
  border-radius: 10px;
  margin: var(--spacing-lg) 0;
}

.article__content figcaption {
  font-size: 14px;
  color: var(--stone);
  text-align: center;
  margin-top: var(--spacing-sm);
}

.article__content strong {
  font-weight: 700;
  color: var(--glow-green);
}

.article__content em {
  font-style: italic;
  color: var(--pistachio);
}

.article__content hr {
  border: none;
  border-top: 1px solid var(--stone);
  margin: var(--spacing-2xl) 0;
  opacity: 0.5;
}

/* ============================================
   SECTION BACKGROUND SYMBOLS (Outline Style)
   ============================================ */
.section-bg-symbols {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
  -webkit-transform: translateZ(0); /* Safari GPU acceleration */
  transform: translateZ(0);
}

.section-bg-symbol {
  position: absolute;
  opacity: 0.6;
  animation: float-symbol 20s ease-in-out infinite;
  -webkit-animation: float-symbol 20s ease-in-out infinite;
  will-change: transform, opacity;
  /* Removed backdrop-filter for better Safari mobile compatibility */
}

.section-bg-symbol svg {
  stroke: rgba(123, 223, 0, 0.8);
  stroke-width: 0.636px;
  fill: none;
  display: block; /* Fix Safari rendering */
  -webkit-transform: translateZ(0);
  transform: translateZ(0);
}

.section-bg-symbol svg path,
.section-bg-symbol svg circle,
.section-bg-symbol svg rect,
.section-bg-symbol svg polygon,
.section-bg-symbol svg line {
  stroke: rgba(123, 223, 0, 0.8);
  stroke-width: 0.636px;
  fill: none;
  vector-effect: non-scaling-stroke; /* Consistent stroke width on Safari */
}

@-webkit-keyframes float-symbol {
  0%, 100% {
    -webkit-transform: translateY(0) rotate(0deg);
    transform: translateY(0) rotate(0deg);
  }
  50% {
    -webkit-transform: translateY(-15px) rotate(5deg);
    transform: translateY(-15px) rotate(5deg);
  }
}

@keyframes float-symbol {
  0%, 100% {
    -webkit-transform: translateY(0) rotate(0deg);
    transform: translateY(0) rotate(0deg);
  }
  50% {
    -webkit-transform: translateY(-15px) rotate(5deg);
    transform: translateY(-15px) rotate(5deg);
  }
}

/* Each section needs position relative for symbols */
.biography,
.curriculum,
.experience,
.projects,
.photography {
  position: relative;
}

/* ============================================
   RESPONSIVE - TABLET
   ============================================ */
@media (min-width: 768px) {
  /* Hero buttons - tablet */
  .btn {
    padding: var(--btn-padding-tablet, 15px 36px);
    font-size: var(--btn-font-size-tablet, 15px);
  }

  .biography__grid {
    gap: var(--spacing-lg);
  }

  .photo-frame {
    width: 300px;
  }

  .projects__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .album-expanded__grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* ============================================
   RESPONSIVE - DESKTOP
   ============================================ */
@media (min-width: 1024px) {
  /* Base body font size increase for desktop */
  body {
    font-size: 18px;
  }

  .menu-btn {
    display: none;
  }

  .nav-desktop {
    display: block;
  }

  .header__status {
    position: static;
    transform: none;
    margin-left: var(--spacing-md);
    margin-right: auto;
  }

  .lang-switcher--floating {
    display: flex;
  }

  /* Hero section - larger on desktop */
  .hero__title {
    font-size: 5rem;
  }

  .hero__subtitle {
    font-size: 2rem;
  }

  /* Hero buttons - larger on desktop */
  .btn {
    padding: var(--btn-padding-desktop, 16px 40px);
    font-size: var(--btn-font-size-desktop, 16px);
  }

  .section {
    padding: var(--spacing-3xl) 0;
  }

  .container {
    padding: 0 var(--spacing-xl);
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
  }

  /* Terminal commands - larger on desktop */
  .terminal-command {
    font-size: 1.4em;
  }

  /* Marquee section dividers - keep reasonable size */
  .marquee__text {
    font-size: 2rem;
  }

  /* Biography section */
  .bio__text {
    font-size: 1.15rem;
  }

  .bio__status-text {
    font-size: 1.1rem;
  }

  /* Photo frame - larger and cropped on desktop */
  .photo-frame {
    width: 320px;
    min-height: 400px;
  }

  .photo-frame img {
    object-position: center 20%;
  }

  /* Curriculum section */
  .curriculum__intro {
    font-size: 18px;
  }

  .curriculum__header {
    font-size: 22px;
  }

  .skills-category__title {
    font-size: 18px;
  }

  .skill-badge {
    font-size: 18px;
    padding: 8px 16px;
  }

  /* Experience section */
  .experience__intro {
    font-size: 18px;
  }

  .experience-card {
    padding: 20px 28px;
  }

  .experience-card__title {
    font-size: 22px;
  }

  .experience-card__subtitle {
    font-size: 16px;
  }

  .experience-card__date {
    font-size: 14px;
  }

  .experience-card__company-link {
    font-size: 16px;
  }

  .experience-card__location {
    font-size: 14px;
  }

  .experience-card__responsibility {
    font-size: 16px;
  }

  /* Project cards */
  .project-card__title {
    font-size: 22px;
  }

  .project-card__description {
    font-size: 16px;
  }

  /* Photography section */
  .album__title {
    font-size: 22px;
  }

  /* Footer */
  .footer__credit {
    font-size: 1rem;
  }
}

/* ============================================
   UTILITIES
   ============================================ */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.hidden {
  display: none !important;
}

.visible {
  display: block !important;
}

/* ============================================
   TERMINAL COMPONENT
   Interactive Terminal Simulation
   ============================================ */
#terminal-mode {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 9000;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(13, 13, 13, 0.95);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

#terminal-mode.hidden {
  display: none;
}

.terminal {
  width: 95%;
  max-width: 900px;
  height: 85vh;
  max-height: 700px;
  display: flex;
  flex-direction: column;
  background: var(--off-black);
  border: 1px solid var(--dark-green);
  border-radius: 12px;
  box-shadow:
    0 0 60px rgba(133, 218, 29, 0.1),
    0 25px 50px -12px rgba(0, 0, 0, 0.8),
    inset 0 1px 0 rgba(210, 241, 172, 0.1);
  overflow: hidden;
}

/* Terminal Header (Title Bar) */
.terminal__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  background: linear-gradient(180deg, var(--neutral-black) 0%, var(--off-black) 100%);
  border-bottom: 1px solid var(--dark-green);
}

.terminal__header-dots {
  display: flex;
  gap: 8px;
}

.terminal__dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
}

.terminal__dot--red {
  background: #ff5f56;
}

.terminal__dot--yellow {
  background: #ffbd2e;
}

.terminal__dot--green {
  background: #27c93f;
}

.terminal__header-title {
  font-family: 'Ubuntu Mono', 'Courier New', monospace;
  font-size: 13px;
  color: var(--stone);
  flex: 1;
  text-align: center;
}

.terminal__header-actions {
  display: flex;
  gap: 8px;
}

.terminal__btn {
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: 1px solid var(--stone);
  border-radius: 4px;
  color: var(--stone);
  font-size: 16px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.terminal__btn:hover {
  background: var(--caribbean-green);
  border-color: var(--caribbean-green);
  color: var(--off-black);
}

.terminal__btn--close:hover {
  background: #ff5f56;
  border-color: #ff5f56;
}

/* Terminal Body */
.terminal__body {
  flex: 1;
  padding: 16px;
  overflow-y: auto;
  font-family: 'Ubuntu Mono', 'Courier New', monospace;
  font-size: 14px;
  line-height: 1.6;
  color: var(--anti-flash-white);
  background: var(--off-black);
}

.terminal__body::-webkit-scrollbar {
  width: 8px;
}

.terminal__body::-webkit-scrollbar-track {
  background: var(--neutral-black);
}

.terminal__body::-webkit-scrollbar-thumb {
  background: var(--dark-green);
  border-radius: 4px;
}

.terminal__body::-webkit-scrollbar-thumb:hover {
  background: var(--caribbean-green);
}

/* Terminal Output */
.terminal__output {
  margin-bottom: 16px;
}

.terminal__line {
  margin-bottom: 2px;
  white-space: pre-wrap;
  word-break: break-word;
}

.terminal__line--output {
  color: var(--anti-flash-white);
}

.terminal__line--error {
  color: #ff5f56;
}

.terminal__line--command {
  color: var(--stone);
}

.terminal__line--hint {
  color: var(--sunny);
  font-style: italic;
}

.terminal__prompt-output {
  color: var(--caribbean-green);
}

/* Clickable elements in output */
.terminal__clickable {
  color: var(--caribbean-green);
  cursor: pointer;
  transition: color 0.2s ease;
}

.terminal__clickable:hover {
  color: var(--glow-green);
  text-decoration: underline;
}

/* Directory, file, and tag highlighting */
.terminal__dir {
  color: var(--frost);
}

.terminal__file {
  color: var(--glow-green);
}

.terminal__link {
  color: var(--frost);
  text-decoration: underline;
}

.terminal__link:hover {
  color: var(--sunny);
}

.terminal__tag {
  color: var(--caribbean-green);
  background: rgba(133, 218, 29, 0.1);
  padding: 0 4px;
  border-radius: 3px;
}

/* Input Line */
.terminal__input-line {
  display: flex;
  align-items: center;
  gap: 8px;
}

.terminal__prompt {
  color: var(--caribbean-green);
  font-weight: 700;
  white-space: nowrap;
  flex-shrink: 0;
}

.terminal__input-wrapper {
  display: flex;
  align-items: center;
  flex: 1;
  min-width: 0;
}

.terminal__input {
  background: transparent;
  border: none;
  outline: none;
  color: var(--anti-flash-white);
  font-family: 'Ubuntu Mono', 'Courier New', monospace;
  font-size: 14px;
  caret-color: transparent;
  width: auto;
  min-width: 1ch;
  max-width: 100%;
}

.terminal__cursor {
  color: var(--caribbean-green);
  animation: terminalBlink 0.8s ease-in-out infinite;
  flex-shrink: 0;
}

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

/* Quick Actions (Mobile) */
.terminal__quick-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 12px 16px;
  background: var(--neutral-black);
  border-top: 1px solid var(--dark-green);
}

.terminal__quick-btn {
  padding: 6px 12px;
  background: rgba(133, 218, 29, 0.1);
  border: 1px solid var(--caribbean-green);
  border-radius: 20px;
  color: var(--caribbean-green);
  font-family: 'Ubuntu Mono', 'Courier New', monospace;
  font-size: 12px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.terminal__quick-btn:hover {
  background: var(--caribbean-green);
  color: var(--off-black);
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .terminal {
    width: 100%;
    height: 100%;
    max-height: 100%;
    border-radius: 0;
    border: none;
  }

  .terminal__body {
    font-size: 13px;
    padding: 12px;
  }

  .terminal__header-title {
    font-size: 11px;
  }

  .terminal__quick-actions {
    padding: 10px 12px;
  }

  .terminal__quick-btn {
    padding: 5px 10px;
    font-size: 11px;
  }
}

@media (min-width: 1024px) {
  .terminal {
    max-width: 1000px;
  }

  .terminal__body {
    font-size: 15px;
    padding: 20px;
  }

  .terminal__quick-actions {
    display: none; /* Hide quick actions on desktop - users can type */
  }
}
