/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Roboto', sans-serif;
    background: #000;
    color: #fff;
    overflow: hidden;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

/* Background animations */
.background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.grid {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
        linear-gradient(rgba(0, 255, 255, 0.1) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 255, 255, 0.1) 1px, transparent 1px);
    background-size: 50px 50px;
    animation: gridShift 10s linear infinite;
}

.particle {
    position: absolute;
    background: rgba(0, 255, 255, 0.8);
    border-radius: 50%;
    animation: float 8s ease-in-out infinite;
}

.p1 {
    width: 10px;
    height: 10px;
    top: 10%;
    left: 20%;
    animation-delay: 0s;
}

.p2 {
    width: 15px;
    height: 15px;
    top: 30%;
    left: 70%;
    animation-delay: 2s;
}

.p3 {
    width: 8px;
    height: 8px;
    top: 50%;
    left: 10%;
    animation-delay: 4s;
}

.p4 {
    width: 12px;
    height: 12px;
    top: 70%;
    left: 80%;
    animation-delay: 6s;
}

.p5 {
    width: 10px;
    height: 10px;
    top: 90%;
    left: 50%;
    animation-delay: 8s;
}

/* Container */
.container {
    text-align: center;
    max-width: 800px;
    padding: 2rem;
    position: relative;
    z-index: 1;
}

header h1 {
    font-family: 'Orbitron', monospace;
    font-size: 5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #00ffff;
    text-shadow: 0 0 20px #00ffff, 0 0 40px #00ffff;
}

main h2 {
    font-family: 'Orbitron', monospace;
    font-size: 2.5rem;
    font-weight: 400;
    margin: 1rem 0;
    color: #ff00ff;
    text-shadow: 0 0 15px #ff00ff;
    animation: fadeInUp 2s ease-out, colorShift 3s ease-in-out infinite;
}

main p {
    font-size: 1.2rem;
    line-height: 1.6;
    margin: 1rem 0;
    animation: slideUp 2.5s ease-out;
}

.contact-btn {
    display: inline-block;
    background: linear-gradient(45deg, #00ffff, #ff00ff);
    color: #000;
    padding: 1rem 2rem;
    text-decoration: none;
    font-weight: bold;
    border-radius: 50px;
    margin-top: 2rem;
    transition: all 0.3s ease;
    box-shadow: 0 0 20px rgba(0, 255, 255, 0.5);
    animation: bounce 1s ease-in-out infinite alternate, rainbowBorder 4s linear infinite;
}

.contact-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 0 30px rgba(0, 255, 255, 0.8), 0 0 50px rgba(255, 0, 255, 0.8);
}

footer {
    margin-top: 3rem;
    font-size: 0.9rem;
    color: #888;
    animation: fadeIn 3s ease-out;
}

/* Keyframes */
@keyframes gridShift {
    0% { transform: translate(0, 0); }
    100% { transform: translate(50px, 50px); }
}

@keyframes float {
    0%, 100% { transform: translateY(0) rotate(0deg); opacity: 0.5; }
    50% { transform: translateY(-20px) rotate(180deg); opacity: 1; }
}



@keyframes glowPulse {
    0%, 100% { text-shadow: 0 0 20px #00ffff, 0 0 40px #00ffff; }
    50% { text-shadow: 0 0 30px #00ffff, 0 0 60px #00ffff, 0 0 80px #00ffff; }
}

@keyframes fadeInUp {
    0% { opacity: 0; transform: translateY(30px); }
    100% { opacity: 1; transform: translateY(0); }
}

@keyframes colorShift {
    0%, 100% { color: #ff00ff; }
    50% { color: #ffff00; }
}

@keyframes slideUp {
    0% { opacity: 0; transform: translateY(50px); }
    100% { opacity: 1; transform: translateY(0); }
}

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

@keyframes rainbowBorder {
    0% { box-shadow: 0 0 20px rgba(0, 255, 255, 0.5); }
    25% { box-shadow: 0 0 20px rgba(255, 0, 255, 0.5); }
    50% { box-shadow: 0 0 20px rgba(255, 255, 0, 0.5); }
    75% { box-shadow: 0 0 20px rgba(0, 255, 0, 0.5); }
    100% { box-shadow: 0 0 20px rgba(0, 255, 255, 0.5); }
}

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

/* Responsive */
@media (max-width: 768px) {
    header h1 { font-size: 3rem; }
    main h2 { font-size: 2rem; }
}