#loading-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #0a0a0a;
    z-index: 10000;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

#loading-screen.hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

#game-canvas {
    border: 3px solid #00ff00;
    border-radius: 4px;
    box-shadow: 0 0 20px rgba(0, 255, 0, 0.2), inset 0 0 60px rgba(0, 255, 0, 0.05);
    image-rendering: pixelated;
    image-rendering: crisp-edges;
}

.loading-info {
    text-align: center;
    margin-top: 20px;
}

.loading-text {
    font-family: monospace;
    font-size: 16px;
    color: #00ff00;
    margin-bottom: 8px;
    text-shadow: 0 0 10px rgba(0, 255, 0, 0.5);
}

.dots::after {
    content: '';
    animation: dots 1.5s steps(4, end) infinite;
}

@keyframes dots {
    0%, 20% { content: ''; }
    40% { content: '.'; }
    60% { content: '..'; }
    80%, 100% { content: '...'; }
}

.loading-hint {
    font-family: monospace;
    font-size: 11px;
    color: #00aa00;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.loading-hint.mobile-hint {
    display: none;
}

@media (max-width: 768px) {
    .loading-hint.pc-hint {
        display: none;
    }
    .loading-hint.mobile-hint {
        display: block;
    }
}

:root {
    --bg-primary: #0a0a0a;
    --bg-secondary: #111111;
    --bg-tertiary: #161616;
    --bg-card: #0d0d0d;
    --text-primary: #ffffff;
    --text-secondary: #a0a0a0;
    --text-muted: #666666;
    --accent: #00d4ff;
    --accent-secondary: #0099cc;
    --accent-glow: rgba(0, 212, 255, 0.15);
    --border: #1a1a1a;
    --border-light: #2a2a2a;
    --success: #22c55e;
    --warning: #f59e0b;
    --error: #ef4444;
    --font-mono: 'JetBrains Mono', 'Fira Code', 'SF Mono', Consolas, monospace;
    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-fast: 0.15s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-sans);
    background: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    min-height: 100vh;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.noise {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 9999;
    opacity: 0.015;
    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)'/%3E%3C/svg%3E");
}

.grid-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: -1;
    background-image: 
        linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
    background-size: 60px 60px;
    mask-image: radial-gradient(ellipse at center, black 0%, transparent 70%);
    -webkit-mask-image: radial-gradient(ellipse at center, black 0%, transparent 70%);
}

::selection {
    background: var(--accent);
    color: var(--bg-primary);
}

a {
    color: inherit;
    text-decoration: none;
}

img {
    max-width: 100%;
    height: auto;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(10, 10, 10, 0.8);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
}

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

.nav-logo {
    font-family: var(--font-mono);
    font-size: 18px;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 2px;
    transition: var(--transition);
}

.nav-logo:hover {
    color: var(--accent);
}

.logo-bracket {
    color: var(--accent);
}

.logo-text {
    color: var(--text-primary);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 40px;
}

.nav-link {
    font-family: var(--font-mono);
    font-size: 13px;
    color: var(--text-secondary);
    text-transform: lowercase;
    letter-spacing: 0.5px;
    transition: var(--transition);
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--accent);
    transition: var(--transition);
}

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

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

.nav-link.nav-game {
    color: #00ff00;
    background: rgba(0, 255, 0, 0.1);
    padding: 6px 12px;
    border-radius: 4px;
    border: 1px solid rgba(0, 255, 0, 0.3);
    transition: all 0.3s ease;
}

.nav-link.nav-game:hover {
    background: rgba(0, 255, 0, 0.2);
    border-color: #00ff00;
    box-shadow: 0 0 10px rgba(0, 255, 0, 0.3);
    color: #00ff00;
}

.nav-link.nav-game::after {
    display: none;
}

.project-icon.cypher-icon {
    background: linear-gradient(135deg, #0a0a0a 0%, #1a1a2e 100%);
    border: 2px solid #00ff41;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 15px rgba(0, 255, 65, 0.3), inset 0 0 20px rgba(0, 255, 65, 0.1);
}

.cypher-logo {
    font-family: 'JetBrains Mono', monospace;
    font-size: 20px;
    font-weight: bold;
    color: #00ff41;
    text-shadow: 0 0 10px rgba(0, 255, 65, 0.8);
    animation: cypher-flicker 3s infinite;
}

@keyframes cypher-flicker {
    0%, 100% { opacity: 1; }
    92% { opacity: 1; }
    93% { opacity: 0.8; }
    94% { opacity: 1; }
    96% { opacity: 0.9; }
    97% { opacity: 1; }
}

.lang-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    border: 1px solid var(--border-light);
    border-radius: 6px;
    padding: 6px 12px;
    cursor: pointer;
    transition: var(--transition);
    margin-left: 20px;
}

