@import url('https://fonts.googleapis.com/css?family=Karla:400,700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Share+Tech+Mono&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Orbitron:wght@400;500;700&display=swap');

.modal-wrapper {
  display: flex;
  justify-content: center; /* horizontal */
  align-items: center;     /* vertical */
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5); /* overlay */
  z-index: 1000;
  display: none; /* muncul saat aktif */
}

.modal {
  font-family: Arial, Helvetica, sans-serif;
  text-align: center;
  max-width: 300px;
  width: 100%;
  background: black; 
  color: red;
  padding: 20px;
  border-radius: 5px;
  position: relative;
  /* HAPUS ini */
  /* margin: 35vh auto; */
}


/* Popup Promosi Styles */
.promo-popup {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.8);
  display: flex;              /* flexbox aktif */
  justify-content: center;    /* center horizontal */
  align-items: flex-start;        /* center vertical */
  padding-top: 300px;       /* jarak dari atas */
  z-index: 1000;
  backdrop-filter: blur(5px);
  animation: fadeIn 0.5s ease-in-out;
}


.promo-content {
  position: relative;
  width: 90%;
  max-width: 500px;
  background: linear-gradient(145deg, rgba(10, 14, 23, 0.9), rgba(0, 0, 0, 0.95));
  border: 1px solid var(--accentColor);
  border-radius: 10px;
  padding: 25px;
  color: var(--accentColor);
  font-family: var(--monoFont);
  box-shadow: 0 0 20px var(--accentColor), 0 0 40px rgba(0, 255, 0, 0.3);
  overflow: hidden;
  animation: glowPulse 3s infinite alternate;
}

.promo-content::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(45deg, transparent, rgba(0, 255, 0, 0.05), transparent);
  pointer-events: none;
}

.close-popup {
  position: absolute;
  top: 10px;
  right: 15px;
  font-size: 28px;
  color: var(--dangerColor);
  cursor: pointer;
  transition: all 0.3s ease;
  z-index: 10;
}

.close-popup:hover {
  color: #ff0000;
  text-shadow: 0 0 10px var(--dangerColor);
  transform: scale(1.2);
}

.promo-header {
  text-align: center;
  margin-bottom: 20px;
  position: relative;
}

.promo-title {
  font-size: 1.8rem;
  font-weight: bold;
  text-transform: uppercase;
  letter-spacing: 3px;
  color: var(--accentColor);
  text-shadow: 0 0 10px var(--accentColor);
  margin-bottom: 5px;
  font-family: var(--font);
  animation: glitch 2s infinite alternate-reverse;
}

.promo-subtitle {
  font-size: 1rem;
  color: var(--accentColor2);
  letter-spacing: 2px;
  text-transform: uppercase;
}

.promo-body {
  text-align: center;
  margin-bottom: 20px;
}

.promo-body p {
  margin-bottom: 25px;
  font-size: 1rem;
  line-height: 1.5;
  color: #ffffff;
}

.promo-cta {
  display: flex;
  justify-content: center;
}

.promo-button {
  display: inline-block;
  background-color: rgba(0, 0, 0, 0.7);
  color: var(--accentColor);
  border: 2px solid var(--accentColor);
  border-radius: 5px;
  padding: 12px 25px;
  font-size: 1rem;
  text-transform: uppercase;
  text-decoration: none;
  letter-spacing: 2px;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  font-family: var(--monoFont);
}

.promo-button::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(0, 255, 0, 0.2), transparent);
  transition: all 0.5s ease;
}

.promo-button:hover {
  background-color: rgba(0, 255, 0, 0.1);
  color: #ffffff;
  box-shadow: 0 0 15px var(--accentColor), 0 0 5px rgba(0, 255, 0, 0.5) inset;
  transform: translateY(-2px);
}

.promo-button:hover::before {
  left: 100%;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes glowPulse {
  0% { box-shadow: 0 0 10px var(--accentColor), 0 0 20px rgba(0, 255, 0, 0.2); }
  100% { box-shadow: 0 0 20px var(--accentColor), 0 0 40px rgba(0, 255, 0, 0.4); }
}

.cyber-footer {
    margin-top: 20px;
    padding: 15px;
    text-align: center;
    border-top: 1px solid rgba(0, 255, 0, 0.2);
    position: relative;
    background: linear-gradient(rgba(0, 0, 0, 0.3), rgba(10, 14, 23, 0.5));
}

.cyber-footer::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--accentColor), transparent);
}

