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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #111827;
    color: white;
    min-height: 100vh;
    position: relative;
    overflow-x: hidden;
}

/* Background Grid Pattern */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(rgba(255,255,255,0.02) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.02) 1px, transparent 1px);
    background-size: 50px 50px;
    z-index: -1;
}

/* Navigation */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 1.5rem;
    position: relative;
    z-index: 10;
    opacity: 0;
    animation: fadeInDown 0.8s ease forwards;
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.logo-circle {
    width: 24px;
    height: 24px;
    background-color: #b91010;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo-dot {
    width: 12px;
    height: 12px;
    background-color: white;
    border-radius: 50%;
}

.brand-text {
    font-size: 1.125rem;
    font-weight: 600;
    color: #b91010;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.nav-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #d1d5db;
    text-decoration: none;
    transition: color 0.3s ease;
}

.nav-link:hover, .nav-link.active {
    color: white;
}

.status-dot {
    width: 8px;
    height: 8px;
    background-color: #1eb910;
    border-radius: 50%;
    animation: pulse 2s infinite;
}

.theme-buttons {
    display: flex;
    gap: 0.5rem;
}

.theme-btn {
    background: none;
    border: none;
    color: #d1d5db;
    padding: 0.5rem;
    border-radius: 0.375rem;
    cursor: pointer;
    transition: color 0.3s ease, background-color 0.3s ease;
}

.theme-btn:hover {
    color: white;
    background-color: #374151;
}

/* Main Content */
.main-content {
    padding: 3rem 1.5rem;
    max-width: 1200px;
    margin: 0 auto;
}

/* Social Header */
.social-header {
    text-align: center;
    margin-bottom: 4rem;
    opacity: 0;
    animation: fadeInUp 1s ease 0.3s forwards;
}

.social-title {
    font-size: 3.5rem;
    font-weight: bold;
    margin-bottom: 1.5rem;
    background: linear-gradient(45deg, #ffffff, #b91010);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.title-accent {
    color: #ff0000;
}

.social-description {
    color: #d1d5db;
    font-size: 1.125rem;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.7;
}

/* Discord Section */
.discord-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 4rem;
    opacity: 0;
    animation: fadeInUp 1s ease 0.6s forwards;
}

.discord-card {
    background: linear-gradient(135deg, #5865f2, #7289da);
    border-radius: 2rem;
    padding: 3rem;
    text-align: center;
    position: relative;
    max-width: 500px;
    width: 100%;
    overflow: hidden;
    transform: translateY(50px);
    animation: slideInUp 1s ease 0.8s forwards;
    box-shadow: 0 25px 50px rgba(88, 101, 242, 0.3);
}

.discord-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transform: translateX(-100%);
    animation: shimmer 3s ease-in-out infinite;
}

.discord-icon {
    font-size: 4rem;
    margin-bottom: 1.5rem;
    color: white;
    animation: iconFloat 3s ease-in-out infinite;
}

.discord-content {
    position: relative;
    z-index: 2;
}

.discord-title {
    font-size: 2rem;
    font-weight: bold;
    margin-bottom: 1rem;
    color: white;
}

.discord-description {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 2rem;
}

.discord-button {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    background: rgba(255, 255, 255, 0.2);
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.3);
    padding: 1rem 2rem;
    border-radius: 1rem;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
}

.discord-button:hover {
    background: rgba(255, 255, 255, 0.3);
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.button-glow {
    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;
}

.discord-button:hover .button-glow {
    left: 100%;
}

/* Floating Particles */
.particle {
    position: absolute;
    width: 6px;
    height: 6px;
    background: rgba(255, 255, 255, 0.6);
    border-radius: 50%;
    animation: particleFloat 4s ease-in-out infinite;
}

.particle-1 {
    top: 20%;
    left: 10%;
    animation-delay: 0s;
}

.particle-2 {
    top: 60%;
    right: 15%;
    animation-delay: 1s;
}

.particle-3 {
    bottom: 30%;
    left: 20%;
    animation-delay: 2s;
}

.particle-4 {
    top: 40%;
    right: 25%;
    animation-delay: 3s;
}

/* Community Badge */
.community-badge {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(31, 41, 55, 0.6);
    color: #00ff37;
    padding: 0.75rem 1.5rem;
    border-radius: 9999px;
    border: 1px solid #00ff37;
    font-size: 0.875rem;
    margin-top: 2rem;
    backdrop-filter: blur(10px);
    animation: badgeGlow 3s ease-in-out infinite;
}

.badge-dot {
    width: 8px;
    height: 8px;
    background-color: #00ff37;
    border-radius: 50%;
    animation: pulse 2s infinite;
}

/* Social Stats */
.social-stats {
    margin-bottom: 4rem;
    opacity: 0;
    animation: fadeInUp 1s ease 1s forwards;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    max-width: 800px;
    margin: 0 auto;
}

.stat-card {
    background: rgba(31, 41, 55, 0.6);
    border: 1px solid rgba(75, 85, 99, 0.3);
    border-radius: 1.5rem;
    padding: 2rem;
    text-align: center;
    position: relative;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    transform: translateY(30px);
    opacity: 0;
}

.stat-card:nth-child(1) {
    animation: slideInUp 0.8s ease 1.2s forwards;
}

.stat-card:nth-child(2) {
    animation: slideInUp 0.8s ease 1.4s forwards;
}

.stat-card:nth-child(3) {
    animation: slideInUp 0.8s ease 1.6s forwards;
}

.stat-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    border-color: #ffffff;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: bold;
    color: #ffffff;
    margin-bottom: 0.5rem;
}

