:root {
    --bg-color: #000000;
    --panel-bg: #000000;
    --text-main: #e0e0e0;
    --text-dim: #888;
    --accent: #00ff41;
    --accent-dim: #008f11;
    --border: #333;
    --font-heading: 'Silkscreen', cursive;
    --font-body: 'Jetbrains mono';
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    padding: 0;
    background-color: var(--bg-color);
    color: var(--text-main);
    font-family: var(--font-body);
    font-size: 1.2rem;
    min-height: 100vh;
    overflow-y: auto;
    scrollbar-width: none;
}

body::-webkit-scrollbar {
    display: none;
}

.scanlines {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom,
            rgba(255, 255, 255, 0),
            rgba(255, 255, 255, 0) 50%,
            rgba(0, 0, 0, 0.2) 50%,
            rgba(0, 0, 0, 0.2));
    background-size: 100% 4px;
    pointer-events: none;
    z-index: 999;
}

.vignette {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(0, 0, 0, 0) 60%, rgba(0, 0, 0, 0.8) 100%);
    pointer-events: none;
    z-index: 998;
}

.datapad-container {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    max-width: 800px;
    margin: 0 auto;
    background-color: var(--panel-bg);
    position: relative;
    z-index: 1;
}

.system-bar {
    height: 40px;
    border-bottom: 2px solid var(--border);
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 1rem;
    font-family: var(--font-heading);
    font-size: 0.8rem;
    color: var(--text-dim);
    background-color: #000;
}

.sys-left {
    color: var(--accent);
}

.content-scroll {
    flex: 1;
    padding: 2rem;
}

.hero-header {
    margin-bottom: 0;
    padding-bottom: 6rem;
    padding-top: 6rem;
    text-align: center;
}

.hero-name {
    font-family: var(--font-heading);
    font-size: 3rem;
    margin: 50;
    line-height: 0.9;
    letter-spacing: -3px;
    color: var(--text-main);
}

.hero-tagline {
    color: var(--text-dim);
    font-size: 1.3rem;
}

.section {
    margin: 0 auto 4rem auto;
    max-width: 600px;
}

.section-label {
    font-family: var(--font-heading);
    color: var(--accent);
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    letter-spacing: 1px;
}

.section-content {
    line-height: 1.8;
}

.section-content p {
    margin-bottom: 1.2rem;
}

.section-content strong {
    color: var(--text-main);
}

.quote {
    color: var(--accent);
    font-style: normal;
    margin: 1.5rem 0;
    padding-left: 1rem;
    border-left: 2px solid var(--accent);
}

.grid-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    max-width: 100%;
}

.card {
    border: 1px solid var(--border);
    background: #000;
    padding: 1.5rem;
    transition: transform 0.1s, border-color 0.1s;
}

.card:hover {
    transform: translateY(-2px);
    border-color: var(--accent);
}

.card-header {
    font-family: var(--font-heading);
    font-size: 0.9rem;
    margin-bottom: 0.8rem;
    color: white;
    letter-spacing: 0.5px;
}

#past-projects-btn .card-header,
#achievements-btn .card-header {
    font-size: 1rem;
}

.card-body {
    font-size: 1rem;
    color: var(--text-dim);
    line-height: 1.6;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    max-width: 100%;
}

.stat-item {
    border: 1px solid var(--border);
    padding: 1.5rem;
    text-align: center;
    background: #000;
}

.stat-label {
    display: block;
    font-size: 0.8rem;
    color: var(--text-dim);
    font-family: var(--font-heading);
}

.stat-value {
    display: block;
    font-family: var(--font-heading);
    font-size: 2.5rem;
    color: white;
    margin: 0.8rem 0;
    line-height: 1;
}

.stat-desc {
    font-size: 0.9rem;
    color: var(--accent);
}

.interactive-section {
    text-align: left;
    padding: 2rem 0;
}

.instruction {
    font-size: 1.3rem;
    color: var(--text-dim);
    margin-bottom: 2rem;
    animation: blink 2s infinite;
}

@keyframes blink {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.5;
    }
}

.potato-container {
    position: relative;
    height: 200px;
    width: 100%;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border);
    margin-top: 1rem;
}

#knife {
    position: absolute;
    top: 30px;
    left: 45%;
    transform: translateX(-50%);
    width: 90px;
    height: auto;
    z-index: 10;
    cursor: grab;
    transition: transform 0.1s;
}

#knife:active {
    cursor: grabbing;
}

#potato-wrapper {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 60px;
    display: flex;
    justify-content: center;
    align-items: center;
}

#potato {
    width: 100%;
    height: auto;
    image-rendering: pixelated;
}

@keyframes slideOutRight {
    to {
        transform: translateX(200px);
        opacity: 0;
    }
}

@keyframes slideInLeft {
    0% {
        transform: translateX(-200%);
        opacity: 0;
    }

    80% {
        transform: translateX(-45%);
        opacity: 1;
    }

    100% {
        transform: translateX(-50%);
        opacity: 1;
    }
}

.potato-slide-out {
    animation: slideOutRight 0.5s forwards;
}

.potato-slide-in {
    animation: slideInLeft 0.5s forwards;
}

.bottom-bar {
    height: 60px;
    background-color: #000;
    display: flex;
    align-items: center;
    padding: 0 1rem;
    position: relative;
}

.status-indicators {
    font-family: var(--font-heading);
    font-size: 0.7rem;
    color: var(--text-dim);
    display: flex;
    gap: 1rem;
    z-index: 2;
}

.character-zone {
    position: absolute;
    bottom: 10px;
    left: 0;
    width: 100%;
    height: 40px;
    pointer-events: none;
}

#character {
    position: fixed;
    width: 148px;
    height: 148px;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    image-rendering: pixelated;
    pointer-events: none;
    z-index: 9999;
    transition: opacity 0.5s;
    opacity: 1;
}

.connect-section {
    padding-top: 3rem;
    margin-top: 2rem;
}

.connect-links {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    margin-bottom: 3rem;
}

.connect-link {
    color: var(--text-main);
    text-decoration: none;
    font-size: 1.1rem;
    position: relative;
    transition: color 0.2s;
}

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

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

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

#disable-follow-btn {
    position: fixed;
    top: 50px;
    left: 10px;
    z-index: 10000;
    background: var(--panel-bg);
    border: 2px solid var(--border);
    color: var(--text-dim);
    font-family: var(--font-heading);
    font-size: 0.7rem;
    padding: 0.4rem 0.8rem;
    transition: all 0.2s;
}

#disable-follow-btn:hover {
    border-color: var(--accent);
    color: var(--accent);
    box-shadow: 0 0 8px rgba(0, 255, 65, 0.3);
}

#disable-follow-btn.disabled {
    border-color: #555;
    color: #555;
}

.copyright {
    margin-top: 2rem;
    font-size: 0.8rem;
    color: var(--text-dim);
}