/* Jonathan Hecl Portfolio - Premium Styling System */
/* Designed using Vanilla CSS and Custom Properties for ultimate speed and response. */

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

:root {
    --bg-primary: #030712;
    --bg-secondary: rgba(17, 24, 39, 0.65);
    --bg-card: rgba(31, 41, 55, 0.45);
    --text-primary: #f9fafb;
    --text-secondary: #9ca3af;
    --text-muted: #6b7280;
    
    --accent-cyan: #06b6d4;
    --accent-purple: #a855f7;
    --accent-emerald: #10b981;
    --accent-yellow: #f59e0b;
    --accent-red: #ef4444;
    
    --border-light: rgba(255, 255, 255, 0.08);
    --border-cyan: rgba(6, 182, 212, 0.35);
    --border-purple: rgba(168, 85, 247, 0.35);
    --border-emerald: rgba(16, 185, 129, 0.35);
    --border-yellow: rgba(245, 158, 11, 0.35);
    
    --font-sans: 'Inter', 'Outfit', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    --font-mono: 'JetBrains Mono', 'Fira Code', monospace;
    --font-retro: 'PressStart2P', monospace;
    
    --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-bounce: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

/* ==========================================
   1. RESET & GENERAL STYLES
   ========================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
    background-color: var(--bg-primary);
    color: var(--text-primary);
    font-family: var(--font-sans);
    overflow-x: hidden;
}

body {
    min-height: 100vh;
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: var(--bg-primary);
}
::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: var(--accent-cyan);
}

/* Selection */
::selection {
    background: rgba(6, 182, 212, 0.3);
    color: var(--text-primary);
}

/* ==========================================
   2. INTERACTIVE CANVAS & BACKGROUND ORBS
   ========================================== */
#particles-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    pointer-events: none;
    opacity: 0.85;
}

.glow-orb {
    position: fixed;
    border-radius: 50%;
    filter: blur(120px);
    z-index: -2;
    opacity: 0.12;
    pointer-events: none;
    animation: orbFloat 25s infinite alternate ease-in-out;
}

.orb-1 {
    width: 500px;
    height: 500px;
    background: var(--accent-purple);
    top: -10%;
    left: -10%;
}

.orb-2 {
    width: 600px;
    height: 600px;
    background: var(--accent-cyan);
    bottom: -15%;
    right: -10%;
    animation-delay: -5s;
}

.orb-3 {
    width: 400px;
    height: 400px;
    background: var(--accent-emerald);
    top: 40%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation-delay: -10s;
}

@keyframes orbFloat {
    0% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(40px, -60px) scale(1.1); }
    100% { transform: translate(-30px, 30px) scale(0.9); }
}

/* ==========================================
   3. NAVIGATION BAR
   ========================================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 80px;
    z-index: 100;
    background: rgba(3, 7, 18, 0.6);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border-light);
    display: flex;
    align-items: center;
}

.nav-container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo {
    font-family: var(--font-mono);
    font-size: 1.3rem;
    font-weight: 700;
    text-decoration: none;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    gap: 2px;
}

.logo-bracket {
    color: var(--accent-cyan);
    font-weight: 800;
    transition: transform 0.25s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.nav-logo:hover .logo-bracket:first-of-type {
    transform: translateX(-3px);
}

.nav-logo:hover .logo-bracket:last-of-type {
    transform: translateX(3px);
}

.logo-text {
    background: linear-gradient(135deg, var(--text-primary) 30%, #9ca3af 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.nav-links {
    display: flex;
    gap: 32px;
}

.nav-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    transition: var(--transition-smooth);
    position: relative;
    padding: 6px 0;
}

.nav-links a:hover {
    color: var(--text-primary);
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent-cyan);
    transition: var(--transition-smooth);
}

.nav-links a:hover::after {
    width: 100%;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 20px;
}

/* Language Dropdown Selector */
.lang-selector {
    position: relative;
}

.lang-btn {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-light);
    color: var(--text-primary);
    padding: 8px 14px;
    border-radius: 8px;
    font-size: 0.85rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    transition: var(--transition-smooth);
}

.lang-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--accent-cyan);
}

.lang-dropdown {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    width: 120px;
    background: #0f172a;
    border: 1px solid var(--border-light);
    border-radius: 8px;
    list-style: none;
    overflow: hidden;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: var(--transition-bounce);
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.5);
    z-index: 101;
}

.lang-dropdown.open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.lang-dropdown li {
    padding: 10px 16px;
    font-size: 0.85rem;
    font-weight: 500;
    cursor: pointer;
    color: var(--text-secondary);
    transition: var(--transition-smooth);
}

