:root {
    --primary: #9FA1FF;
    --secondary: #B5BAFF;
    --accent: #AEE2FF;
    --bg: #D9F9DF;
    --dark: #0a0a0f;
    --darker: #050508;
    --text: #c8d0d8;
    --dim: #6a6a7a;
    --font: 'Share Tech Mono', monospace;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
    background: var(--darker);
    color: var(--text);
    font-family: var(--font);
    font-size: 12px;
    line-height: 1.5;
    position: relative;
    overflow-x: hidden;
    cursor: default;
    transition: background 0.4s, color 0.4s;
}

/* ========== LIGHT THEME ========== */
[data-theme="light"] {
    --primary: #6B6FE0;
    --secondary: #7B7FE8;
    --accent: #6BAADD;
    --bg: #2D5A3D;
    --dark: #f0f0f5;
    --darker: #e8e8f0;
    --text: #2a2a3a;
    --dim: #6a6a7a;
}

[data-theme="light"] .bg-image-full { filter: brightness(1) saturate(0.6) blur(2px) !important; }
[data-theme="light"] .bg-overlay { background: radial-gradient(ellipse at center, rgba(240,240,245,0.3) 0%, rgba(232,232,240,0.7) 100%), repeating-linear-gradient(0deg, transparent, transparent 2px, rgba(0,0,0,0.03) 2px, rgba(0,0,0,0.03) 4px) !important; }
[data-theme="light"] .terminal { background: rgba(255,255,255,0.85) !important; border-color: rgba(107,111,224,0.2) !important; }
[data-theme="light"] .terminal-bar { background: rgba(240,240,245,0.95) !important; }
[data-theme="light"] .skill, [data-theme="light"] .about-skill-row, [data-theme="light"] .timeline-content, [data-theme="light"] .project-card, [data-theme="light"] .feature-item { background: rgba(240,240,245,0.6) !important; }
[data-theme="light"] .skill:hover, [data-theme="light"] .project-card:hover { background: rgba(235,235,245,0.8) !important; }
[data-theme="light"] .profile-section, [data-theme="light"] .about-section { background: rgba(240,240,245,0.5) !important; }
[data-theme="light"] .contact-item, [data-theme="light"] .project-link { background: rgba(240,240,245,0.4) !important; }

/* ========== BACKGROUND ========== */
.bg-image-full { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background-size: cover; background-position: center; z-index: 0; filter: brightness(0.35) saturate(0.8) blur(2px); transform: scale(1.05); }
.bg-overlay { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: radial-gradient(ellipse at center, rgba(10,10,15,0.15) 0%, rgba(5,5,8,0.85) 100%), repeating-linear-gradient(0deg, transparent, transparent 2px, rgba(0,0,0,0.06) 2px, rgba(0,0,0,0.06) 4px); z-index: 1; pointer-events: none; }

