/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(135deg, #2d1b69 0%, #1a0b3d 50%, #4a148c 100%);
    min-height: 100vh;
    color: #333;
    line-height: 1.6;
    position: relative;
}

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;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 20px;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* Header styles */
.header {
    text-align: center;
    margin-bottom: 40px;
    padding: 20px 0;
}

.nav {
    text-align: left;
    margin-bottom: 30px;
}

.back-button {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: #00ffff;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    text-shadow: 0 0 10px rgba(0, 255, 255, 0.6);
}

.back-button:hover {
    color: #ff00ff;
    text-shadow: 0 0 15px rgba(255, 0, 255, 0.8);
    transform: translateX(-5px);
}

.title {
    font-size: 3rem;
    font-weight: 700;
    color: #fff;
    text-shadow: 
        0 0 5px #ff00ff,
        0 0 10px #ff00ff,
        0 0 15px #ff00ff,
        2px 2px 4px rgba(0, 0, 0, 0.8);
    margin-bottom: 10px;
    background: linear-gradient(45deg, #ff00ff, #00ffff, #ffff00, #ff0080);
    background-size: 300% 300%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradientShift 3s ease-in-out infinite;
    letter-spacing: 2px;
    text-transform: uppercase;
}

@keyframes gradientShift {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

.subtitle {
    font-size: 1.2rem;
    color: #00ffff;
    font-weight: 300;
    text-shadow: 
        0 0 10px #00ffff,
        0 0 20px #00ffff;
    letter-spacing: 1px;
}

/* Community Grid */
.community-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    flex: 1;
    margin-bottom: 40px;
}

/* Member Card Styles */
.member-card {
    background: rgba(0, 0, 0, 0.8);
    border-radius: 20px;
    padding: 30px;
    text-align: center;
    box-shadow: 
        0 10px 30px rgba(0, 0, 0, 0.5),
        0 0 20px rgba(255, 0, 255, 0.3),
        inset 0 0 20px rgba(255, 0, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 0, 255, 0.5);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.member-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transition: left 0.5s ease;
}

.member-card:hover::before {
    left: 100%;
}

.member-card:hover {
    transform: translateY(-10px);
    box-shadow: 
        0 20px 40px rgba(0, 0, 0, 0.6),
        0 0 30px rgba(255, 0, 255, 0.5),
        0 0 40px rgba(0, 255, 255, 0.3);
    border-color: rgba(0, 255, 255, 0.8);
}

/* Member Photo */
.member-photo {
    width: 120px;
    height: 120px;
    margin: 0 auto 20px;
    border-radius: 50%;
    background: linear-gradient(135deg, #ff00ff, #00ffff);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 
        0 0 30px rgba(255, 0, 255, 0.6),
        0 0 40px rgba(0, 255, 255, 0.4);
    border: 3px solid rgba(255, 255, 255, 0.2);
    position: relative;
    overflow: hidden;
}

.member-photo i {
    font-size: 3rem;
    color: #000;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
}

.member-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

/* Member Info */
.member-info {
    text-align: center;
}

.member-name {
    font-size: 1.5rem;
    font-weight: 600;
    color: #00ffff;
    margin-bottom: 15px;
    text-shadow: 0 0 15px rgba(0, 255, 255, 0.8);
    letter-spacing: 1px;
}

.member-description {
    color: #ffffff;
    margin-bottom: 25px;
    font-size: 0.95rem;
    line-height: 1.6;
    text-shadow: 0 0 5px rgba(255, 255, 255, 0.5);
}

/* Social Links */
.member-socials {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}

.social-link {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 1.2rem;
    position: relative;
    overflow: hidden;
}

.social-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    transition: transform 0.3s ease;
}

.social-link i {
    position: relative;
    z-index: 1;
    color: #000;
    font-weight: 600;
}

.social-link:hover {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 0 25px var(--primary-color);
}

.social-link:hover::before {
    transform: scale(1.1);
}

/* Social Platform Colors */
.social-link.youtube {
    --primary-color: #ff0000;
    --secondary-color: #ff4444;
}

.social-link.twitch {
    --primary-color: #9146ff;
    --secondary-color: #a970ff;
}

.social-link.twitter {
    --primary-color: #1da1f2;
    --secondary-color: #4db5f5;
}

.social-link.instagram {
    --primary-color: #e4405f;
    --secondary-color: #f77737;
}

.social-link.discord {
    --primary-color: #7289da;
    --secondary-color: #99aab5;
}

.social-link.tiktok {
    --primary-color: #000000;
    --secondary-color: #25f4ee;
}

.social-link.linkedin {
    --primary-color: #0077b5;
    --secondary-color: #00a0dc;
}

.social-link.facebook {
    --primary-color: #1877f2;
    --secondary-color: #42a5f5;
}

.social-link.reddit {
    --primary-color: #ff4500;
    --secondary-color: #ff6b35;
}

.social-link.github {
    --primary-color: #333333;
    --secondary-color: #666666;
}

/* Footer */
.footer {
    background: rgba(0, 0, 0, 0.9);
    border-radius: 20px;
    padding: 40px;
    margin-top: auto;
    box-shadow: 
        0 10px 30px rgba(0, 0, 0, 0.5),
        0 0 20px rgba(255, 0, 255, 0.3),
        inset 0 0 20px rgba(255, 0, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 0, 255, 0.5);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-bottom: 30px;
}

.footer-section h3 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 20px;
    color: #00ffff;
    text-shadow: 0 0 10px rgba(0, 255, 255, 0.8);
    letter-spacing: 1px;
}

