/* Contributors Page - Complete Redesign */

/* Ensure proper layout */
html, body {
    min-height: 100vh;
    margin: 0;
    padding: 0;
    padding-top: 80px;
}

body {
    background: var(--bg-primary);
    color: var(--text-primary);
    font-family: var(--font-sans);
}

/* Hero Section */
.hero-contributors {
    min-height: 100vh;
    position: relative;
    display: flex;
    align-items: center;
    margin-top: -80px;
    padding-top: 80px;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: -1;
}

.cyber-grid {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image:
        linear-gradient(rgba(0, 255, 65, 0.1) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 255, 65, 0.1) 1px, transparent 1px);
    background-size: 50px 50px;
    animation: gridMove 20s linear infinite;
}

@keyframes gridMove {
    0% { transform: translate(0, 0); }
    100% { transform: translate(50px, 50px); }
}

.floating-elements {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
}

.float-element {
    position: absolute;
    font-size: 2rem;
    opacity: 0.3;
    animation: floatAround 15s infinite linear;
}

.float-element:nth-child(1) { top: 20%; left: 10%; animation-delay: 0s; }
.float-element:nth-child(2) { top: 60%; right: 15%; animation-delay: 3s; }
.float-element:nth-child(3) { bottom: 30%; left: 20%; animation-delay: 6s; }
.float-element:nth-child(4) { top: 40%; right: 30%; animation-delay: 9s; }
.float-element:nth-child(5) { bottom: 60%; right: 10%; animation-delay: 12s; }

@keyframes floatAround {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(180deg); }
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

/* Hero Content */
.hero-content-new {
    z-index: 2;
}

.hero-badge-new {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(0, 255, 65, 0.1);
    border: 1px solid rgba(0, 255, 65, 0.3);
    padding: 0.5rem 1rem;
    border-radius: 25px;
    font-size: 0.9rem;
    margin-bottom: 2rem;
    backdrop-filter: blur(10px);
}

.pulse-dot {
    width: 8px;
    height: 8px;
    background: var(--neon-green);
    border-radius: 50%;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.7; transform: scale(1.2); }
}

.hero-title-new {
    font-size: 4rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1.5rem;
}

