/* Community Page Specific Styles */
.community-hero {
    min-height: 70vh;
    padding: 150px 40px 80px;
    background: linear-gradient(135deg, #0f0c29, #302b63, #24243e);
    position: relative;
    overflow: hidden;
}

.community-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 50% 50%, rgba(255, 107, 157, 0.1), transparent 70%);
    animation: pulseGlow 4s ease-in-out infinite;
}

/* Stats Grid */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 60px;
    position: relative;
    z-index: 1;
}

.stat-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 25px;
    padding: 40px;
    text-align: center;
    transition: all 0.3s ease;
    animation: fadeInUp 0.8s ease backwards;
}

.stat-card:nth-child(1) { animation-delay: 0.1s; }
.stat-card:nth-child(2) { animation-delay: 0.2s; }
.stat-card:nth-child(3) { animation-delay: 0.3s; }
.stat-card:nth-child(4) { animation-delay: 0.4s; }

.stat-card:hover {
    transform: translateY(-10px);
    border-color: #ff6b9d;
    box-shadow: 0 20px 50px rgba(255, 107, 157, 0.4);
}

.stat-icon {
    font-size: 60px;
    margin-bottom: 20px;
    animation: bounce 2s infinite;
}

.stat-number {
    font-size: 48px;
    font-weight: 700;
    background: linear-gradient(135deg, #ff6b9d, #4ecdc4);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 10px;
}

.stat-card p {
    color: #c8c8e8;
    font-size: 18px;
}

/* Join Community */
.join-community {
    padding: 100px 40px;
    background: linear-gradient(135deg, rgba(48, 43, 99, 0.5), rgba(36, 36, 62, 0.5));
}

.social-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 60px;
}

.social-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 25px;
    padding: 40px;
    text-align: center;
    text-decoration: none;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    animation: fadeInUp 0.8s ease backwards;
}

.social-card:nth-child(1) { animation-delay: 0.1s; }
.social-card:nth-child(2) { animation-delay: 0.2s; }
.social-card:nth-child(3) { animation-delay: 0.3s; }
.social-card:nth-child(4) { animation-delay: 0.4s; }

.social-card:hover {
    transform: translateY(-15px);
    box-shadow: 0 20px 50px rgba(255, 107, 157, 0.4);
}

.social-card.telegram:hover {
    border-color: #0088cc;
    box-shadow: 0 20px 50px rgba(0, 136, 204, 0.4);
}

.social-card.twitter:hover {
    border-color: #1da1f2;
    box-shadow: 0 20px 50px rgba(29, 161, 242, 0.4);
}

.social-card.discord:hover {
    border-color: #5865f2;
    box-shadow: 0 20px 50px rgba(88, 101, 242, 0.4);
}

.social-card.reddit:hover {
    border-color: #ff4500;
    box-shadow: 0 20px 50px rgba(255, 69, 0, 0.4);
}

.social-card-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #ff6b9d, #4ecdc4);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
    transition: all 0.3s ease;
}

.social-card:hover .social-card-icon {
    transform: scale(1.1) rotate(10deg);
}

.social-card-icon svg {
    width: 40px;
    height: 40px;
    color: #ffffff;
}

.social-card h3 {
    font-size: 24px;
    color: #ffffff;
    margin-bottom: 15px;
}

.social-card p {
    color: #c8c8e8;
    margin-bottom: 20px;
    font-size: 16px;
}

.member-count {
    background: rgba(255, 107, 157, 0.2);
    border: 1px solid rgba(255, 107, 157, 0.3);
    padding: 8px 20px;
    border-radius: 20px;
    color: #ffd93d;
    font-weight: 600;
    font-size: 14px;
}

/* Roadmap */
.roadmap {
    padding: 100px 40px;
    background: linear-gradient(135deg, rgba(15, 12, 41, 0.8), rgba(48, 43, 99, 0.8));
}

.roadmap-timeline {
    max-width: 900px;
    margin: 60px auto 0;
    position: relative;
}

.roadmap-timeline::before {
    content: '';
    position: absolute;
    left: 40px;
    top: 0;
    bottom: 0;
    width: 4px;
    background: linear-gradient(to bottom, #ff6b9d, #4ecdc4, #ffd93d);
    border-radius: 2px;
}

.roadmap-item {
    position: relative;
    padding-left: 100px;
    margin-bottom: 60px;
    animation: fadeInRight 0.8s ease backwards;
}

.roadmap-item:nth-child(1) { animation-delay: 0.1s; }
.roadmap-item:nth-child(2) { animation-delay: 0.2s; }
.roadmap-item:nth-child(3) { animation-delay: 0.3s; }
.roadmap-item:nth-child(4) { animation-delay: 0.4s; }

.roadmap-marker {
    position: absolute;
    left: 0;
    top: 0;
    width: 80px;
    height: 80px;
    background: rgba(255, 255, 255, 0.05);
    border: 4px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.roadmap-item.completed .roadmap-marker {
    background: linear-gradient(135deg, #4ecdc4, #6ee7df);
    border-color: #4ecdc4;
    box-shadow: 0 0 30px rgba(78, 205, 196, 0.6);
}

.roadmap-item.active .roadmap-marker {
    background: linear-gradient(135deg, #ff6b9d, #ff8fab);
    border-color: #ff6b9d;
    box-shadow: 0 0 30px rgba(255, 107, 157, 0.6);
    animation: pulse 2s infinite;
}

.marker-inner {
    font-size: 32px;
    color: #ffffff;
}

.roadmap-content {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 30px;
    transition: all 0.3s ease;
}

.roadmap-item:hover .roadmap-content {
    transform: translateX(10px);
    border-color: #ff6b9d;
    box-shadow: 0 10px 30px rgba(255, 107, 157, 0.3);
}

.roadmap-content h3 {
    font-size: 28px;
    color: #ffd93d;
    margin-bottom: 20px;
}

.roadmap-content ul {
    list-style: none;
    padding: 0;
}

.roadmap-content li {
    padding: 12px 0;
    color: #c8c8e8;
    font-size: 16px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.roadmap-content li:last-child {
    border-bottom: none;
}

/* CTA Section with Logo */
.cta-section .cta-content {
    text-align: center;
    position: relative;
}

.cta-logo {
    width: 150px;
    height: 150px;
    margin: 0 auto 30px;
    border-radius: 50%;
    border: 4px solid #ff6b9d;
    box-shadow: 0 20px 60px rgba(255, 107, 157, 0.5);
}

/* Responsive Design */
@media (max-width: 968px) {
    .community-hero {
        padding: 120px 20px 60px;
    }
    
    .stats-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        gap: 20px;
    }
    
    .stat-card {
        padding: 30px 20px;
    }
    
    .stat-number {
        font-size: 36px;
    }
    
    .join-community {
        padding: 80px 20px;
    }
    
    .social-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .roadmap {
        padding: 80px 20px;
    }
    
    .roadmap-timeline::before {
        left: 30px;
    }
    
    .roadmap-item {
        padding-left: 90px;
    }
    
    .roadmap-marker {
        width: 60px;
        height: 60px;
    }
    
    .marker-inner {
        font-size: 24px;
    }
    
    .roadmap-content h3 {
        font-size: 22px;
    }
    
    .roadmap-content li {
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    .stats-grid {
        grid-template-columns: 1fr;
    }
}
