﻿/* ==============================================
   IRON MAN FUTURISTIC OVERLAY
   Layered on top of main.css
   ============================================== */

/* --- PALETTE UPGRADE --- */
:root {
    --arc-blue: #00d4ff;
    --arc-blue-dim: #005a6e;
    --iron-red: #c0392b;
    --iron-red-glow: #ff4757;
    --iron-red-deep: #5d0713;
    --iron-gold: #f0c040;
    --iron-gold-bright: #ffe066;
    --deep-space: #050810;
    --hull-dark: #0d1220;
    --font-display: 'Orbitron', 'Rajdhani', sans-serif;
    --font-mono: 'Share Tech Mono', 'Courier New', monospace;
}

/* --- BODY / BACKGROUND --- */
body {
    background: var(--deep-space);
    cursor: none;
}
#global-bg {
    background:
        radial-gradient(ellipse at 30% 20%, rgba(192,57,43,0.08) 0%, transparent 50%),
        radial-gradient(ellipse at 70% 80%, rgba(0,212,255,0.06) 0%, transparent 50%),
        radial-gradient(circle at center, #0d1220 0%, #020408 100%);
}

/* --- HEX GRID BACKGROUND --- */
#hex-grid-bg {
    position: absolute; inset: 0;
    opacity: 0.04;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='56' height='100'%3E%3Cpath d='M28 66L0 50V16l28-16 28 16v34L28 66zm0 34L0 84V50l28-16 28 16v34L28 100z' fill='none' stroke='%2300d4ff' stroke-width='0.5'/%3E%3C/svg%3E");
    background-size: 56px 100px;
    animation: hex-drift 20s linear infinite;
}
@keyframes hex-drift {
    0% { background-position: 0 0; }
    100% { background-position: 56px 100px; }
}

/* --- CUSTOM HUD CURSOR --- */
#hud-cursor {
    position: fixed; pointer-events: none; z-index: 10000;
    width: 40px; height: 40px;
    transform: translate(-50%, -50%);
    transition: opacity 0.2s;
}
.cursor-ring {
    position: absolute; inset: 0;
    border: 1.5px solid rgba(0,212,255,0.6);
    border-radius: 50%;
    animation: cursor-spin 4s linear infinite;
}
@keyframes cursor-spin { to { transform: rotate(360deg); } }
.cursor-dot {
    position: absolute; top: 50%; left: 50%;
    width: 4px; height: 4px;
    background: var(--arc-blue);
    border-radius: 50%;
    transform: translate(-50%,-50%);
    box-shadow: 0 0 8px var(--arc-blue);
}
.cursor-crosshair {
    position: absolute; background: rgba(0,212,255,0.5);
}
.ch-top { width: 1px; height: 8px; top: 2px; left: 50%; transform: translateX(-50%); }
.ch-bottom { width: 1px; height: 8px; bottom: 2px; left: 50%; transform: translateX(-50%); }
.ch-left { width: 8px; height: 1px; left: 2px; top: 50%; transform: translateY(-50%); }
.ch-right { width: 8px; height: 1px; right: 2px; top: 50%; transform: translateY(-50%); }

