@import url('https://fonts.googleapis.com/css2?family=Chakra+Petch:wght@500;600;700&family=Rajdhani:wght@500;600;700&family=Share+Tech+Mono&display=swap');

:root {
    --edge-yellow: #fcee0a;
    --edge-cyan: #04d9ff;
    --edge-magenta: #ff003c;
    --cp-black: #080808;
    --cp-dark: #121212;
    --cp-text: #eaeaea;
    --font-cyber: 'Chakra Petch', sans-serif;
    --font-head: 'Rajdhani', sans-serif;
    --font-body: 'Share Tech Mono', monospace;
}

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

body,
a,
button {
    cursor: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><rect x="11" y="2" width="2" height="6" fill="%23fcee0a"/><rect x="11" y="16" width="2" height="6" fill="%23fcee0a"/><rect x="2" y="11" width="6" height="2" fill="%23fcee0a"/><rect x="16" y="11" width="6" height="2" fill="%23fcee0a"/><circle cx="12" cy="12" r="1.5" fill="%23fcee0a"/></svg>') 12 12, auto;
}

body {
    background-color: var(--cp-black);
    color: var(--cp-text);
    font-family: var(--font-body);
    overflow-x: hidden;
    min-height: 100vh;
    padding: 30px 20px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.edgerunner-backdrop {
    position: fixed;
    top: -10%;
    left: -10%;
    width: 120vw;
    height: 120vh;
    background-image: url('https://images.unsplash.com/photo-1605810230434-7631ac76ec81?q=80&w=2000&auto=format&fit=crop');
    background-size: cover;
    background-position: center;
    filter: brightness(0.45) contrast(1.2) sepia(0.2) hue-rotate(310deg);
    z-index: -2;
    animation: panBackground 60s ease-in-out infinite alternate;
}

@keyframes panBackground {
    0% {
        transform: scale(1.1) translate(0, 0);
    }

    100% {
        transform: scale(1.1) translate(-2%, 2%);
    }
}

.crt-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: linear-gradient(rgba(18, 16, 16, 0) 50%, rgba(0, 0, 0, 0.3) 50%), linear-gradient(90deg, rgba(255, 0, 0, 0.04), rgba(0, 255, 0, 0.01), rgba(0, 0, 255, 0.04));
    background-size: 100% 4px, 3px 100%;
    z-index: 9998;
    pointer-events: none;
    opacity: 0.3;
}

.vignette {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: radial-gradient(circle, transparent 35%, rgba(0, 0, 0, 0.85) 100%);
    z-index: 9997;
    pointer-events: none;
}

#system-unlock-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(8, 8, 8, 0.95);
    z-index: 10000;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: opacity 0.4s ease;
}

.sandevistan-spine {
    width: 4px;
    height: 100px;
    background: var(--edge-cyan);
    margin: 0 auto 20px auto;
    box-shadow: 0 0 20px var(--edge-cyan);
    animation: spineFlicker 0.1s infinite;
}

@keyframes spineFlicker {
    0% {
        opacity: 1;
    }

    50% {
        opacity: 0.3;
    }

    100% {
        opacity: 1;
    }
}

.glitch-text {
    font-family: var(--font-cyber);
    font-size: 4.5rem;
    color: var(--edge-magenta);
    font-weight: 700;
    margin-bottom: 10px;
    text-shadow: 4px 4px 0px rgba(252, 238, 10, 0.5);
    text-align: center;
}

.warning-text {
    color: var(--edge-yellow);
    font-size: 1.2rem;
    letter-spacing: 3px;
    font-weight: bold;
    text-align: center;
}

.cyber-btn-large {
    background: rgba(252, 238, 10, 0.1);
    border: 2px solid var(--edge-yellow);
    color: var(--edge-yellow);
    font-family: var(--font-cyber);
    font-size: 1.6rem;
    font-weight: bold;
    padding: 15px 40px;
    margin-top: 40px;
    text-transform: uppercase;
    transition: all 0.2s;
    clip-path: polygon(20px 0, 100% 0, 100% calc(100% - 20px), calc(100% - 20px) 100%, 0 100%, 0 20px);
}

