@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&family=Space+Grotesk:wght@500;700&display=swap');

:root {
  --bg-dark: #07090e;
  --bg-card: rgba(15, 23, 42, 0.65);
  --bg-card-hover: rgba(30, 41, 59, 0.85);
  --border-glow: rgba(16, 185, 129, 0.25);
  --primary-emerald: #10b981;
  --primary-cyan: #06b6d4;
  --accent-blue: #3b82f6;
  --text-main: #f8fafc;
  --text-muted: #94a3b8;
  --font-main: 'Plus Jakarta Sans', sans-serif;
  --font-heading: 'Space Grotesk', sans-serif;
}

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

/* Prevent initial flash of hidden modals before JS execution */
#about-modal, #yt-modal, #email-modal, #contact-modal {
  display: none !important;
}

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

/* Typography */
h1, h2, h3, h4, .brand-font {
  font-family: var(--font-heading);
}

.gradient-text {
  background: linear-gradient(135deg, #10b981 0%, #06b6d4 50%, #60a5fa 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.gradient-text-gold {
  background: linear-gradient(135deg, #f59e0b 0%, #fbbf24 50%, #d97706 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Glassmorphism Cards */
.glass-panel {
  background: var(--bg-card);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.glass-panel:hover {
  border-color: var(--border-glow);
  box-shadow: 0 25px 50px rgba(16, 185, 129, 0.12);
  transform: translateY(-2px);
}

.glass-panel-active {
  background: var(--bg-card-hover);
  border-color: var(--primary-emerald);
  box-shadow: 0 0 25px rgba(16, 185, 129, 0.25);
}

/* Buttons */
.btn-primary {
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
  color: #ffffff;
  font-weight: 700;
  padding: 14px 28px;
  border-radius: 12px;
  border: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  transition: all 0.25s ease;
  box-shadow: 0 10px 25px rgba(16, 185, 129, 0.3);
  text-decoration: none;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 15px 35px rgba(16, 185, 129, 0.45);
  background: linear-gradient(135deg, #34d399 0%, #10b981 100%);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.05);
  color: #f8fafc;
  font-weight: 600;
  padding: 14px 28px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  transition: all 0.25s ease;
  text-decoration: none;
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.3);
  transform: translateY(-2px);
}

/* Badges */
.pill-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 9999px;
  font-size: 0.85rem;
  font-weight: 600;
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(16, 185, 129, 0.3);
  color: var(--primary-emerald);
}

/* Custom Range Slider */
input[type=range] {
  -webkit-appearance: none;
  width: 100%;
  background: transparent;
}

input[type=range]:focus {
  outline: none;
}

input[type=range]::-webkit-slider-runnable-track {
  width: 100%;
  height: 8px;
  cursor: pointer;
  background: #1e293b;
  border-radius: 4px;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

input[type=range]::-webkit-slider-thumb {
  height: 22px;
  width: 22px;
  border-radius: 50%;
  background: #10b981;
  cursor: pointer;
  -webkit-appearance: none;
  margin-top: -7px;
  box-shadow: 0 0 12px #10b981;
  transition: transform 0.15s ease;
}

input[type=range]::-webkit-slider-thumb:hover {
  transform: scale(1.2);
}

/* Modal Overlay */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(3, 7, 18, 0.85);
  backdrop-filter: blur(8px);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.modal-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

/* Pulse animation */
@keyframes pulse-glow {
  0%, 100% {
    box-shadow: 0 0 15px rgba(16, 185, 129, 0.4);
  }
  50% {
    box-shadow: 0 0 30px rgba(16, 185, 129, 0.8);
  }
}

.pulse-button {
  animation: pulse-glow 2.5s infinite;
}

/* ==========================================================================
   RETROSHELL CRT TERMINAL STYLES
   ========================================================================== */

:root {
  --term-fg-amber: #ffb000;
  --term-bg-amber: #0a0800;
  --term-glow-amber: rgba(255, 176, 0, 0.35);
  
  --term-fg-green: #33ff66;
  --term-bg-green: #020f04;
  --term-glow-green: rgba(51, 255, 102, 0.35);
  
  --term-fg-white: #e2e8f0;
  --term-bg-white: #050b14;
  --term-glow-white: rgba(226, 232, 240, 0.3);
  
  --term-fg: var(--term-fg-amber);
  --term-bg: var(--term-bg-amber);
  --term-glow: var(--term-glow-amber);
  --font-mono: 'Courier New', Courier, monospace, 'Space Grotesk';
}

/* Theme palette classes */
.theme-amber {
  --term-fg: var(--term-fg-amber);
  --term-bg: var(--term-bg-amber);
  --term-glow: var(--term-glow-amber);
}

.theme-green {
  --term-fg: var(--term-fg-green);
  --term-bg: var(--term-bg-green);
  --term-glow: var(--term-glow-green);
}

.theme-white {
  --term-fg: var(--term-fg-white);
  --term-bg: var(--term-bg-white);
  --term-glow: var(--term-glow-white);
}

/* Terminal Outer Monitor Bezels - Edge to Edge Fullscreen */
.retroshell-frame {
  position: relative;
  width: 100%;
  max-width: 100%;
  height: 100dvh;
  min-height: 100vh;
  border-radius: 0;
  border: none;
  box-shadow: none;
  overflow: hidden;
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  transition: opacity 0.2s ease, filter 0.2s ease;
}

/* Screen transition fade */
.retroshell-frame.screen-fade {
  opacity: 0.15;
  filter: brightness(0.2);
  transition: opacity 0.2s ease, filter 0.2s ease;
}

/* CRT Screen Inner Surface */
.retroshell-screen {
  background-color: var(--term-bg);
  color: var(--term-fg);
  font-family: var(--font-mono);
  position: relative;
  width: 100%;
  max-width: 100%;
  height: 100dvh;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  box-sizing: border-box;
  overflow-x: hidden;
  text-shadow: 0 0 4px var(--term-glow);
  transition: background-color 0.3s ease, color 0.3s ease;
}

/* Header Bar */
.retroshell-header {
  background: rgba(0, 0, 0, 0.4);
  border-b: 1px solid rgba(255, 255, 255, 0.1);
  padding: 8px 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.75rem;
  letter-spacing: 0.05em;
  user-select: none;
}

/* CRT Scanlines Overlay */
.crt-overlay {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  pointer-events: none;
  z-index: 10;
}

.crt-scanlines {
  background: linear-gradient(
    to bottom,
    rgba(255,255,255,0) 50%,
    rgba(0, 0, 0, 0.35) 50%
  );
  background-size: 100% 4px;
}

.crt-vignette {
  box-shadow: inset 0 0 80px rgba(0, 0, 0, 0.85);
}

.crt-flicker {
  animation: crt-flicker-anim 0.15s infinite alternate;
}

@keyframes crt-flicker-anim {
  0% { opacity: 0.97; }
  100% { opacity: 1; }
}

/* Terminal Content Body & Output Log */
.retroshell-body {
  flex: 1;
  padding: 16px 20px;
  overflow-y: auto;
  font-size: 1.25rem;
  line-height: 1.6;
  scroll-behavior: smooth;
}

.retroshell-body::-webkit-scrollbar {
  width: 6px;
}
.retroshell-body::-webkit-scrollbar-track {
  background: rgba(0,0,0,0.3);
}
.retroshell-body::-webkit-scrollbar-thumb {
  background: var(--term-fg);
  border-radius: 3px;
  opacity: 0.5;
}

/* Command Prompt Line */
.retroshell-prompt-line {
  display: flex;
  align-items: center;
  position: relative;
  margin-top: 6px;
  font-weight: 600;
  white-space: pre-wrap;
  word-break: break-all;
}

.retroshell-prompt-symbol {
  margin-right: 8px;
  color: var(--term-fg);
  user-select: none;
  flex-shrink: 0;
  font-size: 1.25rem;
}

.retroshell-input-container {
  position: relative;
  display: inline-flex;
  align-items: center;
  flex: 1;
  min-width: 0;
}

.retroshell-typed-text {
  color: var(--term-fg);
  font-family: var(--font-mono);
  font-size: 1.25rem;
  white-space: pre;
  text-shadow: 0 0 4px var(--term-glow);
}

/* Blinking Block Cursor (1.06s) */
.retroshell-cursor {
  display: inline-block;
  width: 10px;
  height: 1.2em;
  background-color: var(--term-fg);
  vertical-align: middle;
  box-shadow: 0 0 6px var(--term-fg);
  animation: crt-cursor-blink 1.06s steps(1, start) infinite;
  flex-shrink: 0;
  margin-left: 1px;
}

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

.retroshell-ghost {
  color: var(--term-fg);
  opacity: 0.35;
  font-family: var(--font-mono);
  font-size: 1.05rem;
  pointer-events: none;
  white-space: pre;
}

/* Completely invisible input overlay for keyboard focus & capture */
.retroshell-input,
.retroshell-input:focus,
.retroshell-input:active,
.retroshell-input:focus-visible {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0 !important;
  background: transparent !important;
  border: none !important;
  outline: none !important;
  box-shadow: none !important;
  -webkit-appearance: none;
  appearance: none;
  cursor: default;
  z-index: 10;
}

/* Terminal Lines & Formatting */
.term-line {
  margin-bottom: 3px;
  word-break: break-word;
  white-space: pre-wrap;
  text-align: left;
  font-size: 1.25rem;
}

.term-line.ascii-art {
  font-size: clamp(0.70rem, 2.6vw, 1.15rem);
  line-height: 1.15;
  white-space: pre;
  overflow-x: auto;
  margin-top: 4px;
  margin-bottom: 4px;
  text-align: left;
}

/* Clickable Retro Links */
.term-link {
  font-weight: bold;
  transition: all 0.2s ease;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin: 2px 2px;
  padding: 2px 8px;
  border-radius: 4px;
  font-size: 0.9em;
  line-height: 1.2;
}

.term-link:hover {
  opacity: 1;
}

.term-link-yt {
  color: #ff3344;
  background: rgba(255, 0, 51, 0.18);
  border: 1px solid rgba(255, 0, 51, 0.7);
  box-shadow: 0 0 10px rgba(255, 0, 51, 0.4);
  text-shadow: 0 0 6px rgba(255, 0, 51, 0.8);
}

.term-link-yt:hover {
  background: #ff0033;
  color: #ffffff;
  box-shadow: 0 0 18px rgba(255, 0, 51, 1);
  text-shadow: none;
}

.term-link-wa {
  color: #25d366;
  background: rgba(37, 211, 102, 0.18);
  border: 1px solid rgba(37, 211, 102, 0.7);
  box-shadow: 0 0 10px rgba(37, 211, 102, 0.4);
  text-shadow: 0 0 6px rgba(37, 211, 102, 0.8);
}

.term-link-wa:hover {
  background: #25d366;
  color: #051a0e;
  box-shadow: 0 0 18px rgba(37, 211, 102, 1);
  text-shadow: none;
}

.term-link-about {
  color: #60a5fa;
  background: rgba(59, 130, 246, 0.22);
  border: 1px solid rgba(59, 130, 246, 0.8);
  box-shadow: 0 0 12px rgba(59, 130, 246, 0.5);
  text-shadow: 0 0 6px rgba(59, 130, 246, 0.9);
}

.term-link-about:hover {
  background: #3b82f6;
  color: #ffffff;
  box-shadow: 0 0 22px rgba(59, 130, 246, 1);
  text-shadow: none;
}

.yt-badge {
  background: #ff0033;
  color: #ffffff;
  font-size: 0.75em;
  padding: 1px 5px;
  border-radius: 3px;
  font-weight: 900;
  letter-spacing: 0.5px;
  text-shadow: none;
  box-shadow: 0 0 6px rgba(255, 0, 51, 0.8);
}

.wa-badge {
  background: #25d366;
  color: #051a0e;
  font-size: 0.75em;
  padding: 1px 5px;
  border-radius: 3px;
  font-weight: 900;
  letter-spacing: 0.5px;
  text-shadow: none;
  box-shadow: 0 0 6px rgba(37, 211, 102, 0.8);
}

.about-badge {
  background: #3b82f6;
  color: #ffffff;
  font-size: 0.75em;
  padding: 1px 5px;
  border-radius: 3px;
  font-weight: 900;
  letter-spacing: 0.5px;
  text-shadow: none;
  box-shadow: 0 0 8px rgba(59, 130, 246, 0.8);
}

.term-line.system {
  opacity: 0.85;
}

.term-line.agent {
  color: var(--term-fg);
}

.term-line.user-cmd {
  font-weight: bold;
}

/* Inline Terminal Neofetch Photo CRT Filter & Roll Animations */
.neofetch-photo {
  filter: sepia(1) hue-rotate(-15deg) saturate(3) contrast(1.25) brightness(0.95);
  transition: filter 0.3s ease;
}

.theme-amber .neofetch-photo {
  filter: sepia(1) hue-rotate(-15deg) saturate(3) contrast(1.25) brightness(0.95);
}

.theme-green .neofetch-photo {
  filter: sepia(1) hue-rotate(85deg) saturate(4) contrast(1.3) brightness(0.95);
}

.theme-white .neofetch-photo {
  filter: sepia(1) hue-rotate(140deg) saturate(2.5) contrast(1.2) brightness(1);
}

/* Roll Photo Into View (CRT Slide & Unfold) */
@keyframes crtPhotoRollIn {
  0% {
    opacity: 0;
    transform: translateY(-35px) scaleY(0.1) rotate(-3deg);
    filter: sepia(1) hue-rotate(-15deg) saturate(6) contrast(2.2) brightness(1.6);
  }
  60% {
    opacity: 1;
    transform: translateY(4px) scaleY(1.06) rotate(1deg);
    filter: sepia(1) hue-rotate(-15deg) saturate(3.5) contrast(1.4) brightness(1.1);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scaleY(1) rotate(0deg);
  }
}

/* Roll Photo Out of View (CRT Shrink & Slide Away) */
@keyframes crtPhotoRollOut {
  0% {
    opacity: 1;
    transform: translateY(0) scaleY(1);
  }
  30% {
    transform: translateY(-5px) scaleY(1.05);
  }
  100% {
    opacity: 0;
    transform: translateY(50px) scaleY(0.05);
    filter: brightness(2) contrast(3);
  }
}

.neofetch-photo-rolling {
  animation: crtPhotoRollIn 0.85s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  transform-origin: top center;
}

.neofetch-photo-rollout {
  animation: crtPhotoRollOut 0.75s cubic-bezier(0.7, 0, 0.84, 0) forwards;
  transform-origin: bottom center;
}

.term-line.error {
  color: #ef4444;
  text-shadow: 0 0 4px rgba(239, 68, 68, 0.5);
}

.term-highlight {
  font-weight: bold;
  text-decoration: underline;
}

/* Status Bar Footer */
.retroshell-footer {
  background: rgba(0, 0, 0, 0.6);
  border-t: 1px solid rgba(255, 255, 255, 0.1);
  padding: 6px 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  flex-wrap: wrap;
  font-size: 0.7rem;
  letter-spacing: 0.05em;
  user-select: none;
}

.retroshell-btn {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: var(--term-fg);
  font-family: var(--font-mono);
  font-size: 0.65rem;
  padding: 2px 8px;
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.retroshell-btn:hover {
  background: rgba(255, 255, 255, 0.2);
  border-color: var(--term-fg);
}

/* Mobile Responsiveness Overrides for RetroShell (Aggressively Doubled Font Size for High Readability) */
@media (max-width: 640px) {
  .retroshell-header {
    padding: 8px 12px;
    font-size: 0.95rem;
  }
  .retroshell-body {
    padding: 10px 12px;
    font-size: 1.8rem !important;
    line-height: 1.5;
  }
  .retroshell-footer {
    padding: 8px 10px;
    font-size: 0.9rem;
  }
  .retroshell-btn {
    padding: 5px 12px;
    font-size: 0.9rem;
  }
  .retroshell-prompt-symbol,
  .retroshell-typed-text,
  .retroshell-ghost,
  .retroshell-line,
  .term-line,
  .term-line *,
  .retroshell-body * {
    font-size: 1.8rem !important;
  }
  .term-link,
  .term-link-yt,
  .term-link-wa,
  .term-link-about {
    font-size: 1.6rem !important;
  }
  .term-line.ascii-art {
    font-size: clamp(0.85rem, 3.6vw, 1.4rem) !important;
  }
  .retroshell-cursor {
    width: 10px;
    height: 1.1em;
  }
}

@media (max-width: 480px) {
  .retroshell-body {
    padding: 8px 10px;
    font-size: 1.7rem !important;
    line-height: 1.5;
  }
  .retroshell-prompt-symbol,
  .retroshell-typed-text,
  .retroshell-ghost,
  .retroshell-line,
  .term-line,
  .term-line *,
  .retroshell-body * {
    font-size: 1.7rem !important;
  }
  .term-link,
  .term-link-yt,
  .term-link-wa,
  .term-link-about {
    font-size: 1.5rem !important;
  }
  .term-line.ascii-art {
    font-size: clamp(0.8rem, 3.4vw, 1.25rem) !important;
  }
}

/* ==========================================================================
   Clean 9:16 Vertical Video Modal Styling
   ========================================================================== */
#yt-modal {
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  bottom: 0 !important;
  width: 100% !important;
  height: 100dvh !important;
  z-index: 99999 !important;
  background-color: rgba(0, 0, 0, 0.90) !important;
  backdrop-filter: blur(16px) !important;
  -webkit-backdrop-filter: blur(16px) !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 12px !important;
  box-sizing: border-box !important;
  margin: 0 !important;
  overflow: hidden !important;
}

#yt-modal.hidden {
  display: none !important;
}

#yt-modal-card {
  position: relative !important;
  margin: auto !important;
  width: 90vw !important;
  max-width: 340px !important;
  aspect-ratio: 9 / 16 !important;
  max-height: 82vh !important;
  box-sizing: border-box !important;
  transform: translate3d(0,0,0);
}

@media (min-width: 640px) {
  #yt-modal-card {
    max-width: 380px !important;
    max-height: 85vh !important;
  }
}

.yt-wa-container {
  position: absolute !important;
  bottom: 20% !important;
  left: 12px !important;
  right: 12px !important;
  z-index: 40 !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  pointer-events: auto !important;
}

@media (min-width: 640px) {
  .yt-wa-container {
    bottom: 24% !important;
    left: -28px !important;
    right: 16px !important;
  }
}

/* Dynamic Modal Theme Colors & Glow */
#yt-modal-card.theme-amber, #about-modal-card.theme-amber {
  border-color: rgba(245, 158, 11, 0.6);
  box-shadow: 0 0 50px rgba(245, 158, 11, 0.35);
}
#yt-modal-card.theme-amber #yt-modal-header {
  border-bottom-color: rgba(245, 158, 11, 0.3);
}
#yt-modal-card.theme-amber #yt-modal-title {
  color: #f59e0b;
}
#yt-modal-card.theme-amber #yt-modal-next {
  background: rgba(245, 158, 11, 0.15);
  color: #fbbf24;
  border-color: rgba(245, 158, 11, 0.4);
}
#yt-modal-card.theme-amber #yt-modal-next:hover {
  background: #f59e0b;
  color: #000000;
}