.gradient-text-new {
    background: linear-gradient(135deg, var(--neon-green), var(--neon-cyan));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-description-new {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
    margin-bottom: 3rem;
}

/* Hero Stats */
.hero-stats-new {
    display: flex;
    gap: 2rem;
    margin-bottom: 3rem;
}

.stat-card-new {
    display: flex;
    align-items: center;
    gap: 1rem;
    background: rgba(20, 20, 30, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    padding: 1.5rem;
    backdrop-filter: blur(20px);
    transition: all 0.3s ease;
}

.stat-card-new:hover {
    transform: translateY(-5px);
    border-color: rgba(0, 255, 65, 0.3);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.stat-icon-new {
    font-size: 2rem;
}

.stat-number-new {
    font-size: 2rem;
    font-weight: 800;
    color: var(--neon-green);
    font-family: 'JetBrains Mono', monospace;
    line-height: 1;
}

.stat-label-new {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
}

/* Hero CTA */
.hero-cta-new {
    display: flex;
    gap: 1rem;
}

.cta-primary {
    background: linear-gradient(135deg, var(--neon-green), var(--neon-cyan));
    color: black;
    border: none;
    padding: 1rem 2rem;
    border-radius: 12px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.cta-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(0, 255, 65, 0.3);
}

.cta-secondary {
    background: transparent;
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.3);
    padding: 1rem 2rem;
    border-radius: 12px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.cta-secondary:hover {
    border-color: var(--neon-green);
    color: var(--neon-green);
    box-shadow: 0 0 20px rgba(0, 255, 65, 0.2);
}

/* Modern Clean Leaderboard */
.leaderboard {
    padding: 4rem 0;
    background: transparent;
}

.leaderboard-modern {
    max-width: 900px;
    margin: 0 auto;
    padding: 2rem 0;
}

.leaderboard-title {
    text-align: center;
    margin-bottom: 3rem;
}

.leaderboard-title h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: white;
    margin: 0;
}

.podium-showcase {
    display: flex;
    align-items: end;
    justify-content: center;
    gap: 3rem;
    margin: 4rem 0 5rem 0;
    min-height: 400px;
    padding: 2rem;
}

/* Modern Podium Design */
.podium-position {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
}

.podium-position.rank-1 {
    order: 2;
    transform: translateY(-20px);
}

.podium-position.rank-2 {
    order: 1;
}

.podium-position.rank-3 {
    order: 3;
}

.podium-card {
    text-align: center;
    position: relative;
    margin-bottom: 1.5rem;
    transition: all 0.3s ease;
}

.podium-card:hover {
    transform: translateY(-10px);
}

/* Crown Badge for #1 */
.crown-badge {
    position: absolute;
    top: -25px;
    left: 35%;
    transform: translateX(-50%) rotate(-15deg);
    font-size: 2.2rem;
    z-index: 15;
    animation: crownFloat 3s ease-in-out infinite;
    text-shadow: 0 0 20px rgba(255, 215, 0, 0.8);
}

@keyframes crownFloat {
    0%, 100% { transform: translateX(-50%) translateY(0px) rotate(-15deg); }
    50% { transform: translateX(-50%) translateY(-5px) rotate(-12deg); }
}

/* Rank Badge */
.rank-badge {
    position: absolute;
    top: -10px;
    right: -10px;
    background: rgba(0, 0, 0, 0.9);
    color: white;
    font-size: 1.2rem;
    font-weight: 800;
    padding: 0.4rem 0.7rem;
    border-radius: 50%;
    border: 2px solid;
    font-family: 'JetBrains Mono', monospace;
    z-index: 10;
}

.rank-badge.rank-1 {
    border-color: #ffd700;
    background: rgba(255, 215, 0, 0.2);
    color: #ffd700;
}

.rank-badge.rank-2 {
    border-color: #c0c0c0;
    background: rgba(192, 192, 192, 0.2);
    color: #c0c0c0;
}

.rank-badge.rank-3 {
    border-color: #cd7f32;
    background: rgba(205, 127, 50, 0.2);
    color: #cd7f32;
}

/* Avatar */
.contributor-avatar-podium {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    border: 4px solid;
    object-fit: cover;
    margin-bottom: 1rem;
    transition: all 0.3s ease;
}

.podium-card.rank-1 .contributor-avatar-podium {
    border-color: #ffd700;
    box-shadow: 0 0 25px rgba(255, 215, 0, 0.4);
}

.podium-card.rank-2 .contributor-avatar-podium {
    border-color: #c0c0c0;
    box-shadow: 0 0 25px rgba(192, 192, 192, 0.4);
}

.podium-card.rank-3 .contributor-avatar-podium {
    border-color: #cd7f32;
    box-shadow: 0 0 25px rgba(205, 127, 50, 0.4);
}

.contributor-name-podium {
    color: white;
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.payload-count-podium {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
    font-weight: 500;
}

/* Tier Badges - Positioned at bottom */
.tier-badge {
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    backdrop-filter: blur(15px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    animation: float 3s ease-in-out infinite;
    z-index: 10;
}

@keyframes float {
    0%, 100% { transform: translateX(-50%) translateY(0px); }
    50% { transform: translateX(-50%) translateY(-3px); }
}

.podium-card.rank-1 .tier-badge {
    background: linear-gradient(135deg, rgba(147, 51, 234, 0.9), rgba(124, 58, 237, 0.8));
    color: white;
    box-shadow: 0 4px 20px rgba(147, 51, 234, 0.3);
}

.podium-card.rank-2 .tier-badge {
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.9), rgba(245, 158, 11, 0.8));
    color: #1a1a1a;
    box-shadow: 0 4px 20px rgba(255, 215, 0, 0.3);
}

.podium-card.rank-3 .tier-badge {
    background: linear-gradient(135deg, rgba(192, 192, 192, 0.9), rgba(156, 163, 175, 0.8));
    color: #1a1a1a;
    box-shadow: 0 4px 20px rgba(192, 192, 192, 0.3);
}

/* Rank Number */
.rank-number-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    font-weight: 800;
    font-family: 'JetBrains Mono', monospace;
}

.podium-card.rank-1 .rank-number-badge {
    background: rgba(147, 51, 234, 0.8);
    color: white;
    border: 2px solid #9333ea;
}

.podium-card.rank-2 .rank-number-badge {
    background: rgba(255, 215, 0, 0.8);
    color: #1a1a1a;
    border: 2px solid #ffd700;
}

.podium-card.rank-3 .rank-number-badge {
    background: rgba(192, 192, 192, 0.8);
    color: #1a1a1a;
    border: 2px solid #c0c0c0;
}

/* Contributor Avatar */
.contributor-avatar {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    margin: 0 auto 1.5rem;
    border: 2px solid rgba(255, 255, 255, 0.2);
    object-fit: cover;
    transition: all 0.3s ease;
}

.podium-card.rank-1 .contributor-avatar {
    border-color: rgba(147, 51, 234, 0.4);
    box-shadow: 0 0 15px rgba(147, 51, 234, 0.3);
}

.podium-card.rank-2 .contributor-avatar {
    border-color: rgba(255, 215, 0, 0.4);
    box-shadow: 0 0 15px rgba(255, 215, 0, 0.3);
}

.podium-card.rank-3 .contributor-avatar {
    border-color: rgba(192, 192, 192, 0.4);
    box-shadow: 0 0 15px rgba(192, 192, 192, 0.3);
}

/* Contributor Info */
.contributor-name {
    color: white;
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    line-height: 1.3;
}

.contributor-username {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
    font-family: var(--font-mono);
}

.contributor-stats-mini {
    background: rgba(0, 0, 0, 0.2);
    border-radius: 12px;
    padding: 1rem;
    margin-bottom: 0.5rem;
}

.stat-mini {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    text-align: center;
}

.stat-mini-value {
    color: var(--neon-green);
    font-weight: 700;
    font-family: 'JetBrains Mono', monospace;
    font-size: 1.8rem;
    line-height: 1;
    margin-bottom: 0.2rem;
}

.stat-mini-label {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}


/* Rankings List (4th-10th) */
.rankings-modern {
    margin-top: 3rem;
}

.rankings-list-clean {
    max-width: 600px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.ranking-item-modern {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 1.5rem;
    background: rgba(20, 20, 25, 0.6);
    border-radius: 12px;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.ranking-item-modern:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
    border-color: rgba(0, 255, 65, 0.2);
}

.ranking-left-modern {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.ranking-number-modern {
    color: var(--neon-green);
    font-weight: 800;
    font-size: 1.2rem;
    min-width: 30px;
    font-family: 'JetBrains Mono', monospace;
}

.ranking-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.2);
    object-fit: cover;
}

.ranking-info {
    display: flex;
    flex-direction: column;
}

.ranking-name-modern {
    color: white;
    font-weight: 600;
    font-size: 1rem;
    margin-bottom: 0.2rem;
}

.ranking-username {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.8rem;
}

.ranking-score-modern {
    color: rgba(255, 255, 255, 0.7);
    font-weight: 500;
    font-size: 0.9rem;
}

.rank-number {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--neon-green);
    font-family: 'JetBrains Mono', monospace;
    min-width: 50px;
    text-align: center;
    background: rgba(0, 255, 65, 0.1);
    padding: 0.5rem;
    border-radius: 8px;
    backdrop-filter: blur(10px);
}