/* --- TYPOGRAPHY UPGRADE --- */
.card-header h2,
.mark-badge,
.hud-corner-label,
#power-level-display,
#instruction-text {
    font-family: var(--font-display);
}
.hero-panel h1 {
    font-family: var(--font-display);
    background: linear-gradient(135deg, #fff 0%, var(--arc-blue) 50%, var(--iron-gold) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    filter: drop-shadow(0 0 20px rgba(0,212,255,0.4));
}
.card-header h2 {
    font-weight: 700;
    letter-spacing: 5px;
}
.tel-key, .tel-val, .eyebrow, .tech-stack, .ref-title, .slide-count {
    font-family: var(--font-mono);
}

/* --- BOOT TERMINAL --- */
.boot-terminal {
    position: fixed; top: 30px; left: 30px;
    font-family: var(--font-mono);
    font-size: 0.72rem;
    color: rgba(0,212,255,0.7);
    letter-spacing: 1.5px;
    line-height: 1.8;
    z-index: 101;
    max-width: 340px;
    text-shadow: 0 0 6px rgba(0,212,255,0.4);
}
.boot-line { opacity: 0; animation: boot-fade 0.4s forwards; }
@keyframes boot-fade { to { opacity: 1; } }
.boot-line.ok::after { content: ' [OK]'; color: #76ff9c; }
.boot-line.warn::after { content: ' [WARN]'; color: var(--iron-gold); }

/* --- POWER LEVEL DISPLAY --- */
#power-level-display {
    margin-top: 20px;
    font-size: 0.85rem;
    letter-spacing: 3px;
    color: var(--arc-blue);
    opacity: 0;
    transition: opacity 0.3s;
    text-shadow: 0 0 10px rgba(0,212,255,0.6);
    display: flex; gap: 10px; align-items: center;
}
#power-level-display.visible { opacity: 1; }
.power-label { color: var(--iron-gold); font-size: 0.7rem; }
#power-pct { font-size: 1.4rem; font-weight: 900; }

/* --- ARC REACTOR UPGRADE --- */
.arc-reactor-container { width: 220px; height: 220px; }
.arc-ring-outer {
    position: absolute; inset: -15px;
    border: 3px solid rgba(0,212,255,0.3);
    border-radius: 50%;
    animation: spin-ccw 8s linear infinite;
    border-top-color: transparent;
    box-shadow: 0 0 15px rgba(0,212,255,0.2);
}
.arc-ring-mid {
    position: absolute; inset: -5px;
    border: 2px solid rgba(240,192,64,0.25);
    border-radius: 50%;
    animation: spin-cw 6s linear infinite;
    border-bottom-color: transparent;
    box-shadow: 0 0 10px rgba(240,192,64,0.15);
}
.arc-ring-inner {
    position: absolute; inset: 0;
    border: 8px solid var(--arc-blue-dim);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--arc-blue-dim), inset 0 0 10px var(--arc-blue-dim);
}
.arc-ring-inner::after {
    content: '';
    position: absolute; width: 85%; height: 85%;
    top: 50%; left: 50%; transform: translate(-50%,-50%);
    border: 2px solid var(--arc-blue);
    border-radius: 50%; opacity: 0.6;
}
.arc-core-inner {
    position: absolute; inset: 15%; border-radius: 50%;
    background: radial-gradient(circle, rgba(255,255,255,0.8), transparent);
    animation: core-inner-pulse 1.5s ease-in-out infinite alternate;
}
@keyframes core-inner-pulse {
    0% { opacity: 0.4; transform: scale(0.8); }
    100% { opacity: 1; transform: scale(1.1); }
}
.energy-ring {
    position: absolute; border-radius: 50%;
    border: 1px solid rgba(0,212,255,0.3);
    opacity: 0; pointer-events: none;
    top: 50%; left: 50%; transform: translate(-50%,-50%);
}
.er-1 { width: 250px; height: 250px; }
.er-2 { width: 280px; height: 280px; }
.arc-reactor-container.charging .energy-ring {
    opacity: 1;
    animation: er-expand 1.5s ease-out infinite;
}
.arc-reactor-container.charging .er-2 { animation-delay: 0.75s; }
@keyframes er-expand {
    0% { transform: translate(-50%,-50%) scale(0.8); opacity: 0.8; border-color: var(--arc-blue); }
    100% { transform: translate(-50%,-50%) scale(1.3); opacity: 0; border-color: transparent; }
}
.arc-reactor-container.charging .arc-ring-outer {
    border-color: rgba(255,255,255,0.8);
    box-shadow: 0 0 30px var(--arc-blue), 0 0 60px rgba(0,212,255,0.4);
}

