/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Animated Header */
.animated-header {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 2rem 0;
    text-align: center;
    position: relative;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.header-content h1 {
    font-size: 3rem;
    color: white;
    margin-bottom: 0.5rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    height: 60px;
    overflow: hidden;
}

.header-content p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.2rem;
}

/* Live Counter */
.live-counter {
    position: absolute;
    top: 20px;
    right: 20px;
    display: flex;
    gap: 20px;
}

.counter-item {
    background: rgba(255, 255, 255, 0.2);
    padding: 10px 15px;
    border-radius: 10px;
    text-align: center;
    backdrop-filter: blur(5px);
}

.counter-icon {
    font-size: 1.5rem;
    display: block;
}

.counter-number {
    font-size: 1.2rem;
    font-weight: bold;
    color: white;
    display: block;
}

.counter-label {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.8);
}

/* Category Filter */
.category-filter {
    background: rgba(255, 255, 255, 0.95);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.filter-btn {
    background: #f8f9fa;
    border: 2px solid #e9ecef;
    padding: 8px 16px;
    margin: 0 5px;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 500;
}

.filter-btn.active,
.filter-btn:hover {
    background: #667eea;
    color: white;
    border-color: #667eea;
}

/* Social Links Grid */
.social-links-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 25px;
    padding: 2rem 0;
}

.social-link-card {
    background: white;
    border-radius: 15px;
    padding: 25px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.6s ease forwards;
}

.social-link-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

/* Featured Levels */
.featured-crown {
    border: 3px solid #ffd700;
    background: linear-gradient(135deg, #fff9e6, #fff);
}

.featured-gold {
    border: 2px solid #ffd700;
}

.featured-silver {
    border: 2px solid #c0c0c0;
}

.featured-bronze {
    border: 2px solid #cd7f32;
}

.crown {
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 2rem;
    z-index: 2;
}

.badge {
    position: absolute;
    top: 10px;
    right: 10px;
    font-size: 1.5rem;
}

/* Logo and Content */
.logo-container {
    width: 80px;
    height: 80px;
    margin: 0 auto 15px;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid #667eea;
    padding: 5px;
}

.platform-logo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

.platform-name {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 5px;
    color: #333;
}

.platform-category {
    color: #666;
    font-size: 0.9rem;
    margin-bottom: 5px;
}

.click-count {
    color: #667eea;
    font-weight: 500;
    font-size: 0.9rem;
}

/* Join Button */
.join-btn {
    display: inline-block;
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    padding: 10px 25px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    margin-top: 15px;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    width: 100%;
}

.join-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.4);
}

/* Footer */
.footer {
    background: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 3rem 0 1rem;
    margin-top: 3rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h3 {
    margin-bottom: 1rem;
    color: #667eea;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section a {
    color: #ccc;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: #667eea;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: #999;
}

/* Animations */
@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes typewriter {
    from {
        width: 0;
    }
    to {
        width: 100%;
    }
}

@keyframes blink {
    0%, 100% {
        border-color: transparent;
    }
    50% {
        border-color: white;
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .header-content h1 {
        font-size: 2rem;
        height: 45px;
    }
    
    .live-counter {
        position: static;
        justify-content: center;
        margin-top: 1rem;
    }
    
    .social-links-grid {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
        gap: 15px;
    }
    
    .category-filter .container {
        overflow-x: auto;
        white-space: nowrap;
        padding-bottom: 10px;
    }
    
    .filter-btn {
        display: inline-block;
    }
}

@media (max-width: 480px) {
    .social-links-grid {
        grid-template-columns: 1fr;
    }
    
    .header-content h1 {
        font-size: 1.5rem;
        height: 35px;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
    }
}