.lang-dropdown li:hover {
    background: rgba(6, 182, 212, 0.15);
    color: var(--text-primary);
}

.nav-socials {
    display: flex;
    gap: 16px;
}

.nav-socials a {
    color: var(--text-secondary);
    font-size: 1.2rem;
    transition: var(--transition-smooth);
}

.nav-socials a:hover {
    color: var(--accent-cyan);
    transform: translateY(-2px);
}

/* ==========================================
   4. LAYOUT & SECTIONS
   ========================================== */
.main-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.section {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.section-padding {
    padding: 100px 0;
}

.section-header {
    margin-bottom: 50px;
    text-align: center;
}

.section-tag {
    font-family: var(--font-retro);
    font-size: 0.65rem;
    color: var(--accent-cyan);
    margin-bottom: 12px;
    letter-spacing: 2px;
}

.section-title {
    font-family: 'Outfit', sans-serif;
    font-size: 2.5rem;
    font-weight: 800;
    letter-spacing: -0.5px;
    background: linear-gradient(to right, #ffffff, #9ca3af);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 16px;
}

.section-subtitle {
    color: var(--text-secondary);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.95rem;
    text-decoration: none;
    transition: var(--transition-bounce);
    cursor: pointer;
}

.btn-primary {
    background: linear-gradient(135deg, var(--accent-cyan), #0891b2);
    color: var(--bg-primary);
    border: none;
    box-shadow: 0 4px 20px rgba(6, 182, 212, 0.35);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(6, 182, 212, 0.5);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-primary);
    border: 1px solid var(--border-light);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--accent-cyan);
    transform: translateY(-3px);
}

/* ==========================================
   5. HERO SECTION
   ========================================== */
.hero-section {
    padding-top: 120px;
}

.hero-container {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 48px;
    align-items: center;
}

.hero-text-block {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.hero-tag {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--accent-cyan);
}

.hero-name {
    font-family: 'Outfit', sans-serif;
    font-size: 4rem;
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -1.5px;
    background: linear-gradient(135deg, #ffffff 40%, #818cf8 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-title {
    font-size: 1.8rem;
    font-weight: 600;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    gap: 6px;
    height: 40px;
}

.typewriter-static {
    opacity: 0.85;
}

.typewriter-dynamic {
    color: var(--accent-cyan);
    text-shadow: 0 0 15px rgba(6, 182, 212, 0.4);
}

.typewriter-cursor {
    color: var(--accent-cyan);
    animation: cursorBlink 0.8s infinite;
}

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

.hero-description {
    color: var(--text-secondary);
    font-size: 1.15rem;
    line-height: 1.7;
    margin-bottom: 12px;
}

.hero-buttons {
    display: flex;
    gap: 16px;
}

/* 3D Profile Card */
.profile-card-container {
    display: flex;
    justify-content: center;
    align-items: center;
    perspective: 1000px;
}

.profile-card {
    background: rgba(17, 24, 39, 0.45);
    border: 1px solid var(--border-light);
    border-radius: 20px;
    padding: 30px;
    width: 100%;
    max-width: 360px;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    position: relative;
    transition: transform 0.15s ease-out, border-color 0.3s;
    transform-style: preserve-3d;
    box-shadow: 0 20px 40px -15px rgba(0, 0, 0, 0.5);
}

.profile-card:hover {
    border-color: var(--border-purple);
}

.profile-card-glow {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 20px;
    pointer-events: none;
    z-index: 2;
    transition: background 0.15s ease-out;
}

.profile-img-wrapper {
    width: 100%;
    aspect-ratio: 1;
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 24px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transform: translateZ(30px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.profile-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.profile-card:hover .profile-img {
    transform: scale(1.05);
}

.profile-card-info {
    transform: translateZ(40px);
    text-align: center;
}

.profile-card-name {
    font-family: 'Outfit', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 4px;
}

.profile-card-tag {
    font-family: var(--font-mono);
    color: var(--accent-purple);
    font-size: 0.9rem;
    margin-bottom: 20px;
}

.profile-card-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 20px;
}

.stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.stat-num {
    font-family: 'Outfit', sans-serif;
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-primary);
}

.stat-lbl {
    font-size: 0.75rem;
    color: var(--text-secondary);
    margin-top: 2px;
}

/* ==========================================
   6. RETRO TERMINAL CONSOLE
   ========================================== */
.terminal-wrapper {
    background: #090d16;
    border: 1px solid var(--border-light);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 20px 50px -10px rgba(0, 0, 0, 0.75);
    max-width: 850px;
    width: 100%;
    margin: 0 auto;
}

.terminal-header {
    background: #0f1322;
    padding: 12px 18px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.03);
}

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

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    display: inline-block;
}

