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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: linear-gradient(135deg, #0a0a0a 0%, #1a0033 25%, #330066 50%, #6600cc 75%, #9900ff 100%);
    background-size: 400% 400%;
    animation: gradientShift 8s ease infinite;
    min-height: 100vh;
    color: #fff;
    line-height: 1.6;
    position: relative;
    overflow-x: hidden;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 80%, rgba(120, 119, 198, 0.3) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(255, 119, 198, 0.3) 0%, transparent 50%),
        radial-gradient(circle at 40% 40%, rgba(120, 219, 255, 0.2) 0%, transparent 50%);
    pointer-events: none;
    z-index: -1;
}

@keyframes gradientShift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.header {
    padding: 2rem 0;
    text-align: center;
}

.logo h1 {
    font-size: 3rem;
    font-weight: 700;
    background: linear-gradient(45deg, #ff00ff, #00ffff, #ffff00, #ff00ff);
    background-size: 400% 400%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: neonGlow 3s ease-in-out infinite alternate;
    margin-bottom: 0.5rem;
    text-shadow: 0 0 20px rgba(255, 0, 255, 0.5);
    filter: drop-shadow(0 0 10px rgba(0, 255, 255, 0.3));
}

.logo p {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 300;
    text-shadow: 0 0 10px rgba(0, 255, 255, 0.3);
}

@keyframes neonGlow {
    0% { 
        background-position: 0% 50%;
        filter: drop-shadow(0 0 10px rgba(0, 255, 255, 0.3));
    }
    100% { 
        background-position: 100% 50%;
        filter: drop-shadow(0 0 20px rgba(255, 0, 255, 0.5));
    }
}

.main-content {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem 0;
}

.card {
    background: rgba(0, 0, 0, 0.3);
    border-radius: 20px;
    padding: 3rem;
    box-shadow: 
        0 0 30px rgba(255, 0, 255, 0.3),
        0 0 60px rgba(0, 255, 255, 0.2),
        inset 0 0 30px rgba(255, 255, 255, 0.1);
    text-align: center;
    max-width: 500px;
    width: 100%;
    backdrop-filter: blur(20px);
    border: 2px solid transparent;
    background-clip: padding-box;
    position: relative;
    overflow: hidden;
}

.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 20px;
    padding: 2px;
    background: linear-gradient(45deg, #ff00ff, #00ffff, #ffff00, #ff00ff);
    background-size: 400% 400%;
    animation: borderGlow 3s ease-in-out infinite;
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: exclude;
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask-composite: exclude;
    z-index: -1;
}

@keyframes borderGlow {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.discord-icon {
    margin-bottom: 2rem;
    color: #00ffff;
    filter: drop-shadow(0 0 15px rgba(0, 255, 255, 0.6));
    animation: iconPulse 2s ease-in-out infinite alternate;
}

.discord-icon svg {
    width: 64px;
    height: 64px;
}

@keyframes iconPulse {
    0% { 
        filter: drop-shadow(0 0 15px rgba(0, 255, 255, 0.6));
        transform: scale(1);
    }
    100% { 
        filter: drop-shadow(0 0 25px rgba(255, 0, 255, 0.8));
        transform: scale(1.05);
    }
}

.card h2 {
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #fff;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
}

.card p {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 2.5rem;
    line-height: 1.6;
    text-shadow: 0 0 5px rgba(0, 255, 255, 0.3);
}

.connect-section {
    margin-bottom: 2rem;
}

.discord-btn {
    background: linear-gradient(45deg, #ff00ff, #00ffff, #ffff00);
    background-size: 200% 200%;
    color: #000;
    border: none;
    padding: 1rem 2rem;
    border-radius: 12px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    transition: all 0.3s ease;
    box-shadow: 
        0 0 20px rgba(255, 0, 255, 0.4),
        0 4px 15px rgba(0, 255, 255, 0.3);
    animation: buttonGlow 2s ease-in-out infinite alternate;
    position: relative;
    overflow: hidden;
}

.discord-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;
}

.discord-btn:hover::before {
    left: 100%;
}

.discord-btn:hover {
    transform: translateY(-2px) scale(1.05);
    box-shadow: 
        0 0 30px rgba(255, 0, 255, 0.6),
        0 0 50px rgba(0, 255, 255, 0.4),
        0 8px 25px rgba(255, 255, 0, 0.3);
}

@keyframes buttonGlow {
    0% { 
        background-position: 0% 50%;
        box-shadow: 
            0 0 20px rgba(255, 0, 255, 0.4),
            0 4px 15px rgba(0, 255, 255, 0.3);
    }
    100% { 
        background-position: 100% 50%;
        box-shadow: 
            0 0 25px rgba(0, 255, 255, 0.5),
            0 4px 20px rgba(255, 255, 0, 0.4);
    }
}

.discord-btn:active {
    transform: translateY(0);
}

.discord-btn svg {
    width: 20px;
    height: 20px;
}

.discord-profile {
    background: rgba(0, 0, 0, 0.4);
    border-radius: 16px;
    padding: 2rem;
    margin-bottom: 2rem;
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    text-align: left;
    border: 2px solid transparent;
    background-clip: padding-box;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.discord-profile::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 16px;
    padding: 2px;
    background: linear-gradient(45deg, #00ffff, #ff00ff, #ffff00, #00ffff);
    background-size: 300% 300%;
    animation: profileBorderGlow 4s ease-in-out infinite;
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: exclude;
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask-composite: exclude;
    z-index: -1;
}

.discord-profile:hover {
    box-shadow: 
        0 0 30px rgba(0, 255, 255, 0.3),
        0 0 50px rgba(255, 0, 255, 0.2);
    transform: translateY(-2px);
}

@keyframes profileBorderGlow {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.profile-avatar {
    position: relative;
}

.profile-avatar img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    border: 4px solid transparent;
    background: linear-gradient(45deg, #ff00ff, #00ffff, #ffff00, #ff00ff);
    background-size: 200% 200%;
    background-clip: padding-box;
    padding: 4px;
    box-shadow: 
        0 0 20px rgba(255, 0, 255, 0.4),
        0 0 40px rgba(0, 255, 255, 0.3);
    animation: avatarGlow 3s ease-in-out infinite alternate;
}

.status-indicator {
    position: absolute;
    bottom: 5px;
    right: 5px;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    border: 3px solid #1a1a1a;
    transition: all 0.3s ease;
}

.status-indicator.online {
    background-color: #43b581;
}

.status-indicator.idle {
    background-color: #faa61a;
}

.status-indicator.dnd {
    background-color: #f04747;
}

.status-indicator.offline {
    background-color: #747f8d;
}

@keyframes avatarGlow {
    0% { 
        background-position: 0% 50%;
        box-shadow: 
            0 0 20px rgba(255, 0, 255, 0.4),
            0 0 40px rgba(0, 255, 255, 0.3);
    }
    100% { 
        background-position: 100% 50%;
        box-shadow: 
            0 0 25px rgba(0, 255, 255, 0.5),
            0 0 50px rgba(255, 255, 0, 0.4);
    }
}

.profile-info {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.info-line {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.info-line .label {
    font-weight: 600;
    color: #00ffff;
    min-width: 120px;
}

.info-line .value {
    color: #fff;
    font-weight: 400;
}

.profile-details h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: #fff;
    margin-bottom: 0.25rem;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
}

.profile-details p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1rem;
    margin-bottom: 1rem;
    text-shadow: 0 0 5px rgba(0, 255, 255, 0.3);
}

.profile-stats {
    display: flex;
    gap: 2rem;
}

.stat {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.stat-label {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.6);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    text-shadow: 0 0 5px rgba(0, 255, 255, 0.3);
}

.stat-value {
    font-size: 0.9rem;
    font-weight: 600;
    color: #fff;
    text-shadow: 0 0 5px rgba(255, 255, 255, 0.3);
}

.stat-value.online {
    color: #00ff00;
    text-shadow: 0 0 10px rgba(0, 255, 0, 0.6);
}

.stat-value.online::before {
    content: '●';
    margin-right: 0.5rem;
    font-size: 0.8rem;
}

/* Badges styling */
.profile-badges {
    margin-top: 1rem;
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    align-items: center;
}

.badges-label {
    font-size: 0.8rem;
    color: #888;
    font-weight: 500;
    margin-right: 0.5rem;
}

.badge {
    display: inline-block;
    font-size: 1.2rem;
    padding: 0.25rem;
    border-radius: 4px;
    background: rgba(255, 0, 255, 0.1);
    border: 1px solid rgba(0, 255, 255, 0.3);
    transition: all 0.3s ease;
    cursor: help;
    box-shadow: 0 0 10px rgba(0, 255, 255, 0.2);
}

.badge:hover {
    background: rgba(0, 255, 255, 0.2);
    transform: scale(1.1);
    box-shadow: 0 0 15px rgba(255, 0, 255, 0.4);
}

/* Activity styling */
.profile-activity {
    margin-top: 1rem;
    padding: 0.75rem;
    background: rgba(0, 255, 255, 0.05);
    border-radius: 8px;
    border-left: 3px solid #00ffff;
    box-shadow: 0 0 15px rgba(0, 255, 255, 0.2);
}

.activity-text {
    font-size: 0.9rem;
    color: #fff;
    font-weight: 500;
    text-shadow: 0 0 5px rgba(0, 255, 255, 0.5);
}

/* Status indicator improvements */
.stat-value {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.stat-value::before {
    content: '●';
    font-size: 0.8rem;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

/* Avatar improvements */
.profile-avatar img {
    transition: all 0.3s ease;
}

.profile-avatar img:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 25px rgba(88, 101, 242, 0.3);
}

.footer {
    text-align: center;
    padding: 2rem 0;
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
    text-shadow: 0 0 10px rgba(0, 255, 255, 0.3);
}

/* Responsive Design */
@media (max-width: 768px) {
    .container {
        padding: 0 15px;
    }
    
    .logo h1 {
        font-size: 2.5rem;
    }
    
    .card {
        padding: 2rem;
        margin: 1rem 0;
    }
    
    .card h2 {
        font-size: 1.5rem;
    }
    
    .discord-btn {
        padding: 0.875rem 1.5rem;
        font-size: 1rem;
    }
    
    .discord-profile {
        flex-direction: column;
        text-align: center;
        gap: 1.5rem;
    }
    
    .profile-stats {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .logo h1 {
        font-size: 2rem;
    }
    
    .card {
        padding: 1.5rem;
    }
    
    .discord-btn {
        width: 100%;
        justify-content: center;
    }
}

/* Loading Animation */
.loading {
    opacity: 0.7;
    pointer-events: none;
}

.loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 20px;
    height: 20px;
    margin: -10px 0 0 -10px;
    border: 2px solid #f3f3f3;
    border-top: 2px solid #5865F2;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}