#yt-modal-card.theme-green, #about-modal-card.theme-green {
  border-color: rgba(16, 185, 129, 0.6);
  box-shadow: 0 0 50px rgba(16, 185, 129, 0.35);
}
#yt-modal-card.theme-green #yt-modal-header {
  border-bottom-color: rgba(16, 185, 129, 0.3);
}
#yt-modal-card.theme-green #yt-modal-title {
  color: #10b981;
}
#yt-modal-card.theme-green #yt-modal-next {
  background: rgba(16, 185, 129, 0.15);
  color: #34d399;
  border-color: rgba(16, 185, 129, 0.4);
}
#yt-modal-card.theme-green #yt-modal-next:hover {
  background: #10b981;
  color: #000000;
}

#yt-modal-card.theme-cyan, #about-modal-card.theme-cyan {
  border-color: rgba(6, 182, 212, 0.6);
  box-shadow: 0 0 50px rgba(6, 182, 212, 0.35);
}
#yt-modal-card.theme-cyan #yt-modal-header {
  border-bottom-color: rgba(6, 182, 212, 0.3);
}
#yt-modal-card.theme-cyan #yt-modal-title {
  color: #06b6d4;
}
#yt-modal-card.theme-cyan #yt-modal-next {
  background: rgba(6, 182, 212, 0.15);
  color: #22d3ee;
  border-color: rgba(6, 182, 212, 0.4);
}
#yt-modal-card.theme-cyan #yt-modal-next:hover {
  background: #06b6d4;
  color: #000000;
}

