@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;500;600;700&display=swap');

/* --- Base Styles --- */
body {
    background-color: #050505;
    color: #ffffff;
    font-family: 'Montserrat', sans-serif;
    overflow-x: hidden;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #050505;
}

::-webkit-scrollbar-thumb {
    background: #00cc00;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #00cc00;
}

/* --- Utilities --- */
.text-neon {
    color: #00cc00;
}

.bg-neon {
    background-color: #00cc00;
}

.border-neon {
    border-color: #00cc00;
}

.text-shadow-neon {
    text-shadow: 0 0 10px rgba(0, 255, 0, 0.7);
}

/* --- Glassmorphism Cards --- */
.glass-card {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.glass-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 40px 0 rgba(0, 255, 0, 0.1);
    border-color: rgba(0, 255, 0, 0.3);
}

/* --- Scramble Text Effect --- */
#scramble-text span {
    display: inline-block;
    transition: color 0.3s ease;
}

#scramble-text:hover span {
    color: #00cc00;
    text-shadow: 0 0 10px #00cc00;
}

/* --- Neon Button --- */
.neon-button {
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.neon-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
    z-index: -1;
}

.neon-button:hover::before {
    left: 100%;
}

/* --- Hacker Mode --- */
body.hacker-mode {
    font-family: 'Courier New', Courier, monospace;
}

body.hacker-mode * {
    color: #00cc00 !important;
    border-color: #00cc00 !important;
    text-shadow: 0 0 5px #00cc00;
}

body.hacker-mode .glass-card {
    background: black;
    border: 1px solid #00cc00;
}

.flying-ninja {
    position: fixed;
    font-size: 5rem;
    z-index: 99999;
    animation: flyAcross 2s linear forwards;
    top: 50%;
    left: -10%;
}

@keyframes flyAcross {
    to {
        left: 110%;
        transform: rotate(720deg);
    }
}

.hacker-alert {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: black;
    border: 2px solid #00cc00;
    padding: 2rem;
    z-index: 99999;
    font-size: 2rem;
    font-weight: bold;
    text-align: center;
    box-shadow: 0 0 50px #00cc00;
    animation: blink 0.2s infinite;
}

@keyframes blink {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0;
    }
}

/* --- Katana Cursor --- */
.katana-trail {
    position: fixed;
    height: 2px;
    background: linear-gradient(90deg, rgba(0, 255, 0, 0), rgba(0, 255, 0, 1));
    pointer-events: none;
    z-index: 9999;
    transform-origin: left center;
    box-shadow: 0 0 10px #00cc00;
}

.katana-spark {
    position: fixed;
    width: 4px;
    height: 4px;
    background: #fff;
    border-radius: 50%;
    pointer-events: none;
    z-index: 9999;
    box-shadow: 0 0 5px #00cc00, 0 0 10px #00cc00;
}

/* Particles Background */
#tsparticles {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
}