.cyber-stats {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: 15px;
    white-space: nowrap; /* cegah teks turun */
    overflow-x: auto;    /* biar bisa scroll horizontal kalau kepanjangan */
}
.cyber-stats .stat {
    display: flex;
    align-items: center;
    gap: 5px;
    font-family: var(--monoFont);
    font-size: 0.9rem;
    color: var(--accentColor2);
}
.cyber-stats .stat-value {
    color: var(--accentColor);
    font-weight: bold;
}

.network-status-top-left {
    position: fixed;
    top: 15px;
    left: 15px;
    display: flex;
    align-items: center;
    font-family: var(--monoFont);
    font-size: 0.8rem;
    color: var(--networkColor);
    background-color: rgba(0, 0, 0, 0.6);
    padding: 5px 10px;
    border-radius: 4px;
    border-left: 2px solid var(--networkColor);
    z-index: 100;
}

.system-status-top-right {
    position: fixed;
    top: 15px;
    right: 15px;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    font-family: var(--monoFont);
    font-size: 0.8rem;
    color: var(--accentColor2);
    background-color: rgba(0, 0, 0, 0.6);
    padding: 5px 10px;
    border-radius: 4px;
    border-right: 2px solid var(--accentColor2);
    z-index: 100;
}

.system-status-top-right span {
    margin: 2px 0;
}

.status-indicator {
    display: inline-block;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: var(--networkColor);
    margin-right: 5px;
    animation: blink 1.5s infinite alternate;
}

.ping-value {
    color: var(--networkColor);
    margin-left: 5px;
    animation: ping-update 3s infinite;
}

.stat {
    display: flex;
    align-items: center;
    gap: 5px;
}

.stat-value {
    color: var(--accentColor);
    font-weight: bold;
}

.modal {
  font-family: Arial, Helvetica, sans-serif;
  text-align: center;
  max-width: 300px;
  width: 100%;
  background: black; 
  color: red;
  padding: 20px;
  margin: 35vh auto;
  border-radius: 5px;
  position: relative;
}

.modal a {
  text-decoration: none;
  background: crimson;
  color: black;
  padding: 5px 10px;
  border-radius: 5px;
  margin: 10px;
}

.modal-close {
  color: red;
  border: 1px solid black;
  position: absolute;
  top: 5px;
  right: 5px;
  cursor: pointer;
  width: 20px;
  border-radius: 5px;
}

.custom-icon {
    vertical-align: middle;
    width: 24px;
    height: 24px;
}

:root {
    --bgColor: #0a0e17;
    --bgColor2: #000000;
    --accentColor: #00ff00;
    --accentColor2: #00ccff;
    --dangerColor: #ff003c;
    --networkColor: #ff9900;
    --font: 'Orbitron', sans-serif;
    --monoFont: 'Share Tech Mono', monospace;
    --delay: .3s;
}

body {
    margin: 0;
    padding: 0;
    min-height: 100vh;
    font-family: var(--font);
    background: radial-gradient(ellipse at bottom, var(--bgColor) 0%, var(--bgColor2) 100%);
    opacity: 0;
    animation: 1s ease-out var(--delay) 1 transitionAnimation;
    animation-fill-mode: forwards;
    background-repeat: no-repeat;
    background-size: cover;
    position: relative;
    color: var(--accentColor);
    overflow-x: hidden;
}

body::before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        linear-gradient(rgba(0, 255, 0, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 255, 0, 0.03) 1px, transparent 1px),
        radial-gradient(circle, rgba(255, 153, 0, 0.05) 2px, transparent 2px),
        repeating-linear-gradient(
            0deg,
            transparent,
            transparent 2px,
            rgba(0, 255, 0, 0.03) 3px,
            transparent 4px
        );
    background-size: 20px 20px, 20px 20px, 60px 60px, 100% 4px;
    background-position: 0 0, 0 0, 10px 10px, 0 0;
    pointer-events: none;
    z-index: -1;
    animation: scanline-move 10s linear infinite;
}

@keyframes scanline-move {
    0% {
        background-position: 0 0, 0 0, 10px 10px, 0 0;
    }
    100% {
        background-position: 0 0, 0 0, 10px 10px, 0 100px;
    }
}

#profilePicture {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    overflow: hidden;
    margin: 30px auto 20px;
    border: 3px solid var(--accentColor);
    box-shadow: 0 0 15px var(--accentColor), 0 0 30px rgba(0, 255, 0, 0.3);
    position: relative;
    cursor: pointer;
    transition: all 0.3s ease;
}