.cyber-btn-large:hover {
    background: var(--edge-yellow);
    color: #000;
    box-shadow: 0 0 30px rgba(252, 238, 10, 0.4);
}

.cyber-ui-container {
    width: 100%;
    max-width: 1550px;
    height: 90vh;
    min-height: 800px;
    background: rgba(8, 8, 10, 0.65);
    border: 2px solid var(--edge-yellow);
    backdrop-filter: blur(6px);
    display: flex;
    flex-direction: column;
    position: relative;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.9), inset 0 0 30px rgba(252, 238, 10, 0.1);
    z-index: 10;
}

.ui-header {
    height: 70px;
    border-bottom: 2px solid var(--edge-yellow);
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 40px;
    background: linear-gradient(90deg, rgba(252, 238, 10, 0.15), transparent);
}

.edge-yellow-text {
    color: var(--edge-yellow);
}

.edge-cyan-text {
    color: var(--edge-cyan);
    font-weight: bold;
}

.db-title {
    font-family: var(--font-cyber);
    font-size: 2.5rem;
    font-weight: 700;
    letter-spacing: 2px;
    margin-right: 15px;
}

.db-path {
    font-family: var(--font-head);
    color: #aaa;
    font-size: 1.2rem;
    display: inline-block;
}

.audio-btn {
    background: transparent;
    border: 1px solid var(--edge-cyan);
    color: var(--edge-cyan);
    font-family: var(--font-body);
    font-weight: bold;
    font-size: 1.1rem;
    padding: 8px 15px;
    clip-path: polygon(10px 0, 100% 0, 100% calc(100% - 10px), calc(100% - 10px) 100%, 0 100%, 0 10px);
}

.audio-btn:hover {
    background: var(--edge-cyan);
    color: #000;
}

.ui-main {
    display: flex;
    flex-grow: 1;
    overflow: hidden;
}

.character-sidebar {
    width: 400px;
    flex-shrink: 0;
    border-right: 1px solid rgba(252, 238, 10, 0.3);
    padding: 35px;
    background: rgba(0, 0, 0, 0.4);
    display: flex;
    flex-direction: column;
    overflow-y: auto;
}

.profile-frame {
    position: relative;
    border: 3px solid var(--edge-yellow);
    padding: 5px;
    margin-bottom: 20px;
    clip-path: polygon(0 0, 100% 0, 100% calc(100% - 25px), calc(100% - 25px) 100%, 0 100%);
    background: rgba(0, 0, 0, 0.5);
}

.profile-frame img {
    width: 100%;
    display: block;
    filter: contrast(1.15) saturate(0.9);
}

.level-badge {
    position: absolute;
    bottom: 12px;
    right: -10px;
    background: var(--edge-magenta);
    color: #fff;
    font-family: var(--font-cyber);
    font-weight: 700;
    padding: 4px 15px;
    font-size: 1.3rem;
}

.character-name {
    font-family: var(--font-cyber);
    font-size: 2.6rem;
    color: #fff;
    font-weight: 700;
    line-height: 1;
    margin-bottom: 8px;
}

.system-stats {
    background: rgba(18, 18, 18, 0.7);
    border-left: 4px solid var(--edge-cyan);
    padding: 15px;
}

.stat-header {
    font-family: var(--font-cyber);
    color: var(--edge-yellow);
    font-size: 1.4rem;
    margin-bottom: 12px;
    border-bottom: 1px solid rgba(252, 238, 10, 0.3);
    padding-bottom: 5px;
}

.stat-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
    font-size: 0.95rem;
    font-weight: bold;
}

.stat-row span:last-child {
    color: #fff;
    text-align: right;
    max-width: 65%;
}

.highlight-yellow {
    color: var(--edge-yellow) !important;
    text-shadow: 0 0 5px rgba(252, 238, 10, 0.5);
}

.tab-interface {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    padding: 40px 50px;
    overflow: hidden;
}

.tab-nav {
    display: flex;
    gap: 15px;
    border-bottom: 2px solid rgba(252, 238, 10, 0.3);
    margin-bottom: 35px;
}