.contributor-avatar-small {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
}

.contributor-info-simple {
    flex: 1;
    min-width: 0;
}

.contributor-info-simple .name {
    color: white;
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.contributor-info-simple .username {
    color: var(--neon-cyan);
    font-size: 0.85rem;
    margin-bottom: 0.25rem;
}

.payloads-count {
    color: var(--neon-green);
    font-weight: 600;
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.9rem;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .podium-container {
        flex-direction: column;
        align-items: center;
        gap: 1.5rem;
        max-width: 400px;
    }

    .podium-position {
        width: 100%;
    }

    .podium-position.rank-1,
    .podium-position.rank-2,
    .podium-position.rank-3 {
        order: initial;
        transform: none;
    }

    .contributors-list {
        max-width: 500px;
    }
}

@media (max-width: 768px) {
    html, body {
        padding-top: 60px;
    }

    .contributors-header {
        margin-top: -60px;
        padding-top: 100px;
        padding-bottom: 40px;
    }

    .page-title {
        font-size: 2.5rem;
    }

    .contribution-stats {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }

    .podium-container {
        min-height: 250px;
        max-width: 350px;
        gap: 1rem;
    }

    .podium-card {
        padding: 1.5rem;
    }

    .tier-badge {
        font-size: 0.7rem;
        padding: 0.4rem 0.8rem;
    }

    .rank-number-badge {
        width: 30px;
        height: 30px;
        font-size: 1rem;
    }

    .contributor-card-simple {
        padding: 1rem;
        gap: 1rem;
    }

    .rank-number {
        min-width: 40px;
        font-size: 1.2rem;
    }

    .contributor-avatar-small {
        width: 40px;
        height: 40px;
    }
}

/* Loading and Error States */
.loading-state {
    text-align: center;
    padding: 4rem 2rem;
    color: rgba(255, 255, 255, 0.7);
}

.loading-spinner {
    width: 40px;
    height: 40px;
    border: 3px solid rgba(0, 255, 65, 0.3);
    border-top: 3px solid var(--neon-green);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto 1rem;
}

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

.error-state {
    text-align: center;
    padding: 4rem 2rem;
    color: rgba(255, 255, 255, 0.7);
}

.error-icon {
    font-size: 4rem;
    color: rgba(239, 68, 68, 0.3);
    margin-bottom: 1.5rem;
}

.error-state h3 {
    color: white;
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.error-state p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
}

/* Hero Visual - Achievement Showcase */
.hero-visual-new {
    z-index: 2;
}

.achievement-showcase {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    padding: 2rem;
    background: rgba(20, 20, 30, 0.4);
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    position: relative;
    overflow: hidden;
}

.achievement-showcase::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(0, 255, 65, 0.1), transparent);
    animation: shimmer 3s infinite;
}