/* --- CARD UPGRADE: GLASSMORPHISM + BORDER BEAM --- */
.card {
    background:
        linear-gradient(145deg, rgba(192,57,43,0.05) 0%, transparent 40%),
        linear-gradient(315deg, rgba(240,192,64,0.03) 0%, transparent 50%),
        rgba(5, 8, 16, 0.85);
    border: 1px solid rgba(0, 212, 255, 0.2);
    box-shadow:
        0 0 0 1px rgba(240,192,64,0.08),
        0 8px 32px rgba(0,0,0,0.6),
        0 0 60px rgba(0,212,255,0.06),
        inset 0 1px 0 rgba(255,255,255,0.04);
    backdrop-filter: blur(16px);
    overflow: hidden;
}
.card.active {
    border-color: rgba(240,192,64,0.4);
    background:
        linear-gradient(145deg, rgba(192,57,43,0.08) 0%, transparent 35%),
        linear-gradient(315deg, rgba(240,192,64,0.05) 0%, transparent 45%),
        rgba(5, 8, 16, 0.88);
    box-shadow:
        0 0 0 1px rgba(240,192,64,0.2),
        0 0 60px rgba(0,212,255,0.2),
        0 0 120px rgba(192,57,43,0.08),
        inset 0 1px 0 rgba(255,255,255,0.06);
}

/* Animated border beam */
.card-border-beam {
    position: absolute; inset: 0;
    border-radius: 15px;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.5s;
}
.card.active .card-border-beam { opacity: 1; }
.card-border-beam::before {
    content: '';
    position: absolute;
    inset: -2px;
    border-radius: 16px;
    background: conic-gradient(
        from var(--beam-angle, 0deg),
        transparent 0%,
        var(--arc-blue) 3%,
        var(--iron-gold) 6%,
        transparent 12%
    );
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask-composite: exclude;
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    padding: 2px;
    animation: border-beam-rotate 4s linear infinite;
}
@keyframes border-beam-rotate {
    to { --beam-angle: 360deg; }
}
/* Fallback for browsers without @property */
@property --beam-angle {
    syntax: '<angle>';
    initial-value: 0deg;
    inherits: false;
}

/* Mouse-tracking inner glow */
.card-inner-glow {
    position: absolute; inset: 0;
    pointer-events: none;
    border-radius: 15px;
    opacity: 0;
    transition: opacity 0.3s;
    z-index: 0;
}
.card.active .card-inner-glow { opacity: 1; }

/* --- CIRCULAR ARC GAUGES --- */
.gauge-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.2rem;
    margin: 0.5rem 0 1rem;
}
.gauge-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
}
.gauge-svg {
    width: 80px; height: 80px;
    transform: rotate(-90deg);
    filter: drop-shadow(0 0 6px rgba(0,212,255,0.3));
}
.gauge-track {
    fill: none;
    stroke: rgba(0,212,255,0.1);
    stroke-width: 4;
}
.gauge-fill {
    fill: none;
    stroke-width: 4;
    stroke-linecap: round;
    stroke: url(#gauge-gradient);
    transition: stroke-dasharray 1.2s cubic-bezier(0.4, 0, 0.2, 1);
    filter: drop-shadow(0 0 4px var(--arc-blue));
}
.gauge-pct {
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -75%);
    font-family: var(--font-display);
    font-size: 0.85rem;
    font-weight: 700;
    color: #fff;
    text-shadow: 0 0 8px rgba(0,212,255,0.6);
}
.gauge-label {
    margin-top: 4px;
    font-family: var(--font-mono);
    font-size: 0.68rem;
    color: var(--arc-blue);
    letter-spacing: 1px;
    text-transform: uppercase;
    text-align: center;
}

/* --- HUD LINE UPGRADE --- */
.hud-line {
    height: 2px;
    background: linear-gradient(90deg, var(--iron-red), var(--arc-blue), var(--iron-gold), transparent);
    position: relative;
}
.hud-line::after {
    content: '';
    position: absolute;
    top: -1px; left: 0;
    width: 60px; height: 4px;
    background: var(--arc-blue);
    box-shadow: 0 0 12px var(--arc-blue);
    animation: hud-line-sweep 3s ease-in-out infinite;
}
@keyframes hud-line-sweep {
    0% { left: 0; opacity: 1; }
    50% { left: calc(100% - 60px); opacity: 0.6; }
    100% { left: 0; opacity: 1; }
}