/* Explicit Creme White Translucent Override for About & Email Modals */
#about-modal {
  background: rgba(244, 239, 223, 0.88) !important;
  backdrop-filter: blur(20px) !important;
  -webkit-backdrop-filter: blur(20px) !important;
}

#about-modal-card {
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  max-width: 100% !important;
  width: 100% !important;
}

#email-modal-card {
  background: rgba(244, 239, 223, 0.96) !important;
  backdrop-filter: blur(16px) !important;
  -webkit-backdrop-filter: blur(16px) !important;
  color: #0f172a !important;
  border: 1px solid rgba(217, 119, 6, 0.35) !important;
  box-shadow: 0 0 80px rgba(245, 158, 11, 0.2) !important;
}

#email-modal-card .bg-slate-900 {
  background-color: rgba(244, 239, 223, 0.95) !important;
}

/* About Modal Mobile Overrides */
@media (max-width: 640px) {
  #about-modal {
    padding: 12px !important;
  }
  #about-modal-card {
    padding-top: 0 !important;
    padding-bottom: 0 !important;
  }
  #about-modal .space-y-6 > * + *,
  #about-modal .space-y-10 > * + * {
    margin-top: 1rem !important;
  }
}

#yt-modal-card.theme-orange {
  border-color: rgba(249, 115, 22, 0.6);
  box-shadow: 0 0 50px rgba(249, 115, 22, 0.35);
}
#yt-modal-card.theme-orange #yt-modal-header {
  border-bottom-color: rgba(249, 115, 22, 0.3);
}
#yt-modal-card.theme-orange #yt-modal-title {
  color: #f97316;
}
#yt-modal-card.theme-orange #yt-modal-next {
  background: rgba(249, 115, 22, 0.15);
  color: #fb923c;
  border-color: rgba(249, 115, 22, 0.4);
}
#yt-modal-card.theme-orange #yt-modal-next:hover {
  background: #f97316;
  color: #000000;
}