#profilePicture.glitch-effect {
    animation: profile-glitch 0.5s ease;
}

#profilePicture::before {
    content: "";
    position: absolute;
    top: -5px;
    left: -5px;
    right: -5px;
    bottom: -5px;
    border-radius: 50%;
    background: linear-gradient(45deg, transparent, var(--accentColor), transparent);
    animation: rotate 3s linear infinite;
    z-index: -1;
}

.profile-scan {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, transparent, var(--accentColor), transparent);
    box-shadow: 0 0 15px var(--accentColor);
    animation: profile-scan 2s linear infinite;
    z-index: 1;
}

.terminal-line {
    font-family: var(--monoFont);
    text-align: center;
    margin: 15px auto;
    max-width: 300px;
    padding: 5px 10px;
    background-color: rgba(0, 0, 0, 0.7);
    border-radius: 5px;
    border-left: 3px solid var(--dangerColor);
    color: var(--accentColor);
    font-size: 0.9rem;
    overflow: hidden;
}

.terminal-prompt {
    color: var(--dangerColor);
    margin-right: 8px;
}

.terminal-text {
    position: relative;
    color: var(--accentColor);
}

.terminal-text::after {
    content: "_";
    position: absolute;
    right: -10px;
    animation: blink 1s infinite;
}

#profilePicture img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    filter: contrast(1.1) brightness(1.05);
}

#userName {
    color: var(--accentColor);
    font-size: 1.2rem;
    font-weight: bold;
    line-height: 1.25;
    display: block;
    font-family: var(--font);
    width: 100%;
    text-align: center;
    text-decoration: none;
    text-shadow: 0 0 10px var(--accentColor);
    letter-spacing: 1px;
    margin-top: 10px;
    position: relative;
}

#userName::before {
    content: "< ";
    color: var(--accentColor2);
    font-family: var(--monoFont);
}

#userName::after {
    content: " />";
    color: var(--accentColor2);
    font-family: var(--monoFont);
}

#links {
    max-width: 675px;
    width: auto;
    display: block;
    margin: 27px auto;
}

.link-section {
    margin-bottom: 20px;
}

.section-header {
    color: var(--accentColor2);
    font-size: 1.2rem;
    font-weight: bold;
    text-align: center;
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 2px;
    position: relative;
    padding: 5px 0;
    font-family: var(--monoFont);
}

.section-header::before {
    content: "[";
    margin-right: 5px;
    color: var(--dangerColor);
}

.section-header::after {
    content: "]";
    margin-left: 5px;
    color: var(--dangerColor);
}

.link-section a {
    position: relative;
    background-color: rgba(0, 0, 0, 0.7);
    color: var(--accentColor);
    border: solid var(--accentColor) 1px;
    border-radius: 5px;
    font-size: 1rem;
    text-align: center;
    display: block;
    margin-left: 10px;
    margin-right: 10px;
    margin-bottom: 15px;
    padding: 12px;
    text-decoration: none;
    -webkit-tap-highlight-color: transparent;
    font-family: var(--monoFont);
    transition: all 0.3s ease;
    overflow: hidden;
    box-shadow: 0 0 5px rgba(0, 255, 0, 0.3);
}

.link-section a::before {
    content: "> ";
    color: var(--dangerColor);
    font-weight: bold;
}

.link-section a::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--accentColor), transparent);
    animation: scanline 2s linear infinite;
}

@media (hover: hover) {
    .link-section a:hover {
        background-color: rgba(0, 255, 0, 0.1);
        color: #ffffff;
        border-color: var(--accentColor2);
        box-shadow: 0 0 15px var(--accentColor), 0 0 5px rgba(0, 255, 0, 0.5) inset;
        transform: translateY(-2px);
    }
}

.link-section a:active {
    background-color: rgba(0, 255, 0, 0.2);
    color: #ffffff;
    box-shadow: 0 0 10px var(--accentColor), 0 0 10px rgba(0, 255, 0, 0.7) inset;
    transform: translateY(1px);
}

#hashtag {
    position: relative;
    padding-bottom: 30px;
    color: var(--accentColor);
    font-size: 1rem;
    display: block;
    font-family: var(--monoFont);
    width: 100%;
    text-align: center;
    overflow: hidden;
    background: linear-gradient(90deg, var(--bgColor), var(--accentColor), var(--accentColor2), var(--bgColor));
    background-repeat: no-repeat;
    background-size: 80%;
    animation: animate 3s linear var(--delay) infinite;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: rgba(255, 255, 255, 0);
    margin-top: 20px;
}