/* --- MARK BADGE UPGRADE --- */
.mark-badge {
    font-family: var(--font-display);
    font-size: 0.6rem;
    font-weight: 700;
    background: linear-gradient(135deg, rgba(192,57,43,0.2), rgba(240,192,64,0.1));
    border-color: var(--iron-gold);
    color: var(--iron-gold-bright);
    box-shadow: 0 0 12px rgba(240,192,64,0.3), inset 0 0 8px rgba(192,57,43,0.15);
}

/* --- MINI REACTOR UPGRADE (third ring) --- */
.mini-ring-3 {
    position: absolute;
    inset: -4px;
    border: 1.5px solid rgba(240,192,64,0.3);
    border-radius: 50%;
    border-left-color: transparent;
    border-right-color: transparent;
    animation: spin-cw 5s linear infinite;
}

/* --- PROJECT ITEMS --- */
.project-item {
    border-left: 3px solid var(--iron-red);
    border-color: var(--arc-blue-dim);
    position: relative;
}
.project-item::before { border-color: var(--iron-gold) !important; }
.project-item::after { border-color: var(--iron-gold) !important; }
.project-item:hover {
    border-left-color: var(--iron-gold);
    background: linear-gradient(135deg, rgba(192,57,43,0.08), rgba(0,212,255,0.06));
    box-shadow: 0 0 20px rgba(240,192,64,0.15), 0 0 40px rgba(192,57,43,0.08);
}

/* --- ACHIEVEMENT BADGE UPGRADE --- */
.achievement-badge {
    background: linear-gradient(135deg, rgba(192,57,43,0.25), rgba(240,192,64,0.1));
    border-color: var(--iron-gold);
    box-shadow: 0 0 10px rgba(240,192,64,0.25), inset 0 0 6px rgba(192,57,43,0.15);
}

/* --- STATUS TAG --- */
.status-tag {
    color: #76ff9c;
    border-color: #76ff9c;
    background: rgba(118,255,156,0.08);
    box-shadow: 0 0 8px rgba(118,255,156,0.3);
}

/* --- REFERENCE ITEMS --- */
.reference-item {
    border-left-color: var(--iron-gold);
    padding: 1.2rem 1.5rem;
    background: rgba(240,192,64,0.03);
    border-radius: 0 8px 8px 0;
    transition: background 0.3s, box-shadow 0.3s;
}
.reference-item:hover {
    background: rgba(240,192,64,0.06);
    box-shadow: 0 0 20px rgba(240,192,64,0.1);
}
.reference-item blockquote {
    font-size: 1.15rem;
    color: #fff;
    border: none;
    padding: 0;
}

/* --- CORE STATS GLOW --- */
.core-stats div {
    transition: transform 0.3s, box-shadow 0.3s, border-color 0.3s;
    border-radius: 4px;
}
.core-stats div:hover {
    transform: translateY(-2px);
    border-color: var(--iron-gold);
    box-shadow: 0 0 16px rgba(240,192,64,0.15), inset 0 0 12px rgba(0,212,255,0.05);
}

/* --- NAV ARROWS --- */
.nav-arrow {
    border-color: var(--iron-gold);
    color: var(--iron-gold);
    text-shadow: 0 0 6px rgba(240,192,64,0.6);
    box-shadow: 0 0 18px rgba(240,192,64,0.2), inset 0 0 8px rgba(192,57,43,0.15);
    background: rgba(192,57,43,0.08);
}
.nav-arrow:hover {
    background: var(--iron-gold);
    border-color: var(--iron-gold);
    box-shadow: 0 0 30px rgba(240,192,64,0.6), inset 0 0 12px rgba(255,255,255,0.3);
}

/* --- REPULSOR BLAST UPGRADE --- */
.repulsor-blast {
    background: radial-gradient(circle,
        rgba(255,255,255,0.9) 0%,
        var(--arc-blue) 20%,
        rgba(0,212,255,0.4) 40%,
        rgba(192,57,43,0.2) 60%,
        transparent 80%);
}
.repulsor-ring {
    position: fixed; pointer-events: none; z-index: 9996;
    border: 2px solid var(--arc-blue);
    border-radius: 50%;
    transform: translate(-50%,-50%);
    animation: repulsor-ring-expand 0.6s ease-out forwards;
    box-shadow: 0 0 10px var(--arc-blue);
}
@keyframes repulsor-ring-expand {
    0% { width: 0; height: 0; opacity: 1; }
    100% { width: 180px; height: 180px; opacity: 0; }
}