/* Floating ASCII Badge Animation & Theme Glow */
@keyframes floatBadge {
  0%, 100% { transform: translate(-50%, 0); }
  50% { transform: translate(-50%, -4px); }
}

#yt-ascii-badge {
  animation: floatBadge 3.5s ease-in-out infinite;
}

#yt-modal-card.theme-amber #yt-ascii-badge {
  border-color: rgba(245, 158, 11, 0.7);
  box-shadow: 0 0 25px rgba(245, 158, 11, 0.6);
  color: #fbbf24;
}
#yt-modal-card.theme-green #yt-ascii-badge {
  border-color: rgba(16, 185, 129, 0.7);
  box-shadow: 0 0 25px rgba(16, 185, 129, 0.6);
  color: #34d399;
}
#yt-modal-card.theme-cyan #yt-ascii-badge {
  border-color: rgba(6, 182, 212, 0.7);
  box-shadow: 0 0 25px rgba(6, 182, 212, 0.6);
  color: #22d3ee;
}
#yt-modal-card.theme-orange #yt-ascii-badge {
  border-color: rgba(249, 115, 22, 0.7);
  box-shadow: 0 0 25px rgba(249, 115, 22, 0.6);
  color: #fb923c;
}

/* ==========================================================================
   DYNAMIC HOUSE STYLE THEMING (Amber, Green, White)
   ========================================================================== */

