body {
    font-family: Arial, sans-serif;
    margin: 0;
    background: linear-gradient(135deg, #0f0c29, #302b63);
    color: #fff;
    overflow-x: hidden;
}

header {
    display: flex;
    justify-content: space-between;
    padding: 20px;
    background: rgba(0, 0, 0, 0.6);
    position: fixed;
    width: 100%;
    z-index: 10;
}

header h1 {
    font-size: 1.8em;
    color: #00f7ff;
}

nav a {
    color: #fff;
    text-decoration: none;
    margin: 0 10px;
}

nav a:hover {
    color: #00f7ff;
}

.hero {
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    position: relative;
}

#particles-js {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: 1;
}

.hero h2.glitch {
    font-size: 3em;
    color: #00f7ff;
    text-shadow: 0 0 10px #00f7ff;
    position: relative;
    z-index: 2;
    animation: glitch 1s linear infinite;
}

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

.hero h2.glitch::before {
    color: #ff00ff;
    animation: glitch-top 0.8s linear infinite;
    clip-path: polygon(0 0, 100% 0, 100% 33%, 0 33%);
}

.hero h2.glitch::after {
    color: #00ff00;
    animation: glitch-bottom 1.2s linear infinite;
    clip-path: polygon(0 67%, 100% 67%, 100% 100%, 0 100%);
}

@keyframes glitch {
    2%, 64% { transform: translate(2px, 0) skew(0deg); }
    4%, 60% { transform: translate(-2px, 0) skew(0deg); }
    62% { transform: translate(0, 0) skew(5deg); }
}

@keyframes glitch-top {
    2%, 64% { transform: translate(2px, -2px); }
    4%, 60% { transform: translate(-2px, 2px); }
    62% { transform: translate(0, 0) skew(-5deg); }
}

@keyframes glitch-bottom {
    2%, 64% { transform: translate(-2px, 2px); }
    4%, 60% { transform: translate(2px, -2px); }
    62% { transform: translate(0, 0) skew(5deg); }
}

.hero p {
    font-size: 1.2em;
    z-index: 2;
}

.cta-button {
    background: #00f7ff;
    color: #0f0c29;
    padding: 10px 20px;
    text-decoration: none;
    border-radius: 5px;
    z-index: 2;
    transition: transform 0.3s;
}

.cta-button:hover {
    transform: scale(1.1);
    box-shadow: 0 0 15px #00f7ff;
}

#about {
    padding: 50px 20px;
    text-align: center;
}

#about h2 {
    color: #00f7ff;
}

footer {
    text-align: center;
    padding: 20px;
    background: rgba(0, 0, 0, 0.8);
}

footer a {
    color: #00f7ff;
}