/* ========== BOOT SCREEN ========== */
.boot-screen { position: fixed; inset: 0; background: #000; z-index: 9999; display: flex; align-items: center; justify-content: center; transition: opacity 0.5s, visibility 0.5s; }
.boot-screen.hidden { opacity: 0; visibility: hidden; pointer-events: none; }
.boot-content { font-family: var(--font); font-size: 13px; color: var(--primary); display: flex; flex-direction: column; gap: 8px; padding: 40px; }
.boot-line { opacity: 0; animation: bootLineIn 0.4s ease forwards; }
.boot-delay-1 { animation-delay: 0.3s; } .boot-delay-2 { animation-delay: 0.7s; } .boot-delay-3 { animation-delay: 1.1s; } .boot-delay-4 { animation-delay: 1.5s; } .boot-delay-5 { animation-delay: 1.9s; }
@keyframes bootLineIn { from { opacity: 0; transform: translateX(-10px); } to { opacity: 1; transform: translateX(0); } }
.boot-ok { color: #28c840; margin-left: 8px; }
.boot-cursor { color: var(--primary); animation: blink 1s step-end infinite; }

/* ========== STARS & PARTICLES ========== */
.stars, .particles { position: fixed; top: 0; left: 0; width: 100%; height: 100%; pointer-events: none; z-index: 2; }
.star-dot { position: absolute; border-radius: 50%; will-change: transform, opacity; }
.particle { position: absolute; border-radius: 50%; will-change: transform, opacity; }

/* ========== MOUSE PARTICLES ========== */
.mouse-particles { position: fixed; top: 0; left: 0; width: 100%; height: 100%; pointer-events: none; z-index: 15; }
.mouse-particle { position: absolute; border-radius: 50%; pointer-events: none; animation: particleFade 0.8s ease-out forwards; }
@keyframes particleFade { 0% { transform: translate(0,0) scale(1); opacity: 0.8; } 100% { transform: translate(var(--dx), var(--dy)) scale(0); opacity: 0; } }

/* ========== WEATHER EFFECTS ========== */
.weather-container { position: fixed; top: 0; left: 0; width: 100%; height: 100%; pointer-events: none; z-index: 3; }
.rain-drop { position: absolute; width: 1px; background: linear-gradient(180deg, transparent, rgba(174,226,255,0.4)); animation: rainFall linear infinite; top: -20px; }
@keyframes rainFall { 0% { transform: translateY(-20px) translateX(0); opacity: 0; } 10% { opacity: 1; } 90% { opacity: 1; } 100% { transform: translateY(100vh) translateX(-20px); opacity: 0; } }
.snow-flake { position: absolute; background: white; border-radius: 50%; animation: snowFall linear infinite; top: -20px; box-shadow: 0 0 5px rgba(255,255,255,0.5); }
@keyframes snowFall { 0% { transform: translateY(-20px) translateX(0) rotate(0deg); opacity: 0; } 10% { opacity: 0.9; } 90% { opacity: 0.9; } 100% { transform: translateY(100vh) translateX(40px) rotate(360deg); opacity: 0; } }
.shooting-star { position: absolute; width: 2px; height: 80px; background: linear-gradient(180deg, rgba(255,255,255,0.8), transparent); animation: shootStar linear forwards; top: -100px; }
@keyframes shootStar { 0% { transform: translateX(0) translateY(0) rotate(-35deg); opacity: 1; } 100% { transform: translateX(-400px) translateY(600px) rotate(-35deg); opacity: 0; } }

/* ========== SCAN LINES ========== */
.scan-lines { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: repeating-linear-gradient(0deg, transparent, transparent 3px, rgba(0,0,0,0.03) 3px, rgba(0,0,0,0.03) 6px); z-index: 3; pointer-events: none; }

/* ========== SCROLL PROGRESS ========== */
.scroll-progress { position: fixed; top: 0; left: 0; height: 2px; background: linear-gradient(90deg, var(--primary), var(--accent)); z-index: 100; width: 0%; transition: width 0.15s linear; box-shadow: 0 0 8px rgba(159,161,255,0.4); }

/* ========== MAIN SCROLL ========== */
.main-scroll { position: relative; z-index: 4; scroll-snap-type: y mandatory; overflow-y: scroll; height: 100vh; scroll-behavior: smooth; -webkit-overflow-scrolling: touch; -ms-overflow-style: none; scrollbar-width: none; }
.main-scroll::-webkit-scrollbar { display: none; }

/* ========== FULL PAGES ========== */
.full-page { min-height: 100vh; height: 100vh; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 2rem; scroll-snap-align: start; scroll-snap-stop: always; position: relative; overflow-y: auto; }

/* ========== TERMINAL ========== */
.terminal { width: 100%; max-width: 780px; max-height: 85vh; background: rgba(8,8,15,0.85); border: 1px solid rgba(159,161,255,0.2); border-radius: 10px; box-shadow: 0 0 60px rgba(159,161,255,0.08), 0 0 120px rgba(159,161,255,0.03), 0 20px 60px rgba(0,0,0,0.5), inset 0 0 80px rgba(0,0,0,0.3); position: relative; backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); overflow: hidden; display: flex; flex-direction: column; animation: terminalAppear 0.8s ease forwards; transition: background 0.4s, border-color 0.4s; }
@keyframes terminalAppear { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: translateY(0); } }
.terminal::before { content: ''; position: absolute; top: 0; left: 20px; right: 20px; height: 1px; background: linear-gradient(90deg, transparent, rgba(159,161,255,0.4), rgba(174,226,255,0.6), rgba(181,186,255,0.4), transparent); z-index: 2; border-radius: 10px 10px 0 0; animation: topLineGlow 4s ease-in-out infinite; }
@keyframes topLineGlow { 0%,100%{opacity:0.5} 50%{opacity:1} }
.terminal::after { content: ''; position: absolute; inset: 0; background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.02'/%3E%3C/svg%3E"); pointer-events: none; z-index: 1; border-radius: 10px; }
.terminal-hover-glow { position: absolute; width: 500px; height: 500px; border-radius: 50%; background: radial-gradient(circle, rgba(159,161,255,0.04), transparent 70%); pointer-events: none; z-index: 1; transform: translate(-50%,-50%); opacity: 0; transition: opacity 0.4s; }

/* ========== TERMINAL BAR ========== */
.terminal-bar { background: rgba(12,12,22,0.95); padding: 12px 16px; display: flex; align-items: center; gap: 14px; border-bottom: 1px solid rgba(159,161,255,0.12); border-radius: 10px 10px 0 0; z-index: 3; position: relative; flex-shrink: 0; transition: background 0.4s; }
.term-btns { display: flex; gap: 8px; }
.term-btn { width: 12px; height: 12px; border-radius: 50%; border: 1px solid rgba(255,255,255,0.08); transition: transform 0.2s; cursor: pointer; position: relative; }
.term-btn::after { content: ''; position: absolute; inset: -2px; border-radius: 50%; opacity: 0; transition: opacity 0.2s; }
.term-btn.close{background:#ff5f57} .term-btn.close::after{box-shadow:0 0 8px #ff5f57}
.term-btn.min{background:#febc2e} .term-btn.min::after{box-shadow:0 0 8px #febc2e}
.term-btn.max{background:#28c840} .term-btn.max::after{box-shadow:0 0 8px #28c840}
.term-btn:hover{transform:scale(1.2)} .term-btn:hover::after{opacity:1}
.term-title { font-size: 11px; color: var(--dim); opacity: 0.5; letter-spacing: 0.5px; }

/* ========== TERMINAL BODY ========== */
.terminal-body { padding: 20px 24px; position: relative; z-index: 3; overflow-y: auto; flex: 1; }
.terminal-body::-webkit-scrollbar { width: 3px; } .terminal-body::-webkit-scrollbar-track { background: transparent; } .terminal-body::-webkit-scrollbar-thumb { background: rgba(159,161,255,0.15); border-radius: 2px; }

/* ========== COMMAND LINE ========== */
.command-line { display: flex; align-items: center; gap: 10px; margin: 14px 0 8px; font-size: 12px; }
.prompt { color: var(--primary); font-weight: bold; text-shadow: 0 0 10px rgba(159,161,255,0.3); flex-shrink: 0; animation: promptPulse 2s ease-in-out infinite; }
@keyframes promptPulse { 0%,100%{opacity:0.9} 50%{opacity:1} }
.cmd { color: var(--accent); text-shadow: 0 0 8px rgba(174,226,255,0.2); }
.cursor-blink { color: var(--primary); animation: blink 1s step-end infinite; font-size: 14px; text-shadow: 0 0 10px rgba(159,161,255,0.4); }
@keyframes blink { 0%,100%{opacity:1} 50%{opacity:0} }

/* ========== PROFILE ========== */
.profile-section { display: flex; gap: 20px; margin: 8px 0 18px; padding: 16px; background: rgba(12,12,22,0.5); border: 1px solid rgba(159,161,255,0.1); border-radius: 6px; align-items: center; transition: all 0.3s; }
.profile-section:hover { border-color: rgba(159,161,255,0.3); background: rgba(15,15,28,0.7); box-shadow: 0 0 25px rgba(159,161,255,0.08); transform: translateY(-1px); }
.profile-avatar { width: 65px; height: 65px; border: 2px solid rgba(159,161,255,0.3); border-radius: 50%; overflow: hidden; flex-shrink: 0; animation: avatarFloat 5s ease-in-out infinite; }
@keyframes avatarFloat { 0%,100%{transform:translateY(0)} 50%{transform:translateY(-4px)} }
.avatar-img { width: 100%; height: 100%; object-fit: cover; }
.profile-info { display: flex; flex-direction: column; gap: 4px; flex: 1; }
.info-line { color: var(--dim); font-size: 11px; letter-spacing: 0.4px; white-space: nowrap; opacity: 0; animation: fadeSlideIn 0.5s ease forwards; }
.info-line:nth-child(1) { animation-delay: 0.1s; } .info-line:nth-child(2) { animation-delay: 0.2s; } .info-line:nth-child(3) { animation-delay: 0.3s; }
@keyframes fadeSlideIn { from { opacity: 0; transform: translateX(-10px); } to { opacity: 1; transform: translateX(0); } }
.label { color: var(--secondary); margin-right: 8px; font-weight: 700; display: inline-block; min-width: 45px; }

/* ========== SKILLS ========== */
.skills-container { margin: 4px 0 12px; }
.skill-group { margin-bottom: 14px; padding-left: 18px; border-left: 1px solid rgba(159,161,255,0.12); transition: border-color 0.3s; }
.skill-group:hover { border-left-color: rgba(159,161,255,0.35); }
.skill-dir { color: var(--secondary); font-size: 11px; margin-bottom: 8px; display: flex; align-items: center; gap: 8px; }
.dir-arrow { color: var(--accent); font-size: 9px; animation: arrowBounce 1.8s ease-in-out infinite; }
@keyframes arrowBounce { 0%,100%{transform:translateX(0);opacity:0.7} 50%{transform:translateX(3px);opacity:1} }
.skill-items { display: flex; flex-wrap: wrap; gap: 8px; padding-left: 10px; }
.skill { display: flex; align-items: center; gap: 7px; padding: 6px 12px; background: rgba(12,12,22,0.6); border: 1px solid rgba(159,161,255,0.1); border-radius: 4px; transition: all 0.25s; cursor: pointer; position: relative; overflow: hidden; }
.skill-shine { position: absolute; top: -50%; left: -50%; width: 200%; height: 200%; background: linear-gradient(45deg, transparent 40%, rgba(255,255,255,0.03) 50%, transparent 60%); transform: translateX(-100%) rotate(45deg); transition: transform 0.5s; pointer-events: none; }
.skill:hover .skill-shine { transform: translateX(100%) rotate(45deg); }
.skill:hover { border-color: var(--glow, var(--primary)); background: rgba(18,18,30,0.8); box-shadow: 0 0 18px rgba(159,161,255,0.12), 0 4px 10px rgba(0,0,0,0.3); transform: translateY(-2px); z-index: 5; }
.skill-icon-wrap { width: 16px; height: 16px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; transition: transform 0.3s; }
.skill:hover .skill-icon-wrap { transform: rotate(8deg) scale(1.1); }
.skill-icon { width: 100%; height: 100%; object-fit: contain; filter: brightness(1.1); transition: filter 0.3s; }
.skill:hover .skill-icon { filter: brightness(1.3); }
.skill-name { color: var(--text); font-size: 10px; letter-spacing: 0.3px; white-space: nowrap; transition: color 0.3s; }
.skill:hover .skill-name { color: #fff; }

/* ========== CONTACT ========== */
.contact-links { display: flex; flex-wrap: wrap; gap: 12px; padding-left: 18px; margin: 4px 0 12px; }
.contact-item { color: var(--accent); text-decoration: none; font-size: 11px; padding: 6px 14px; border: 1px solid rgba(174,226,255,0.12); border-radius: 4px; transition: all 0.25s; display: flex; align-items: center; gap: 8px; background: rgba(12,12,22,0.4); position: relative; overflow: hidden; }
.contact-item::before { content: ''; position: absolute; left: 0; bottom: 0; width: 100%; height: 2px; background: linear-gradient(90deg, transparent, rgba(174,226,255,0.3), transparent); transform: translateX(-100%); transition: transform 0.3s; }
.contact-item:hover::before { transform: translateX(0); }
.contact-item:hover { border-color: rgba(174,226,255,0.5); background: rgba(174,226,255,0.06); transform: translateX(3px); box-shadow: 0 0 18px rgba(174,226,255,0.1); }
.contact-icon { width: 14px; height: 14px; object-fit: contain; transition: all 0.3s; flex-shrink: 0; }
.contact-item:hover .contact-icon { filter: brightness(1.5); transform: scale(1.1); }

/* ========== LIVE TERMINAL ========== */
.live-terminal { margin-top: 16px; border-top: 1px solid rgba(159,161,255,0.1); padding-top: 12px; }
.live-output { max-height: 120px; overflow-y: auto; margin-bottom: 8px; font-size: 10px; line-height: 1.6; }
.live-output-line { color: var(--dim); padding: 2px 0; font-family: var(--font); font-size: 10px; }
.live-output-line .output-prompt { color: var(--primary); margin-right: 8px; }
.live-output-line .output-text { color: var(--text); }
.live-output-line.output-error .output-text { color: #ff5f57; }
.live-output-line.output-success .output-text { color: #28c840; }
.live-output-line.output-info .output-text { color: var(--accent); }
.live-input-line { display: flex; align-items: center; gap: 8px; background: rgba(12,12,22,0.4); border: 1px solid rgba(159,161,255,0.1); border-radius: 4px; padding: 6px 10px; }
.live-input-line .prompt { animation: none; font-size: 12px; }
.live-input { flex: 1; background: transparent; border: none; color: var(--text); font-family: var(--font); font-size: 11px; outline: none; caret-color: var(--primary); }
.live-input::placeholder { color: var(--dim); opacity: 0.4; font-size: 10px; }

/* ========== ABOUT SECTION ========== */
.about-section { padding: 16px 20px; margin: 8px 0; background: rgba(12,12,22,0.4); border: 1px solid rgba(159,161,255,0.08); border-radius: 4px; }
.about-heading { color: var(--secondary); font-size: 13px; font-weight: 700; margin-bottom: 14px; letter-spacing: 0.5px; }
.hash { color: var(--dim); margin-right: 6px; opacity: 0.6; }
.about-text-container { margin-bottom: 8px; }
.about-line { color: var(--text); font-size: 11px; line-height: 1.7; margin-bottom: 8px; display: flex; gap: 8px; }
.line-prefix { color: var(--accent); flex-shrink: 0; opacity: 0.7; }
.typing-line { border-right: 2px solid var(--primary); padding-right: 2px; flex: 1; }
.typing-line.done { border-right: none; }

/* ========== DIVIDER ========== */
.divider { text-align: center; color: var(--dim); font-size: 10px; opacity: 0.3; margin: 16px 0; letter-spacing: 2px; }
.divider-dot { color: var(--primary); opacity: 0.5; }

/* ========== TIMELINE ========== */
.timeline { position: relative; padding-left: 8px; }
.timeline-item { display: flex; gap: 14px; padding-bottom: 20px; position: relative; }
.timeline-item:last-child { padding-bottom: 0; }
.timeline-marker { display: flex; flex-direction: column; align-items: center; flex-shrink: 0; width: 12px; }
.marker-dot { width: 8px; height: 8px; border-radius: 50%; background: rgba(159,161,255,0.4); border: 1px solid rgba(159,161,255,0.5); flex-shrink: 0; margin-top: 4px; transition: all 0.3s; }
.active-dot { background: var(--primary) !important; border-color: var(--primary) !important; box-shadow: 0 0 10px rgba(159,161,255,0.5); animation: dotPulse 2s ease-in-out infinite; }
@keyframes dotPulse { 0%,100%{box-shadow:0 0 10px rgba(159,161,255,0.5)} 50%{box-shadow:0 0 18px rgba(159,161,255,0.8)} }
.marker-line { width: 1px; flex: 1; background: rgba(159,161,255,0.15); margin-top: 4px; min-height: 30px; }
.timeline-content { flex: 1; padding: 8px 12px; background: rgba(10,10,20,0.5); border: 1px solid rgba(159,161,255,0.06); border-radius: 4px; transition: all 0.3s; }
.timeline-content:hover { border-color: rgba(159,161,255,0.2); background: rgba(15,15,25,0.6); }
.timeline-year { color: var(--primary); font-size: 11px; font-weight: 700; margin-bottom: 4px; }
.timeline-title { color: var(--secondary); font-size: 11px; font-weight: 700; margin-bottom: 4px; }
.timeline-desc { color: var(--dim); font-size: 10px; line-height: 1.6; }

/* ========== ABOUT SKILLS ========== */
.about-skills-list { display: flex; flex-direction: column; gap: 6px; }
.about-skill-row { display: flex; align-items: baseline; gap: 6px; padding: 5px 8px; background: rgba(10,10,20,0.4); border: 1px solid rgba(159,161,255,0.05); border-radius: 3px; transition: all 0.3s; flex-wrap: wrap; }
.about-skill-row:hover { border-color: rgba(159,161,255,0.2); background: rgba(15,15,25,0.5); }
.skill-bullet { color: var(--accent); font-size: 10px; flex-shrink: 0; }
.skill-label { color: var(--secondary); font-size: 10px; font-weight: 700; flex-shrink: 0; min-width: 130px; }
.skill-separator { color: var(--dim); font-size: 10px; opacity: 0.5; }
.skill-value { color: var(--text); font-size: 10px; }

/* ========== PROJECTS ========== */
.projects-container { display: flex; flex-direction: column; gap: 14px; margin: 8px 0; }
.project-card { background: rgba(12,12,22,0.5); border: 1px solid rgba(159,161,255,0.1); border-radius: 6px; padding: 16px; transition: all 0.3s ease; position: relative; overflow: hidden; }
.project-card::before { content: ''; position: absolute; top: 0; left: 0; width: 3px; height: 100%; background: linear-gradient(180deg, var(--primary), var(--accent), transparent); border-radius: 6px 0 0 6px; opacity: 0.5; transition: opacity 0.3s; }
.project-card:hover { border-color: rgba(159,161,255,0.3); background: rgba(15,15,28,0.7); box-shadow: 0 0 25px rgba(159,161,255,0.08); transform: translateY(-2px); }
.project-card:hover::before { opacity: 1; }
.project-card-empty { opacity: 0.5; border-style: dashed; }
.project-card-empty:hover { opacity: 0.7; transform: none; }
.project-header { display: flex; align-items: flex-start; gap: 12px; margin-bottom: 10px; }
.project-icon { font-size: 28px; flex-shrink: 0; width: 40px; text-align: center; }
.project-title-group { flex: 1; min-width: 0; }
.project-name { color: var(--primary); font-size: 14px; font-weight: 700; margin-bottom: 6px; letter-spacing: 0.5px; }
.project-tags { display: flex; flex-wrap: wrap; gap: 4px; }
.project-tag { font-size: 8px; padding: 2px 6px; background: rgba(159,161,255,0.1); border: 1px solid rgba(159,161,255,0.2); border-radius: 3px; color: var(--accent); letter-spacing: 0.3px; text-transform: uppercase; }
.project-stars { display: flex; align-items: center; gap: 4px; color: var(--dim); font-size: 11px; flex-shrink: 0; }
.project-desc { color: var(--text); font-size: 10px; line-height: 1.6; margin-bottom: 12px; letter-spacing: 0.2px; }
.project-features { display: grid; grid-template-columns: repeat(2, 1fr); gap: 6px; margin-bottom: 14px; }
.feature-item { display: flex; align-items: center; gap: 6px; font-size: 9px; color: var(--dim); padding: 4px 8px; background: rgba(10,10,20,0.4); border-radius: 3px; transition: all 0.2s; }
.feature-item:hover { color: var(--text); background: rgba(15,15,25,0.6); }
.feature-icon { font-size: 11px; flex-shrink: 0; }
.project-links { display: flex; gap: 10px; flex-wrap: wrap; }
.project-link { color: var(--accent); text-decoration: none; font-size: 10px; padding: 5px 10px; border: 1px solid rgba(174,226,255,0.15); border-radius: 4px; transition: all 0.25s; display: flex; align-items: center; gap: 5px; background: rgba(12,12,22,0.4); }
.project-link:hover { border-color: rgba(174,226,255,0.5); background: rgba(174,226,255,0.08); transform: translateX(3px); box-shadow: 0 0 12px rgba(174,226,255,0.1); }

/* ========== PAGE HINT ========== */
.page-hint { position: absolute; bottom: 30px; left: 50%; transform: translateX(-50%); display: flex; flex-direction: column; align-items: center; gap: 6px; opacity: 0.5; animation: hintBounce 2s ease-in-out infinite; z-index: 5; pointer-events: none; }
.page-hint-up { bottom: auto; top: 30px; }
@keyframes hintBounce { 0%,100%{transform:translateX(-50%) translateY(0);opacity:0.4} 50%{transform:translateX(-50%) translateY(5px);opacity:0.8} }
.hint-line { width: 1px; height: 20px; background: linear-gradient(180deg, transparent, var(--primary), transparent); }
.page-hint-up .hint-line { background: linear-gradient(0deg, transparent, var(--primary), transparent); }
.hint-text { font-size: 8px; color: var(--dim); text-transform: uppercase; letter-spacing: 1px; }
.hint-arrow { font-size: 10px; color: var(--primary); }

/* ========== COPYRIGHT BAR ========== */
.copyright-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    z-index: 4;
    padding: 8px 0;
    background: linear-gradient(180deg, transparent, rgba(5,5,8,0.9) 50%);
    pointer-events: none;
}

.copyright-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    font-family: var(--font);
    font-size: 9px;
    color: var(--dim);
    opacity: 0.5;
    letter-spacing: 0.5px;
}

.copyright-symbol {
    color: var(--primary);
    font-size: 10px;
}

.copyright-heart {
    color: #ff5f57;
    animation: heartBeat 1.5s ease-in-out infinite;
    font-size: 9px;
}

@keyframes heartBeat {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.3); }
}

.copyright-name {
    color: var(--secondary);
    font-weight: 700;
    transition: color 0.3s;
}

.copyright-separator {
    color: var(--dim);
    opacity: 0.5;
}

.copyright-text {
    color: var(--dim);
}

/* Responsive */
@media (max-width: 640px) {
    .copyright-bar {
        padding: 6px 0;
    }
    
    .copyright-content {
        font-size: 8px;
        gap: 4px;
    }
}

/* ========== PAGE INDICATORS ========== */
.page-indicators { position: fixed; right: 25px; top: 50%; transform: translateY(-50%); z-index: 20; display: flex; flex-direction: column; gap: 14px; }
.page-dot { width: 8px; height: 8px; border-radius: 50%; background: rgba(159,161,255,0.3); border: 1px solid rgba(159,161,255,0.3); cursor: pointer; transition: all 0.3s; }
.page-dot.active { background: var(--primary); border-color: var(--primary); box-shadow: 0 0 12px rgba(159,161,255,0.6); transform: scale(1.4); }
.page-dot:hover { background: var(--secondary); transform: scale(1.2); }

/* ========== FLOATING MENU ========== */
.floating-menu { position: fixed; bottom: 30px; right: 30px; z-index: 100; }
.floating-btn { width: 48px; height: 48px; border-radius: 50%; background: rgba(8,8,15,0.9); border: 1px solid rgba(159,161,255,0.3); color: var(--primary); font-size: 18px; cursor: pointer; display: flex; align-items: center; justify-content: center; transition: all 0.3s; backdrop-filter: blur(10px); box-shadow: 0 4px 20px rgba(0,0,0,0.4); }
.floating-btn:hover { transform: scale(1.1); border-color: var(--primary); box-shadow: 0 0 25px rgba(159,161,255,0.3); }
.menu-icon { transition: transform 0.3s; }
.floating-menu.open .menu-icon { transform: rotate(90deg); }
.floating-dropdown { position: absolute; bottom: 60px; right: 0; background: rgba(8,8,15,0.95); border: 1px solid rgba(159,161,255,0.2); border-radius: 8px; padding: 8px; min-width: 200px; opacity: 0; visibility: hidden; transform: translateY(10px); transition: all 0.3s; backdrop-filter: blur(10px); display: flex; flex-direction: column; gap: 2px; }
.floating-menu.open .floating-dropdown { opacity: 1; visibility: visible; transform: translateY(0); }
.dropdown-item { background: transparent; border: 1px solid transparent; color: var(--text); padding: 10px 14px; border-radius: 4px; cursor: pointer; font-family: var(--font); font-size: 11px; display: flex; align-items: center; gap: 8px; transition: all 0.2s; text-align: left; white-space: nowrap; }
.dropdown-item:hover { background: rgba(159,161,255,0.1); border-color: rgba(159,161,255,0.2); color: var(--primary); }
.dropdown-icon { font-size: 14px; flex-shrink: 0; }
.dropdown-divider { height: 1px; background: rgba(159,161,255,0.1); margin: 4px 8px; }

/* ========== PIXEL CORNERS ========== */
.pixel-corner { position: fixed; width: 24px; height: 24px; pointer-events: none; z-index: 5; opacity: 0.25; }
.pixel-corner::before, .pixel-corner::after { content: ''; position: absolute; background: var(--primary); }
.corner-tl{top:20px;left:20px} .corner-tr{top:20px;right:20px} .corner-bl{bottom:20px;left:20px} .corner-br{bottom:20px;right:20px}
.corner-tl::before,.corner-bl::before{width:100%;height:2px;top:0;left:0} .corner-tl::after,.corner-bl::after{width:2px;height:100%;top:0;left:0}
.corner-tr::before,.corner-br::before{width:100%;height:2px;top:0;right:0} .corner-tr::after,.corner-br::after{width:2px;height:100%;top:0;right:0}
.corner-bl::before,.corner-br::before{top:auto;bottom:0}

/* ========== RESPONSIVE ========== */
@media (max-width: 640px) {
    .full-page { padding: 1rem; }
    .terminal { max-height: 80vh; }
    .terminal-body { padding: 14px 12px; }
    .profile-section { flex-direction: column; align-items: center; text-align: center; gap: 10px; padding: 12px; }
    .profile-avatar { width: 50px; height: 50px; }
    .info-line { font-size: 10px; } .label { min-width: 40px; font-size: 10px; }
    .skill { padding: 4px 7px; } .skill-name { font-size: 9px; }
    .contact-links { gap: 8px; padding-left: 10px; } .contact-item { padding: 4px 10px; font-size: 10px; }
    .about-section { padding: 12px 14px; } .about-line { font-size: 10px; }
    .timeline-content { padding: 6px 10px; } .timeline-year,.timeline-title { font-size: 10px; } .timeline-desc { font-size: 9px; }
    .skill-label { min-width: 100px; font-size: 9px; } .skill-value { font-size: 9px; }
    .project-features { grid-template-columns: 1fr; }
    .project-icon { font-size: 22px; width: 30px; } .project-name { font-size: 12px; } .project-desc { font-size: 9px; }
    .feature-item { font-size: 8px; }
    .page-indicators { right: 10px; gap: 10px; } .page-dot { width: 6px; height: 6px; }
    .floating-menu { bottom: 20px; right: 20px; } .floating-btn { width: 42px; height: 42px; font-size: 16px; }
    .live-input { font-size: 10px; } .live-output { max-height: 80px; font-size: 9px; }
}

@media (max-width: 380px) {
    .terminal-body { padding: 10px 8px; }
    .skill { padding: 3px 5px; gap: 4px; } .skill-name { font-size: 8px; } .skill-icon-wrap { width: 12px; height: 12px; }
    .contact-item { padding: 3px 6px; font-size: 9px; gap: 4px; }
}

::-webkit-scrollbar { width: 4px; } ::-webkit-scrollbar-track { background: rgba(0,0,0,0.3); }
::-webkit-scrollbar-thumb { background: rgba(159,161,255,0.3); border-radius: 2px; }
::selection { background: rgba(159,161,255,0.4); color: var(--bg); }