/* AMBER HOUSE STYLE (Default) */
body[data-theme="amber"] .btn-primary,
body[data-theme="amber"] #header-contact-btn {
  background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%) !important;
  box-shadow: 0 10px 25px rgba(245, 158, 11, 0.4) !important;
  color: #05070a !important;
}

body[data-theme="amber"] .btn-primary:hover,
body[data-theme="amber"] #header-contact-btn:hover {
  background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%) !important;
  box-shadow: 0 15px 35px rgba(245, 158, 11, 0.6) !important;
}

body[data-theme="amber"] .brand-logo-icon {
  background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%) !important;
  box-shadow: 0 0 20px rgba(245, 158, 11, 0.4) !important;
  color: #05070a !important;
}

body[data-theme="amber"] .brand-plus-accent,
body[data-theme="amber"] .footer-brand-accent {
  color: #f59e0b !important;
}

body[data-theme="amber"] .nav-mrr-badge {
  background: rgba(245, 158, 11, 0.12) !important;
  color: #fbbf24 !important;
  border-color: rgba(245, 158, 11, 0.3) !important;
}

body[data-theme="amber"] .nav-link:hover {
  color: #fbbf24 !important;
}

/* GREEN HOUSE STYLE */
body[data-theme="green"] .btn-primary,
body[data-theme="green"] #header-contact-btn {
  background: linear-gradient(135deg, #10b981 0%, #059669 100%) !important;
  box-shadow: 0 10px 25px rgba(16, 185, 129, 0.4) !important;
  color: #ffffff !important;
}

