:root {
  --bg-900: #020308;
  --bg-800: #05080e;
  --accent-1: 255, 42, 86; /* pink */
  --accent-2: 93, 220, 255; /* cyan */
  --glass: rgba(255,255,255,0.04);
  color-scheme: dark;
  color: #e7eef6;
  background: var(--bg-800);
  font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial;
}

body::before {
  content: '';
  position: fixed;
  inset: 0;
  background: radial-gradient(circle at center, rgba(255, 5, 65, 0.08), transparent 35%);
  pointer-events: none;
  animation: pageGlitch 3.2s infinite steps(1, end);
  z-index: 10;
}

body::after {
  content: '';
  position: fixed;
  inset: 0;
  background: repeating-linear-gradient(
    0deg,
    rgba(0, 0, 0, 0.12),
    rgba(0, 0, 0, 0.12) 2px,
    transparent 2px,
    transparent 4px
  );
  pointer-events: none;
  z-index: 11;
  animation: scanlineFlicker 0.15s infinite;
}

@keyframes scanlineFlicker {
  0%, 100% { opacity: 0.08; }
  50% { opacity: 0.14; }
}

@keyframes pageGlitch {
  0%, 100% { transform: translate(0, 0); opacity: 0.88; }
  10% { transform: translate(-2px, 1px); opacity: 0.93; }
  20% { transform: translate(1px, -2px); opacity: 0.85; }
  30% { transform: translate(-1px, 2px); opacity: 0.9; }
  40% { transform: translate(2px, -1px); opacity: 0.87; }
  50% { transform: translate(-2px, -2px); opacity: 0.92; }
  60% { transform: translate(1px, 1px); opacity: 0.86; }
  70% { transform: translate(-1px, -1px); opacity: 0.89; }
  80% { transform: translate(2px, 1px); opacity: 0.88; }
  90% { transform: translate(-1px, 2px); opacity: 0.91; }
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  min-height: 100vh;
  background: radial-gradient(circle at top left, rgba(100, 0, 0, 0.06), transparent 20%),
              radial-gradient(circle at 70% 20%, rgba(0, 120, 180, 0.04), transparent 15%),
              linear-gradient(180deg, rgba(2,3,8,1) 0%, rgba(6,6,12,1) 100%);
  overflow-x: hidden;
  cursor: default;
}

#matrixCanvas {
  position: fixed;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  opacity: 0.52;
}

.loader-overlay {
  position: fixed;
  inset: 0;
  z-index: 20;
  display: grid;
  place-items: center;
  background: radial-gradient(circle at top center, rgba(15, 0, 0, 0.96), rgba(0, 0, 0, 0.98));
  color: #ff3333;
  overflow: hidden;
}

.loader-overlay::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(180deg, rgba(255, 0, 0, 0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 255, 0, 0.02) 1px, transparent 1px);
  background-size: 100% 6px, 6px 100%;
  opacity: 0.12;
  pointer-events: none;
}

.loader-overlay::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at center, rgba(255, 0, 0, 0.08), transparent 25%);
  pointer-events: none;
}

.loader-shell {
  width: min(560px, 92vw);
  padding: 36px 32px;
  border: 1px solid rgba(255, 0, 0, 0.4);
  border-radius: 8px;
  background: rgba(8, 0, 0, 0.94);
  box-shadow: 0 0 36px rgba(255, 0, 0, 0.35),
              inset 0 0 24px rgba(255, 0, 0, 0.12),
              0 40px 120px rgba(0, 0, 0, 0.55);
  position: relative;
  overflow: hidden;
  animation: loaderShake 1.8s infinite ease-in-out;
}

.loader-shell::before,
.loader-shell::after {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  mix-blend-mode: screen;
}

.loader-shell::before {
  background: linear-gradient(90deg, transparent 0%, rgba(255, 0, 0, 0.08) 40%, rgba(255, 0, 0, 0.15) 50%, rgba(255, 0, 0, 0.08) 60%, transparent 100%);
  transform: translateX(-100%);
  animation: loaderScan 2s infinite linear;
}

.loader-shell::after {
  background: repeating-linear-gradient(
    0deg,
    transparent,
    transparent 4px,
    rgba(255, 30, 80, 0.06) 4px,
    rgba(255, 30, 80, 0.06) 5px
  );
  opacity: 0.45;
}