.lang-toggle:hover {
    border-color: var(--accent);
    background: rgba(0, 212, 255, 0.05);
}

.lang-code {
    font-family: var(--font-mono);
    font-size: 12px;
    font-weight: 600;
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.nav-toggle span {
    width: 24px;
    height: 2px;
    background: var(--text-primary);
    transition: var(--transition);
}

.hero {
    min-height: 100vh;
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 80px;
    padding: 120px 24px 80px;
    max-width: 1200px;
    margin: 0 auto;
}

.hero-content {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.hero-status {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 8px 16px;
    background: rgba(34, 197, 94, 0.1);
    border: 1px solid rgba(34, 197, 94, 0.2);
    border-radius: 100px;
    width: fit-content;
}

.status-dot {
    width: 8px;
    height: 8px;
    background: var(--success);
    border-radius: 50%;
    animation: pulse 2s infinite;
}

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

.status-text {
    font-family: var(--font-mono);
    font-size: 12px;
    color: var(--success);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.hero-title {
    font-size: clamp(48px, 8vw, 80px);
    font-weight: 700;
    line-height: 1.05;
    letter-spacing: -2px;
}

.title-line {
    display: block;
}

.title-accent {
    color: var(--accent);
    position: relative;
}

.hero-description {
    font-size: 18px;
    color: var(--text-secondary);
    max-width: 480px;
    line-height: 1.7;
}

.hero-stats {
    display: flex;
    align-items: center;
    gap: 32px;
    padding: 24px 0;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.stat {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.stat-value {
    font-family: var(--font-mono);
    font-size: 32px;
    font-weight: 600;
    color: var(--text-primary);
}

.stat-label {
    font-size: 12px;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.stat-divider {
    width: 1px;
    height: 40px;
    background: var(--border);
}

.hero-cta {
    display: flex;
    gap: 16px;
    padding-top: 8px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 28px;
    font-family: var(--font-mono);
    font-size: 13px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 4px;
    border: none;
    cursor: pointer;
    transition: var(--transition);
}

.btn-primary {
    background: var(--accent);
    color: var(--bg-primary);
}

.btn-primary:hover {
    background: var(--accent-secondary);
    transform: translateY(-2px);
    box-shadow: 0 8px 30px var(--accent-glow);
}

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

.btn-secondary:hover {
    background: var(--bg-tertiary);
    border-color: var(--text-muted);
}

.hero-terminal {
    background: var(--bg-secondary);
    border: 1px solid var(--border);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.terminal-header {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px 20px;
    background: var(--bg-tertiary);
    border-bottom: 1px solid var(--border);
}

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

.terminal-dots .dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.terminal-dots .red { background: #ff5f56; }
.terminal-dots .yellow { background: #ffbd2e; }
.terminal-dots .green { background: #27c93f; }

.terminal-title {
    font-family: var(--font-mono);
    font-size: 12px;
    color: var(--text-muted);
}

.terminal-body {
    padding: 24px;
    font-family: var(--font-mono);
    font-size: 14px;
    line-height: 1.8;
}

.terminal-line {
    display: flex;
    gap: 12px;
    margin-bottom: 8px;
}

.prompt {
    color: var(--accent);
}

.command {
    color: var(--text-primary);
}

.terminal-output {
    color: var(--text-secondary);
    padding-left: 24px;
    margin-bottom: 16px;
}

.terminal-output.code {
    color: var(--text-muted);
    white-space: pre;
    font-size: 12px;
}

.cursor {
    color: var(--accent);
    animation: blink 1s step-end infinite;
}

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

.section {
    padding: 120px 0;
}

.section-header {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 60px;
}

.section-number {
    font-family: var(--font-mono);
    font-size: 14px;
    color: var(--accent);
}

.section-title {
    font-size: 32px;
    font-weight: 600;
    letter-spacing: -1px;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 400px;
    gap: 80px;
    align-items: start;
}

.about-text {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.about-lead {
    font-size: 20px;
    color: var(--text-primary);
    line-height: 1.7;
}

.about-text p {
    color: var(--text-secondary);
    line-height: 1.8;
}

.about-image {
    position: relative;
}

.image-frame {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    aspect-ratio: 1;
}

.profile-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(100%);
    transition: var(--transition);
}

.image-frame:hover .profile-image {
    filter: grayscale(0%);
}

.image-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, transparent 50%, var(--accent-glow) 100%);
    pointer-events: none;
}

.image-label {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 16px;
    font-family: var(--font-mono);
    font-size: 13px;
    color: var(--text-muted);
}

.label-icon {
    color: var(--accent);
}

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

.project-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 32px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    transition: var(--transition);
    position: relative;
}

.project-card:hover {
    border-color: var(--border-light);
    transform: translateY(-4px);
}

.project-card.featured {
    grid-column: span 2;
    background: linear-gradient(135deg, var(--bg-card) 0%, rgba(0, 212, 255, 0.03) 100%);
    border-color: rgba(0, 212, 255, 0.2);
}

.project-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    font-family: var(--font-mono);
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--accent);
    background: var(--accent-glow);
    padding: 6px 12px;
    border-radius: 4px;
}

.project-header {
    display: flex;
    align-items: center;
    gap: 16px;
}

.project-icon {
    width: 56px;
    height: 56px;
    border-radius: 12px;
    overflow: hidden;
    background: var(--bg-tertiary);
    flex-shrink: 0;
}

.project-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.project-meta {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.project-name {
    font-size: 20px;
    font-weight: 600;
}

.project-status {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-family: var(--font-mono);
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.project-status.live {
    color: var(--success);
}

.project-status.dev {
    color: var(--warning);
}

.status-indicator {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: currentColor;
}

.project-description {
    color: var(--text-secondary);
    line-height: 1.7;
    flex-grow: 1;
}

.project-tech {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.project-tech span {
    font-family: var(--font-mono);
    font-size: 11px;
    color: var(--text-muted);
    background: var(--bg-tertiary);
    padding: 6px 12px;
    border-radius: 4px;
    border: 1px solid var(--border);
}

.project-links {
    padding-top: 8px;
}

.project-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-mono);
    font-size: 13px;
    color: var(--accent);
    transition: var(--transition);
}

.project-link:hover {
    color: var(--text-primary);
}

.project-link.disabled {
    color: var(--text-muted);
    cursor: not-allowed;
}

.timeline {
    position: relative;
    padding-left: 120px;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 60px;
    top: 0;
    bottom: 0;
    width: 1px;
    background: var(--border);
}

.timeline-item {
    position: relative;
    padding-bottom: 60px;
}

.timeline-item:last-child {
    padding-bottom: 0;
}

.timeline-marker {
    position: absolute;
    left: -60px;
    top: 0;
    width: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.timeline-marker::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 12px;
    height: 12px;
    background: var(--bg-primary);
    border: 2px solid var(--accent);
    border-radius: 50%;
}

.marker-year {
    font-family: var(--font-mono);
    font-size: 12px;
    color: var(--text-muted);
    position: absolute;
    left: -40px;
}

.timeline-content {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 32px;
    transition: var(--transition);
}

.timeline-content:hover {
    border-color: var(--border-light);
}

.timeline-title {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 8px;
}

.timeline-company {
    display: block;
    color: var(--accent);
    font-size: 14px;
    margin-bottom: 4px;
}

.timeline-period {
    display: block;
    font-family: var(--font-mono);
    font-size: 12px;
    color: var(--text-muted);
    margin-bottom: 20px;
}

.timeline-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.timeline-list li {
    color: var(--text-secondary);
    padding-left: 20px;
    position: relative;
    line-height: 1.6;
}

.timeline-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 10px;
    width: 6px;
    height: 1px;
    background: var(--accent);
}

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

.stack-category {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 28px;
    transition: var(--transition);
}

.stack-category:hover {
    border-color: var(--border-light);
}

.stack-title {
    font-family: var(--font-mono);
    font-size: 12px;
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 20px;
}

.stack-items {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.stack-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.stack-name {
    font-size: 15px;
    color: var(--text-primary);
}

.stack-level {
    font-family: var(--font-mono);
    font-size: 11px;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: start;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.contact-heading {
    font-size: 32px;
    font-weight: 600;
    line-height: 1.3;
    letter-spacing: -1px;
}

.contact-text {
    color: var(--text-secondary);
    line-height: 1.8;
}

.contact-links {
    display: flex;
    flex-direction: column;
    gap: 16px;
    padding-top: 16px;
}

.social-link {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    color: var(--text-secondary);
    transition: var(--transition);
}

.social-link:hover {
    color: var(--accent);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-label {
    font-family: var(--font-mono);
    font-size: 12px;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.form-input {
    background: var(--bg-secondary);
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 16px;
    font-family: var(--font-sans);
    font-size: 15px;
    color: var(--text-primary);
    transition: var(--transition);
}

.form-input::placeholder {
    color: var(--text-muted);
}

.form-input:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px var(--accent-glow);
}

.form-textarea {
    min-height: 160px;
    resize: vertical;
}

.btn-submit {
    width: 100%;
    padding: 18px;
}

.footer {
    border-top: 1px solid var(--border);
    padding: 40px 0;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-copy {
    font-size: 14px;
    color: var(--text-muted);
}

.footer-tagline {
    font-family: var(--font-mono);
    font-size: 12px;
    color: var(--text-muted);
}

.success-message {
    text-align: center;
    padding: 40px;
    background: rgba(34, 197, 94, 0.1);
    border: 1px solid rgba(34, 197, 94, 0.2);
    border-radius: 12px;
}

.success-message svg {
    color: var(--success);
    margin-bottom: 16px;
}

.success-message h3 {
    color: var(--success);
    font-size: 20px;
    margin-bottom: 8px;
}

.success-message p {
    color: var(--text-secondary);
}

@media (max-width: 1024px) {
    .hero {
        grid-template-columns: 1fr;
        gap: 60px;
        padding: 100px 24px 60px;
    }
    
    .hero-terminal {
        max-width: 600px;
    }
    
    .about-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .about-image {
        order: -1;
        max-width: 300px;
    }
    
    .project-card.featured {
        grid-column: span 1;
    }
    
    .stack-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .contact-content {
        grid-template-columns: 1fr;
        gap: 60px;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 16px;
    }
    
    .nav-container {
        padding: 0 16px;
        height: 64px;
    }
    
    .nav-links {
        display: none;
        position: fixed;
        top: 64px;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(10, 10, 10, 0.98);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        flex-direction: column;
        padding: 40px 24px;
        gap: 32px;
        z-index: 999;
    }
    
    .nav-links.active {
        display: flex;
    }
    
    .nav-link {
        font-size: 18px;
    }
    
    .nav-toggle {
        display: flex;
    }
    
    .hero {
        min-height: auto;
        padding: 90px 16px 50px;
        gap: 40px;
    }
    
    .hero-title {
        font-size: 42px;
        letter-spacing: -1px;
    }
    
    .hero-description {
        font-size: 16px;
    }
    
    .hero-stats {
        flex-wrap: wrap;
        gap: 20px;
        padding: 20px 0;
    }
    
    .stat {
        flex: 1;
        min-width: 80px;
        text-align: center;
    }
    
    .stat-value {
        font-size: 24px;
    }
    
    .stat-label {
        font-size: 10px;
    }
    
    .stat-divider {
        display: none;
    }
    
    .hero-cta {
        flex-direction: column;
        gap: 12px;
    }
    
    .btn {
        width: 100%;
        padding: 16px 24px;
    }
    
    .hero-terminal {
        border-radius: 8px;
    }
    
    .terminal-header {
        padding: 12px 16px;
    }
    
    .terminal-body {
        padding: 16px;
        font-size: 12px;
    }
    
    .terminal-output.code {
        font-size: 9px;
        overflow-x: auto;
        white-space: pre-wrap;
        word-break: break-all;
    }
    
    .section {
        padding: 60px 0;
    }
    
    .section-header {
        margin-bottom: 40px;
    }
    
    .section-title {
        font-size: 24px;
    }
    
    .about-lead {
        font-size: 18px;
    }
    
    .about-image {
        max-width: 200px;
        margin: 0 auto;
    }
    
    .projects-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    
    .project-card {
        padding: 24px;
        gap: 16px;
    }
    
    .project-name {
        font-size: 18px;
    }
    
    .project-description {
        font-size: 14px;
    }
    
    .project-tech {
        gap: 6px;
    }
    
    .project-tech span {
        font-size: 10px;
        padding: 4px 8px;
    }
    
    .timeline {
        padding-left: 0;
    }
    
    .timeline::before {
        left: 15px;
    }
    
    .timeline-item {
        padding-bottom: 40px;
    }
    
    .timeline-marker {
        left: 0;
        width: 30px;
    }
    
    .timeline-marker::before {
        width: 10px;
        height: 10px;
    }
    
    .marker-year {
        display: none;
    }
    
    .timeline-content {
        margin-left: 40px;
        padding: 20px;
    }
    
    .timeline-title {
        font-size: 18px;
    }
    
    .timeline-list li {
        font-size: 14px;
    }
    
    .stack-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    
    .stack-category {
        padding: 20px;
    }
    
    .contact-heading {
        font-size: 24px;
    }
    
    .contact-text {
        font-size: 15px;
    }
    
    .form-input {
        padding: 14px;
        font-size: 16px;
    }
    
    .footer {
        padding: 30px 0;
    }
    
    .footer-content {
        flex-direction: column;
        gap: 12px;
        text-align: center;
    }
    
    .footer-copy,
    .footer-tagline {
        font-size: 12px;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 36px;
    }
    
    .hero-status {
        padding: 6px 12px;
    }
    
    .status-text {
        font-size: 10px;
    }
    
    .stat-value {
        font-size: 22px;
    }
    
    .terminal-dots .dot {
        width: 10px;
        height: 10px;
    }
    
    .project-icon {
        width: 48px;
        height: 48px;
    }
    
    .section-number {
        font-size: 12px;
    }
    
    .section-title {
        font-size: 22px;
    }
}