/* --- HERO PANEL UPGRADE --- */
.hero-panel {
    border-color: rgba(240,192,64,0.3);
    background:
        linear-gradient(135deg, rgba(192,57,43,0.15), transparent 42%),
        radial-gradient(circle at 82% 20%, rgba(240,192,64,0.12), transparent 30%),
        rgba(0,212,255,0.04);
    box-shadow: 0 0 40px rgba(192,57,43,0.1), inset 0 0 30px rgba(0,0,0,0.3);
}

/* --- BUTTON UPGRADES --- */
.btn-link {
    font-family: var(--font-display);
    font-size: 0.72rem;
    letter-spacing: 2px;
    clip-path: polygon(8px 0, 100% 0, calc(100% - 8px) 100%, 0 100%);
    padding: 0.55rem 1.4rem;
}
.btn-resume {
    background: linear-gradient(135deg, rgba(192,57,43,0.15), rgba(240,192,64,0.08));
}

/* --- PAGINATION UPGRADE --- */
.pagination {
    background: rgba(192,57,43,0.06);
    border-color: rgba(240,192,64,0.2);
}
.dot {
    border-color: var(--iron-gold);
}
.dot.active {
    background: var(--iron-gold);
    box-shadow: 0 0 12px var(--iron-gold);
}

/* --- ACTIVATION SCREEN FLASH --- */
.flash-overlay {
    position: fixed; inset: 0; z-index: 9999;
    background: white;
    animation: flash-out 0.6s ease-out forwards;
    pointer-events: none;
}
@keyframes flash-out {
    0% { opacity: 1; }
    30% { opacity: 0.8; }
    100% { opacity: 0; }
}

/* --- CAMERA SHAKE --- */
@keyframes camera-shake {
    0%, 100% { transform: translate(0, 0); }
    10% { transform: translate(-3px, -2px); }
    20% { transform: translate(4px, 1px); }
    30% { transform: translate(-2px, 3px); }
    40% { transform: translate(3px, -3px); }
    50% { transform: translate(-1px, 2px); }
    60% { transform: translate(2px, -1px); }
    70% { transform: translate(-3px, 1px); }
    80% { transform: translate(1px, -2px); }
    90% { transform: translate(-1px, 3px); }
}
body.shake { animation: camera-shake 0.4s ease-out; }

/* --- RESPONSIVE --- */
@media (max-width: 768px) {
    .gauge-grid { grid-template-columns: repeat(3, 1fr); gap: 0.8rem; }
    .gauge-svg { width: 64px; height: 64px; }
    .gauge-pct { font-size: 0.7rem; }
    .gauge-label { font-size: 0.58rem; }
    body { cursor: auto; }
    #hud-cursor { display: none; }
    .boot-terminal { font-size: 0.6rem; max-width: 200px; }
}
@media (max-width: 480px) {
    .gauge-grid { grid-template-columns: repeat(2, 1fr); }
    .gauge-svg { width: 56px; height: 56px; }
    .boot-terminal { display: none; }
}

/* Futuristic type polish: solid light, no gradient text shimmer */
.hero-panel h1 {
    background: none !important;
    -webkit-background-clip: initial !important;
    background-clip: initial !important;
    -webkit-text-fill-color: #eafcff !important;
    color: #eafcff !important;
    text-shadow: 0 0 18px rgba(0, 212, 255, 0.52), 0 0 46px rgba(240, 192, 64, 0.16);
}
.hud-line {
    background: linear-gradient(90deg, rgba(0, 212, 255, 0.72), rgba(240, 192, 64, 0.38), transparent) !important;
}
.project-item {
    border-left-width: 1px !important;
}


/* ==============================================
   LASER TURRET SYSTEM
   ============================================== */