@keyframes loaderShake {
  0%, 100% { transform: translate(0, 0); }
  20% { transform: translate(-1px, 1px); }
  40% { transform: translate(1px, -1px); }
  60% { transform: translate(-1px, 0); }
  80% { transform: translate(1px, 0); }
}

@keyframes loaderScan {
  0% { transform: translateX(-100%); }
  100% { transform: translateX(100%); }
}

.loader-header {
  font-size: 1.05rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #ff3333;
  margin-bottom: 22px;
  text-shadow: 0 0 18px rgba(255, 0, 0, 0.6);
}

.loader-track {
  width: 100%;
  height: 14px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 999px;
  overflow: hidden;
  margin-bottom: 18px;
  border: 1px solid rgba(255, 0, 0, 0.12);
  box-shadow: inset 0 0 16px rgba(255, 0, 0, 0.08);
}

.loader-fill {
  width: 0%;
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(255, 0, 0, 0.95), rgba(255, 120, 120, 0.96));
  transition: width 0.45s ease;
  box-shadow: 0 0 16px rgba(255, 0, 0, 0.4);
}

.loader-status {
  font-family: 'Fira Code', 'Courier New', monospace;
  font-size: 1rem;
  margin-bottom: 14px;
  color: #ff6b6b;
  text-shadow: 0 0 12px rgba(255, 0, 0, 0.25);
}

.loader-note {
  font-size: 0.78rem;
  color: rgba(255, 100, 100, 0.6);
  letter-spacing: 0.12em;
}

.loader-overlay.fade-out {
  opacity: 0;
  transition: opacity 0.55s ease;
}

body:not(.loaded) .grid-wrap,
body:not(.loaded) .scanline {
  opacity: 0;
  pointer-events: none;
}

body.loaded .grid-wrap,
body.loaded .scanline {
  opacity: 1;
  transition: opacity 0.45s ease 0.1s;
}

.grid-wrap {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 24px;
  padding: 48px;
  min-height: 100vh;
}

.panel {
  border: 1px solid rgba(var(--accent-1), 0.12);
  background: linear-gradient(180deg, rgba(255,255,255,0.02), rgba(255,255,255,0.01));
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(2,4,10,0.6), 0 2px 8px rgba(0,0,0,0.6);
  padding: 28px;
  position: relative;
  overflow: visible;
  backdrop-filter: blur(10px) saturate(1.2);
  transition: transform 0.35s cubic-bezier(.2,.9,.2,1), box-shadow 0.35s;
}

.panel::before {
  content: '';
  position: absolute;
  top: 12px;
  right: -40px;
  width: 260px;
  height: 260px;
  background: radial-gradient(circle at 30% 30%, rgba(var(--accent-2),0.12), transparent 35%),
              radial-gradient(circle at 80% 80%, rgba(var(--accent-1),0.06), transparent 40%);
  filter: blur(28px) saturate(1.1);
  pointer-events: none;
  z-index: 0;
  transform: rotate(12deg);
}

.panel > * {
  position: relative;
  z-index: 1;
}

.left-panel {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  gap: 28px;
}

.logo {
  font-size: 0.85rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: #ff0000;
  margin-bottom: 18px;
}

.title {
  font-size: clamp(2.4rem, 4.4vw, 4.4rem);
  line-height: 0.96;
  letter-spacing: -0.06em;
  margin-bottom: 12px;
  color: #ff0000;
  position: relative;
  text-transform: uppercase;
  text-shadow: 0 0 8px rgba(255,255,255,0.4), 0 0 20px rgba(255, 0, 0, 0.8), 0 0 40px rgba(255, 20, 90, 0.6);
  animation: titleGlow 1.6s ease-in-out infinite alternate;
}

@keyframes titleGlow {
  0% { text-shadow: 0 0 8px rgba(255,255,255,0.3), 0 0 20px rgba(255, 0, 0, 0.6), 0 0 40px rgba(255, 20, 90, 0.4); }
  100% { text-shadow: 0 0 12px rgba(255,255,255,0.5), 0 0 30px rgba(255, 0, 0, 1), 0 0 60px rgba(255, 20, 90, 0.8); }
}

.glitch {
  position: relative;
  display: inline-block;
  animation: glitchFlicker 0.3s infinite;
}

