.about-page::before {
    content: '';
    position: fixed;
    inset: 0;
    background: repeating-linear-gradient(to bottom, transparent 0px, transparent 3px, rgba(0,0,0,0.025) 3px, rgba(0,0,0,0.025) 4px);
    pointer-events: none;
    z-index: 9999;
  }

  .marquee-wrap {
    background: var(--dark);
    color: var(--lime);
    font-family: var(--font-display);
    font-size: 11px;
    padding: 10px 0;
    overflow: hidden;
    white-space: nowrap;
    border-bottom: 3px solid var(--pink);
    height: 38px;
    position: relative;
  }
  .marquee-inner {
    display: inline-block;
    animation: marquee 34s linear infinite;
    position: absolute;
    top: 10px;
    white-space: nowrap;
  }
  .marquee-inner.hidden { display: none; }
  .marquee-inner span { margin: 0 40px; }
  @keyframes marquee {
    from { transform: translateX(100vw); }
    to { transform: translateX(-100%); }
  }

  nav {
    max-width: 1100px;
    margin: 0 auto;
    padding: 24px 40px;
    display: flex;
    gap: 0;
    align-items: stretch;
    flex-wrap: wrap;
    row-gap: 8px;
  }

  nav a {
    font-family: var(--font-display);
    font-size: 9px;
    color: var(--dark);
    text-decoration: none;
    padding: 10px 18px;
    border: 2px solid var(--dark);
    border-right: none;
    transition: background 0.1s, color 0.1s;
    display: flex;
    align-items: center;
  }
  nav a:last-of-type { border-right: 2px solid var(--dark); }
  nav a.active { background: var(--dark); color: var(--lime); }
  nav a:not(.active):hover { background: var(--dark); color: var(--lime); }

  .lang-toggle {
    display: flex;
    margin-left: auto;
    border: 2px solid var(--dark);
    overflow: hidden;
    flex-shrink: 0;
    align-self: stretch;
  }
  .lang-btn {
    font-family: var(--font-display);
    font-size: 9px;
    padding: 0 16px;
    background: var(--white);
    color: var(--dark);
    border: none;
    cursor: pointer;
    transition: background 0.08s, color 0.08s;
    border-right: 2px solid var(--dark);
    letter-spacing: 1px;
  }
  .lang-btn:last-child { border-right: none; }
  .lang-btn.active { background: var(--dark); color: var(--lime); }
  .lang-btn:not(.active):hover { background: var(--yellow); }

  .hero {
    max-width: 1100px;
    margin: 0 auto;
    padding: 20px 40px 60px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: start;
  }

  .hero-left {
    border: 3px solid var(--dark);
    padding: 40px;
    position: relative;
    background: var(--dark);
    color: var(--white);
  }

  .hero-left::before {
    content: '';
    position: absolute;
    inset: 6px -6px -6px 6px;
    background: var(--lime);
    z-index: -1;
  }

  .handle {
    font-family: var(--font-display);
    font-size: clamp(20px, 3.5vw, 36px);
    color: var(--lime);
    line-height: 1.4;
    display: block;
    margin-bottom: 6px;
  }

  .hero-role {
    font-family: var(--font-display);
    font-size: 8px;
    color: var(--pink);
    margin-bottom: 24px;
    letter-spacing: 1px;
  }

  .hero-bio {
    font-size: 12px;
    line-height: 1.9;
    color: #ccc;
    font-style: italic;
  }

  .hero-bio strong { color: var(--yellow); font-style: normal; }

  .hero-right {
    display: flex;
    flex-direction: column;
    gap: 16px;
  }

  .stat-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }

  .stat-card {
    border: 3px solid var(--dark);
    padding: 18px 16px;
    position: relative;
    background: var(--white);
  }

  .stat-card:nth-child(1)::after { content: ''; position: absolute; inset: 4px -4px -4px 4px; background: var(--yellow); z-index: -1; }
  .stat-card:nth-child(2)::after { content: ''; position: absolute; inset: 4px -4px -4px 4px; background: var(--pink); z-index: -1; }
  .stat-card:nth-child(3)::after { content: ''; position: absolute; inset: 4px -4px -4px 4px; background: var(--blue); z-index: -1; }
  .stat-card:nth-child(4)::after { content: ''; position: absolute; inset: 4px -4px -4px 4px; background: var(--lime); z-index: -1; }

  .stat-number {
    font-family: var(--font-display);
    font-size: 22px;
    color: var(--dark);
    display: block;
    margin-bottom: 8px;
    line-height: 1;
  }

  .stat-label {
    font-size: 10px;
    color: #555;
    font-style: italic;
    line-height: 1.5;
  }

  .section {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 40px 60px;
  }

  .section-heading {
    font-family: var(--font-display);
    font-size: 12px;
    color: var(--dark);
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 28px;
  }

  .section-heading::after {
    content: '';
    flex: 1;
    height: 2px;
    background: var(--dark);
  }

  .origin-box {
    border: 3px solid var(--dark);
    padding: 32px;
    position: relative;
    background: var(--white);
  }

  .origin-box::before {
    content: '';
    position: absolute;
    inset: 6px -6px -6px 6px;
    background: var(--purple);
    z-index: -1;
  }

  .origin-text {
    font-size: 13px;
    line-height: 1.95;
    color: #333;
  }

  .origin-text strong { color: var(--pink); }
  .origin-text em { color: #888; }

  .terminal {
    border: 3px solid var(--dark);
    background: var(--dark);
    position: relative;
  }

  .terminal::after {
    content: '';
    position: absolute;
    inset: 6px -6px -6px 6px;
    background: var(--pink);
    z-index: -1;
  }

  .terminal-bar {
    background: #1a1a1a;
    padding: 10px 16px;
    display: flex;
    align-items: center;
    gap: 8px;
    border-bottom: 2px solid #333;
  }

  .t-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    border: 1.5px solid #444;
  }

  .t-dot:nth-child(1) { background: #FF5F57; }
  .t-dot:nth-child(2) { background: #FFBD2E; }
  .t-dot:nth-child(3) { background: #28C840; }

  .terminal-title {
    font-family: var(--font-display);
    font-size: 8px;
    color: #666;
    margin-left: 8px;
  }

  .terminal-body {
    padding: 28px 32px;
    font-size: 11px;
    line-height: 2;
    color: #ccc;
  }

  .t-prompt { color: var(--lime); }
  .t-comment { color: #555; font-style: italic; }
  .t-key { color: var(--yellow); }
  .t-val { color: var(--blue); }
  .t-warn { color: var(--pink); }
  .t-section {
    font-family: var(--font-display);
    font-size: 8px;
    color: var(--purple);
    margin: 20px 0 8px;
    display: block;
  }

  .stack-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 12px;
  }

  .stack-card {
    border: 3px solid var(--dark);
    padding: 16px;
    position: relative;
    background: var(--white);
    text-align: center;
  }

  .stack-card::after {
    content: '';
    position: absolute;
    inset: 4px -4px -4px 4px;
    z-index: -1;
  }

  .stack-card:nth-child(1)::after { background: var(--yellow); }
  .stack-card:nth-child(2)::after { background: var(--blue); }
  .stack-card:nth-child(3)::after { background: var(--lime); }
  .stack-card:nth-child(4)::after { background: var(--purple); }
  .stack-card:nth-child(5)::after { background: var(--pink); }
  .stack-card:nth-child(6)::after { background: var(--yellow); }
  .stack-card:nth-child(7)::after { background: var(--blue); }

  .stack-card.doom-card {
    background: var(--dark);
    color: var(--white);
    overflow: hidden;
  }

  .stack-card.doom-card::after {
    background: var(--pink);
  }

  .stack-card.doom-card .stack-lang,
  .stack-card.doom-card .stack-status {
    color: var(--white);
  }

  .stack-card.doom-card .stack-status {
    line-height: 1.6;
  }

  .doom-skull {
    position: absolute;
    right: 14px;
    top: 12px;
    font-size: 26px;
    animation: doom-float 2.4s ease-in-out infinite;
  }

  .doom-dead {
    display: block;
    margin-top: 12px;
    color: var(--lime);
    font-family: var(--font-display);
    font-size: 8px;
    letter-spacing: 1px;
  }

  @keyframes doom-float {
    0%, 100% { transform: translateY(0) rotate(-4deg); }
    50% { transform: translateY(-8px) rotate(4deg); }
  }

  .stack-lang {
    font-family: var(--font-display);
    font-size: 11px;
    color: var(--dark);
    display: block;
    margin-bottom: 6px;
  }

  .stack-status {
    font-size: 9px;
    color: #666;
    font-style: italic;
  }

  .stack-bar {
    margin-top: 10px;
    height: 6px;
    background: #eee;
    border: 1.5px solid var(--dark);
    overflow: hidden;
  }

  .stack-fill {
    height: 100%;
    background: var(--dark);
    animation: fill-in 1.2s ease-out forwards;
    width: 0;
  }

  .hp-20 { --pct: 20%; }
  .hp-70 { --pct: 70%; }
  .hp-75 { --pct: 75%; }
  .hp-80 { --pct: 80%; }
  .hp-85 { --pct: 85%; }
  .hp-88 { --pct: 88%; }
  .hp-90 { --pct: 90%; }

  @keyframes fill-in {
    to { width: var(--pct); }
  }

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

  .hobby-card {
    border: 3px solid var(--dark);
    padding: 24px 20px;
    position: relative;
    background: var(--white);
  }

  .hobby-card:nth-child(1)::after { content: ''; position: absolute; inset: 5px -5px -5px 5px; background: var(--yellow); z-index: -1; }
  .hobby-card:nth-child(2)::after { content: ''; position: absolute; inset: 5px -5px -5px 5px; background: var(--pink); z-index: -1; }
  .hobby-card:nth-child(3)::after { content: ''; position: absolute; inset: 5px -5px -5px 5px; background: var(--lime); z-index: -1; }

  .hobby-icon {
    font-size: 28px;
    display: block;
    margin-bottom: 12px;
  }

  .hobby-title {
    font-family: var(--font-display);
    font-size: 9px;
    color: var(--dark);
    display: block;
    margin-bottom: 10px;
  }

  .hobby-desc {
    font-size: 11px;
    color: #555;
    font-style: italic;
    line-height: 1.7;
  }

  .contact-row {
    display: flex;
    gap: 0;
    flex-wrap: wrap;
    border: 3px solid var(--dark);
  }

  .contact-item {
    flex: 1;
    min-width: 160px;
    padding: 20px 24px;
    border-right: 3px solid var(--dark);
    text-decoration: none;
    color: var(--dark);
    transition: background 0.1s, color 0.1s;
    position: relative;
  }

  .contact-item:last-child { border-right: none; }
  .contact-item:hover { background: var(--dark); color: var(--lime); }
  .contact-item:hover .contact-handle { color: var(--lime); }

  .contact-platform {
    font-family: var(--font-display);
    font-size: 8px;
    color: var(--pink);
    display: block;
    margin-bottom: 8px;
  }

  .contact-handle {
    font-size: 12px;
    font-weight: 700;
    color: var(--dark);
    transition: color 0.1s;
  }

  @keyframes glitch-flash {
    0%   { opacity: 0; transform: skewX(-8deg) translateX(-3px); }
    30%  { opacity: 1; transform: skewX(4deg) translateX(2px); }
    60%  { opacity: 0.6; transform: skewX(-2deg) translateX(-1px); }
    100% { opacity: 1; transform: skewX(0) translateX(0); }
  }
  body.switching [data-i18n] { animation: glitch-flash 0.2s steps(2) forwards; }

  footer {
    background: var(--dark);
    color: var(--white);
    padding: 40px;
    text-align: center;
    border-top: 4px solid var(--pink);
    margin-top: 20px;
  }

  .footer-logo {
    font-family: var(--font-display);
    font-size: 16px;
    color: var(--lime);
    margin-bottom: 12px;
    display: block;
    text-decoration: none;
  }

  footer p { font-size: 11px; color: #666; font-style: italic; margin-top: 8px; }
  .footer-crt-note {
    margin-top: 16px;
    color: var(--lime);
    font-family: var(--font-display);
    font-size: 9px;
  }
  .footer-blink { animation: cursor-blink 1s step-end infinite; }
  @keyframes cursor-blink { 0%, 100% { opacity: 1; } 50% { opacity: 0; } }

  .side-deco {
    position: fixed; right: 16px; top: 50%;
    transform: translateY(-50%);
    display: flex; flex-direction: column; gap: 12px; z-index: 10;
  }
  .deco-dot {
    width: 10px; height: 10px;
    border: 2px solid var(--dark); border-radius: 50%;
    background: var(--pink);
    animation: dot-cycle 4s step-end infinite;
  }
  .deco-dot:nth-child(2) { background: var(--lime); animation-delay: 1.3s; }
  .deco-dot:nth-child(3) { background: var(--blue); animation-delay: 2.6s; }
  .deco-dot:nth-child(4) { background: var(--yellow); animation-delay: 0.6s; }
  @keyframes dot-cycle { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.6); } }

  @media (max-width: 800px) {
    .hero { grid-template-columns: 1fr; }
    .hobbies-grid { grid-template-columns: 1fr; }
    nav, .hero, .section { padding-left: 20px; padding-right: 20px; }
    .stat-grid { grid-template-columns: 1fr 1fr; }
    .side-deco { display: none; }
    .lang-toggle { margin-left: 0; margin-top: 4px; }
    nav { flex-wrap: wrap; }
    nav a { border-right: 2px solid var(--dark); }
  }
