:root {
  --bg-dark: #0a0f15;
  --bg-card: rgba(26, 31, 42, 0.8);
  --accent-mc: #55aa5e;
  --accent-photo: #ff6b5a;
  --neon-glow: #00ff88;
  --text-main: #e8f0fe;
  --text-muted: #a8b8c8;
  --border-glow: rgba(0, 255, 136, 0.3);
  --pixel-font: 'Courier New', monospace;
  --font-main: -apple-system, BlinkMacSystemFont, sans-serif;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
@keyframes liquid-drift { 0% { transform: rotate(0deg); } 100% { transform: rotate(360deg); } }
body {
  font-family: var(--font-main);
  background: #0a0f15;
  color: var(--text-main);
  line-height: 1.6;
  position: relative;
  min-height: 100vh;
  overflow-x: hidden;
  animation: pageFadeIn 0.6s cubic-bezier(0.2, 0.8, 0.2, 1);
}
body::before, body::after {
  content: ''; position: fixed; width: 600px; height: 600px;
  border-radius: 40% 60% 70% 30% / 40% 50% 60% 50%;
  filter: blur(80px); z-index: -1; opacity: 0.25;
  animation: liquid-drift 25s linear infinite;
}
body::before { top: -100px; left: -100px; background: linear-gradient(135deg, var(--accent-mc), var(--neon-glow)); }
body::after { bottom: -100px; right: -100px; background: linear-gradient(135deg, var(--accent-photo), #ff0055); animation-duration: 30s; animation-direction: reverse; }
a { text-decoration: none; color: inherit; }
.wrapper { max-width: 1400px; margin: 0 auto; padding: 2rem 1.5rem; }

/* NAVBAR */
.nav {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1.5rem; padding: 1rem 1.5rem; background: rgba(10, 15, 21, 0.95);
  border: 2px solid var(--border-glow); border-radius: 12px;
  position: sticky; top: 1rem; backdrop-filter: blur(20px);
  box-shadow: 0 8px 32px rgba(0, 255, 136, 0.15); z-index: 100;
}
.nav-logo {
  font-family: var(--pixel-font); font-size: 1.2rem; font-weight: 700;
  background: linear-gradient(135deg, var(--accent-mc), var(--neon-glow));
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
  text-shadow: 0 0 20px rgba(0, 255, 136, 0.4); letter-spacing: 2px;
}
.nav-links { display: flex; gap: 1.5rem; font-weight: 500; }
.nav-links a {
  padding: 0.75rem 1.25rem; border: 1px solid transparent; border-radius: 25px;
  color: var(--text-muted); font-weight: 500; transition: all 0.3s ease; position: relative; overflow: hidden;
}
.nav-links a.active, .nav-links a:hover {
  border-color: var(--border-glow); color: var(--neon-glow);
  box-shadow: 0 0 20px var(--border-glow); background: rgba(0, 255, 136, 0.05);
}
.nav-cta { display: flex; gap: 1rem; }
.menu-toggle { display: none; background: none; border: none; color: var(--text-main); font-size: 1.8rem; cursor: pointer; z-index: 200; }
.close-menu { display: none; }

/* BUTTONS */
.btn {
  padding: 0.75rem 1.5rem; border: none; border-radius: 25px; font-weight: 600; cursor: pointer;
  transition: all 0.3s ease; font-size: 0.9rem; position: relative; overflow: hidden; z-index: 1;
}
.btn::before {
  content: ''; position: absolute; top: 100%; left: 0; width: 100%; height: 100%;
  background: linear-gradient(0deg, rgba(255,255,255,0.2), transparent);
  transition: top 0.4s cubic-bezier(0.4, 0, 0.2, 1); z-index: -1;
  border-radius: 50% 50% 0 0; transform: scale(2.5);
}
.btn:hover::before { top: -50%; }
.btn-primary { background: linear-gradient(135deg, var(--accent-mc), var(--neon-glow)); color: #000; box-shadow: 0 4px 20px rgba(85, 170, 94, 0.4); }
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 8px 30px rgba(0, 255, 136, 0.6); }
.btn-secondary { background: transparent; color: var(--neon-glow); border: 2px solid var(--border-glow); }
.btn-secondary:hover { background: rgba(0, 255, 136, 0.1); box-shadow: 0 0 25px var(--border-glow); }

/* COMMON PANELS */
main { margin-top: 2rem; }
.panel {
  background: linear-gradient(145deg, var(--bg-card), rgba(26, 31, 42, 0.8));
  border: 2px solid var(--border-glow); border-radius: 16px; padding: 2rem; margin-bottom: 2rem;
  position: relative; overflow: hidden; box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5); transition: all 0.3s ease;
}
.panel-header {
  display: flex; justify-content: space-between; align-items: center; margin-bottom: 1.5rem;
  padding-bottom: 1rem; border-bottom: 1px solid var(--border-glow); flex-wrap: wrap; gap: 1rem;
}
.panel-title {
  font-family: var(--pixel-font); font-size: 1.4rem;
  background: linear-gradient(135deg, var(--neon-glow), var(--accent-photo));
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; letter-spacing: 2px;
}
.pill {
  padding: 0.5rem 1rem; border-radius: 25px; font-size: 0.85rem; font-weight: 600; border: 1px solid var(--border-glow);
  background: rgba(0, 255, 136, 0.1); color: var(--neon-glow); box-shadow: 0 0 15px rgba(0, 255, 136, 0.3);
}
.pill-mc { background: rgba(85, 170, 94, 0.2); color: var(--accent-mc); border-color: rgba(85, 170, 94, 0.5); }
.pill-photo { background: rgba(255, 107, 90, 0.2); color: var(--accent-photo); border-color: rgba(255, 107, 90, 0.5); }
.panel-body { font-size: 1rem; color: var(--text-muted); margin-bottom: 1.5rem; line-height: 1.7; }
.panel-list { list-style: none; display: grid; gap: 0.75rem; margin-bottom: 1.5rem; }
.panel-list li { padding-left: 1.5rem; position: relative; color: var(--text-main); }
.panel-list li::before { content: '▣'; position: absolute; left: 0; color: var(--neon-glow); font-size: 0.8rem; text-shadow: 0 0 10px var(--neon-glow); }
.photo-signature {
  margin-top: 1.5rem; font-family: var(--pixel-font); font-size: 1rem; color: var(--neon-glow);
  text-align: center; padding: 1rem; background: rgba(0, 255, 136, 0.1); border-radius: 12px; border: 1px solid var(--border-glow);
}
footer {
  margin-top: 3rem; padding: 2rem; border: 2px solid var(--border-glow); border-radius: 16px;
  background: rgba(10, 15, 21, 0.9); display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 1.5rem; font-size: 0.95rem; box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
}
footer strong {
  background: linear-gradient(135deg, var(--neon-glow), var(--accent-photo));
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}

/* PAGE TRANSITIONS */
@keyframes pageFadeIn { 0% { opacity: 0; transform: translateY(15px); } 100% { opacity: 1; transform: translateY(0); } }
body.page-exit { animation: pageFadeOut 0.4s ease-in forwards; pointer-events: none; }
@keyframes pageFadeOut { 0% { opacity: 1; transform: scale(1); } 100% { opacity: 0; transform: scale(0.98); } }

/* --- MOBILE RESPONSIVE BLOCK --- */
@media (max-width: 768px) {
  .wrapper { padding: 1rem; }
  .nav { flex-wrap: wrap; padding: 0.75rem 1.25rem; }
  .menu-toggle { display: block; }
  
  /* Mobile Drawer */
  .nav-links {
    position: fixed; top: 0; right: -100%; width: 75%; height: 100vh;
    background: rgba(10, 15, 21, 0.98); backdrop-filter: blur(20px);
    flex-direction: column; justify-content: center; align-items: center; gap: 2rem;
    transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1); z-index: 150;
    border-left: 1px solid var(--border-glow); box-shadow: -10px 0 40px rgba(0,0,0,0.5);
  }
  .nav-links.active { right: 0; }
  .nav-links a { font-size: 1.2rem; width: 80%; text-align: center; padding: 1rem; }
  
  /* Show close button on mobile */
  .close-menu { display: block; position: absolute; top: 20px; right: 30px; font-size: 2.5rem; cursor: pointer; color: var(--text-muted); }
  
  .nav-cta { display: none; } /* Hide header CTA on mobile to save space */
  .panel-title { font-size: 1.2rem; }
  .split-container { flex-direction: column; gap: 1rem; }
  
  /* Disable hover effects on mobile */
  .split-container:hover .split-panel { opacity: 1; filter: none; transform: none; }
  
  .photo-grid { grid-template-columns: 1fr; gap: 1rem; }
  .lightbox-close { top: 15px; right: 20px; font-size: 2.5rem; padding: 10px; }
}