.glitch::before,
.glitch::after {
  content: attr(data-text);
  position: absolute;
  left: 0;
  width: 100%;
  opacity: 0.85;
  pointer-events: none;
}

.glitch::before {
  color: #ff0000;
  top: 3px;
  clip-path: inset(0 0 48% 0);
  animation: glitchShiftLeft 0.36s infinite linear alternate-reverse;
  text-shadow: -2px 0 #ff0000, 2px 0 #cc0000;
}

.glitch::after {
  color: #cc0000;
  top: -2px;
  clip-path: inset(52% 0 0 0);
  animation: glitchShiftRight 0.36s infinite linear alternate-reverse;
  text-shadow: 2px 0 #cc0000, -2px 0 #ff0000;
}

@keyframes glitchFlicker {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.92; }
}

@keyframes neonPulse {
  from { text-shadow: 0 0 5px rgba(255,255,255,0.25), 0 0 18px rgba(93, 220, 255, 0.6), 0 0 32px rgba(255, 20, 90, 0.35); }
  to { text-shadow: 0 0 8px rgba(255,255,255,0.32), 0 0 24px rgba(93, 220, 255, 0.8), 0 0 46px rgba(255, 20, 90, 0.5); }
}

@keyframes glitchShiftLeft {
  0% { transform: translate(0); clip-path: inset(0 0 48% 0); }
  20% { transform: translate(-3px, 3px); clip-path: inset(0 0 45% 0); }
  40% { transform: translate(-2px, -3px); clip-path: inset(0 0 50% 0); }
  60% { transform: translate(3px, 2px); clip-path: inset(0 0 48% 0); }
  80% { transform: translate(2px, -2px); clip-path: inset(0 0 46% 0); }
  100% { transform: translate(0); clip-path: inset(0 0 48% 0); }
}

@keyframes glitchShiftRight {
  0% { transform: translate(0); clip-path: inset(52% 0 0 0); }
  20% { transform: translate(3px, -3px); clip-path: inset(54% 0 0 0); }
  40% { transform: translate(2px, 3px); clip-path: inset(50% 0 0 0); }
  60% { transform: translate(-3px, -2px); clip-path: inset(52% 0 0 0); }
  80% { transform: translate(-2px, 2px); clip-path: inset(54% 0 0 0); }
  100% { transform: translate(0); clip-path: inset(52% 0 0 0); }
}

.alert-banner {
  margin-bottom: 20px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  border-radius: 0px;
  background: rgba(255, 15, 55, 0.2);
  border: 1.5px solid rgba(255, 20, 90, 0.4);
  color: #ff1111;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-shadow: 0 0 8px rgba(255, 15, 65, 0.6);
  box-shadow: inset 0 0 12px rgba(255, 20, 90, 0.08),
              0 0 16px rgba(255, 20, 90, 0.12);
}

.left-panel p {
  max-width: 520px;
  line-height: 1.85;
  color: rgba(255, 0, 0, 0.82);
}

.stats {
  display: grid;
  gap: 18px;
  margin-top: 32px;
}

.stats div {
  padding: 16px 18px;
  border: 1px solid rgba(255,255,255,0.04);
  border-radius: 12px;
  background: linear-gradient(180deg, rgba(255,255,255,0.02), rgba(0,0,0,0.04));
  box-shadow: 0 6px 18px rgba(2,3,8,0.6), inset 0 1px 0 rgba(255,255,255,0.02);
  backdrop-filter: blur(6px) saturate(1.05);
  transition: transform 0.28s ease, box-shadow 0.28s ease;
}

.stats div:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 36px rgba(2,3,8,0.7), 0 2px 10px rgba(0,0,0,0.6);
}

.stats span {
  display: block;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.45);
  margin-bottom: 8px;
}

.stats strong {
  font-size: 1rem;
  color: #ff1111;
}

.threat-stat {
  padding: 16px 18px;
  border: 1px solid rgba(var(--accent-1), 0.12);
  border-radius: 12px;
  background: linear-gradient(180deg, rgba(255,0,0,0.02), rgba(0,0,0,0.04));
  box-shadow: 0 10px 26px rgba(2,3,8,0.6);
  backdrop-filter: blur(6px);
  position: relative;
  overflow: hidden;
  transition: transform 0.28s ease, box-shadow 0.28s ease;
}

