@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800;900&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

body {
    background-color: black;
    color: rgb(255, 255, 255);
}

.header {
    position: relative;
    top: 0;
    left: 0;
    width: 100%;
    padding: 15px 15%;
    background: transparent;
    background: linear-gradient(45deg, rgba(0, 0, 0, 0.548), green, rgba(0, 0, 0, 0.548));
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 100;
}

.logo {
    font-size: 25px;
    color: green;
    text-shadow: 5px 5px 10px black;
    text-decoration: none;
    font-weight: 600;
    pointer-events: none;
    opacity: 0;
    animation: slideTop 1s ease forwards;
    
}
@keyframes moveRandomly {
    from { transform: translate(0, 0); }
    to { transform: translate(var(--x), var(--y)); }
  }
@keyframes slideTop {
    0% {
        transform: translateY(-100%);
        opacity: 0;
    }
    100% {
        transform: translateY(0);
        opacity: 1;
    }
}

@keyframes hackerText {
    0% {
        opacity: 0;
        filter: blur(2px);
        transform: translateX(20px);
    }
    40% {
        opacity: 0.6;
        filter: blur(1px);
        transform: translateX(0);
    }
    100% {
        opacity: 1;
        filter: blur(0);
        transform: translateX(0);
    }
}

.navbar {
    display: flex;
    justify-content: center;
    align-items: center;
}

.navbar a {
    display: inline-block;
    font-size: 30px;
    color: #00ff00;
    text-decoration: none;
    font-weight: 500;
    margin-left: 35px;
    opacity: 0;
    animation: hackerText .8s ease forwards;
    animation-delay: calc(.1s * var(--i));
    font-family: 'Courier New', Courier, monospace;
    letter-spacing: 2px;
    position: relative;
}

.navbar a::after {
    content: '';
    width: 0;
    height: 2px;
    background: rgb(190, 185, 185);
    border-radius: 50%;
    position: absolute;
    left: 0;
    bottom: -3px;
    transition: 0.6s;
}

.navbar a:hover::after {
    width: 100%;
}

.navbar a:hover {
    background: linear-gradient(45deg, rgb(0, 0, 0), rgb(0, 0, 0));
    -webkit-text-fill-color: transparent;
    background-clip: border-box;
    -webkit-background-clip: text;
}

.home {
    width: 100%;
    height: 100vh;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    padding: 5px 10%;
}

.home-content {
    max-width: 600px;
    padding: 50px;
}

.home-content h1 {
    font-size: 56px;
    font-weight: 700;
    line-height: 1.2;
    opacity: 0;
    animation: slideRight 1s ease forwards;
    animation-delay: .7s;
}

.home-content h3 {
    font-size: 32px;
    font-weight: 700;
    opacity: 0;
    animation: slideLeft 1s ease forwards;
    animation-delay: 1s;
}

.mu {
    margin-top: 50px;
}

.home-content h1, h3 {
    text-shadow: 5px 4px 10px green;
}

.home-content h3 span {
    color: rgb(0, 255, 0);
}

.home-content p {
    font-size: 16px;
    margin: 20px 0 0;
    text-align: left;
    opacity: 0;
    animation: slideLeft 1s ease forwards;
    animation-delay: 1.3s;
}

.home-sci {
    display: flex;
    flex-wrap: wrap;
}

.home-sci a {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    background: black;
    border: 2px solid green;
    border-radius: 50%;
    font-size: 20px;
    color: green;
    text-decoration: none;
    margin: 30px 15px 30px 0;
    opacity: 0;
    animation: zoomIn 1s ease forwards;
    animation-delay: 0.4s;
}

.home-sci a:hover {
    background: green;
    color: black;
    box-shadow: 0 0 20px green;
}

.btn-box {
    display: inline-block;
    padding: 12px 28px;
    background: green;
    border-radius: 40px;
    font-size: 16px;
    color: black;
    letter-spacing: 1px;
    text-decoration: none;
    font-weight: 600;
    opacity: 0;
    animation: zoomIn 1s ease forwards;
    animation-delay: 0.4s;
}