.stat-label {
    color: #d1d5db;
    font-size: 0.875rem;
    margin-bottom: 1rem;
}

.stat-icon {
    font-size: 1.5rem;
    color: #ffffff;
    opacity: 0.7;
}

/* Community Features */
.community-features {
    margin-bottom: 4rem;
    opacity: 0;
    animation: fadeInUp 1s ease 1.8s forwards;
}

.features-title {
    text-align: center;
    font-size: 2rem;
    font-weight: bold;
    margin-bottom: 3rem;
    color: #e5e7eb;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    max-width: 800px;
    margin: 0 auto;
}

.feature-item {
    background: rgba(31, 41, 55, 0.4);
    border: 1px solid rgba(75, 85, 99, 0.3);
    border-radius: 1rem;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.feature-item:hover {
    transform: translateY(-5px);
    border-color: #b91010;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

.feature-icon {
    font-size: 2rem;
    color: #b91010;
    margin-bottom: 1rem;
}

.feature-item h4 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    color: white;
}

.feature-item p {
    color: #d1d5db;
    font-size: 0.875rem;
    line-height: 1.6;
}

/* Other Social Links */
.other-socials {
    text-align: center;
    opacity: 0;
    animation: fadeInUp 1s ease 2s forwards;
}

.socials-title {
    font-size: 1.5rem;
    font-weight: bold;
    margin-bottom: 2rem;
    color: #e5e7eb;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.social-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    border-radius: 0.75rem;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

.social-link.twitter {
    background: linear-gradient(45deg, rgba(29, 161, 242, 0.2), rgba(29, 161, 242, 0.1));
    color: #1da1f2;
    border-color: rgba(29, 161, 242, 0.3);
}

.social-link.youtube {
    background: linear-gradient(45deg, rgba(255, 0, 0, 0.2), rgba(255, 0, 0, 0.1));
    color: #ff0000;
    border-color: rgba(255, 0, 0, 0.3);
}

.social-link.telegram {
    background: linear-gradient(45deg, rgba(0, 136, 204, 0.2), rgba(0, 136, 204, 0.1));
    color: #0088cc;
    border-color: rgba(0, 136, 204, 0.3);
}

.social-link.reddit {
    background: linear-gradient(45deg, rgba(255, 69, 0, 0.2), rgba(255, 69, 0, 0.1));
    color: #ff4500;
    border-color: rgba(255, 69, 0, 0.3);
}

.social-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

/* Animations */
@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes shimmer {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

@keyframes iconFloat {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

@keyframes particleFloat {
    0%, 100% { 
        transform: translateY(0px) scale(1);
        opacity: 0.6;
    }
    50% { 
        transform: translateY(-20px) scale(1.2);
        opacity: 1;
    }
}

@keyframes badgeGlow {
    0%, 100% { 
        box-shadow: 0 0 10px rgba(16, 185, 129, 0.3);
    }
    50% { 
        box-shadow: 0 0 20px rgba(16, 185, 129, 0.6);
    }
}

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

/* Responsive Design */
@media (max-width: 768px) {
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .social-links {
        flex-direction: column;
        align-items: center;
    }
    
    .social-title {
        font-size: 2.5rem;
    }
    
    .discord-card {
        padding: 2rem;
        margin: 0 1rem;
    }
    
    .navbar {
        flex-direction: column;
        gap: 1rem;
    }
    
    .nav-menu {
        flex-direction: column;
        gap: 1rem;
    }
    
    .nav-links {
        flex-wrap: wrap;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .main-content {
        padding: 2rem 1rem;
    }
    
    .social-title {
        font-size: 2rem;
    }
    
    .discord-card {
        padding: 1.5rem;
    }
    
    .discord-icon {
        font-size: 3rem;
    }
    
    .discord-title {
        font-size: 1.5rem;
    }
}