.dot-red { background: var(--accent-red); }
.dot-yellow { background: var(--accent-yellow); }
.dot-green { background: var(--accent-emerald); }

.terminal-title-text {
    font-family: var(--font-mono);
    font-size: 0.8rem;
    color: var(--text-secondary);
    opacity: 0.8;
}

.terminal-body {
    padding: 24px;
    height: 380px;
    overflow-y: auto;
    font-family: var(--font-mono);
    font-size: 0.92rem;
    line-height: 1.5;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.output-line {
    white-space: pre-wrap;
    word-break: break-word;
}

.echo-line {
    color: var(--text-primary);
    font-weight: 500;
}

.terminal-prompt {
    color: var(--accent-purple);
    font-weight: 700;
    margin-right: 8px;
}

.terminal-input-line {
    display: flex;
    align-items: center;
}

#terminalInput {
    background: transparent;
    border: none;
    outline: none;
    color: var(--text-primary);
    font-family: var(--font-mono);
    font-size: 0.92rem;
    flex-grow: 1;
}

/* Color codes inside terminal */
.text-cyan { color: var(--accent-cyan); }
.text-purple { color: var(--accent-purple); }
.text-green { color: var(--accent-emerald); }
.text-yellow { color: var(--accent-yellow); }
.text-red { color: var(--accent-red); }
.text-gray { color: var(--text-muted); }
.font-bold { font-weight: 700; }
.font-semibold { font-weight: 600; }

.terminal-quick-buttons {
    background: #070a12;
    padding: 12px 18px;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    border-top: 1px solid rgba(255, 255, 255, 0.03);
}

.terminal-qbtn {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-light);
    color: var(--text-secondary);
    padding: 6px 12px;
    border-radius: 6px;
    font-family: var(--font-mono);
    font-size: 0.8rem;
    cursor: pointer;
    transition: var(--transition-bounce);
    display: flex;
    align-items: center;
    gap: 6px;
}

.terminal-qbtn:hover {
    color: var(--text-primary);
    background: rgba(6, 182, 212, 0.1);
    border-color: var(--accent-cyan);
    transform: translateY(-2px);
}

/* ==========================================
   7. SKILLS MATRIX
   ========================================== */
.skills-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.skill-card {
    background: rgba(17, 24, 39, 0.4);
    border: 1px solid var(--border-light);
    border-radius: 16px;
    padding: 32px;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    transition: var(--transition-bounce);
}

.skill-card:hover {
    transform: translateY(-5px);
}

/* Custom glow classes per category */
.skill-card.glow-cyan { border-color: rgba(6, 182, 212, 0.2); }
.skill-card.glow-cyan:hover { border-color: var(--accent-cyan); box-shadow: 0 10px 30px -10px rgba(6, 182, 212, 0.2); }

.skill-card.glow-purple { border-color: rgba(168, 85, 247, 0.2); }
.skill-card.glow-purple:hover { border-color: var(--accent-purple); box-shadow: 0 10px 30px -10px rgba(168, 85, 247, 0.2); }

.skill-card.glow-emerald { border-color: rgba(16, 185, 129, 0.2); }
.skill-card.glow-emerald:hover { border-color: var(--accent-emerald); box-shadow: 0 10px 30px -10px rgba(16, 185, 129, 0.2); }

.skill-card.glow-yellow { border-color: rgba(245, 158, 11, 0.2); }
.skill-card.glow-yellow:hover { border-color: var(--accent-yellow); box-shadow: 0 10px 30px -10px rgba(245, 158, 11, 0.2); }

.skill-card-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 24px;
}

.skill-icon-box {
    width: 48px;
    height: 48px;
    border-radius: 10px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.25rem;
}

.skill-icon-box.box-cyan { background: rgba(6, 182, 212, 0.15); color: var(--accent-cyan); }
.skill-icon-box.box-purple { background: rgba(168, 85, 247, 0.15); color: var(--accent-purple); }
.skill-icon-box.box-emerald { background: rgba(16, 185, 129, 0.15); color: var(--accent-emerald); }
.skill-icon-box.box-yellow { background: rgba(245, 158, 11, 0.15); color: var(--accent-yellow); }

.skill-card-header h3 {
    font-family: 'Outfit', sans-serif;
    font-size: 1.3rem;
    font-weight: 700;
}