.lines {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 100%;
    margin: auto;
    width: 90vw;
    z-index: -1;
}

.cyber-header {
    text-align: center;
    padding: 15px 0;
    margin-bottom: 10px;
    position: relative;
}

.glitch-container {
    position: relative;
    display: inline-block;
}

.network-nodes {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: -1;
    opacity: 0.6;
}

.connection {
    position: absolute;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--networkColor), var(--accentColor), var(--networkColor), transparent);
    transform-origin: left center;
    animation: connection-pulse 4s infinite alternate;
    opacity: 0.3;
    box-shadow: 0 0 5px var(--networkColor);
    z-index: 0;
}

.glitch {
    font-family: var(--monoFont);
    font-size: 1.5rem;
    font-weight: bold;
    text-transform: uppercase;
    position: relative;
    color: var(--accentColor);
    letter-spacing: 3px;
    text-shadow: 0 0 10px var(--accentColor);
    animation: glitch 1.5s infinite alternate-reverse;
}

.glitch::before,
.glitch::after {
    content: attr(data-text);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.glitch::before {
    left: 2px;
    text-shadow: -2px 0 var(--dangerColor);
    clip-path: rect(24px, 550px, 90px, 0);
    animation: glitch-anim 2s infinite linear alternate-reverse;
}

.glitch::after {
    left: -2px;
    text-shadow: -2px 0 var(--accentColor2);
    clip-path: rect(85px, 550px, 140px, 0);
    animation: glitch-anim2 2s infinite linear alternate-reverse;
}

.matrix-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 50% 50%, rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.95)), 
        repeating-linear-gradient(rgba(0, 255, 0, 0.1) 1px, transparent 2px, transparent 30px),
        url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="100" height="100" viewBox="0 0 100 100"><circle cx="50" cy="50" r="40" stroke="rgba(255,153,0,0.15)" stroke-width="1" fill="none" /></svg>'),
        url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="200" height="200" viewBox="0 0 200 200"><circle cx="100" cy="100" r="80" stroke="rgba(0,204,255,0.1)" stroke-width="1" fill="none" /></svg>'),
        url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="300" height="300" viewBox="0 0 300 300"><rect x="0" y="0" width="300" height="300" stroke="rgba(255,0,128,0.05)" stroke-width="1" stroke-dasharray="5,5" fill="none" /></svg>'),
        url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="400" height="400" viewBox="0 0 400 400"><polygon points="200,50 350,150 300,350 100,350 50,150" stroke="rgba(128,0,255,0.03)" stroke-width="1" fill="none" /></svg>');
    background-size: auto, auto, 100px 100px, 200px 200px, 300px 300px, 400px 400px;
    background-position: 0 0, 0 0, 25px 25px, 50px 50px, 75px 75px, 100px 100px;
    pointer-events: none;
    z-index: -2;
    opacity: 0.5;
    animation: pulse-bg 8s ease-in-out infinite alternate;
    box-shadow: inset 0 0 100px rgba(0, 255, 0, 0.1), inset 0 0 50px rgba(0, 204, 255, 0.1);
}

.matrix-char {
    position: absolute;
    top: -20px;
    color: var(--accentColor);
    font-family: var(--monoFont);
    font-size: 12px;
    text-shadow: 0 0 5px var(--accentColor);
    animation: matrix-fall 10s linear infinite;
    opacity: 0.7;
}

@keyframes matrix-fall {
    0% {
        top: -20px;
        opacity: 0.7;
    }
    95% {
        opacity: 0.7;
    }
    100% {
        top: calc(100vh + 20px);
        opacity: 0;
    }
}