.threat-stat:hover {
  transform: translateY(-6px) scale(1.01);
  box-shadow: 0 22px 44px rgba(2,3,8,0.75);
}

.threat-stat::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at center, rgba(255, 25, 80, 0.3), transparent);
  opacity: 0;
  animation: threatGlow 0.8s infinite;
  pointer-events: none;
}

.threat-label {
  display: block;
  font-size: 0.8rem;
  color: #ff0000;
  margin-bottom: 8px;
  animation: threatFlash 0.6s infinite ease-in-out;
  text-shadow: 0 0 8px rgba(255, 40, 90, 0.5);
}

.threat-value {
  font-size: 1.1rem;
  font-weight: 900;
  color: #ff2a56;
  animation: threatPulse 0.5s infinite;
  text-shadow: 0 0 12px rgba(255, 42, 86, 0.9), 0 0 24px rgba(255, 20, 90, 0.6);
  font-family: 'Courier New', monospace;
}

@keyframes threatFlash {
  0%, 100% { opacity: 1; color: #ff0000; }
  50% { opacity: 0.5; color: #cc0000; }
}

@keyframes threatPulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.08); opacity: 0.8; }
}

@keyframes threatGlow {
  0%, 100% { opacity: 0; }
  50% { opacity: 0.6; }
}

.buttons {
  display: flex;
  gap: 14px;
  margin-top: 36px;
}

.buttons a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 20px;
  border-radius: 6px;
  text-decoration: none;
  color: #fff;
  background: linear-gradient(135deg, rgba(255, 20, 75, 0.98), rgba(135, 12, 185, 0.92));
  border: 1.5px solid rgba(255, 80, 140, 0.4);
  box-shadow: 0 0 20px rgba(255, 20, 90, 0.2),
              inset 0 1px 0 rgba(255, 255, 255, 0.15);
  transition: all 0.3s ease;
  backdrop-filter: blur(8px);
  cursor: pointer;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.buttons a:hover {
  transform: translateY(-3px);
  filter: brightness(1.15);
  box-shadow: 0 0 28px rgba(255, 20, 90, 0.35),
              0 0 50px rgba(135, 12, 185, 0.25),
              inset 0 1px 0 rgba(255, 255, 255, 0.2);
  border-color: rgba(255, 80, 140, 0.6);
}

.contact-card {
  margin-top: 28px;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 16px;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,0.04);
  background: linear-gradient(180deg, rgba(255,255,255,0.02), rgba(0,0,0,0.04));
  box-shadow: 0 8px 20px rgba(2,3,8,0.6);
  backdrop-filter: blur(8px);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.contact-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 36px rgba(2,3,8,0.72);
}

.contact-icon {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(var(--accent-1),0.08), rgba(0,0,0,0.06));
  color: rgba(var(--accent-1), 0.95);
  font-size: 1.25rem;
  box-shadow: 0 8px 20px rgba(2,3,8,0.6), inset 0 1px 0 rgba(255,255,255,0.02);
}

.contact-label {
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
  margin-bottom: 4px;
}

.contact-link {
  color: #ff1111;
  text-decoration: none;
  font-weight: 700;
  cursor: pointer;
}
  text-decoration: none;
  font-weight: 600;
}

.contact-link:hover {
  color: #ff3333;
}

.status-line {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  margin-top: 10px;
  color: rgba(255, 0, 0, 0.76);
  font-size: 0.95rem;
}

.status-dot {
  width: 12px;
  height: 12px;
  border-radius: 999px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.25);
  display: inline-block;
}

