/* Import a cool, modern font from Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Orbitron:wght@400;700&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Orbitron', sans-serif;
    background: linear-gradient(135deg, #0f0c29, #302b63, #24243e); /* Deep space purple gradient */
    color: #fff;
    min-height: 100vh;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
}

.container {
    text-align: center;
    z-index: 10; /* Puts the text in front of the canvas */
    position: relative;
}

/* Icon Styling with Animation */
.icon {
    font-size: 4rem;
    margin-bottom: 2rem;
    color: #00ffff; /* Cyan color */
    animation: pulse 2s infinite ease-in-out;
    text-shadow: 0 0 15px #00ffff, 0 0 30px #00ffff;
}

/* Main Text Styling with Animation */
.main-text {
    font-size: 4.5rem;
    font-weight: 700;
    letter-spacing: 3px;
    text-shadow: 0 0 10px #fff, 0 0 20px #fff, 0 0 30px #ff00ff, 0 0 40px #ff00ff; /* Pink glow */
    animation: glow 1.5s ease-in-out infinite alternate;
}

/* Canvas for particles - covers the whole screen */
#particle-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1; /* Puts the particles behind the text */
}

/* Pulsing animation for the icon */
@keyframes pulse {
    0% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(1.1);
        opacity: 0.8;
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}

/* Glowing animation for the text */
@keyframes glow {
    from {
        text-shadow: 0 0 10px #fff, 0 0 20px #fff, 0 0 30px #ff00ff, 0 0 40px #ff00ff;
    }
    to {
        text-shadow: 0 0 15px #fff, 0 0 25px #fff, 0 0 35px #ff00ff, 0 0 45px #ff00ff, 0 0 55px #ff00ff;
    }
}

/* Responsive Design for Mobile */
@media (max-width: 768px) {
    .main-text {
        font-size: 2.5rem;
    }
    .icon {
        font-size: 3rem;
    }
}