/* =========================================
   GLOBAL RESET & FONTS
   ========================================= */
* { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --font-mono: 'JetBrains Mono', monospace;
  --font-serif: 'Playfair Display', serif;
  --font-sans: 'DM Sans', sans-serif;
  
  /* IDE Colors (VS Code Dark Theme) */
  --ide-bg: #1e1e1e;
  --ide-panel: #252526;
  --ide-bar: #333333;
  --ide-activity: #333333;
  --ide-accent: #007acc;
  --ide-text: #cccccc;
  --ide-keyword: #c586c0;
  --ide-function: #dcdcaa;
  --ide-string: #ce9178;
  --ide-variable: #9cdcfe;
  --ide-comment: #6a9955;
  --ide-number: #b5cea8;
  --ide-border: #3b3b3b;
  
  /* Pro Colors */
  --pro-bg: #faf9f6; /* Off-white */
  --pro-text: #1a1a1a;
  --pro-text-muted: #666666;
}

body {
  overflow: hidden;
  background-color: var(--pro-bg); /* Default background is pro bg now */
  color: var(--pro-text);
  font-family: var(--font-mono);
  font-size: 14px;
}
body.ide-active {
  background-color: var(--ide-bg);
}

.universe {
  position: absolute; inset: 0;
  opacity: 0; pointer-events: none; visibility: hidden;
  transition: opacity 0.8s cubic-bezier(0.2,0.8,0.2,1), visibility 0.8s;
}
.universe.active {
  opacity: 1; pointer-events: auto; visibility: visible;
}


/* =========================================
   UNIVERSE 2: THE IDE (Detailed VS Code)
   ========================================= */
#ide-universe {
  display: flex; flex-direction: column; cursor: default;
  color: var(--ide-text);
}