/* Turret — positioned bottom-center HUD emitter */
#laser-turret {
  position: fixed;
  bottom: 56px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 210;
  width: 44px; height: 44px;
  pointer-events: auto;
  cursor: crosshair;
  display: none;
}
#hud-corner-reactor {
  display: none !important;
}
body.dashboard-active #laser-turret {
  display: block;
}
.turret-core {
  position: absolute;
  top: 50%; left: 50%;
  width: 16px; height: 16px;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle, #fff 0%, #00d4ff 50%, transparent 80%);
  border-radius: 50%;
  box-shadow: 0 0 14px #00d4ff, 0 0 28px rgba(0,212,255,0.5);
  animation: turret-core-breathe 1.8s ease-in-out infinite;
}
@keyframes turret-core-breathe {
  0%, 100% { transform: translate(-50%, -50%) scale(1); opacity: 0.8; }
  50%      { transform: translate(-50%, -50%) scale(1.3); opacity: 1; }
}
.turret-ring {
  position: absolute;
  inset: 0;
  border: 2px solid rgba(0,212,255,0.5);
  border-radius: 50%;
  border-top-color: transparent;
  animation: turret-spin 4s linear infinite;
  box-shadow: 0 0 10px rgba(0,212,255,0.3);
}
.turret-ring-2 {
  inset: 6px;
  border-width: 1px;
  border-bottom-color: transparent;
  border-top-color: rgba(0,212,255,0.3);
  animation: turret-spin 3s linear infinite reverse;
  box-shadow: none;
}
@keyframes turret-spin { to { transform: rotate(360deg); } }

/* SVG beam overlay */
#laser-svg {
  position: fixed;
  inset: 0;
  width: 100%; height: 100%;
  pointer-events: none;
  z-index: 205;
}

/* Beam travel animation */
@keyframes laserShot {
  to { stroke-dashoffset: 0; }
}

/* Muzzle flash */
@keyframes muzzleFlash {
  0%   { r: 4; opacity: 1; }
  100% { r: 18; opacity: 0; }
}

/* Heat overlay on hit cards */
.heat-overlay {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 10;
  border-radius: 15px;
  animation: heatPulse 1.8s ease-out forwards, heatFade 18s ease-out 1.8s forwards;
}
@keyframes heatPulse {
  0%   { opacity: 0; transform: scale(0.92); filter: brightness(1.15) saturate(1.1); }
  40%  { opacity: 0.7; transform: scale(1.06); filter: brightness(1.35) saturate(1.25); }
  100% { opacity: 0.85; transform: scale(1); filter: brightness(1.22) saturate(1.15); }
}
@keyframes heatFade {
  0%   { opacity: 0.85; filter: brightness(1.22) saturate(1.15); }
  60%  { opacity: 0.3; filter: brightness(1.05) saturate(1.02); }
  100% { opacity: 0; filter: brightness(1) saturate(1); }
}


/* ==================================================================
   DESIGN PASS v2 — studio direction
   • cyan = dominant/structure   • amber = single highlight accent
   • red retired to a cool steel whisper
   • ambient glow reduced ~40%, focal bloom reserved
   • stronger type hierarchy + L-in-reactor brand mark
   ================================================================== */

:root {
    --steel: #1c2740;          /* replaces iron-red as a cool neutral */
    --steel-soft: rgba(40, 60, 100, 0.10);
}