.status-online { background: #3ba55d; }
.status-idle { background: #faa61a; }
.status-dnd { background: #ed4245; }
.status-listening { background: #7289da; }
.status-offline { background: rgba(255, 255, 255, 0.35); }

.music-player {
  margin-top: 32px;
  padding: 18px;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,0.04);
  background: linear-gradient(180deg, rgba(255,255,255,0.02), rgba(0,0,0,0.04));
  box-shadow: 0 10px 26px rgba(2,3,8,0.6);
  backdrop-filter: blur(8px);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.music-player:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 36px rgba(2,3,8,0.72);
}

.player-header {
  font-size: 0.9rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #ff0000;
  margin-bottom: 10px;
}

.player-info {
  font-size: 0.98rem;
  color: rgba(255, 0, 0, 0.85);
  margin-bottom: 16px;
}

.music-player audio {
  width: 100%;
  outline: none;
  border-radius: 14px;
  background: rgba(0, 0, 0, 0.18);
}

.player-note {
  margin-top: 12px;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.5);
}

.music-player code {
  color: #ff83aa;
}

.terminal-top {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 16px 20px;
  background: rgba(255, 255, 255, 0.04);
}

.dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  display: inline-block;
}

.dot.red { background: #ff5f57; }
.dot.yellow { background: #febc2e; }
.dot.green { background: #28c940; }

.terminal-title {
  margin-left: auto;
  font-size: 0.82rem;
  color: #ff0000;
}

.terminal-body {
  position: relative;
  padding: 26px 28px;
  min-height: 320px;
  font-family: 'Courier New', monospace;
  font-size: 0.95rem;
  line-height: 1.65;
  color: #ff0000;
  letter-spacing: 0.02em;
  background: radial-gradient(circle at top right, rgba(255, 0, 0, 0.12), transparent 28%),
              rgba(1, 3, 7, 0.96);
  border: 1px solid rgba(255, 0, 0, 0.16);
  box-shadow: inset 0 0 40px rgba(255, 0, 0, 0.08);
}

.terminal-body::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.05), transparent 45%);
  pointer-events: none;
}

#terminalText {
  white-space: pre-wrap;
}

.cursor {
  display: inline-block;
  animation: blink 1s infinite step-end;
  color: #8be9fd;
}

@keyframes blink {
  0%, 50% { opacity: 1; }
  51%, 100% { opacity: 0; }
}

.about-sections {
  display: grid;
  gap: 22px;
}

.about-sections section {
  padding: 20px;
  border-radius: 12px;
  background: linear-gradient(180deg, rgba(255,255,255,0.02), rgba(0,0,0,0.04));
  border: 1px solid rgba(255,255,255,0.03);
  box-shadow: 0 8px 22px rgba(2,3,8,0.6);
  backdrop-filter: blur(8px);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.about-sections section:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 36px rgba(2,3,8,0.7);
}

.about-sections h2 {
  margin-bottom: 14px;
  font-size: 1.2rem;
  color: #ff0000;
  letter-spacing: 0.02em;
}

.about-sections ul {
  padding-left: 20px;
  list-style-type: none;
}

.about-sections li {
  position: relative;
  padding-left: 16px;
}

.about-sections li::before {
  content: '▸';
  position: absolute;
  left: 0;
  color: #ff4f79;
}

.about-sections p,
.about-sections li {
  color: rgba(232, 248, 255, 0.78);
  line-height: 1.8;
}

.about-sections ul {
  padding-left: 20px;
  list-style-type: disc;
}

/* NAVIGATION BAR */
.nav-bar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.98), rgba(0, 0, 0, 0.8));
  border-bottom: 1.5px solid rgba(255, 0, 0, 0.24);
  backdrop-filter: blur(10px);
  box-shadow: 0 0 20px rgba(255, 0, 0, 0.1);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 32px;
  max-width: 1400px;
  margin: 0 auto;
  width: 100%;
}

.nav-logo {
  font-family: 'Fira Code', 'Courier New', monospace;
  font-size: 0.95rem;
  letter-spacing: 0.2em;
  color: #ff0000;
  text-decoration: none;
  text-transform: uppercase;
  font-weight: 900;
  text-shadow: 0 0 10px rgba(255, 0, 0, 0.6);
  transition: all 0.3s ease;
}

.nav-logo:hover {
  text-shadow: 0 0 20px rgba(255, 0, 0, 1);
}

.nav-links {
  display: flex;
  gap: 28px;
}

.nav-links a {
  font-family: 'Fira Code', 'Courier New', monospace;
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  color: rgba(255, 0, 0, 0.6);
  text-decoration: none;
  text-transform: uppercase;
  transition: all 0.3s ease;
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: #ff0000;
  transition: width 0.3s ease;
}

.nav-links a:hover,
.nav-links a.active {
  color: #ff0000;
  text-shadow: 0 0 10px rgba(255, 0, 0, 0.6);
}

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}

/* PAGE LAYOUT */
.page-container {
  min-height: 100vh;
  padding-top: 80px;
  padding-bottom: 60px;
  position: relative;
  z-index: 1;
}

