* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    cursor: none !important;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(135deg, #0f0c29, #1a1438, #24243e);
    min-height: 100vh;
    overflow: hidden;
    position: relative;
}

/* Custom Cursor */
.cursor {
    width: 40px;
    height: 40px;
    position: fixed;
    pointer-events: none;
    z-index: 10000;
    transition: transform 0.15s ease;
    mix-blend-mode: screen;
}

.cursor::before {
    content: '🤫';
    position: absolute;
    font-size: 32px;
    filter: hue-rotate(220deg) saturate(3) brightness(1.2);
    transform: translate(-50%, -50%);
    animation: float 3s ease-in-out infinite;
}

.cursor-trail {
    width: 8px;
    height: 8px;
    background: radial-gradient(circle, rgba(168, 85, 247, 0.8), rgba(124, 58, 237, 0.4));
    border-radius: 50%;
    position: fixed;
    pointer-events: none;
    z-index: 9999;
    transition: all 0.3s cubic-bezier(0.75, -0.5, 0, 1.75);
    box-shadow: 0 0 20px rgba(168, 85, 247, 0.6),
                0 0 40px rgba(124, 58, 237, 0.4);
}

@keyframes float {
    0%, 100% { transform: translate(-50%, -50%) translateY(0px); }
    50% { transform: translate(-50%, -50%) translateY(-10px); }
}

/* Modal Overlay */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(10px);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    animation: fadeIn 0.4s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

/* Modal */
.modal {
    background: linear-gradient(145deg, #1e1b4b, #2d2657);
    border: 2px solid rgba(168, 85, 247, 0.3);
    border-radius: 24px;
    padding: 50px 60px;
    max-width: 450px;
    width: 90%;
    position: relative;
    box-shadow: 
        0 20px 60px rgba(0, 0, 0, 0.5),
        0 0 80px rgba(168, 85, 247, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    animation: modalSlideIn 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
    text-align: center;
}

@keyframes modalSlideIn {
    from {
        transform: scale(0.8) translateY(-50px);
        opacity: 0;
    }
    to {
        transform: scale(1) translateY(0);
        opacity: 1;
    }
}

/* Close Button */
.close-btn {
    position: absolute;
    top: 20px;
    right: 20px;
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(168, 85, 247, 0.3);
    color: #fff;
    font-size: 32px;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    line-height: 1;
    font-weight: 300;
    backdrop-filter: blur(10px);
}

.close-btn:hover {
    background: rgba(168, 85, 247, 0.3);
    border-color: #a855f7;
    transform: rotate(90deg) scale(1.1);
    box-shadow: 0 0 20px rgba(168, 85, 247, 0.5);
}

/* Discord Logo */
.discord-logo {
    margin: 0 auto 30px;
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, #7c3aed, #a855f7);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 
        0 10px 40px rgba(124, 58, 237, 0.4),
        0 0 60px rgba(168, 85, 247, 0.3);
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
        box-shadow: 
            0 10px 40px rgba(124, 58, 237, 0.4),
            0 0 60px rgba(168, 85, 247, 0.3);
    }
    50% {
        transform: scale(1.05);
        box-shadow: 
            0 15px 50px rgba(124, 58, 237, 0.6),
            0 0 80px rgba(168, 85, 247, 0.5);
    }
}

/* Modal Title */
.modal-title {
    color: #fff;
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 20px;
    letter-spacing: -0.5px;
    text-shadow: 0 2px 20px rgba(168, 85, 247, 0.5);
    background: linear-gradient(135deg, #fff, #e9d5ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Modal Text */
.modal-text {
    color: #d8b4fe;
    font-size: 18px;
    margin-bottom: 35px;
    line-height: 1.6;
    background: rgba(168, 85, 247, 0.05);
    padding: 20px;
    border-radius: 12px;
    border: 1px solid rgba(168, 85, 247, 0.1);
    font-weight: 500;
    letter-spacing: 0.3px;
}

/* Join Button */
.join-btn {
    display: inline-block;
    background: linear-gradient(135deg, #7c3aed, #a855f7);
    color: #fff;
    padding: 16px 50px;
    border-radius: 30px;
    text-decoration: none;
    font-size: 18px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 
        0 10px 30px rgba(124, 58, 237, 0.4),
        0 0 40px rgba(168, 85, 247, 0.2);
    border: 2px solid rgba(255, 255, 255, 0.2);
    letter-spacing: 0.5px;
    position: relative;
    overflow: hidden;
}

.join-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s ease;
}

.join-btn:hover::before {
    left: 100%;
}

.join-btn:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 
        0 15px 40px rgba(124, 58, 237, 0.6),
        0 0 60px rgba(168, 85, 247, 0.4);
    border-color: rgba(255, 255, 255, 0.4);
}

.join-btn:active {
    transform: translateY(-1px) scale(1.02);
}

/* Particle Effects */
@keyframes particle-float {
    0%, 100% {
        transform: translateY(0) translateX(0);
        opacity: 0;
    }
    10% {
        opacity: 1;
    }
    90% {
        opacity: 1;
    }
    100% {
        transform: translateY(-100vh) translateX(var(--drift));
        opacity: 0;
    }
}

/* Responsive Design */
@media (max-width: 600px) {
    .modal {
        padding: 40px 30px;
    }
    
    .modal-title {
        font-size: 26px;
    }
    
    .modal-text {
        font-size: 16px;
    }
    
    .join-btn {
        padding: 14px 40px;
        font-size: 16px;
    }
    
    .cursor::before {
        font-size: 28px;
    }
}