@keyframes shimmer {
    0% { left: -100%; }
    100% { left: 100%; }
}

.achievement-card {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    padding: 1.5rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
    position: relative;
    cursor: pointer;
}

.achievement-card:hover {
    transform: translateY(-5px);
    border-color: rgba(0, 255, 65, 0.3);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
}

.achievement-card.active {
    border-color: rgba(0, 255, 65, 0.5);
    background: rgba(0, 255, 65, 0.05);
    box-shadow: 0 10px 30px rgba(0, 255, 65, 0.2);
}

.achievement-icon {
    font-size: 2rem;
    margin-bottom: 1rem;
    text-align: center;
}

.achievement-card h3 {
    color: white;
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    text-align: center;
}

.achievement-card p {
    color: var(--neon-green);
    font-weight: 600;
    margin-bottom: 0.5rem;
    text-align: center;
}

.achievement-score {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
    text-align: center;
    font-family: 'JetBrains Mono', monospace;
}

/* Hall of Fame Section */
.hall-of-fame {
    padding: 6rem 0;
    position: relative;
    background: linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.3));
}

.fame-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: -1;
}

.constellation-bg {
    position: absolute;
    width: 100%;
    height: 100%;
    background-image:
        radial-gradient(1px 1px at 20% 30%, rgba(0, 255, 65, 0.3), transparent),
        radial-gradient(1px 1px at 40% 70%, rgba(0, 255, 255, 0.3), transparent),
        radial-gradient(2px 2px at 60% 40%, rgba(0, 255, 65, 0.2), transparent),
        radial-gradient(1px 1px at 80% 10%, rgba(0, 255, 255, 0.2), transparent),
        radial-gradient(1px 1px at 10% 80%, rgba(0, 255, 65, 0.2), transparent);
    background-size: 200px 200px, 300px 300px, 150px 150px, 250px 250px, 180px 180px;
    animation: twinkle 5s ease-in-out infinite;
}

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

.fame-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.fame-header {
    text-align: center;
    margin-bottom: 4rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
}

.fame-title {
    font-size: 3.5rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--neon-green), var(--neon-cyan));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1rem;
}

.fame-subtitle {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.2rem;
    max-width: 600px;
    line-height: 1.6;
}

.fame-filters {
    display: flex;
    gap: 1rem;
    background: rgba(20, 20, 30, 0.6);
    border-radius: 25px;
    padding: 0.5rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
}

.filter-btn-new {
    padding: 0.8rem 1.5rem;
    border: none;
    background: transparent;
    color: rgba(255, 255, 255, 0.7);
    border-radius: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 500;
}

.filter-btn-new.active {
    background: linear-gradient(135deg, var(--neon-green), var(--neon-cyan));
    color: black;
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(0, 255, 65, 0.3);
}