.content-panel {
  max-width: 1000px;
  margin: 0 auto;
  padding: 48px;
  background: linear-gradient(135deg, rgba(5, 10, 25, 0.94), rgba(15, 5, 30, 0.9));
  border: 1.5px solid rgba(255, 0, 0, 0.32);
  border-radius: 2px;
  box-shadow: 0 0 40px rgba(255, 0, 0, 0.24),
              inset 0 0 30px rgba(255, 0, 0, 0.08);
  backdrop-filter: blur(22px) saturate(2);
}

.page-header {
  text-align: center;
  margin-bottom: 48px;
  padding-bottom: 32px;
  border-bottom: 1px solid rgba(255, 0, 0, 0.16);
}

.page-header h1 {
  font-size: 3rem;
  color: #ff0000;
  text-transform: uppercase;
  letter-spacing: -0.04em;
  margin-bottom: 12px;
  text-shadow: 0 0 20px rgba(255, 0, 0, 0.8);
}

.subtitle {
  font-family: 'Fira Code', 'Courier New', monospace;
  font-size: 0.9rem;
  color: rgba(255, 0, 0, 0.6);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

/* CONTENT SECTIONS */
.content-sections {
  display: flex;
  flex-direction: column;
  gap: 48px;
}

.content-section {
  padding: 28px;
  border: 1.5px solid rgba(255, 0, 0, 0.24);
  border-radius: 0px;
  background: rgba(20, 0, 0, 0.3);
  box-shadow: inset 0 0 20px rgba(255, 0, 0, 0.06),
              0 0 20px rgba(255, 0, 0, 0.08);
}

.content-section h2 {
  font-size: 1.4rem;
  color: #ff0000;
  margin-bottom: 16px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-shadow: 0 0 12px rgba(255, 0, 0, 0.5);
}

.content-section p {
  color: rgba(255, 0, 0, 0.8);
  line-height: 1.8;
  margin-bottom: 14px;
  font-size: 0.95rem;
}

/* SKILLS GRID */
.skills-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px;
  margin-top: 16px;
}

.skill-card {
  padding: 18px;
  background: rgba(255, 0, 0, 0.06);
  border: 1px solid rgba(255, 0, 0, 0.2);
  border-radius: 0px;
  transition: all 0.3s ease;
}

.skill-card:hover {
  border-color: rgba(255, 0, 0, 0.4);
  box-shadow: 0 0 15px rgba(255, 0, 0, 0.12);
}