.skill-card-body {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.skill-item {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.skill-item-info {
    display: flex;
    justify-content: space-between;
    font-size: 0.9rem;
    font-weight: 500;
}

.skill-item-name {
    color: var(--text-primary);
}

.skill-item-percent {
    color: var(--text-secondary);
}

.skill-progress-bg {
    background: rgba(255, 255, 255, 0.05);
    height: 6px;
    border-radius: 3px;
    overflow: hidden;
}

.skill-progress-bar {
    height: 100%;
    border-radius: 3px;
}

.skill-progress-bar.bar-cyan { background: var(--accent-cyan); }
.skill-progress-bar.bar-purple { background: var(--accent-purple); }
.skill-progress-bar.bar-emerald { background: var(--accent-emerald); }
.skill-progress-bar.bar-yellow { background: var(--accent-yellow); }

/* ==========================================
   8. PROJECTS SECTION
   ========================================== */
.projects-controls {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    margin-bottom: 36px;
}

.search-box {
    position: relative;
    max-width: 320px;
    width: 100%;
}

.search-icon {
    position: absolute;
    top: 50%;
    left: 14px;
    transform: translateY(-50%);
    color: var(--text-muted);
    font-size: 0.9rem;
}

#projectSearch {
    width: 100%;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-light);
    color: var(--text-primary);
    padding: 12px 14px 12px 40px;
    border-radius: 8px;
    font-size: 0.9rem;
    outline: none;
    transition: var(--transition-smooth);
}

#projectSearch:focus {
    background: rgba(255, 255, 255, 0.07);
    border-color: var(--accent-cyan);
    box-shadow: 0 0 15px rgba(6, 182, 212, 0.15);
}

.filter-tabs {
    display: flex;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-light);
    padding: 4px;
    border-radius: 10px;
    overflow-x: auto;
    max-width: 100%;
}

.filter-tab {
    background: transparent;
    border: none;
    outline: none;
    color: var(--text-secondary);
    padding: 10px 18px;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition-smooth);
    white-space: nowrap;
}

.filter-tab:hover {
    color: var(--text-primary);
}

.filter-tab.active {
    background: rgba(6, 182, 212, 0.15);
    color: var(--accent-cyan);
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.project-card {
    background: rgba(17, 24, 39, 0.45);
    border: 1px solid var(--border-light);
    border-radius: 16px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: var(--transition-bounce);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.project-card:hover {
    transform: translateY(-6px);
    border-color: var(--border-cyan);
    box-shadow: 0 15px 35px -10px rgba(6, 182, 212, 0.15);
}

.project-card-content {
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.project-card-title {
    font-family: 'Outfit', sans-serif;
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-primary);
}

.project-card-desc {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.6;
}

.project-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 8px;
}

.project-tag {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.03);
    color: var(--accent-cyan);
    font-family: var(--font-mono);
    font-size: 0.75rem;
    padding: 3px 8px;
    border-radius: 4px;
}

.project-card-footer {
    padding: 16px 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.03);
    background: rgba(0, 0, 0, 0.15);
}

.project-code-link {
    color: var(--text-primary);
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: var(--transition-smooth);
}

.project-code-link:hover {
    color: var(--accent-cyan);
}

.project-code-link i {
    font-size: 1rem;
}

.no-projects-found {
    grid-column: 1 / -1;
    text-align: center;
    padding: 80px 0;
    color: var(--text-secondary);
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* ==========================================
   9. MILESTONE TIMELINE
   ========================================== */
.timeline {
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
    padding: 40px 0;
}

.timeline::after {
    content: '';
    position: absolute;
    width: 2px;
    background: rgba(255, 255, 255, 0.06);
    top: 0;
    bottom: 0;
    left: 50%;
    margin-left: -1px;
}

.timeline-item {
    padding: 10px 40px;
    position: relative;
    width: 50%;
    margin-bottom: 24px;
}

.timeline-item.left { left: 0; }
.timeline-item.right { left: 50%; }

.timeline-dot {
    position: absolute;
    width: 44px;
    height: 44px;
    right: -22px;
    top: 15px;
    background: #090d16;
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    z-index: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--text-secondary);
    transition: var(--transition-bounce);
}

.timeline-item.right .timeline-dot {
    left: -22px;
}

.timeline-item:hover .timeline-dot {
    color: var(--accent-cyan);
    border-color: var(--accent-cyan);
    box-shadow: 0 0 15px rgba(6, 182, 212, 0.35);
    transform: scale(1.1);
}