/* Top Menu Bar */
.ide-topmenu {
  height: 35px; background-color: var(--ide-bar);
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 10px; border-bottom: 1px solid var(--ide-border);
  user-select: none;
}
.topmenu-left { display: flex; align-items: center; gap: 15px; }
.window-controls { display: flex; gap: 8px; }
.control { width: 12px; height: 12px; border-radius: 50%; cursor: pointer;}
.control.close { background: #ff5f56; }
.control.minimize { background: #ffbd2e; }
.control.maximize { background: #27c93f; }

.menu-items { display: flex; gap: 15px; font-size: 13px; color: #ccc;}
.menu-item { cursor: pointer; padding: 4px 6px; border-radius: 4px; }
.menu-item:hover { background-color: rgba(255,255,255,0.1); }

.ide-title { font-size: 12px; color: #888; text-align: center; position: absolute; left: 50%; transform: translateX(-50%); }

.topmenu-right { display: flex; align-items: center; }
.exit-ide-btn {
  background: transparent; color: var(--ide-accent);
  border: 1px solid var(--ide-accent); padding: 4px 12px; border-radius: 4px;
  font-family: var(--font-sans); font-weight: bold; cursor: pointer; font-size: 12px;
  transition: all 0.2s;
}
.exit-ide-btn:hover { background: rgba(0, 122, 204, 0.2); }

/* Body */
.ide-body {
  display: flex; flex: 1; overflow: hidden;
}

/* Activity Bar (Far Left) */
.activity-bar {
  width: 50px; background-color: var(--ide-activity);
  display: flex; flex-direction: column; justify-content: space-between; align-items: center;
  padding: 10px 0; border-right: 1px solid var(--ide-border);
}
.activity-top, .activity-bottom { display: flex; flex-direction: column; gap: 20px; align-items: center;}
.activity-icon {
  font-size: 24px; color: #858585; cursor: pointer; position: relative; width: 100%; text-align: center;
  border-left: 2px solid transparent; padding: 5px 0; display: flex; justify-content: center;
}
.activity-icon.active { color: #fff; border-left-color: var(--ide-accent); }
.activity-icon:hover { color: #fff; }
.badge {
  position: absolute; bottom: 0; right: 8px; background: var(--ide-accent); color: #fff;
  font-size: 10px; padding: 2px 5px; border-radius: 10px; font-weight: bold; font-family: sans-serif;
}
/* Activity Bar Tooltips */
.tooltip-wrap::after {
  content: attr(data-tooltip); position: absolute; left: 55px; top: 50%; transform: translateY(-50%);
  background: #000; color: #ccc; padding: 4px 8px; font-size: 12px; font-family: var(--font-sans);
  border-radius: 4px; pointer-events: none; opacity: 0; white-space: nowrap; z-index: 100; border: 1px solid #333;
}
.tooltip-wrap:hover::after { opacity: 1; }

/* Sidebar */
.ide-sidebar {
  width: 250px; background-color: var(--ide-panel); border-right: 1px solid var(--ide-border);
  display: flex; flex-direction: column; overflow-y: auto;
}
.sidebar-header {
  padding: 10px 20px; font-size: 11px; text-transform: uppercase; color: #ccc; letter-spacing: 0px; font-weight: bold;
}
.folder-name {
  padding: 4px 10px; cursor: pointer; font-weight: bold; display: flex; align-items: center; gap: 5px; color: #ccc; text-transform: uppercase; font-size: 11px;
}
.folder-name:hover { background-color: rgba(255,255,255,0.05); }
.file-list { list-style: none; display: none; }
.folder.open .file-list { display: block; }
.file-item {
  padding: 4px 10px 4px 25px; cursor: pointer; display: flex; align-items: center; justify-content: space-between; color: #ccc; font-size: 13px;
}
.file-item-left { display: flex; align-items: center; gap: 6px; }
.file-item:hover { background-color: rgba(255,255,255,0.05); color: #fff; }
.file-item.active { background-color: rgba(255,255,255,0.1); color: #fff; }
.icon { font-weight: bold; font-family: sans-serif; font-size: 12px; width: 14px; text-align: center;}
.icon.markdown { color: #69b4e7; }
.icon.python { color: #f0db4f; }
.icon.json { color: #e3b341; }
.icon.img { color: #a074c4; }

/* Git Status */
.git-status { font-family: sans-serif; font-size: 11px; font-weight: bold; }
.git-status.modified { color: #e2c08d; }
.git-status.untracked { color: #73c991; }

/* Editor */
.ide-editor {
  flex: 1; display: flex; flex-direction: column; background-color: var(--ide-bg);
}
.editor-tabs {
  display: flex; background-color: var(--ide-bg); overflow-x: auto;
}
.editor-tabs::-webkit-scrollbar { height: 2px; }
.editor-tabs::-webkit-scrollbar-thumb { background: #555; }
.tab {
  padding: 8px 15px; cursor: pointer; border-right: 1px solid var(--ide-border);
  border-top: 1px solid transparent; color: #888; background-color: var(--ide-panel);
  display: flex; align-items: center; gap: 8px; font-size: 13px;
}
.tab.active { background-color: var(--ide-bg); color: #fff; border-top-color: var(--ide-accent); }
.close-tab { opacity: 0; padding: 2px; cursor: pointer; margin-left: 5px; }
.tab:hover .close-tab { opacity: 1; }
.git-m { color: #e2c08d; font-size: 10px; margin-left: 4px; }
.git-u { color: #73c991; font-size: 10px; margin-left: 4px; }

.breadcrumbs {
  padding: 5px 15px; background: var(--ide-bg); border-bottom: 1px solid var(--ide-border);
  font-size: 12px; color: #888;
}

.editor-viewport { flex: 1; overflow-y: auto; position: relative; display: flex;}
.editor-viewport::-webkit-scrollbar { width: 12px; }
.editor-viewport::-webkit-scrollbar-thumb { background: #424242; border-left: 2px solid var(--ide-bg); }
.editor-viewport::-webkit-scrollbar-track { background: var(--ide-bg); }

/* Minimap */
.minimap {
  position: absolute; right: 0; top: 0; width: 60px; height: 100%;
  background: rgba(255,255,255,0.02); border-left: 1px solid var(--ide-border);
  pointer-events: none;
  background-image: repeating-linear-gradient(0deg, transparent, transparent 4px, rgba(255,255,255,0.05) 4px, rgba(255,255,255,0.05) 6px);
  z-index: 10; opacity: 0.5;
}

.file-content { display: none; min-height: 100%; flex: 1; padding: 15px; padding-right: 70px; }
.file-content.active { display: flex; }
.line-numbers { text-align: right; width: 40px; padding-right: 15px; color: #858585; user-select: none; line-height: 1.6; }
.code-area { flex: 1; line-height: 1.6; font-size: 14px; }

/* Markdown Styles inside IDE */
.markdown-styles h1 { color: #fff; margin-bottom: 10px; font-weight: normal; font-size: 22px;}
.markdown-styles h3 { color: #ddd; margin-bottom: 10px; font-weight: normal;}
.markdown-styles p, .markdown-styles li { color: #ccc; }
.markdown-styles ul { padding-left: 20px; }
.markdown-styles blockquote { border-left: 3px solid var(--ide-string); padding-left: 10px; color: #aaa; margin-bottom: 10px;}

.syntax-keyword { color: var(--ide-keyword); }
.syntax-function { color: var(--ide-function); }
.syntax-string { color: var(--ide-string); text-decoration: none;}
.syntax-variable { color: var(--ide-variable); }
.syntax-comment { color: var(--ide-comment); }
.syntax-number { color: var(--ide-number); }
.syntax-bracket { color: #ffd700; }
.code-link { color: var(--ide-string); text-decoration: underline; text-underline-offset: 4px; cursor: pointer; }

/* Terminal */
.ide-terminal { height: 250px; background-color: var(--ide-bg); border-top: 1px solid var(--ide-border); display: flex; flex-direction: column; }
.terminal-header { padding: 0 20px; border-bottom: 1px solid var(--ide-border); display: flex; justify-content: space-between; align-items: center; height: 35px;}
.term-tabs { display: flex; gap: 20px; height: 100%;}
.term-tab { display: flex; align-items: center; font-size: 11px; color: #888; cursor: pointer; border-bottom: 1px solid transparent;}
.term-tab.active { color: #e7e7e7; border-bottom: 1px solid var(--ide-accent); }
.term-actions { display: flex; align-items: center; gap: 15px; color: #ccc; }
.term-icon { cursor: pointer; font-size: 14px; }
.term-icon:hover { color: #fff; }

.run-code-btn { background: transparent; color: var(--ide-comment); border: 1px solid var(--ide-comment); padding: 2px 8px; border-radius: 4px; cursor: pointer; font-family: inherit; font-size: 12px; }
.run-code-btn:hover { background: rgba(106, 153, 85, 0.2); }
.terminal-body { flex: 1; padding: 10px 20px; overflow-y: auto; color: #ccc; font-size: 13px; }
.terminal-body::-webkit-scrollbar { width: 10px; }
.terminal-body::-webkit-scrollbar-thumb { background: #555; border-radius: 0; }
.prompt { color: var(--ide-accent); margin-right: 8px; }

/* Status Bar */
.ide-statusbar {
  height: 22px; background-color: var(--ide-accent); color: #fff;
  display: flex; justify-content: space-between; align-items: center;
  padding: 0 10px; font-size: 11px;
}
body.ide-active .ide-statusbar { background-color: var(--ide-accent); }
.status-left, .status-right { display: flex; gap: 15px; align-items: center;}
.status-item { cursor: pointer; display: flex; align-items: center; }
.status-item:hover { background: rgba(255,255,255,0.2); }

/* Image Viewer Simulator Detailed */
.image-viewer {
  display: flex; flex-direction: column; align-items: center; justify-content: center; width: 100%; height: 100%; min-height: 300px;
  background-image: radial-gradient(rgba(255,255,255,0.1) 1px, transparent 0); background-size: 20px 20px;
}
.mock-neural-net {
  display: flex; gap: 60px; align-items: center; background: rgba(30,30,30,0.8); padding: 40px; border-radius: 12px;
  border: 1px solid #444; position: relative;
}
.node-layer { display: flex; flex-direction: column; gap: 20px; position: relative;}
.net-line { width: 60px; height: 2px; background: rgba(255,255,255,0.1); position: relative;}
.node { width: 40px; height: 40px; border-radius: 50%; background: #333; border: 2px solid #555; position: relative; z-index: 2;}
.node.active { background: #007acc; border-color: #005f9e; animation: pulseNode 2s infinite alternate; }
.node.print { width: 80px; height: auto; border-radius: 4px; padding: 10px; color: #fff; font-family: var(--font-sans); font-weight: bold; font-size: 14px; text-align: center; border-color: #c586c0;}
@keyframes pulseNode { 0% { transform: scale(1); } 100% { transform: scale(1.1); box-shadow: 0 0 15px rgba(0,122,204,0.5); } }


/* =========================================
   UNIVERSE 1: PRO STYLING (NOW UNIVERSE 1 / DEFAULT)
   ========================================= */
#pro-universe {
  background-color: var(--pro-bg); color: var(--pro-text);
  font-family: var(--font-sans);
  cursor: none; /* Hide default cursor to use custom magnetic cursor */
}

/* Fluid Background */
.fluid-bg {
  position: absolute; inset: -50%; z-index: -1;
  background: radial-gradient(circle at 10% 20%, rgba(0, 0, 0, 0.03) 0%, transparent 40%),
              radial-gradient(circle at 80% 80%, rgba(0, 0, 0, 0.02) 0%, transparent 40%);
  filter: blur(80px);
  animation: liquidShift 20s infinite alternate linear;
}
@keyframes liquidShift { 0% { transform: scale(1) translate(0,0); } 100% { transform: scale(1.1) translate(10%, 10%); } }

/* Because #pro-universe hides overflow, we let the inner container scroll */
.pro-scroll-container {
  height: 100vh; overflow-y: auto; overflow-x: hidden; scroll-behavior: smooth;
}
.pro-scroll-container::-webkit-scrollbar { display: none; } /* Super clean */

/* Custom Cursor */
.custom-cursor {
  position: fixed; top: 0; left: 0; width: 14px; height: 14px;
  background-color: var(--pro-text); border-radius: 50%;
  pointer-events: none; z-index: 9999;
  transform: translate(-50%, -50%);
  transition: width 0.3s cubic-bezier(0.2,0.8,0.2,1), height 0.3s cubic-bezier(0.2,0.8,0.2,1), background-color 0.3s, mix-blend-mode 0.3s;
  display: block; /* Visible by default now */
}
body.ide-active .custom-cursor { display: none; }
.custom-cursor.hover { width: 80px; height: 80px; background-color: rgba(26, 26, 26, 0.1); border: 1px solid rgba(26,26,26,0.2); backdrop-filter: blur(2px); }

/* Pro Nav */
.pro-nav {
  position: fixed; top: 0; left: 0; width: 100%; padding: 2.5rem 5rem;
  display: flex; justify-content: space-between; align-items: center;
  z-index: 100; color: var(--pro-text); mix-blend-mode: multiply;
}
.nav-logo { font-size: 2rem; font-weight: 700; font-family: var(--font-serif); }
.launch-ide-btn {
  background: transparent; border: 1px solid rgba(0,0,0,0.1); color: var(--pro-text);
  font-family: var(--font-mono); font-size: 0.9rem; font-weight: 500;
  cursor: none; padding: 0.8rem 1.5rem; border-radius: 999px;
  transition: background 0.3s;
}
.launch-ide-btn:hover { background: rgba(0,0,0,0.05); }

/* Sticky Socials */
.pro-socials {
  position: fixed; bottom: 3rem; left: 5rem;
  display: flex; flex-direction: column; gap: 1.5rem;
  z-index: 100; mix-blend-mode: multiply;
}
.pro-socials a {
  color: var(--pro-text); text-decoration: none; font-size: 0.9rem; font-weight: 700;
  letter-spacing: 1px; cursor: none; opacity: 0.6; transition: opacity 0.3s;
}
.pro-socials a:hover { opacity: 1; }

/* Layout Container */
.pro-container {
  max-width: 1400px; margin: 0 auto; padding: 0 5rem;
}

/* Hero Section */
.pro-hero {
  height: 100vh; display: flex; align-items: center; justify-content: center;
  padding: 0 4rem; text-align: center; position: relative;
}
.hero-subtitle {
  font-size: 1rem; text-transform: uppercase; letter-spacing: 4px;
  margin-bottom: 2.5rem; color: var(--pro-text-muted); padding-left: 4px;
}
.hero-title {
  font-family: var(--font-serif); font-size: clamp(5rem, 12vw, 12rem);
  line-height: 0.85; margin-bottom: 2.5rem; font-weight: 400; letter-spacing: -2px;
}
.hero-desc {
  max-width: 650px; margin: 0 auto; font-size: 1.35rem;
  line-height: 1.7; color: var(--pro-text-muted); font-weight: 300;
}

/* Sections Global */
.section-title {
  font-family: var(--font-serif); font-size: 4rem; font-weight: 400;
  margin-bottom: 5rem; border-bottom: 1px solid rgba(0,0,0,0.1); padding-bottom: 1rem;
  letter-spacing: -1px;
}

/* Projects Layered List */
.pro-projects { padding: 10rem 0; }
.projects-list { display: flex; flex-direction: column; }
.project-row {
  display: flex; justify-content: space-between; align-items: center;
  padding: 4rem 0; border-bottom: 1px solid rgba(0,0,0,0.1);
  cursor: none; transition: transform 0.4s ease, padding 0.4s ease;
}
.project-row:hover { padding-left: 2rem; padding-right: 2rem; }
.project-info h3 { font-size: 3rem; font-weight: 500; margin-bottom: 0.8rem; letter-spacing: -1px; }
.project-info p { color: var(--pro-text-muted); font-size: 1.1rem;}
.project-tags { font-family: var(--font-mono); font-size: 0.9rem; color: var(--pro-text-muted); display: none; }
.view-link { font-weight: bold; text-decoration: none; color: var(--pro-text); text-transform: uppercase; font-size: 0.9rem; letter-spacing: 1.5px; opacity: 0; transform: translateX(-20px); transition: all 0.3s; padding: 10px 15px; position: relative; z-index: 20; display: inline-block;}
.project-row:hover .view-link { opacity: 1; transform: translateX(0); }
.view-link::before { content: ''; position: absolute; inset: 0; border-radius: 999px; border: 1px solid rgba(0,0,0,0.1); opacity: 0; transition: opacity 0.3s; pointer-events: none; }
.view-link:hover::before { opacity: 1; background: rgba(0,0,0,0.03);}

@media (min-width: 1024px) {
  .project-tags { display: block; }
}

/* Floating Follow Image */
.image-follower {
  position: fixed; top: 0; left: 0; width: 450px; height: 300px;
  background-size: cover; background-position: center;
  pointer-events: none; opacity: 0; z-index: 10;
  transform: translate(-50%, -50%) scale(0.8) rotate(-5deg);
  transition: opacity 0.4s ease, transform 0.6s cubic-bezier(0.2,0.8,0.2,1), border-radius 0.6s cubic-bezier(0.2,0.8,0.2,1);
  border-radius: 12px; box-shadow: 0 30px 60px rgba(0,0,0,0.15);
}
.image-follower.visible { opacity: 1; transform: translate(-50%, -50%) scale(1) rotate(0deg); border-radius: 12px; }
.image-follower.ball-mode { border-radius: 50%; transform: translate(-50%, -50%) scale(0.5) rotate(360deg); box-shadow: 0 10px 40px rgba(0,0,0,0.3); }

/* Skills Bento Grid */
.pro-skills { padding: 10rem 0; background: #f0eee6; margin: 0 -5rem; padding-left: 5rem; padding-right: 5rem;}
.bento-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2.5rem;
}
.bento-card {
  background: var(--pro-bg); padding: 4rem 3rem; border-radius: 16px; position: relative;
  box-shadow: 0 4px 20px rgba(0,0,0,0.02); transition: transform 0.4s ease;
}
.bento-card:hover { transform: translateY(-10px); box-shadow: 0 15px 40px rgba(0,0,0,0.06); }
.bento-card h3 { font-size: 1.8rem; margin-bottom: 1.5rem; font-weight: 700; font-family: var(--font-serif); }
.bento-card p { color: var(--pro-text-muted); line-height: 1.7; font-size: 1.1rem; }
.bento-card.wide { grid-column: 1 / -1; background: var(--pro-text); color: #fff;}
.bento-card.wide h3 { color: #fff; }
.bento-card.wide p { color: #aaa; font-size: 1.3rem; max-width: 800px;}

/* Open to work Pulse */
.ml-card { border-top: 6px solid #27c93f; }
.pulse-dot {
  position: absolute; top: 2rem; right: 2rem; width: 14px; height: 14px;
  background: #27c93f; border-radius: 50%;
  animation: radarPulse 2s infinite;
}

/* Footer */
.pro-footer { padding: 12rem 0 6rem; text-align: center; }
.pro-footer h2 { font-size: 2.5rem; color: var(--pro-text-muted); font-weight: 400; margin-bottom: 3rem; font-family: var(--font-serif);}
.big-contact-link {
  font-family: var(--font-serif); font-size: clamp(4rem, 8vw, 8rem);
  color: var(--pro-text); text-decoration: none; position: relative;
  display: inline-block; cursor: none; letter-spacing: -2px;
}
.big-contact-link::after {
  content: ''; position: absolute; width: 100%; height: 3px;
  bottom: 10px; left: 0; background-color: var(--pro-text);
  transform: scaleX(0); transform-origin: bottom right;
  transition: transform 0.4s cubic-bezier(0.2,0.8,0.2,1);
}
.big-contact-link:hover::after {
  transform: scaleX(1); transform-origin: bottom left;
}


/* =========================================
   HOBBY CAMERA SYSTEM (CANON EOS 13000D)
   ========================================= */

:root {
  --cam-hud-green: #27c93f;
  --cam-hud-red: #ff4655;
  --cam-hud-white: #ece8e1;
}

.hobby-camera-universe {
  position: fixed; inset: 0; z-index: 9998; background: #000;
  display: none; align-items: center; justify-content: center;
}

.camera-body {
  position: relative; width: 1000px; height: 680px; background: #0f0f0f;
  border-radius: 40px; border: 8px solid #222; display: flex; padding: 30px;
  box-shadow: 0 50px 100px rgba(0,0,0,0.8), inset 0 0 40px #000;
}

.camera-lcd-screen {
  flex: 1; background: #000; border-radius: 10px; border: 4px solid #1a1a1a;
  position: relative; overflow: hidden; display: flex; flex-direction: column;
}

/* Technical HUD Overlays */
.camera-hud-overlay {
  position: absolute; inset: 0; z-index: 100; pointer-events: none;
  padding: 20px; color: var(--cam-hud-white); font-family: var(--font-mono);
}

.hud-corner { position: absolute; display: flex; gap: 15px; align-items: center; }
.top-left { top: 20px; left: 20px; }
.top-right { top: 20px; right: 20px; }

.mode-dial { width: 40px; height: 40px; border: 2px solid #fff; display: flex; items-center; justify-content: center; font-weight: 900; background: #000; border-radius: 4px; }
.recording-dot { color: var(--cam-hud-red); font-weight: bold; animation: pulseRed 1s infinite; }

.live-histogram {
  position: absolute; bottom: 120px; right: 20px; width: 100px; height: 60px;
  background: rgba(255,255,255,0.05); display: flex; align-items: flex-end; gap: 2px; padding: 2px;
}
.h-bar { flex: 1; background: var(--cam-hud-green); opacity: 0.6; transition: height 0.2s; }

.focus-box {
  position: absolute; width: 80px; height: 80px; border: 1px solid var(--cam-hud-white);
  transition: all 0.5s cubic-bezier(0.2,0.8,0.2,1);
}
.focus-box.primary { top: 50%; left: 50%; transform: translate(-50%, -50%); border-width: 2px; width: 120px; height: 120px; border-color: var(--cam-hud-green); }
.focus-box::after { content: ''; position: absolute; inset: 30%; border: 1px solid rgba(255,255,255,0.2); }

.horizon-line {
  position: absolute; top: 50%; left: 10%; width: 80%; height: 1px; background: rgba(255,255,255,0.2);
  transition: transform 0.1s;
}
.horizon-line::after { content: ''; position: absolute; left: 50%; top: -5px; width: 2px; height: 10px; background: var(--cam-hud-green); }

.hud-bottom {
  position: absolute; bottom: 20px; left: 20px; right: 20px;
  display: flex; justify-content: space-between; align-items: flex-end;
}
.main-stats { display: flex; gap: 30px; background: rgba(0,0,0,0.4); padding: 10px 20px; border-left: 3px solid var(--cam-hud-green); }
.stat-item label { display: block; font-size: 8px; opacity: 0.5; margin-bottom: 2px; }
.stat-item span { font-size: 20px; font-weight: bold; }

/* Grid Layers */
.grid-layer { position: absolute; inset: 0; pointer-events: none; opacity: 0.1; }
.rule-of-thirds {
  background-image: linear-gradient(to right, #fff 1px, transparent 1px), linear-gradient(to bottom, #fff 1px, transparent 1px);
  background-size: 33.33% 33.33%;
}

/* Boot Loader */
.lcd-loader {
  position: absolute; inset: 0; background: #000; z-index: 200;
  display: flex; flex-direction: column; items-center; justify-content: center; text-align: center;
}
.boot-bar { width: 200px; height: 2px; background: #333; margin-top: 20px; overflow: hidden; }
.boot-progress { width: 0%; height: 100%; background: var(--cam-hud-green); animation: bootProgress 2s forwards; }
@keyframes bootProgress { 100% { width: 100%; } }

/* Viewfinder & Grain */
.lcd-viewfinder { flex: 1; position: relative; background: #111; overflow: hidden; }
.lcd-viewfinder img { width: 100%; height: 100%; object-fit: cover; }
.grain-overlay { position: absolute; inset: 0; background: url('https://grain-url-or-svg'); opacity: 0.05; pointer-events: none; }

/* Info Panel */
.lcd-info-panel { height: 180px; background: #0f0f0f; padding: 25px; border-top: 1px solid #333; position: relative; z-index: 110; }
.panel-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 10px; }
.metadata-scroll { display: flex; gap: 30px; margin-top: 20px; font-size: 11px; }
.meta-row { display: flex; gap: 8px; color: #888; }
.meta-row span:last-child { color: var(--cam-hud-white); font-weight: bold; }

.exit-btn {
  position: absolute; bottom: 25px; right: 25px; background: var(--cam-hud-red); color: #fff;
  border: none; padding: 10px 25px; font-weight: 900; cursor: pointer; border-radius: 4px;
}

@keyframes pulseRed { 0%, 100% { opacity: 1; } 50% { opacity: 0.3; } }