.skill-card h3 {
  color: #ff0000;
  font-size: 0.9rem;
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.skill-card p {
  color: rgba(255, 0, 0, 0.6);
  font-size: 0.85rem;
  margin-bottom: 0;
}

/* CONTACT METHODS */
.contact-methods {
  display: flex;
  gap: 16px;
}

.contact-box {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px;
  background: rgba(255, 0, 0, 0.06);
  border: 1px solid rgba(255, 0, 0, 0.2);
  border-radius: 4px;
}

.contact-box h3 {
  color: #ff0000;
  font-size: 0.85rem;
  margin: 0;
  text-transform: uppercase;
}

.contact-box a {
  color: #ff0000;
  text-decoration: none;
  font-weight: 700;
  transition: all 0.3s ease;
}

.contact-box a:hover {
  text-shadow: 0 0 10px rgba(255, 0, 0, 0.6);
}

/* GALLERY STYLES */
.gallery-controls {
  margin-bottom: 48px;
}

.upload-zone {
  border: 2px dashed rgba(255, 0, 0, 0.36);
  border-radius: 2px;
  padding: 48px;
  text-align: center;
  cursor: pointer;
  transition: all 0.3s ease;
  background: rgba(255, 0, 0, 0.02);
}

.upload-zone:hover {
  border-color: rgba(255, 0, 0, 0.5);
  background: rgba(255, 0, 0, 0.06);
  box-shadow: 0 0 20px rgba(255, 0, 0, 0.1);
}

.upload-content {
  pointer-events: none;
}

.upload-icon {
  font-size: 2.5rem;
  display: block;
  margin-bottom: 12px;
}

.upload-text {
  color: #ff0000;
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin: 0;
}

.upload-subtext {
  color: rgba(255, 0, 0, 0.5);
  font-size: 0.9rem;
  margin-top: 8px;
}

.gallery-info {
  margin-bottom: 32px;
  padding: 12px 16px;
  background: rgba(255, 0, 0, 0.06);
  border: 1px solid rgba(255, 0, 0, 0.2);
  border-radius: 2px;
  color: #ff0000;
  font-family: 'Fira Code', 'Courier New', monospace;
  font-size: 0.9rem;
  letter-spacing: 0.08em;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 16px;
}

.gallery-item {
  position: relative;
  border: 1.5px solid rgba(255, 0, 0, 0.28);
  border-radius: 2px;
  overflow: hidden;
  background: rgba(0, 0, 0, 0.5);
  aspect-ratio: 1;
  transition: all 0.3s ease;
  box-shadow: inset 0 0 15px rgba(255, 0, 0, 0.06);
}

.gallery-item:hover {
  border-color: rgba(255, 0, 0, 0.5);
  box-shadow: 0 0 20px rgba(255, 0, 0, 0.15),
              inset 0 0 15px rgba(255, 0, 0, 0.1);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.delete-btn {
  position: absolute;
  top: 8px;
  right: 8px;
  background: rgba(255, 0, 0, 0.9);
  color: #000;
  border: none;
  padding: 6px 10px;
  border-radius: 2px;
  font-family: 'Fira Code', monospace;
  font-size: 0.7rem;
  font-weight: 700;
  cursor: pointer;
  opacity: 0;
  transition: all 0.3s ease;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.gallery-item:hover .delete-btn {
  opacity: 1;
}

.delete-btn:hover {
  background: rgba(255, 0, 0, 1);
  box-shadow: 0 0 10px rgba(255, 0, 0, 0.6);
}

.scanline {
  position: fixed;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background: linear-gradient(to bottom, rgba(255, 25, 74, 0), rgba(255, 25, 74, 0.18) 42%, rgba(255, 25, 74, 0) 100%);
  opacity: 0.16;
  animation: moveScanline 6.5s linear infinite;
}

@keyframes moveScanline {
  0% { transform: translateY(-100%); }
  100% { transform: translateY(100%); }
}

@media (max-width: 920px) {
  .grid-wrap { grid-template-columns: 1fr; padding: 28px; }
}

@media (max-width: 620px) {
  .panel { padding: 24px; }
  .buttons { flex-direction: column; }
}

@media (max-width: 900px) {
  .nav-container {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    padding: 12px 18px;
  }

  .nav-links {
    width: 100%;
    flex-wrap: wrap;
    gap: 16px;
  }

  .page-container {
    padding-top: 96px;
    padding-bottom: 36px;
  }

  .content-panel {
    width: min(100%, calc(100% - 1rem));
    padding: 28px 20px;
  }

  .page-header h1 {
    font-size: clamp(2rem, 8vw, 2.8rem);
  }

  .content-sections {
    gap: 28px;
  }

  .skills-grid,
  .gallery-grid {
    grid-template-columns: 1fr 1fr;
  }

  .contact-methods {
    flex-direction: column;
  }

  .upload-zone {
    padding: 28px 18px;
  }

  .gallery-controls,
  .gallery-info {
    margin-bottom: 24px;
  }

  .music-player {
    max-width: 100%;
  }
}

@media (max-width: 620px) {
  .nav-container {
    padding: 10px 14px;
  }

  .nav-links {
    gap: 12px;
  }

  .nav-logo {
    font-size: 0.86rem;
  }

  .page-container {
    padding-top: 88px;
  }

  .content-panel {
    width: calc(100% - 0.75rem);
    padding: 22px 16px;
  }

  .page-header {
    margin-bottom: 28px;
    padding-bottom: 22px;
  }

  .page-header h1 {
    font-size: 1.95rem;
  }

  .subtitle {
    font-size: 0.8rem;
  }

  .content-section {
    padding: 18px 14px;
  }

  .skills-grid,
  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .skill-card,
  .contact-box {
    padding: 14px;
  }

  .gallery-info {
    font-size: 0.78rem;
    letter-spacing: 0.04em;
    word-break: break-word;
  }

  .upload-text {
    font-size: 0.95rem;
  }

  .upload-subtext {
    font-size: 0.8rem;
  }

  .music-player audio {
    width: 100%;
  }
}