.timeline-content {
    padding: 24px;
    background: rgba(17, 24, 39, 0.4);
    border: 1px solid var(--border-light);
    border-radius: 12px;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    transition: var(--transition-smooth);
}

.timeline-item:hover .timeline-content {
    border-color: var(--border-purple);
    box-shadow: 0 10px 25px -10px rgba(168, 85, 247, 0.15);
}

.timeline-year {
    font-family: var(--font-mono);
    color: var(--accent-purple);
    font-size: 0.85rem;
    font-weight: 700;
    margin-bottom: 6px;
}

.timeline-title {
    font-family: 'Outfit', sans-serif;
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--text-primary);
}

.timeline-desc {
    color: var(--text-secondary);
    font-size: 0.88rem;
    line-height: 1.6;
}

/* ==========================================
   10. FOOTER & DONATION WIDGET
   ========================================== */
.footer {
    border-top: 1px solid var(--border-light);
    background: rgba(3, 7, 18, 0.85);
    padding: 80px 0 30px;
    position: relative;
    z-index: 10;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: grid;
    grid-template-columns: 1fr 1.2fr 0.8fr;
    gap: 48px;
    margin-bottom: 50px;
}

.footer-info {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.footer-logo {
    font-family: var(--font-mono);
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--text-primary);
}

.footer-tagline {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Donation box */
.donation-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    position: relative;
}

.donation-title {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    font-size: 1rem;
}

.donation-desc {
    color: var(--text-secondary);
    font-size: 0.8rem;
    line-height: 1.4;
}

.wallet-box {
    display: flex;
    background: #080b13;
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 6px;
    padding: 8px 12px;
    align-items: center;
    justify-content: space-between;
}

.wallet-box code {
    font-family: var(--font-mono);
    font-size: 0.72rem;
    color: var(--accent-yellow);
    word-break: break-all;
    user-select: all;
}

.copy-wallet-btn {
    background: transparent;
    border: none;
    color: var(--text-secondary);
    cursor: pointer;
    padding: 4px;
    font-size: 0.9rem;
    transition: var(--transition-smooth);
}

.copy-wallet-btn:hover {
    color: var(--text-primary);
    transform: scale(1.1);
}

.copy-toast {
    position: absolute;
    bottom: -32px;
    left: 50%;
    transform: translateX(-50%) translateY(5px);
    background: var(--accent-emerald);
    color: var(--bg-primary);
    font-size: 0.75rem;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 4px;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition-bounce);
    white-space: nowrap;
    box-shadow: 0 4px 10px rgba(16, 185, 129, 0.2);
}

.copy-toast.visible {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.footer-links-grid {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-end;
}

.footer-socials {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-socials a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: var(--transition-smooth);
}

.footer-socials a:hover {
    color: var(--accent-cyan);
    transform: translateX(4px);
}

.footer-bottom {
    max-width: 1200px;
    margin: 0 auto;
    padding: 30px 24px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.03);
    display: flex;
    justify-content: center;
    text-align: center;
}

.footer-bottom p {
    color: var(--text-muted);
    font-size: 0.8rem;
}

/* ==========================================
   11. RESPONSIVE BREAKPOINTS
   ========================================== */
@media (max-width: 1024px) {
    .hero-container {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }
    
    .hero-text-block {
        align-items: center;
    }
    
    .hero-buttons {
        justify-content: center;
    }

    .hero-title {
        justify-content: center;
    }
    
    .projects-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .skills-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-container {
        grid-template-columns: 1fr 1fr;
        gap: 32px;
    }
    
    .footer-links-grid {
        align-items: flex-start;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none; /* Can expand into a mobile drawer if needed, but for simplicity of SPA we keep it clean */
    }

    .section-title {
        font-size: 2rem;
    }

    .hero-name {
        font-size: 3rem;
    }

    .hero-title {
        font-size: 1.4rem;
    }

    .projects-controls {
        flex-direction: column;
        align-items: stretch;
    }
    
    .search-box {
        max-width: 100%;
    }

    .projects-grid {
        grid-template-columns: 1fr;
    }

    /* Timeline center-line reset */
    .timeline::after {
        left: 31px;
    }
    
    .timeline-item {
        width: 100%;
        padding-left: 70px;
        padding-right: 20px;
    }
    
    .timeline-item.right {
        left: 0%;
    }
    
    .timeline-dot {
        left: 10px !important;
        right: auto !important;
    }

    .footer-container {
        grid-template-columns: 1fr;
        gap: 32px;
    }
}