.filter-btn-new:hover:not(.active) {
    color: white;
    background: rgba(255, 255, 255, 0.1);
}

/* Elite Tier */
.elite-tier {
    margin-bottom: 4rem;
}

.tier-header {
    text-align: center;
    margin-bottom: 3rem;
}

.tier-title {
    font-size: 2rem;
    font-weight: 700;
    color: white;
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.elite-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1000px;
    margin: 0 auto;
}

/* Elite Card Styling */
.podium-position {
    background: linear-gradient(135deg, rgba(20, 20, 30, 0.8), rgba(30, 30, 40, 0.6));
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 2rem;
    text-align: center;
    backdrop-filter: blur(20px);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.podium-position::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, transparent, rgba(255, 255, 255, 0.05), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.podium-position:hover::before {
    opacity: 1;
}

.podium-position:hover {
    transform: translateY(-10px);
    border-color: rgba(0, 255, 65, 0.3);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
}

.podium-position.rank-1:hover {
    border-color: rgba(255, 215, 0, 0.5);
    box-shadow: 0 20px 60px rgba(255, 215, 0, 0.2);
}

.podium-position.rank-2:hover {
    border-color: rgba(192, 192, 192, 0.5);
    box-shadow: 0 20px 60px rgba(192, 192, 192, 0.2);
}

.podium-position.rank-3:hover {
    border-color: rgba(205, 127, 50, 0.5);
    box-shadow: 0 20px 60px rgba(205, 127, 50, 0.2);
}

.contributor-info {
    margin: 1rem 0;
}

.contributor-username {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
    margin-top: 0.5rem;
    font-family: 'JetBrains Mono', monospace;
}

.contributor-stats {
    margin-top: 1.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.stat-elite {
    background: rgba(0, 0, 0, 0.3);
    border-radius: 15px;
    padding: 1rem;
    text-align: center;
    width: 100%;
}

.stat-number {
    font-size: 2rem;
    font-weight: 800;
    color: var(--neon-green);
    font-family: 'JetBrains Mono', monospace;
    line-height: 1;
    margin-bottom: 0.25rem;
}

.stat-label {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.specialties {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.8rem;
    background: rgba(0, 255, 65, 0.1);
    border: 1px solid rgba(0, 255, 65, 0.2);
    border-radius: 10px;
    padding: 0.5rem;
    margin-top: 0.5rem;
}

.country-info {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 0.5rem;
    padding: 0.5rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.country-flag {
    font-size: 1.2rem;
}

.country-name {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.8rem;
    font-weight: 500;
}

/* Rising Stars */
.rising-stars {
    margin-bottom: 4rem;
}

.stars-grid {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

/* Rising Star Item Enhanced Styling */
.ranking-right-modern {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    text-align: right;
}

.payload-count {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--neon-green);
    font-family: 'JetBrains Mono', monospace;
}

.payload-label {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.8rem;
    margin-left: 0.25rem;
}

.location {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.75rem;
    margin-top: 0.25rem;
}

.join-date {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.75rem;
    margin-top: 0.5rem;
    font-family: 'JetBrains Mono', monospace;
}

/* Community Impact */
.community-impact {
    margin-top: 4rem;
}

.impact-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    max-width: 1000px;
    margin: 0 auto;
}

.impact-card {
    text-align: center;
    background: rgba(20, 20, 30, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 2rem 1rem;
    backdrop-filter: blur(20px);
    transition: all 0.3s ease;
}

.impact-card:hover {
    transform: translateY(-10px);
    border-color: rgba(0, 255, 65, 0.3);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
}

.impact-number {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--neon-green);
    font-family: 'JetBrains Mono', monospace;
    margin-bottom: 0.5rem;
    line-height: 1;
}

.impact-label {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1rem;
    font-weight: 500;
}

/* How to Contribute Section */
.how-to-contribute {
    padding: 6rem 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.3), transparent);
    position: relative;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title {
    font-size: 3rem;
    font-weight: 800;
    color: white;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}

.section-subtitle {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.2rem;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

.contribution-steps {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    max-width: 1000px;
    margin: 0 auto;
}

.step-item {
    display: flex;
    align-items: flex-start;
    gap: 2rem;
    background: rgba(20, 20, 30, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 2.5rem;
    backdrop-filter: blur(20px);
    transition: all 0.3s ease;
}

.step-item:hover {
    transform: translateY(-5px);
    border-color: rgba(0, 255, 65, 0.3);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.2);
}

.step-number {
    background: linear-gradient(135deg, var(--neon-green), var(--neon-cyan));
    color: black;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 800;
    font-family: 'JetBrains Mono', monospace;
    flex-shrink: 0;
    box-shadow: 0 10px 30px rgba(0, 255, 65, 0.3);
}

.step-content {
    flex: 1;
}

.step-content h3 {
    color: white;
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.step-content p {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
    margin-bottom: 1rem;
}

.step-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--neon-cyan);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    margin-top: 1rem;
}

.step-link:hover {
    color: white;
    transform: translateX(5px);
}

.code-example {
    background: rgba(0, 0, 0, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    padding: 1.5rem;
    margin: 1rem 0;
    overflow-x: auto;
    position: relative;
}

.code-example pre {
    margin: 0;
    color: rgba(255, 255, 255, 0.9);
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.9rem;
    line-height: 1.6;
}

.code-example code {
    color: var(--neon-green);
}

/* Copy button for code examples */
.copy-code-btn {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: rgba(0, 255, 65, 0.1);
    border: 1px solid rgba(0, 255, 65, 0.3);
    color: var(--neon-green);
    padding: 0.5rem;
    border-radius: 8px;
    cursor: pointer;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.copy-code-btn:hover {
    background: rgba(0, 255, 65, 0.2);
    transform: translateY(-2px);
}

/* GitHub Link */
.github-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--neon-cyan);
    text-decoration: none;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    margin-top: 0.5rem;
}

.github-link:hover {
    color: white;
    transform: translateY(-1px);
}

/* Responsive Design Updates */
@media (max-width: 1024px) {
    .hero-container {
        grid-template-columns: 1fr;
        gap: 3rem;
        text-align: center;
    }

    .hero-stats-new {
        justify-content: center;
        flex-wrap: wrap;
    }

    .elite-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }

    .impact-stats {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    }
}

@media (max-width: 768px) {
    .hero-title-new {
        font-size: 3rem;
    }

    .hero-stats-new {
        flex-direction: column;
        align-items: center;
    }

    .hero-cta-new {
        flex-direction: column;
        align-items: center;
    }

    .fame-title {
        font-size: 2.5rem;
    }

    .section-title {
        font-size: 2rem;
        flex-direction: column;
        gap: 0.5rem;
    }

    .step-item {
        flex-direction: column;
        text-align: center;
    }

    .achievement-showcase {
        padding: 1rem;
    }

    .fame-filters {
        flex-direction: column;
        width: 100%;
    }
}

/* How to Contribute Section */
.format-warning {
    background: linear-gradient(135deg, rgba(255, 165, 0, 0.1), rgba(255, 193, 7, 0.05));
    border: 1px solid rgba(255, 165, 0, 0.3);
    border-radius: 15px;
    padding: 2rem;
    margin-bottom: 3rem;
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.warning-icon {
    font-size: 2rem;
    filter: drop-shadow(0 0 10px rgba(255, 165, 0, 0.5));
}

.warning-content h3 {
    color: #ffa500;
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

.warning-content p {
    color: rgba(255, 255, 255, 0.9);
    margin: 0;
}

.pr-checklist {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-top: 1rem;
}

.checklist-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: rgba(255, 255, 255, 0.8);
}

.checklist-item i {
    color: var(--neon-green);
}

.contribution-benefits {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 1rem;
}

.benefit {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
}

.benefit i {
    color: var(--neon-green);
}

/* Format Note Styling */
.format-note {
    background: rgba(0, 255, 65, 0.1);
    border: 1px solid rgba(0, 255, 65, 0.3);
    border-radius: 15px;
    padding: 1.5rem;
    margin-top: 1.5rem;
}

.format-note h4 {
    color: var(--neon-green);
    font-size: 1.1rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.format-note ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.format-note li {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 0.75rem;
    padding-left: 1.5rem;
    position: relative;
    line-height: 1.5;
}

.format-note li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--neon-green);
    font-weight: bold;
}

.format-note strong {
    color: var(--neon-cyan);
}