.tab-btn {
    background: rgba(0, 0, 0, 0.5);
    border: none;
    color: var(--cp-text);
    font-family: var(--font-cyber);
    font-size: 1.6rem;
    font-weight: 700;
    padding: 12px 30px;
    clip-path: polygon(15px 0, 100% 0, 100% calc(100% - 15px), calc(100% - 15px) 100%, 0 100%);
    transition: 0.2s;
}

.tab-btn:hover {
    background: rgba(252, 238, 10, 0.1);
    color: var(--edge-yellow);
}

.tab-btn.active {
    background: var(--edge-yellow);
    color: #000;
    box-shadow: 0 0 15px rgba(252, 238, 10, 0.4);
}

.tab-content-container {
    flex-grow: 1;
    overflow-y: auto;
    padding-right: 30px;
}

.custom-scrollbar::-webkit-scrollbar {
    width: 8px;
    background: rgba(0, 0, 0, 0.6);
    border-left: 1px solid rgba(252, 238, 10, 0.2);
}

.custom-scrollbar::-webkit-scrollbar-thumb {
    background: var(--edge-yellow);
}

.tab-pane {
    display: none;
}

.tab-pane.active {
    display: block;
    animation: cyberFadeIn 0.3s forwards;
}

@keyframes cyberFadeIn {
    0% {
        opacity: 0;
        transform: scale(0.98);
    }

    100% {
        opacity: 1;
        transform: scale(1);
    }
}

.pane-title {
    font-family: var(--font-cyber);
    font-size: 3.5rem;
    color: #fff;
    margin-bottom: 25px;
    text-transform: uppercase;
    text-shadow: 3px 3px 0 var(--edge-magenta);
}

.edge-border-left {
    border-left: 4px solid var(--edge-cyan);
    padding-left: 20px;
    background: rgba(4, 217, 255, 0.05);
    padding-top: 10px;
    padding-bottom: 10px;
}

.content-block p {
    font-size: 1.2rem;
    line-height: 1.8;
    margin-bottom: 20px;
    color: #ddd;
    text-shadow: 1px 1px 2px #000;
}

.project-list {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.project-item {
    background: rgba(0, 0, 0, 0.6);
    border: 1px solid var(--edge-yellow);
    padding: 30px;
    position: relative;
    transition: 0.2s;
}

.project-item:hover {
    border-color: var(--edge-cyan);
    background: rgba(4, 217, 255, 0.1);
    transform: translateX(5px);
}

.project-item::before {
    content: '';
    position: absolute;
    top: -1px;
    left: 20px;
    width: 60px;
    height: 4px;
    background: var(--edge-magenta);
}

.project-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.project-header h3 {
    font-family: var(--font-cyber);
    font-size: 1.9rem;
    color: var(--edge-yellow);
}

.project-tag {
    background: var(--edge-cyan);
    color: #000;
    padding: 4px 12px;
    font-weight: 700;
    font-size: 1rem;
}

.project-details {
    color: #eee;
    margin-bottom: 20px;
    font-size: 1.15rem;
    line-height: 1.6;
    text-shadow: 1px 1px 2px #000;
}

.cyber-link {
    font-family: var(--font-head);
    font-size: 1.2rem;
    color: var(--edge-magenta);
    text-decoration: none;
    font-weight: bold;
}

.cyber-link:hover {
    color: #fff;
    background: var(--edge-magenta);
    padding: 2px 5px;
}

.projects-hint {
    font-family: var(--font-body);
    font-size: 1rem;
    color: var(--edge-cyan);
    opacity: 0.6;
    margin-bottom: 20px;
    letter-spacing: 1px;
}

.project-actions {
    display: flex;
    align-items: center;
    gap: 25px;
    flex-wrap: wrap;
    margin-top: 15px;
}

.clickable-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.project-title-group {
    display: flex;
    align-items: center;
    gap: 15px;
    flex-wrap: wrap;
}

.expand-indicator {
    font-family: var(--font-body);
    font-size: 0.95rem;
    color: var(--edge-cyan);
    letter-spacing: 2px;
    transition: 0.2s;
    white-space: nowrap;
    opacity: 0.8;
}

.expandable-project .clickable-header {
    cursor: pointer;
}

.expandable-project .clickable-header:hover .expand-indicator {
    color: var(--edge-yellow);
    opacity: 1;
    text-shadow: 0 0 8px rgba(252, 238, 10, 0.5);
}

.expandable-project.open .expand-indicator {
    color: var(--edge-magenta);
    opacity: 1;
}

.project-expanded {
    display: none;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid rgba(4, 217, 255, 0.3);
    animation: cyberFadeIn 0.25s forwards;
}

.expanded-tech-row {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 18px;
}

.tech-chip {
    background: rgba(4, 217, 255, 0.1);
    border: 1px solid var(--edge-cyan);
    color: var(--edge-cyan);
    font-family: var(--font-body);
    font-size: 0.85rem;
    font-weight: bold;
    padding: 3px 10px;
    letter-spacing: 1px;
}

.expanded-features {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 20px;
}

.expanded-features li {
    font-size: 1.05rem;
    color: #ccc;
    line-height: 1.6;
    padding-left: 10px;
    border-left: 2px solid rgba(252, 238, 10, 0.3);
}

.feat-tag {
    background: var(--edge-magenta);
    color: #fff;
    font-family: var(--font-cyber);
    font-size: 0.8rem;
    font-weight: 700;
    padding: 1px 7px;
    margin-right: 8px;
    letter-spacing: 1px;
}

.demo-link {
    display: inline-block;
    margin-top: 5px;
    font-size: 1.15rem;
}

.comms-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 25px;
    margin-top: 40px;
}