body[data-theme="green"] .btn-primary:hover,
body[data-theme="green"] #header-contact-btn:hover {
  background: linear-gradient(135deg, #34d399 0%, #10b981 100%) !important;
  box-shadow: 0 15px 35px rgba(16, 185, 129, 0.6) !important;
}

body[data-theme="green"] .brand-logo-icon {
  background: linear-gradient(135deg, #10b981 0%, #06b6d4 100%) !important;
  box-shadow: 0 0 20px rgba(16, 185, 129, 0.4) !important;
  color: #05070a !important;
}

body[data-theme="green"] .brand-plus-accent,
body[data-theme="green"] .footer-brand-accent {
  color: #10b981 !important;
}

body[data-theme="green"] .nav-mrr-badge {
  background: rgba(16, 185, 129, 0.12) !important;
  color: #34d399 !important;
  border-color: rgba(16, 185, 129, 0.3) !important;
}

body[data-theme="green"] .nav-link:hover {
  color: #34d399 !important;
}

/* WHITE / ICE HOUSE STYLE */
body[data-theme="white"] .btn-primary,
body[data-theme="white"] #header-contact-btn {
  background: linear-gradient(135deg, #38bdf8 0%, #0284c7 100%) !important;
  box-shadow: 0 10px 25px rgba(56, 189, 248, 0.4) !important;
  color: #05070a !important;
}

body[data-theme="white"] .btn-primary:hover,
body[data-theme="white"] #header-contact-btn:hover {
  background: linear-gradient(135deg, #7dd3fc 0%, #38bdf8 100%) !important;
  box-shadow: 0 15px 35px rgba(56, 189, 248, 0.6) !important;
}

body[data-theme="white"] .brand-logo-icon {
  background: linear-gradient(135deg, #e2e8f0 0%, #38bdf8 100%) !important;
  box-shadow: 0 0 20px rgba(56, 189, 248, 0.4) !important;
  color: #05070a !important;
}

body[data-theme="white"] .brand-plus-accent,
body[data-theme="white"] .footer-brand-accent {
  color: #38bdf8 !important;
}

body[data-theme="white"] .nav-mrr-badge {
  background: rgba(56, 189, 248, 0.12) !important;
  color: #7dd3fc !important;
  border-color: rgba(56, 189, 248, 0.3) !important;
}

body[data-theme="white"] .nav-link:hover {
  color: #7dd3fc !important;
}