.btn-box:hover {
    box-shadow: 0 0 5px green,
    0 0 25px green, 0 0 50px green,
    0 0 100px green, 0 0 200px green;
}

.home-img {
    width: 300px;
    height: 300px;
    opacity: 0;
    animation: zoomIn 1s ease forwards, floatImage 4s ease-in-out infinite;
    animation-delay: 2.1s, 3.1s;
    position: relative;
}

.home-img .glowing-circle {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.home-img .glowing-circle::after {
    content: '';
    position: absolute;
    width: 280px;
    height: 280px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.5), transparent);
    border-radius: 50%;
    box-shadow: 0 0 15px rgba(0, 255, 0, 0.6);
    animation: pulse 2s infinite;
}

.glowing-circle span {
    position: absolute;
    width: 100%;
    height: 100%;
    background: linear-gradient(black, rgba(0, 128, 0, 0.4));
    border-radius: 50%;
    animation: circleRotate 5s linear infinite;
}

.glowing-circle span:nth-child(1) {
    filter: blur(10px);
    opacity: 0.7;
}

.image {
    position: relative;
    width: 280px;
    height: 280px;
    border-radius: 50%;
    overflow: hidden;
    z-index: 1;
}

.image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    animation: glitch 1s infinite;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 15px rgba(0, 255, 0, 0.6);
    }
    50% {
        box-shadow: 0 0 25px rgba(0, 255, 0, 0.9);
    }
    100% {
        box-shadow: 0 0 15px rgba(0, 255, 0, 0.6);
    }
}

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

@keyframes glitch {
    0% {
        transform: translate(0);
        opacity: 1;
    }
    25% {
        transform: translate(-10px, 10px);
        opacity: 0.8;
    }
    50% {
        transform: translate(10px, -10px);
        opacity: 0.6;
    }
    75% {
        transform: translate(-10px, -10px);
        opacity: 0.8;
    }
    100% {
        transform: translate(0);
        opacity: 1;
    }
}


.navbar-1 a {
    font-size: 18px;
    color: #fff;
    text-decoration: none;
    font-weight: 500;
    margin-left: 50px;
    text-align-last: center;
}

.navbar-1 a.active, 
.navbar-1 a:hover {
    background: linear-gradient(45deg, rgb(0, 0, 0), rgb(0, 0, 0));
    -webkit-text-fill-color: transparent;
    background-clip: border-box;
    -webkit-background-clip: text;
}

canvas {
    position: fixed;
    top: auto;
    left: auto;
    background-color: black;
    z-index: -1;
    background-size: cover;
    background-blend-mode: multiply;
    background-size: auto;
    scroll-behavior: smooth;
}

/* About Section */
.about {
    width: 100%;
    height: auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 70px 10% 0;
    margin-top: 10%;
}

.about-img img {
    max-width: 100%;
    height: auto;
    margin-top: 30px;
}

.about-content {
    text-align: center;
}

.about-content h3 {
    font-size: 32px;
    font-weight: 700;
    opacity: 0;
    animation: slideLeft 1s ease forwards;
    animation-delay: 1s;
}

.about-content p {
    font-size: 16px;
    margin: 20px 0 0;
    text-align: left;
    opacity: 0;
    animation: slideLeft 1s ease forwards;
    animation-delay: 1.3s;
}