.footer-section p {
    color: #ffffff;
    text-shadow: 0 0 5px rgba(255, 255, 255, 0.5);
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 10px;
}

.footer-section ul li a {
    color: #ffffff;
    text-decoration: none;
    transition: all 0.3s ease;
    text-shadow: 0 0 5px rgba(255, 255, 255, 0.5);
}

.footer-section ul li a:hover {
    color: #00ffff;
    text-shadow: 0 0 10px rgba(0, 255, 255, 0.8);
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-links a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #ff00ff, #00ffff);
    color: #000;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 0 15px rgba(255, 0, 255, 0.6);
}

.social-links a:hover {
    transform: scale(1.1);
    box-shadow: 0 0 25px rgba(0, 255, 255, 0.8);
    background: linear-gradient(135deg, #00ffff, #ff00ff);
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 0, 255, 0.3);
}

.footer-bottom p {
    color: #00ffff;
    font-size: 0.9rem;
    text-shadow: 0 0 10px rgba(0, 255, 255, 0.6);
}

/* Responsive Design */
@media (max-width: 768px) {
    .container {
        padding: 15px;
    }
    
    .title {
        font-size: 2.5rem;
    }
    
    .subtitle {
        font-size: 1rem;
    }
    
    .community-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: 20px;
    }
    
    .member-card {
        padding: 25px 20px;
    }
    
    .member-photo {
        width: 100px;
        height: 100px;
    }
    
    .member-photo i {
        font-size: 2.5rem;
    }
    
    .member-name {
        font-size: 1.3rem;
    }
    
    .member-description {
        font-size: 0.9rem;
    }
    
    .social-link {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
    
    .footer {
        padding: 30px 20px;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

@media (max-width: 480px) {
    .title {
        font-size: 2rem;
    }
    
    .community-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .member-card {
        padding: 20px 15px;
    }
    
    .member-photo {
        width: 80px;
        height: 80px;
    }
    
    .member-photo i {
        font-size: 2rem;
    }
    
    .member-name {
        font-size: 1.2rem;
    }
    
    .member-description {
        font-size: 0.85rem;
    }
    
    .social-link {
        width: 35px;
        height: 35px;
        font-size: 0.9rem;
    }
}

/* Animation for page load */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.member-card {
    animation: fadeInUp 0.6s ease-out forwards;
}

.member-card:nth-child(1) { animation-delay: 0.1s; }
.member-card:nth-child(2) { animation-delay: 0.2s; }
.member-card:nth-child(3) { animation-delay: 0.3s; }
.member-card:nth-child(4) { animation-delay: 0.4s; }
.member-card:nth-child(5) { animation-delay: 0.5s; }
.member-card:nth-child(6) { animation-delay: 0.6s; }
