/* Public Landing Page Styles */
:root {
    --primary-color: #6366f1;
    --primary-hover: #4f46e5;
    --secondary-color: #3b82f6;
    --dark-bg: #0d0d0d;
    --dark-card: #1a1a1a;
    --dark-border: #2d2d2d;
    --text-primary: #ffffff;
    --text-secondary: #a1a1aa;
    --success: #10b981;
    --gradient: linear-gradient(135deg, #6366f1 0%, #3b82f6 100%);
}

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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background-color: var(--dark-bg);
    color: var(--text-primary);
    line-height: 1.6;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Hero Section */
.hero-section {
    position: relative;
    min-height: 25vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient);
    overflow: hidden;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(circle at 20% 50%, rgba(99, 102, 241, 0.3) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(236, 72, 153, 0.3) 0%, transparent 50%);
    opacity: 0.8;
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    padding: 30px 20px;
}

.logo-container {
    margin-bottom: 15px;
}

.logo-image {
    max-width: 200px;
    height: auto;
    filter: drop-shadow(0 2px 10px rgba(0, 0, 0, 0.3));
}

.hero-title {
    font-size: clamp(1.3rem, 2.5vw, 2rem);
    font-weight: 800;
    margin-bottom: 10px;
    background: linear-gradient(to right, #ffffff, #e0e7ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -0.02em;
}

.hero-subtitle {
    font-size: clamp(0.85rem, 1.5vw, 1rem);
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 20px;
    font-weight: 400;
}

.hero-stats {
    display: flex;
    gap: 30px;
    justify-content: center;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.stat-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 25px 35px;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    min-width: 150px;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 5px;
}

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

.cta-button {
    display: inline-block;
    padding: 14px 36px;
    background: white;
    color: var(--primary-color);
    font-size: 1.05rem;
    font-weight: 700;
    text-decoration: none;
    border-radius: 10px;
    transition: all 0.3s ease;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
}

/* Filter Section */
.filter-section {
    background: var(--dark-card);
    border-bottom: 1px solid var(--dark-border);
    padding: 30px 0;
    position: sticky;
    top: 0;
    z-index: 100;
    backdrop-filter: blur(10px);
}

.filter-controls {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.search-input, .filter-select {
    flex: 1;
    min-width: 250px;
    padding: 15px 20px;
    background: var(--dark-bg);
    border: 2px solid var(--dark-border);
    border-radius: 12px;
    color: var(--text-primary);
    font-size: 1rem;
    transition: all 0.3s ease;
}

.search-input:focus, .filter-select:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 4px rgba(99, 102, 241, 0.1);
}

.search-input::placeholder {
    color: var(--text-secondary);
}

/* Creators Section */
.creators-section {
    padding: 40px 0;
    min-height: 50vh;
}

.loading-spinner {
    text-align: center;
    padding: 100px 20px;
}

.spinner {
    border: 4px solid var(--dark-border);
    border-top: 4px solid var(--primary-color);
    border-radius: 50%;
    width: 60px;
    height: 60px;
    animation: spin 1s linear infinite;
    margin: 0 auto 20px;
}

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

.creators-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 25px;
    margin-top: 20px;
}

.creator-card {
    position: relative;
    background: var(--dark-card);
    border: 1px solid var(--dark-border);
    border-radius: 16px;
    padding: 25px;
    transition: all 0.3s ease;
    overflow: hidden;
}

.creator-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary-color);
    box-shadow: 0 10px 40px rgba(99, 102, 241, 0.2);
}

.rank-badge, .rank-badge-top {
    position: absolute;
    top: 15px;
    right: 15px;
    background: var(--dark-bg);
    color: var(--text-primary);
    padding: 8px 14px;
    border-radius: 20px;
    font-size: 0.95rem;
    font-weight: 700;
    border: 1px solid var(--dark-border);
}

.rank-badge-top {
    background: var(--gradient);
    border: none;
    box-shadow: 0 4px 15px rgba(99, 102, 241, 0.4);
}

.creator-avatar {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    overflow: hidden;
    margin: 0 auto 20px;
    border: 3px solid var(--dark-border);
}

.creator-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: none;
}

.creator-info {
    text-align: center;
}

.creator-username {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 10px;
}

.creator-location {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-bottom: 15px;
}

.creator-stats {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin: 20px 0;
    padding: 15px 0;
    border-top: 1px solid var(--dark-border);
    border-bottom: 1px solid var(--dark-border);
}

.stat {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.stat-value {
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--primary-color);
}

.stat-label {
    font-size: 0.85rem;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.creator-bio {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin: 15px 0;
    line-height: 1.5;
}

.creator-link {
    display: inline-block;
    margin-top: 15px;
    padding: 10px 24px;
    background: var(--primary-color);
    color: white;
    text-decoration: none;
    border-radius: 8px;
    font-size: 0.85rem;
    font-weight: 500;
    transition: all 0.3s ease;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    max-width: 100%;
}

.creator-link:hover {
    background: var(--primary-hover);
    transform: translateY(-2px);
}

.no-results {
    text-align: center;
    padding: 100px 20px;
    font-size: 1.2rem;
    color: var(--text-secondary);
}

/* CTA Section */
.cta-section {
    background: var(--dark-card);
    padding: 80px 20px;
    text-align: center;
    border-top: 1px solid var(--dark-border);
}

.cta-section h2 {
    font-size: 2.8rem;
    font-weight: 800;
    margin-bottom: 20px;
}

.cta-section p {
    font-size: 1.3rem;
    color: var(--text-secondary);
    margin-bottom: 40px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cta-button-secondary {
    display: inline-block;
    padding: 16px 40px;
    background: var(--gradient);
    color: white;
    font-size: 1.1rem;
    font-weight: 700;
    text-decoration: none;
    border-radius: 12px;
    transition: all 0.3s ease;
    margin: 0 10px;
}

.cta-button-secondary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(99, 102, 241, 0.4);
}

.cta-button-outline {
    display: inline-block;
    padding: 16px 40px;
    background: transparent;
    color: var(--text-primary);
    font-size: 1.1rem;
    font-weight: 700;
    text-decoration: none;
    border-radius: 12px;
    border: 2px solid var(--dark-border);
    transition: all 0.3s ease;
    margin: 0 10px;
}

.cta-button-outline:hover {
    border-color: var(--primary-color);
    background: rgba(99, 102, 241, 0.1);
}

/* Footer */
.footer {
    background: var(--dark-bg);
    padding: 40px 20px;
    border-top: 1px solid var(--dark-border);
}

.footer-content {
    text-align: center;
}

.footer-links {
    display: flex;
    gap: 30px;
    justify-content: center;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.footer-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.95rem;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--primary-color);
}

.footer-copyright {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1.1rem;
    }

    .hero-stats {
        gap: 15px;
    }

    .stat-card {
        padding: 20px 25px;
        min-width: 120px;
    }

    .stat-number {
        font-size: 2rem;
    }

    .creators-grid {
        grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
        gap: 20px;
    }

    .filter-controls {
        flex-direction: column;
    }

    .search-input, .filter-select {
        min-width: 100%;
    }

    .cta-section h2 {
        font-size: 2rem;
    }

    .cta-button-secondary,
    .cta-button-outline {
        display: block;
        margin: 10px auto;
        max-width: 300px;
    }
}

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