* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background: #000;
    font-family: 'Arial', sans-serif;
    min-height: 100vh;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    overflow-y: auto;
    color: #fff;
    padding: 40px 0;
}

.container {
    width: 100%;
    max-width: 1200px;
    padding: 20px;
    position: relative;
    z-index: 1;
    margin: auto;
}

.card-container {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
}

@media screen and (max-width: 768px) {
    body {
        padding: 20px 0;
    }
    
    .container {
        padding: 10px;
    }
    
    .card-container {
        gap: 20px;
    }

    .card {
        width: calc(100% - 20px);
        height: 300px;
        margin: 10px;
    }

    .icon {
        font-size: 48px;
    }

    h2 {
        font-size: 20px;
    }

    p {
        font-size: 14px;
    }
}

.card {
    width: 300px;
    height: 400px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    position: relative;
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.3s, box-shadow 0.3s;
}

.card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 255, 255, 0.3);
}

.card-content {
    padding: 30px;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    z-index: 2;
}

.icon {
    font-size: 64px;
    margin-bottom: 20px;
}

h2 {
    font-size: 24px;
    margin-bottom: 15px;
    color: #fff;
}

p {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.5;
}

.hover-effect {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, rgba(0, 255, 255, 0.1), rgba(255, 0, 255, 0.1));
    opacity: 0;
    transition: opacity 0.3s;
}

.card:hover .hover-effect {
    opacity: 1;
}

#particles {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
}

.footer {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 15px;
    text-align: center;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(10px);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    z-index: 10;
}

.footer p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
}

@keyframes float {
    0% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(5deg); }
    100% { transform: translateY(0px) rotate(0deg); }
}

.card {
    animation: float 6s ease-in-out infinite;
}

.card:nth-child(2) {
    animation-delay: -3s;
}