.comm-btn {
    background: rgba(0, 0, 0, 0.6);
    border: 2px solid var(--edge-cyan);
    color: #fff;
    padding: 25px;
    text-align: center;
    text-decoration: none;
    font-family: var(--font-cyber);
    font-size: 1.6rem;
    font-weight: 700;
    transition: 0.2s;
    clip-path: polygon(20px 0, 100% 0, 100% calc(100% - 20px), calc(100% - 20px) 100%, 0 100%, 0 20px);
}

.comm-btn:hover {
    background: var(--edge-cyan);
    color: #000;
    box-shadow: 0 0 20px rgba(4, 217, 255, 0.4);
}

.highlight-btn {
    border-color: var(--edge-yellow);
    color: var(--edge-yellow);
}

.highlight-btn:hover {
    background: var(--edge-yellow);
    color: #000;
    box-shadow: 0 0 20px rgba(252, 238, 10, 0.4);
}

.ui-footer {
    height: 50px;
    background: rgba(0, 0, 0, 0.8);
    border-top: 2px solid var(--edge-yellow);
    display: flex;
    align-items: center;
    padding: 0 40px;
    gap: 30px;
    font-family: var(--font-head);
    font-size: 1.1rem;
    font-weight: bold;
}

.hazard-stripe {
    width: 100px;
    height: 100%;
    background: repeating-linear-gradient(45deg, var(--edge-yellow), var(--edge-yellow) 10px, #000 10px, #000 20px);
    margin-right: 20px;
}

.key-hint {
    background: var(--edge-magenta);
    color: #fff;
    padding: 2px 8px;
    margin-right: 5px;
}

/* ========================================= */
/* SCROLL PROGRESS BAR                       */
/* ========================================= */
.scroll-progress-bar {
    height: 3px;
    background: rgba(255, 255, 255, 0.05);
    margin-bottom: 8px;
    flex-shrink: 0;
}

.scroll-progress-fill {
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, var(--edge-cyan), var(--edge-yellow));
    transition: width 0.08s linear;
    box-shadow: 0 0 6px rgba(4, 217, 255, 0.5);
}

/* ========================================= */
/* COPY EMAIL                                */
/* ========================================= */
.copy-email-row {
    display: flex;
    align-items: center;
    gap: 15px;
    margin: 20px 0;
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(4, 217, 255, 0.3);
    padding: 12px 18px;
    flex-wrap: wrap;
}

.copy-email-address {
    font-family: var(--font-body);
    font-size: 1.1rem;
    color: var(--edge-cyan);
    flex-grow: 1;
    letter-spacing: 1px;
}

.copy-email-btn {
    background: transparent;
    border: 1px solid var(--edge-cyan);
    color: var(--edge-cyan);
    font-family: var(--font-cyber);
    font-size: 1rem;
    font-weight: 700;
    padding: 7px 18px;
    letter-spacing: 1px;
    transition: 0.2s;
    white-space: nowrap;
}