.line {
    position: absolute;
    width: 1px;
    height: 100%;
    top: 0;
    left: 50%;
    background: rgba(255, 255, 255, 0.1);
    overflow: hidden;

    &::after {
        content: '';
        display: block;
        position: absolute;
        height: 15vh;
        width: 100%;
        top: -50%;
        left: 0;
        background: linear-gradient(to bottom, rgba(255, 255, 255, 0) 0%, #ffffff 75%, #ffffff 100%);
        animation: drop 7s 0s infinite;
        animation-fill-mode: forwards;
        animation-timing-function: cubic-bezier(0.4, 0.26, 0, 0.97);
    }

    &:nth-child(1) {
        margin-left: -25%;
        &::after {
            animation-delay: 2s;
        }
    }

    &:nth-child(3) {
        margin-left: 25%;
        &::after {
            animation-delay: 2.5s;
        }
    }
}

@keyframes drop {
    0% {
        top: -50%;
    }
    100% {
        top: 110%;
    }
}

@keyframes transitionAnimation {
    0% {
        opacity: 0;
        transform: translateY(-10px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes animate {
    0% {
        background-position: -500%;
    }
    100% {
        background-position: 500%;
    }
}

@keyframes scanline {
    0% {
        transform: translateX(-100%);
    }
    100% {
        transform: translateX(100%);
    }
}

@keyframes rotate {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

@keyframes glitch {
    0% {
        text-shadow: 0.05em 0 0 var(--accentColor2), -0.05em -0.025em 0 var(--dangerColor);
        clip-path: rect(25px, 9999px, 56px, 0);
    }
    25% {
        text-shadow: -0.05em -0.025em 0 var(--accentColor2), 0.025em 0.025em 0 var(--dangerColor);
        clip-path: rect(35px, 9999px, 16px, 0);
    }
    50% {
        text-shadow: 0.025em 0.05em 0 var(--accentColor2), -0.05em -0.05em 0 var(--dangerColor);
        clip-path: rect(15px, 9999px, 76px, 0);
    }
    75% {
        text-shadow: -0.025em -0.025em 0 var(--accentColor2), -0.025em -0.05em 0 var(--dangerColor);
        clip-path: rect(45px, 9999px, 36px, 0);
    }
    100% {
        text-shadow: -0.025em 0 0 var(--accentColor2), -0.025em -0.025em 0 var(--dangerColor);
        clip-path: rect(5px, 9999px, 66px, 0);
    }
}

@keyframes glitch-anim {
    0% {
        clip-path: rect(42px, 9999px, 44px, 0);
    }
    20% {
        clip-path: rect(12px, 9999px, 59px, 0);
    }
    40% {
        clip-path: rect(62px, 9999px, 78px, 0);
    }
    60% {
        clip-path: rect(42px, 9999px, 11px, 0);
    }
    80% {
        clip-path: rect(95px, 9999px, 35px, 0);
    }
    100% {
        clip-path: rect(23px, 9999px, 47px, 0);
    }
}

@keyframes glitch-anim2 {
    0% {
        clip-path: rect(65px, 9999px, 119px, 0);
    }
    20% {
        clip-path: rect(93px, 9999px, 68px, 0);
    }
    40% {
        clip-path: rect(23px, 9999px, 15px, 0);
    }
    60% {
        clip-path: rect(75px, 9999px, 69px, 0);
    }
    80% {
        clip-path: rect(17px, 9999px, 13px, 0);
    }
    100% {
        clip-path: rect(38px, 9999px, 53px, 0);
    }
}

@keyframes profile-scan {
    0% {
        top: 0;
    }
    100% {
        top: 100%;
    }
}

@keyframes blink {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0;
    }
}

@keyframes profile-glitch {
    0% {
        transform: translate(0);
        filter: hue-rotate(0deg);
    }
    20% {
        transform: translate(-5px, 5px);
        filter: hue-rotate(90deg) contrast(1.5);
    }
    40% {
        transform: translate(5px, -5px);
        filter: hue-rotate(180deg) contrast(2);
    }
    60% {
        transform: translate(-5px, -5px);
        filter: hue-rotate(270deg) contrast(1.5);
    }
    80% {
        transform: translate(5px, 5px);
        filter: hue-rotate(360deg) contrast(1.2);
    }
    100% {
        transform: translate(0);
        filter: hue-rotate(0deg);
    }
}

@keyframes node-pulse {
    0% {
        transform: scale(1);
        opacity: 0.7;
    }
    100% {
        transform: scale(1.2);
        opacity: 1;
    }
}

@keyframes node-ring {
    0% {
        transform: translate(-50%, -50%) scale(0.8);
        opacity: 0.5;
    }
    100% {
        transform: translate(-50%, -50%) scale(2);
        opacity: 0;
    }
}

@keyframes connection-pulse {
    0% {
        opacity: 0.1;
    }
    50% {
        opacity: 0.3;
    }
    100% {
        opacity: 0.1;
    }
}

@keyframes pulse-bg {
    0% {
        background-position: 0 0, 0 0, 25px 25px, 50px 50px, 75px 75px, 100px 100px;
        background-size: auto, auto, 100px 100px, 200px 200px, 300px 300px, 400px 400px;
    }
    50% {
        background-position: 0 0, 0 0, 30px 30px, 60px 55px, 80px 80px, 110px 105px;
        background-size: auto, auto, 105px 105px, 205px 205px, 305px 305px, 405px 405px;
    }
    100% {
        background-position: 0 0, 0 0, 35px 35px, 65px 65px, 85px 85px, 120px 120px;
        background-size: auto, auto, 110px 110px, 210px 210px, 310px 310px, 410px 410px;
    }
}

@keyframes ping-update {
    0% {
        content: "28ms";
    }
    33% {
        content: "32ms";
    }
    66% {
        content: "26ms";
    }
    100% {
        content: "30ms";
    }
}

.code-snippet {
    position: absolute;
    font-family: var(--monoFont);
    font-size: 10px;
    color: var(--accentColor);
    text-shadow: 0 0 5px var(--accentColor);
    pointer-events: none;
    z-index: -2;
    animation: snippet-float 30s linear infinite;
    white-space: nowrap;
}

@keyframes snippet-float {
    0% {
        transform: translateY(0) translateX(0) rotate(0deg);
        opacity: 0;
    }
    10% {
        opacity: 0.3;
    }
    90% {
        opacity: 0.3;
    }
    100% {
        transform: translateY(-200px) translateX(100px) rotate(10deg);
        opacity: 0;
    }
}

.data-particle {
    position: absolute;
    background-color: var(--accentColor);
    border-radius: 50%;
    box-shadow: 0 0 3px var(--accentColor);
    opacity: 0.6;
    animation: particle-float 15s linear infinite;
    z-index: -1;
}

@keyframes particle-float {
    0% {
        transform: translateY(0) translateX(0);
    }
    25% {
        transform: translateY(-100px) translateX(50px);
    }
    50% {
        transform: translateY(-50px) translateX(100px);
    }
    75% {
        transform: translateY(50px) translateX(50px);
    }
    100% {
        transform: translateY(0) translateX(0);
    }
}

/* Add grid lines to background */
body::after {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        linear-gradient(90deg, transparent 98%, rgba(0, 255, 0, 0.05) 2%),
        linear-gradient(transparent 98%, rgba(0, 255, 0, 0.05) 2%);
    background-size: 50px 50px;
    pointer-events: none;
    z-index: -3;
    opacity: 0.3;
}

@media screen and (max-width: 480px) {
    .network-status-top-left,
    .system-status-top-right {
        font-size: 0.65rem;
        padding: 3px 6px;
        max-width: 40%;
    }
    
    .network-status-top-left {
        top: 120px;
        left: 10px;
    }
    
    .system-status-top-right {
        top: 120px;
        right: 10px;
    }
    
    .glitch {
        font-size: 1rem;
        letter-spacing: 2px;
    }
    
    #profilePicture {
        width: 80px;
        height: 80px;
    }
    
    .cyber-stats {
        flex-direction: column;
        align-items: center;
        gap: 5px;
    }
    
    .link-section a {
        padding: 8px;
        font-size: 0.8rem;
    }
}

@media screen and (max-width: 360px) {
    .network-status-top-left,
    .system-status-top-right {
        font-size: 0.55rem;
        padding: 2px 5px;
        max-width: 38%;
    }
    
    .network-status-top-left {
        top: 100px;
    }
    
    .system-status-top-right {
        top: 100px;
    }
    
    .glitch {
        font-size: 0.9rem;
    }
    
    #profilePicture {
        width: 70px;
        height: 70px;
    }
    
    .link-section a {
        padding: 6px;
        font-size: 0.75rem;
    }
    
    .terminal-line {
        font-size: 0.7rem;
    }
}

/* Footer */
.cyber-footer {
    background: rgba(0, 0, 0, 0.7);
    border-top: 1px solid var(--accentColor);
    padding: 15px 0;
    text-align: center;
    margin-top: 50px;
    box-shadow: 0 -5px 15px rgba(0, 255, 0, 0.1);
}

.footer-content {
    color: var(--accentColor);
    font-family: var(--monoFont);
    font-size: 1rem;
    padding: 10px;
    text-shadow: 0 0 5px rgba(0, 255, 0, 0.5);
    letter-spacing: 1px;
    animation: pulse 2s infinite ease-in-out;
}

@keyframes pulse {
    0% { opacity: 0.7; }
    50% { opacity: 1; }
    100% { opacity: 0.7; }
}

.footer-link {
    color: var(--accentColor);
    text-decoration: none;
    transition: all 0.3s ease;
}

.footer-link:hover {
    color: #ffffff;
    text-shadow: 0 0 5px var(--accentColor);
}