* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
    color: #333;
}

.hero-section {
    padding: 150px 30px 80px;
    text-align: center;
    color: white;
}

.hero-title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 20px;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.hero-subtitle {
    font-size: 1.3rem;
    margin-bottom: 40px;
    opacity: 0.95;
}

.search-container {
    max-width: 700px;
    margin: 0 auto;
    position: relative;
}

.search-box {
    display: flex;
    background: white;
    border-radius: 50px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    overflow: hidden;
}

.search-input {
    flex: 1;
    padding: 20px 30px;
    border: none;
    font-size: 1.1rem;
    outline: none;
}

.search-btn {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    padding: 0 40px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

.search-btn:hover {
    transform: scale(1.05);
}

.hot-tags {
    margin-top: 20px;
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}

.tag {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    padding: 8px 20px;
    border-radius: 20px;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s;
    backdrop-filter: blur(10px);
}

.tag:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
}

.stats-section {
    background: white;
    padding: 60px 30px;
}

.stats-container {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.stat-card {
    text-align: center;
    padding: 30px;
    background: linear-gradient(135deg, #f5f7fa 0%, #e8ecf1 100%);
    border-radius: 20px;
    transition: all 0.3s;
}

.stat-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(102, 126, 234, 0.2);
}

.stat-number {
    font-size: 3rem;
    font-weight: 700;
    color: #667eea;
    margin-bottom: 10px;
}

.stat-label {
    font-size: 1.1rem;
    color: #666;
}

.resources-section {
    padding: 80px 30px;
    background: #f8f9fa;
}

.section-container {
    max-width: 1400px;
    margin: 0 auto;
}

.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 15px;
}

.section-subtitle {
    font-size: 1.2rem;
    color: #666;
}

.resource-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 30px;
}

.resource-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s;
}

.resource-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.resource-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 20px;
    color: white;
}

.resource-category {
    font-size: 0.85rem;
    opacity: 0.9;
    margin-bottom: 5px;
}

.resource-title {
    font-size: 1.2rem;
    font-weight: 600;
}

.resource-body {
    padding: 20px;
}

.resource-description {
    color: #666;
    font-size: 0.95rem;
    margin-bottom: 15px;
    line-height: 1.6;
}

.resource-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 15px;
    border-top: 1px solid #eee;
}

.resource-stats {
    display: flex;
    gap: 20px;
}

.stat-item {
    display: flex;
    align-items: center;
    gap: 5px;
    color: #666;
    font-size: 0.9rem;
}

.rare-badge {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    color: white;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

.earnings-section {
    padding: 80px 10px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.earnings-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.earnings-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 30px;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.earnings-icon {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.earnings-title {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 15px;
}

.earnings-description {
    opacity: 0.9;
    line-height: 1.8;
}

.cta-button {
    display: inline-block;
    background: white;
    color: #667eea;
    padding: 15px 40px;
    border-radius: 30px;
    font-size: 1.1rem;
    font-weight: 600;
    text-decoration: none;
    margin-top: 20px;
    transition: all 0.3s;
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.leaderboard-section {
    background: #ffffff7a;
    border-radius: 15px;
    padding: 40px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    max-width: 1400px;
    margin: 40px auto;
}

.leaderboard-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 30px;
}

.leaderboard-table th {
    text-align: left;
    padding: 15px;
    background: #f8f9fa;
    color: #666;
    font-weight: 600;
}

.leaderboard-table td {
    padding: 15px;
    border-bottom: 1px solid #f0f0f0;
    color: #333;
}

.leaderboard-table tbody tr:hover {
    background: #f8f9fa;
}

.rank-badge {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    color: white;
}

.rank-1 {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
}

.rank-2 {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.rank-3 {
    background: linear-gradient(135deg, #43e97b 0%, #38f9d7 100%);
}

.rank-other {
    background: #e9ecef;
    color: #666;
}

.footer {
    background: #1a1a2e;
    color: white;
    padding: 50px 30px;
    text-align: center;
}
@media (max-width: 768px) {
    .hero-section {
        padding: 40px 15px 60px;
    }

    .hero-title {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .search-box {
        flex-direction: row;
        border-radius: 50px;
    }

    .search-input {
        width: 100%;
        border-radius: 50px 0 0 50px;
        padding: 15px 20px;
        font-size: 1rem;
    }

    .search-btn {
        padding: 15px 25px;
        width: auto;
        border-radius: 0 50px 50px 0;
        white-space: nowrap;
    }

    .hot-tags {
        flex-wrap: wrap;
        gap: 8px;
    }

    .tag {
        font-size: 0.85rem;
        padding: 6px 12px;
    }

    .stats-container {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }

    .stat-card {
        padding: 20px;
    }

    .stat-number {
        font-size: 2rem;
    }

    .stat-label {
        font-size: 0.9rem;
    }

    .section-container {
        padding: 30px 15px;
    }

    .section-title {
        font-size: 1.5rem;
    }

    .earnings-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .earnings-card {
        padding: 20px;
    }

    .earnings-icon {
        font-size: 2rem;
    }

    .earnings-title {
        font-size: 1.2rem;
    }

    .leaderboard-section {
        padding: 20px;
        margin-top: 30px;
    }

    .leaderboard-table {
        font-size: 0.85rem;
    }

    .leaderboard-table th,
    .leaderboard-table td {
        padding: 10px 8px;
    }

    .rank-badge {
        width: 24px;
        height: 24px;
        font-size: 0.8rem;
    }

    .cta-button {
        padding: 12px 30px;
        font-size: 1rem;
    }
}
@media (max-width: 480px) {
    .stats-container {
        grid-template-columns: 1fr;
    }

    .leaderboard-table {
        font-size: 0.75rem;
    }

    .leaderboard-table th,
    .leaderboard-table td {
        padding: 8px 5px;
    }
}