.copy-email-btn:hover {
    background: var(--edge-cyan);
    color: #000;
}

.copy-email-btn.copied {
    border-color: var(--edge-yellow);
    color: var(--edge-yellow);
}

/* ========================================= */
/* SKILL BARS                                */
/* ========================================= */
.skill-bar-row {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
}

.skill-label {
    font-size: 0.82rem;
    font-weight: bold;
    color: #aaa;
    width: 85px;
    flex-shrink: 0;
    letter-spacing: 0.5px;
}

.skill-bar {
    flex-grow: 1;
    height: 6px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(4, 217, 255, 0.2);
    overflow: hidden;
}

.skill-fill {
    height: 100%;
    width: 0;
    background: linear-gradient(90deg, var(--edge-cyan), var(--edge-yellow));
    transition: width 1s ease 0.3s;
    box-shadow: 0 0 6px rgba(4, 217, 255, 0.6);
}

.skill-fill.animated {
    width: var(--fill);
}

.skill-pct {
    font-size: 0.78rem;
    color: var(--edge-cyan);
    width: 28px;
    text-align: right;
    flex-shrink: 0;
}

/* ========================================= */
/* ACTIVE MISSIONS                           */
/* ========================================= */
.mission-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.9rem;
    color: #ccc;
    margin-bottom: 8px;
    letter-spacing: 0.5px;
}

.mission-dot {
    width: 8px;
    height: 8px;
    background: var(--edge-cyan);
    border-radius: 50%;
    flex-shrink: 0;
    box-shadow: 0 0 6px var(--edge-cyan);
    animation: pulseDot 1.5s ease-in-out infinite;
}

@keyframes pulseDot {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.4; transform: scale(0.7); }
}

/* ========================================= */
/* SIDEBAR SOCIAL LINKS                      */
/* ========================================= */
.sidebar-socials {
    display: flex;
    gap: 12px;
    margin-top: 22px;
    padding-top: 18px;
    border-top: 1px solid rgba(252, 238, 10, 0.2);
    justify-content: center;
}

.social-link {
    width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(4, 217, 255, 0.4);
    color: var(--edge-cyan);
    font-size: 1rem;
    text-decoration: none;
    transition: 0.2s;
}

.social-link:hover {
    background: var(--edge-cyan);
    color: #000;
    box-shadow: 0 0 12px rgba(4, 217, 255, 0.5);
    border-color: var(--edge-cyan);
}

/* ========================================= */
/* ABOUT STAT GRID                           */
/* ========================================= */
.about-stat-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
    margin-bottom: 28px;
}

.about-stat {
    background: rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(252, 238, 10, 0.3);
    padding: 15px 10px;
    text-align: center;
    position: relative;
    transition: 0.2s;
}

.about-stat::before {
    content: '';
    position: absolute;
    top: -1px;
    left: 10px;
    width: 30px;
    height: 3px;
    background: var(--edge-cyan);
}

.about-stat:hover {
    border-color: var(--edge-cyan);
    background: rgba(4, 217, 255, 0.07);
}

.about-stat-num {
    font-family: var(--font-cyber);
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--edge-yellow);
    line-height: 1;
    margin-bottom: 6px;
}

.about-stat-label {
    font-size: 0.7rem;
    color: #888;
    letter-spacing: 1.5px;
    font-weight: bold;
}

/* ========================================= */
/* ABOUT CALLOUT                             */
/* ========================================= */
.about-callout {
    margin-top: 25px;
    background: rgba(252, 238, 10, 0.05);
    border: 1px solid rgba(252, 238, 10, 0.3);
    border-left: 4px solid var(--edge-yellow);
    padding: 18px 20px;
}

.callout-label {
    font-family: var(--font-cyber);
    font-size: 0.85rem;
    color: var(--edge-yellow);
    letter-spacing: 2px;
    display: block;
    margin-bottom: 8px;
}

.about-callout p {
    font-size: 1.05rem;
    color: #bbb;
    line-height: 1.6;
}