/* Animations */
@keyframes slideRight {
    0% {
        transform: translateX(-100%);
        opacity: 0;
    }
    100% {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes slideLeft {
    0% {
        transform: translateX(100%);
        opacity: 0;
    }
    100% {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes zoomIn {
    0% {
        transform: scale(0);
        opacity: 0;
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}

@keyframes floatImage {
    0% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-20px);
    }
    100% {
        transform: translateY(0);
    }
}

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


  /* Button styling */
.hack-button {
    background-color: #000;
    color: #00ff00;
    font-family: 'Courier New', Courier, monospace;
    border: 2px solid #00ff00;
    padding: 10px 20px;
    cursor: pointer;
    margin-bottom: 20px;
    transition: background-color 0.3s ease;
}

.hack-button:hover {
    background-color: #00ff00;
    color: #000;
}

/* Hacker text styling */
.hacker-text {
    font-family: 'Courier New', Courier, monospace;
    color: #00ff00;
    font-size: 18px;
    line-height: 1.6;
    letter-spacing: 1px;
    position: relative;
    overflow: hidden;
    transition: all 0.5s ease;
}

/* Glitch effect for specific words */
.glitch {
    position: relative;
    display: inline-block;
}

.glitch::before, .glitch::after {
    content: attr(data-text);
    position: absolute;
    left: 0;
    opacity: 0.8;
    white-space: nowrap;
}

.glitch::before {
    animation: glitchTop 2s infinite;
    top: -2px;
    left: 2px;
    color: #ff00ff;
    clip: rect(0, 900px, 0, 0);
}

.glitch::after {
    animation: glitchBottom 2s infinite;
    top: 2px;
    left: -2px;
    color: #00ffff;
    clip: rect(0, 0, 900px, 0);
}
#holy-rays, #meteors {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1000;
    display: none; /* Hide effects initially */
}

#holy-rays {
    background: radial-gradient(circle, rgba(255, 255, 255, 0.8), transparent);
    opacity: 0;
    animation: holyRaysAnimation 5s forwards;
}

#meteors {
    position: relative;
    overflow: hidden;
}

.meteor {
    position: absolute;
    width: 10px;
    height: 10px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.8), transparent);
    border-radius: 50%;
    opacity: 0;
    animation: meteorFallAnimation 5s forwards;
}

@keyframes holyRaysAnimation {
    0% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}

@keyframes meteorFallAnimation {
    from {
        transform: translateY(-100vh);
        opacity: 1;
    }
    to {
        transform: translateY(100vh);
        opacity: 0;
    }
}

/* Glitch animations */
@keyframes glitchTop {
    0%, 100% {
        clip: rect(0, 900px, 0, 0);
    }
    10% {
        clip: rect(8px, 900px, 20px, 0);
    }
    20% {
        clip: rect(15px, 900px, 28px, 0);
    }
}

@keyframes glitchBottom {
    0%, 100% {
        clip: rect(0, 0, 900px, 0);
    }
    10% {
        clip: rect(80px, 900px, 100px, 0);
    }
}

/* Glitch effect on whole text */
.hacked {
    position: relative;
    color: #0f0;
    font-size: 22px;
    letter-spacing: 2px;
    background-color: black;
    overflow: hidden;
}

.hacked::before,
.hacked::after {
    content: attr(data-text);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: black;
    clip: rect(0, 0, 0, 0);
    z-index: 1;
}

.hacked::before {
    color: #ff00ff;
    animation: textHack 1s infinite;
}

.hacked::after {
    color: #00ffff;
    animation: textHack 1s infinite reverse;
}

/* Hacked text animation */
@keyframes textHack {
    0% {
        transform: translateX(0) skewX(0deg);
        opacity: 1;
    }
    10% {
        transform: translateX(-10px) skewX(-2deg);
        opacity: 0.8;
    }
    20% {
        transform: translateX(10px) skewX(2deg);
        opacity: 0.6;
    }
    30% {
        transform: translateX(-10px) skewX(-2deg);
        opacity: 0.4;
    }
    40% {
        transform: translateX(10px) skewX(2deg);
        opacity: 0.2;
    }
    50% {
        transform: translateX(0) skewX(0deg);
        opacity: 0;
    }
    60% {
        transform: translateX(-10px) skewX(-2deg);
        opacity: 0.2;
    }
    70% {
        transform: translateX(10px) skewX(2deg);
        opacity: 0.4;
    }
    80% {
        transform: translateX(-10px) skewX(-2deg);
        opacity: 0.6;
    }
    90% {
        transform: translateX(10px) skewX(2deg);
        opacity: 0.8;
    }
    100% {
        transform: translateX(0) skewX(0deg);
        opacity: 1;
    }
}