/* --- 1. RETIRE RED ------------------------------------------------ */
#global-bg {
    background:
        radial-gradient(ellipse at 30% 18%, rgba(0,212,255,0.07) 0%, transparent 52%),
        radial-gradient(ellipse at 72% 82%, rgba(0,212,255,0.05) 0%, transparent 52%),
        radial-gradient(circle at center, #0d1220 0%, #020408 100%);
}
.card {
    background:
        linear-gradient(145deg, rgba(0,212,255,0.04) 0%, transparent 42%),
        rgba(5, 8, 16, 0.85);
    box-shadow:
        0 0 0 1px rgba(0,212,255,0.06),
        0 8px 28px rgba(0,0,0,0.55),
        0 0 32px rgba(0,212,255,0.05),
        inset 0 1px 0 rgba(255,255,255,0.03);
}
.card.active {
    border-color: rgba(240,192,64,0.38);
    background:
        linear-gradient(145deg, rgba(0,212,255,0.05) 0%, transparent 38%),
        rgba(5, 8, 16, 0.9);
    box-shadow:
        0 0 0 1px rgba(240,192,64,0.18),
        0 0 34px rgba(0,212,255,0.12),
        inset 0 1px 0 rgba(255,255,255,0.05);
}
.mark-badge {
    background: rgba(240,192,64,0.10);
    box-shadow: 0 0 8px rgba(240,192,64,0.22);
}
.project-item:hover {
    border-left-color: var(--iron-gold);
    background: linear-gradient(135deg, rgba(0,212,255,0.05), rgba(240,192,64,0.04));
    box-shadow: 0 0 16px rgba(0,212,255,0.10);
}
.achievement-badge {
    background: rgba(240,192,64,0.10);
    box-shadow: 0 0 8px rgba(240,192,64,0.2);
}
.nav-arrow {
    background: rgba(0,212,255,0.04);
    box-shadow: 0 0 12px rgba(240,192,64,0.15);
}
.repulsor-blast {
    background: radial-gradient(circle,
        rgba(255,255,255,0.9) 0%,
        var(--arc-blue) 22%,
        rgba(0,212,255,0.35) 45%,
        transparent 78%);
}
.hero-panel {
    border-color: rgba(0,212,255,0.18);
    background:
        radial-gradient(circle at 84% 16%, rgba(240,192,64,0.10), transparent 32%),
        linear-gradient(135deg, rgba(0,212,255,0.05), transparent 46%),
        rgba(5,8,16,0.5);
    box-shadow: inset 0 0 30px rgba(0,0,0,0.3);
}
.btn-resume {
    background: rgba(240,192,64,0.08);
}
.pagination {
    background: rgba(8,14,26,0.6);
    border-color: rgba(0,212,255,0.18);
}

/* --- 2. REDUCE AMBIENT GLOW --------------------------------------- */
.hero-panel h1 {
    text-shadow: 0 0 12px rgba(0,212,255,0.4) !important;
}
.card-header h2 {
    text-shadow: 0 0 8px rgba(0,212,255,0.35);
}
#power-level-display { text-shadow: 0 0 6px rgba(0,212,255,0.4); }
.gauge-pct { text-shadow: 0 0 5px rgba(0,212,255,0.45); }

/* --- 3. TYPE HIERARCHY -------------------------------------------- */
.hero-panel h1 {
    font-size: clamp(2.6rem, 6.2vw, 4rem) !important;
    line-height: 0.95;
    letter-spacing: 1px;
    margin: 0.1em 0 0.15em;
}
.eyebrow {
    font-size: 0.7rem;
    letter-spacing: 3px;
    text-transform: uppercase;
    opacity: 0.7;
}
.hero-role {
    font-size: 1.15rem;
    letter-spacing: 1px;
    color: var(--iron-gold);   /* single accent points to the role */
}
.card-header h2 { font-weight: 900; }

/* --- 4. L-IN-REACTOR BRAND MARK ----------------------------------- */
.hero-panel { position: relative; }
.brand-mark {
    position: absolute;
    top: 1.4rem;
    right: 1.4rem;
    width: 58px;
    height: 58px;
    color: var(--arc-blue);
    opacity: 0.9;
    filter: drop-shadow(0 0 8px rgba(0,212,255,0.35));
    animation: brand-mark-spin 18s linear infinite;
}
.brand-mark circle:first-of-type { transform-origin: center; }
@keyframes brand-mark-spin {
    /* only the faint inner ring drifts — handled via the whole mark
       breathing subtly, kept very slow so it reads as "alive" not noisy */
    0%, 100% { filter: drop-shadow(0 0 7px rgba(0,212,255,0.3)); }
    50%      { filter: drop-shadow(0 0 12px rgba(0,212,255,0.5)); }
}
@media (max-width: 600px) {
    .brand-mark { width: 42px; height: 42px; top: 1rem; right: 1rem; }
}
@media (prefers-reduced-motion: reduce) {
    .brand-mark { animation: none; }
}