/* ========================================= */
/* EXPERIENCE BULLETS & TIMELINE             */
/* ========================================= */
.exp-title-group {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.exp-meta {
    font-family: var(--font-body);
    font-size: 0.9rem;
    color: var(--edge-cyan);
    opacity: 0.7;
    letter-spacing: 0.5px;
}

.exp-bullets {
    list-style: none;
    margin-top: 15px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.exp-bullets li {
    font-size: 1.05rem;
    color: #ccc;
    line-height: 1.6;
    padding-left: 18px;
    position: relative;
}

.exp-bullets li::before {
    content: '//';
    position: absolute;
    left: 0;
    color: var(--edge-magenta);
    font-weight: bold;
    font-size: 0.85rem;
}

/* ========================================= */
/* SMOOTH PROJECT EXPAND ANIMATION           */
/* ========================================= */
.project-expanded {
    display: block !important;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding-top 0.4s ease, opacity 0.3s ease;
    opacity: 0;
    padding-top: 0;
    border-top: none;
}

.expandable-project.open .project-expanded {
    max-height: 1200px;
    opacity: 1;
    padding-top: 20px;
    margin-top: 20px;
    border-top: 1px solid rgba(4, 217, 255, 0.3);
}

/* ========================================= */
/* MOBILE RESPONSIVENESS (Refined)           */
/* ========================================= */
@media (max-width: 1024px) {
    body {
        padding: 10px;
        align-items: flex-start;
    }

    .ui-main {
        flex-direction: column;
        overflow: visible;
    }

    .character-sidebar {
        width: 100%;
        border-right: none;
        border-bottom: 2px solid var(--edge-yellow);
        overflow: visible;
        padding: 20px;
        flex-shrink: 0;
    }

    .tab-interface {
        overflow: visible;
        padding: 20px;
        flex-shrink: 0;
    }

    .tab-content-container {
        overflow: visible;
        padding-right: 0;
    }

    .cyber-ui-container {
        height: auto;
        max-height: none;
        margin-bottom: 20px;
    }
}

@media (max-width: 768px) {
    .ui-header {
        flex-direction: column;
        height: auto;
        padding: 15px;
        gap: 15px;
        text-align: center;
    }

    .db-path {
        display: none;
    }

    .glitch-text {
        font-size: 2.8rem;
    }

    .cyber-btn-large {
        font-size: 1.2rem;
        padding: 12px 20px;
    }

    .character-name {
        font-size: 2.2rem;
    }

    .tab-nav {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        /* 2x2 grid + 1 full row for the last tab */
        gap: 8px;
        border-bottom: none;
        margin-bottom: 20px;
    }

    .tab-btn {
        font-size: 1rem;
        padding: 10px 5px;
        text-align: center;
        clip-path: none;
        /* Simplify for mobile visibility */
        border: 1px solid rgba(252, 238, 10, 0.3);
    }

    .tab-btn:last-child {
        grid-column: span 2;
        /* Comms takes full width on its row */
    }

    .pane-title {
        font-size: 2rem;
        margin-bottom: 15px;
    }

    .content-block p {
        font-size: 1rem;
        line-height: 1.6;
    }

    .project-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }

    .project-header h3 {
        font-size: 1.3rem;
    }

    .project-details {
        font-size: 1rem;
    }

    .comms-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .comm-btn {
        font-size: 1.1rem;
        padding: 15px;
    }

    .ui-footer {
        flex-direction: column;
        justify-content: center;
        height: auto;
        padding: 15px;
        gap: 10px;
        text-align: center;
        position: static;
        /* Let it flow with scroll */
    }

    .hazard-stripe {
        width: 100%;
        height: 5px;
        margin: 0;
    }

    .about-stat-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .about-stat-num {
        font-size: 1.6rem;
    }

    .clickable-header {
        flex-wrap: wrap;
        gap: 8px;
    }

    .expand-indicator {
        font-size: 0.8rem;
    }

    .exp-bullets li {
        font-size: 0.95rem;
    }

    .sidebar-socials {
        justify-content: flex-start;
        gap: 10px;
    }

    .skill-bar-row {
        gap: 7px;
    }

    .skill-label {
        width: 75px;
        font-size: 0.75rem;
    }
}