/* ===== PROFESSIONAL SA TALENT HUB STYLES ===== */

/* ===== CSS RESET & BASE ===== */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-primary);
    background: linear-gradient(180deg, #f0f4f8 0%, #ffffff 50%);
    overflow-x: hidden;
    min-height: 100vh;
}

body.menu-open {
    overflow: hidden;
}

/* ===== ACCESSIBILITY ===== */
.skip-link {
    position: absolute;
    top: -40px;
    left: 6px;
    background: #000;
    color: #fff;
    padding: 8px;
    text-decoration: none;
    z-index: 1000;
    border-radius: 4px;
}

.skip-link:focus {
    top: 6px;
}

/* ===== TYPOGRAPHY ===== */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
}

h1 { font-size: clamp(2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.75rem, 4vw, 2.5rem); }
h3 { font-size: clamp(1.5rem, 3vw, 2rem); }
h4 { font-size: clamp(1.25rem, 2.5vw, 1.5rem); }
h5 { font-size: 1.25rem; }
h6 { font-size: 1.125rem; }

p {
    margin-bottom: 1rem;
}

/* ===== COLORS ===== */
:root {
    --primary-color: #00B4D8;
    --primary-dark: #0096C7;
    --secondary-color: #0077B6;
    --accent-color: #00D9FF;
    --gradient-primary: linear-gradient(135deg, #00B4D8 0%, #0096C7 100%);
    --gradient-light: linear-gradient(135deg, #CAF0F8 0%, #B4E7FF 100%);
    --success-color: #2A9D8F;
    --warning-color: #E9C46A;
    --error-color: #E76F51;
    --text-primary: #0a0e27;
    --text-secondary: #6c757d;
    --text-light: #adb5bd;
    --bg-primary: #ffffff;
    --bg-secondary: #f0f4f8;
    --bg-dark: #0a0e27;
    --bg-card: #ffffff;
    --border-color: #e0e6ed;
    --shadow: 0 4px 15px rgba(0, 180, 216, 0.08);
    --shadow-lg: 0 12px 40px rgba(0, 180, 216, 0.12);
    --shadow-hover: 0 8px 25px rgba(0, 180, 216, 0.15);
}

/* ===== UTILITY CLASSES ===== */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.mb-0 { margin-bottom: 0; }
.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }

.mt-0 { margin-top: 0; }
.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }

/* ===== BREADCRUMB NAVIGATION ===== */
.breadcrumb-nav {
    background: #f8f9fa;
    border-bottom: 1px solid #e9ecef;
    padding: 0.75rem 0;
}

.breadcrumb-list {
    list-style: none;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.breadcrumb-item {
    display: flex;
    align-items: center;
    font-size: 0.875rem;
}

.breadcrumb-item:not(:last-child)::after {
    content: '/';
    margin-left: 0.5rem;
    color: #6c757d;
    font-weight: 400;
}

.breadcrumb-item a {
    color: #0d6efd;
    text-decoration: none;
    transition: color 0.2s ease;
}

.breadcrumb-item a:hover {
    color: #0b5ed7;
    text-decoration: underline;
}

.breadcrumb-item.active span {
    color: #6c757d;
    font-weight: 500;
}

.btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
}

.btn-primary {
    background: var(--primary-color);
    color: white;
}

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-secondary {
    background: var(--secondary-color);
    color: white;
}

.btn-secondary:hover {
    background: #244b6b;
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

/* ===== HEADER & NAVIGATION ===== */
.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.97) 0%, rgba(240, 244, 248, 0.95) 100%);
    backdrop-filter: blur(10px);
    border-bottom: 2px solid var(--accent-color);
    box-shadow: var(--shadow);
}

.navbar {
    padding: 0.75rem 0;
}

.nav-container {
    max-width: 1160px;
    margin: 0 auto;
    padding: 0 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.nav-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    width: 100%;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-wrap: wrap;
    justify-content: flex-end;
    flex: 1 1 auto;
}

.nav-brand .logo {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 1.35rem;
    font-weight: 800;
    color: var(--primary-color);
    text-decoration: none;
}

.nav-brand .logo i {
    font-size: 1.5rem;
}

.nav-brand .logo:hover {
    color: var(--primary-dark);
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

.hamburger-line {
    width: 25px;
    height: 3px;
    background: var(--text-primary);
    margin: 3px 0;
    transition: 0.3s;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
    justify-content: flex-start;
    width: 100%;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 0.75rem;
    margin: 0;
    flex-wrap: wrap;
    justify-content: flex-start;
    flex: 1 1 auto;
    min-width: 0;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-primary);
    font-weight: 500;
    padding: 0.4rem 0.8rem;
    border-radius: 10px;
    transition: all 0.25s ease;
    white-space: nowrap;
    font-size: 0.96rem;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--primary-color);
    background: rgba(255, 107, 53, 0.1);
}

.nav-search {
    min-width: 160px;
    flex: 0 1 220px;
}

.page-share-block {
    padding: 2rem 0;
    background: linear-gradient(180deg, rgba(0, 180, 216, 0.12) 0%, rgba(255, 255, 255, 0.75) 100%);
}

.page-share-card {
    display: grid;
    grid-template-columns: 1.8fr 1fr;
    gap: 1.25rem;
    align-items: center;
    padding: 1.75rem;
    background: #ffffff;
    border: 1px solid rgba(0, 180, 216, 0.15);
    border-radius: 24px;
    box-shadow: var(--shadow);
}

.page-share-card h2 {
    font-size: clamp(1.9rem, 2.5vw, 2.4rem);
    margin-bottom: 0.5rem;
}

.page-share-card p {
    margin-bottom: 0;
    color: var(--text-secondary);
    max-width: 620px;
}

.share-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    justify-content: flex-end;
}

.share-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.8rem 1.2rem;
    min-width: 130px;
    border-radius: 0.35rem;
    font-size: 0.95rem;
    font-weight: 700;
    color: #fff;
    text-decoration: none;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
}

.share-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.2);
    filter: brightness(0.95);
}

.share-btn.facebook {
    background: #1877f2;
}

.share-btn.twitter {
    background: #1da1f2;
}

.share-btn.whatsapp {
    background: #25d366;
}

@media (max-width: 860px) {
    .page-share-card {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .share-actions {
        justify-content: center;
        flex-direction: column;
    }

    .share-btn {
        width: 100%;
        min-width: auto;
    }
}

.nav-share {
    display: flex;
    align-items: center;
    margin-left: 1rem;
    flex-shrink: 0;
    flex: 0 0 auto;
}

.nav-auth {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    flex: 0 0 auto;
    flex-wrap: wrap;
}

.user-menu {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.user-menu-welcome {
    color: var(--text-primary);
    font-weight: 600;
}

.user-menu a {
    color: var(--text-primary);
    text-decoration: none;
    padding: 0.35rem 0.65rem;
    border-radius: 999px;
    background: rgba(255,255,255,0.9);
    transition: background-color 0.2s ease, color 0.2s ease;
}

.user-menu a:hover {
    background: rgba(255, 183, 3, 0.12);
}

.nav-share .btn {
    padding: 0.45rem 0.9rem;
    font-size: 0.9rem;
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    border-radius: 12px;
}

.nav-share .btn i {
    font-size: 0.95rem;
}

.nav-share .btn i {
    font-size: 0.95rem;
}

.search-form {
    display: flex;
}

.search-input-group {
    display: flex;
    align-items: center;
    background: rgba(255,255,255,0.95);
    border-radius: 22px;
    padding: 0.4rem 0.55rem;
    border: 1px solid rgba(15, 23, 42, 0.08);
    transition: all 0.25s ease;
    min-width: 0;
}

.search-input-group:focus-within {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(255, 107, 53, 0.1);
}

.search-input-group input {
    border: none;
    background: transparent;
    padding: 0.5rem 1rem;
    font-size: 1rem;
    flex: 1;
    min-width: 120px;
    max-width: 260px;
}

.search-input-group input:focus {
    outline: none;
}

.search-input-group button {
    background: var(--primary-color);
    color: white;
    border: none;
    border-radius: 50%;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.search-input-group button:hover {
    background: var(--primary-dark);
    transform: scale(1.1);
}

/* ===== MAIN CONTENT ===== */
.main-content {
    min-height: calc(100vh - 180px);
}

.auth-section {
    padding: 3rem 1rem 4rem;
    background: var(--bg-secondary);
}

.auth-section .container {
    max-width: 520px;
}

.auth-form {
    background: var(--bg-primary);
    border: 1px solid rgba(15, 23, 42, 0.08);
    box-shadow: var(--shadow);
    border-radius: 24px;
    padding: 2rem;
}

.auth-form h1 {
    margin-bottom: 1.25rem;
    font-size: 2rem;
    font-weight: 800;
    text-align: center;
}

.alert {
    border-radius: 14px;
    padding: 1rem 1rem;
    margin-bottom: 1rem;
    line-height: 1.5;
}

.alert-error {
    background: rgba(231, 111, 81, 0.1);
    border: 1px solid rgba(231, 111, 81, 0.25);
    color: var(--error-color);
}

.alert-success {
    background: rgba(42, 157, 143, 0.1);
    border: 1px solid rgba(42, 157, 143, 0.25);
    color: var(--success-color);
}

.form-group {
    margin-bottom: 1rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--text-primary);
}

.form-group input {
    width: 100%;
    border: 1px solid var(--border-color);
    border-radius: 14px;
    padding: 0.9rem 1rem;
    font-size: 1rem;
    background: #fff;
    color: var(--text-primary);
    transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.form-group input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(0, 180, 216, 0.12);
}

.form-group.checkbox-group {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin: 0;
    font-weight: 500;
    color: var(--text-primary);
}

.checkbox-label input[type="checkbox"] {
    width: 18px;
    height: 18px;
    margin: 0;
    accent-color: var(--primary-color);
}

.auth-form p {
    margin-top: 1.2rem;
    color: var(--text-secondary);
    text-align: center;
}

.auth-form p a {
    color: var(--primary-color);
    font-weight: 700;
    text-decoration: none;
}

.auth-form p a:hover {
    text-decoration: underline;
}

@media (max-width: 768px) {
    .auth-section {
        padding: 2rem 1rem 3rem;
    }

    .auth-form {
        padding: 1.5rem;
    }
}

/* ===== HERO SECTION ===== */
.hero-section {
    background: linear-gradient(135deg, var(--secondary-color) 0%, var(--primary-color) 100%);
    color: white;
    padding: 3.5rem 1rem 2rem;
    text-align: center;
}

.hero-content {
    max-width: 720px;
    margin: 0 auto;
}

.hero-title {
    font-size: clamp(2.2rem, 4vw, 3.4rem);
    font-weight: 900;
    margin-bottom: 0.85rem;
    text-shadow: 0 1px 8px rgba(0, 0, 0, 0.25);
}

.hero-subtitle {
    font-size: 1.15rem;
    margin-bottom: 1.5rem;
    opacity: 0.92;
}

.hero-description {
    font-size: 1rem;
    margin-bottom: 2rem;
    opacity: 0.85;
    line-height: 1.65;
}

.hero-cta {
    display: inline-block;
    background: white;
    color: var(--primary-color);
    padding: 0.9rem 1.8rem;
    border-radius: 45px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1rem;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-lg);
}

.hero-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 34px rgba(0, 0, 0, 0.18);
}

.hero-highlights {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 0.75rem;
    margin-top: 1.2rem;
}

.highlight-card {
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(12px);
    padding: 0.75rem 0.9rem;
    border-radius: 16px;
    color: #fff;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
    transition: transform 0.25s ease, border-color 0.25s ease;
    text-align: left;
}

.highlight-card strong {
    display: block;
    font-size: 0.98rem;
    margin-bottom: 0.35rem;
    color: #ffffff;
}

.highlight-card span {
    color: rgba(255, 255, 255, 0.82);
    font-size: 0.93rem;
    line-height: 1.55;
}

.highlight-card:hover {
    transform: translateY(-3px);
    border-color: rgba(255, 255, 255, 0.28);
}

.footer-highlights {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 0.9rem;
    margin-bottom: 2rem;
}

.footer-highlights .highlight-card {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.12);
    color: #fff;
}

.footer-promote {
    background: linear-gradient(135deg, rgba(0, 180, 216, 0.1) 0%, rgba(0, 119, 182, 0.1) 100%);
    border: 1px solid rgba(0, 180, 216, 0.2);
    border-radius: 16px;
    padding: 2rem;
    margin-bottom: 2rem;
    text-align: center;
}

.footer-promote-content {
    max-width: 600px;
    margin: 0 auto;
}

.footer-promote-text h3 {
    color: white;
    font-size: 1.5rem;
    margin-bottom: 0.75rem;
    font-weight: 700;
}

.footer-promote-text p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1rem;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.footer-promote-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.footer-promote-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.25rem;
    background: var(--primary-color);
    color: white;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.footer-promote-btn:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 180, 216, 0.3);
}

.footer-promote-btn i {
    font-size: 1.1rem;
}

/* ===== FEED STYLES ===== */
.feed-shell {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem 1rem;
}

.video-feed {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.video-item {
    background: var(--bg-card);
    border-radius: 26px;
    overflow: hidden;
    box-shadow: 0 22px 70px rgba(13, 44, 75, 0.08);
    border: 1px solid rgba(15, 72, 128, 0.08);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    display: flex;
    flex-direction: column;
}

.video-item:hover {
    transform: translateY(-6px);
    box-shadow: 0 30px 90px rgba(13, 44, 75, 0.12);
}

.video-container {
    position: relative;
    background: #000;
    min-height: 240px;
    overflow: hidden;
}

.video-embed-wrapper {
    position: relative;
    width: 100%;
    min-height: 240px;
    overflow: hidden;
    border-radius: 22px 22px 0 0;
}

.video-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.05), rgba(0, 0, 0, 0.35));
    pointer-events: none;
}

.video-loading {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 0.75rem;
    background: rgba(0, 0, 0, 0.45);
    color: #ffffff;
    padding: 1rem;
    text-align: center;
}

.video-loading .loading-spinner {
    width: 34px;
    height: 34px;
    border: 4px solid rgba(255, 255, 255, 0.18);
    border-left-color: #00b4d8;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.video-info {
    padding: 1.35rem 1.5rem 1.5rem;
    display: grid;
    gap: 0.9rem;
    min-height: 170px;
}

.creator-name {
    font-size: 1.05rem;
    font-weight: 800;
    color: var(--text-primary);
}

.creator-bio {
    color: var(--text-secondary);
    line-height: 1.6;
    min-height: 3.2rem;
}

.video-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
    align-items: center;
    justify-content: flex-start;
    margin-top: auto;
}

.video-actions .action-btn {
    width: auto;
    min-width: 44px;
    height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(0, 180, 216, 0.18);
    background: rgba(0, 180, 216, 0.08);
    color: var(--text-primary);
    border-radius: 14px;
    transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.video-actions .action-btn:hover {
    transform: translateY(-2px);
    background: rgba(0, 180, 216, 0.16);
    border-color: rgba(0, 180, 216, 0.3);
}

.video-actions .profile-btn {
    background: var(--primary-color);
    color: #ffffff;
    font-size: 0.95rem;
    padding: 0 1.15rem;
    border-radius: 999px;
    border: none;
}

.video-actions .profile-btn:hover {
    background: #00a2d1;
}

.featured-slot {
    margin-top: 2rem;
}

.featured-card {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 1.5rem;
    padding: 1.5rem;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(242, 247, 255, 0.98));
    border-radius: 28px;
    box-shadow: 0 30px 90px rgba(11, 60, 100, 0.08);
    border: 1px solid rgba(15, 72, 128, 0.08);
    align-items: center;
}

.featured-video {
    border-radius: 24px;
    overflow: hidden;
    min-height: 280px;
    background: #000;
}

.featured-info {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    padding: 0.5rem 0;
}

.featured-info h3 {
    font-size: clamp(1.75rem, 2.1vw, 2.5rem);
    margin: 0;
    color: var(--text-primary);
}

.featured-meta {
    color: var(--text-secondary);
    font-weight: 600;
}

.featured-bio {
    color: var(--text-secondary);
    line-height: 1.7;
}

.featured-stats {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    align-items: center;
}

.featured-stats span {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-secondary);
    font-size: 0.95rem;
}

    .featured-actions {
        display: flex;
        align-items: center;
        gap: 0.75rem;
        margin-left: auto;
    }

    .featured-actions .share-btn {
        width: 40px;
        height: 40px;
        border-radius: 50%;
        padding: 0;
        font-size: 1rem;
    }

    .video-actions {
        justify-content: space-between;
    }
}

/* Error states and retry buttons */
.video-error {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    text-align: center;
    color: var(--text-secondary);
    background: rgba(0, 0, 0, 0.7);
    border-radius: 8px;
    min-height: 120px;
}

.video-error i {
    font-size: 2rem;
    color: #ff6b6b;
    margin-bottom: 0.5rem;
}

.video-error p {
    margin: 0.5rem 0;
    font-size: 0.9rem;
}

.retry-embed-btn {
    background: var(--primary-color);
    color: white;
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    cursor: pointer;
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: background-color 0.2s;
    margin-top: 0.5rem;
}

.retry-embed-btn:hover {
    background: var(--primary-hover);
}

.retry-embed-btn i {
    font-size: 0.8rem;
}

.retry-btn {
    background: var(--secondary-color);
    color: var(--text-primary);
    border: 1px solid var(--border-color);
    padding: 0.5rem 1rem;
    border-radius: 6px;
    cursor: pointer;
    font-size: 0.9rem;
    margin-top: 0.5rem;
    transition: background-color 0.2s;
}

.retry-btn:hover {
    background: var(--secondary-hover);
}

.feed-card {
    background: var(--bg-card);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
}

.feed-card--tiktok,
.feed-card--instagram,
.feed-card--x {
    width: 100%;
    max-width: 420px;
    margin: 0 auto;
    border-radius: 24px;
}

.feed-card--youtube {
    max-width: 100%;
    border-radius: 20px;
}

.feed-card--facebook {
    max-width: 100%;
    border-radius: 20px;
}

.feed-card--youtube .video-preview {
    height: 400px;
    aspect-ratio: 16 / 9;
}

.feed-card--tiktok .video-preview,
.feed-card--instagram .video-preview,
.feed-card--x .video-preview {
    height: 680px;
    aspect-ratio: 9 / 16;
    border-radius: 24px 24px 0 0;
}

.feed-card--facebook .video-preview {
    height: 480px;
    aspect-ratio: 4 / 3;
}

.feed-card--tiktok .card-header,
.feed-card--instagram .card-header,
.feed-card--x .card-header {
    display: none;
}

.feed-card--youtube .card-header,
.feed-card--facebook .card-header {
    display: block;
}

.feed-card--tiktok .card-actions {
    display: flex;
    gap: 0.5rem;
    padding: 1rem;
    background: var(--bg-secondary);
    border-radius: 0 0 24px 24px;
    justify-content: center;
}

.feed-card--instagram .card-actions,
.feed-card--x .card-actions {
    display: none;
}


.feed-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-hover);
    border-color: var(--accent-color);
}

.card-header {
    padding: 1.5rem;
    border-bottom: 1px solid var(--border-color);
    background: linear-gradient(135deg, rgba(0, 180, 216, 0.02) 0%, rgba(202, 240, 248, 0.05) 100%);
}

.creator-info {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.creator-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--primary-color);
    box-shadow: 0 4px 12px rgba(0, 180, 216, 0.2);
    transition: transform 0.3s ease;
}

.feed-card:hover .creator-avatar {
    transform: scale(1.05);
}

.creator-details h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.25rem;
    color: var(--text-primary);
}

.creator-details .creator-meta {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.creator-stats {
    display: flex;
    gap: 1rem;
    margin-top: 0.5rem;
}

.stat-item {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.card-video {
    position: relative;
    display: block;
    width: 100% !important;
    max-width: 100% !important;
    height: 400px !important;
    min-height: 400px !important;
    max-height: 400px !important;
    margin: 0 !important;
    padding: 0 !important;
    background: #000;
    overflow: hidden;
    box-sizing: border-box;
}

.video-preview {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 400px;
    margin: 0;
    padding: 0;
    background-color: #000;
    overflow: hidden;
    cursor: pointer;
    transition: filter 0.3s ease;
}

.video-preview:hover {
    filter: brightness(1.1);
}

.video-preview-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}

.video-preview:hover .video-preview-img {
    transform: scale(1.02);
}


.card-video,
.card-video iframe,
.card-video embed,
.card-video video,
.video-container,
.video-container iframe,
.video-container embed,
.video-container video {
    display: block;
    width: 100%;
    max-width: 100%;
    height: 400px;
    object-fit: cover;
    margin: 0;
    padding: 0;
    border: none;
    overflow: hidden;
}

.video-container,
.featured-video {
    position: relative;
}

.video-badge-overlay,
.featured-badge-overlay {
    position: absolute;
    top: 14px;
    right: 14px;
    background: linear-gradient(135deg, #00d9ff 0%, #0088ff 50%, #0047cc 100%);
    color: #ffffff;
    font-weight: 900;
    font-size: 1.25rem;
    line-height: 1;
    padding: 12px 20px;
    border-radius: 12px;
    z-index: 9999;
    box-shadow:
        0 0 18px rgba(0, 217, 255, 0.75),
        0 0 38px rgba(0, 136, 255, 0.55),
        0 10px 30px rgba(0, 85, 255, 0.35);
    text-transform: uppercase;
    letter-spacing: 2px;
    animation: pulse-new 1.8s ease-in-out infinite;
    border: 2px solid rgba(255, 255, 255, 0.35);
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
    filter: drop-shadow(0 0 12px rgba(0, 217, 255, 0.6));
    pointer-events: none;
}

.video-badge-overlay.urgent,
.featured-badge-overlay.urgent {
    background: linear-gradient(135deg, #ffa500 0%, #ff7a00 50%, #ff4500 100%);
    box-shadow:
        0 0 20px rgba(255, 165, 0, 0.8),
        0 0 45px rgba(255, 122, 0, 0.6),
        0 12px 38px rgba(255, 69, 0, 0.4);
    filter: drop-shadow(0 0 18px rgba(255, 165, 0, 0.75));
}

.video-badge-overlay.critical,
.featured-badge-overlay.critical {
    background: linear-gradient(135deg, #ff4d4d 0%, #e60000 50%, #b30000 100%);
    box-shadow:
        0 0 22px rgba(255, 77, 77, 0.9),
        0 0 55px rgba(230, 0, 0, 0.7),
        0 14px 44px rgba(179, 0, 0, 0.5);
    filter: drop-shadow(0 0 20px rgba(255, 77, 77, 0.85));
    animation: pulse-critical 1.2s ease-in-out infinite;
}

@keyframes pulse-critical {
    0%, 100% {
        transform: scale(1);
        box-shadow:
            0 0 22px rgba(255, 77, 77, 0.9),
            0 0 55px rgba(230, 0, 0, 0.7),
            0 14px 44px rgba(179, 0, 0, 0.5);
    }
    50% {
        transform: scale(1.18);
        box-shadow:
            0 0 30px rgba(255, 77, 77, 1),
            0 0 70px rgba(230, 0, 0, 0.8),
            0 18px 50px rgba(179, 0, 0, 0.6);
    }
}

@keyframes pulse-new {
    0%, 100% {
        transform: scale(1);
        box-shadow:
            0 0 18px rgba(0, 217, 255, 0.75),
            0 0 38px rgba(0, 136, 255, 0.55),
            0 10px 30px rgba(0, 85, 255, 0.35);
    }
    50% {
        transform: scale(1.12);
        box-shadow:
            0 0 26px rgba(0, 217, 255, 0.9),
            0 0 56px rgba(0, 136, 255, 0.7),
            0 12px 40px rgba(0, 85, 255, 0.45);
    }
}

.video-preview::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.08), rgba(0, 0, 0, 0.35));
}

.video-preview img,
.video-preview video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.play-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 2;
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    border: 3px solid rgba(255, 255, 255, 0.9);
    color: #fff;
    font-size: 2.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 8px 25px rgba(0, 180, 216, 0.3);
}

.play-overlay:hover {
    transform: translate(-50%, -50%) scale(1.1);
    box-shadow: 0 12px 35px rgba(0, 180, 216, 0.4);
}

.feed-card.tiktok-card {
    grid-column: 1 / -1;
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
    width: 100vw !important;
    max-width: 100vw !important;
    padding: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    border: none !important;
    background: transparent !important;
    overflow: hidden;
}

.video-modal {
    position: fixed;
    inset: 0;
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    padding: 2rem;
    pointer-events: none;
}

.video-modal.open {
    display: flex;
    pointer-events: auto;
}

.video-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.92);
    backdrop-filter: blur(2px);
}

.video-modal-content {
    position: relative;
    width: min(1200px, 100%);
    max-width: 100%;
    aspect-ratio: 16 / 9;
    background: #000;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 30px 90px rgba(0, 0, 0, 0.5);
    z-index: 1;
}

.video-modal-close {
    position: absolute;
    top: 16px;
    right: 16px;
    z-index: 2;
    width: 44px;
    height: 44px;
    border: none;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.video-modal-close:hover {
    background: rgba(255, 255, 255, 0.16);
}

.video-modal-iframe {
    width: 100%;
    height: 100%;
    border: none;
}

.feed-card.tiktok-card .card-video {
    position: relative;
    display: block;
    width: 100% !important;
    max-width: 100% !important;
    height: 400px !important;
    min-height: 400px !important;
    max-height: 400px !important;
    margin: 0 !important;
    padding: 0 !important;
    background: #000;
    overflow: hidden;
    box-sizing: border-box;
    }
.feed-card.tiktok-card .overlay-info {
    gap: 16px;
    align-items: center;
}

.feed-card.tiktok-card .overlay-info .creator-details h3 {
    color: #fff;
}

.feed-card.tiktok-card .overlay-info .creator-meta,
.feed-card.tiktok-card .overlay-info .creator-meta span {
    color: rgba(255, 255, 255, 0.85);
}

.feed-card.tiktok-card .overlay-actions {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.feed-card.tiktok-card .overlay-actions .action-btn {
    border: 1px solid rgba(255, 255, 255, 0.25);
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
}

.feed-card.tiktok-card .overlay-actions .btn-primary {
    background: #ff4500;
    border-radius: 999px;
    padding: 0.85rem 1.6rem;
}

.card-actions {
    padding: 1rem 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.action-buttons {
    display: flex;
    gap: 1rem;
}

.action-btn {
    background: none;
    border: none;
    color: var(--text-secondary);
    font-size: 1.2rem;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.action-btn:hover {
    color: var(--primary-color);
    background: rgba(255, 107, 53, 0.1);
}

.like-count {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

/* Platform-specific card layouts */
.feed-card--tiktok .card-header,
.feed-card--instagram .card-header,
.feed-card--x .card-header {
    display: none;
}

.feed-card--youtube .card-header,
.feed-card--facebook .card-header {
    display: block;
}

/* ===== LOADING & PAGINATION ===== */
.loading-message {
    text-align: center;
    padding: 2rem;
    color: var(--text-secondary);
    font-style: italic;
}

.loading-spinner {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid var(--border-color);
    border-radius: 50%;
    border-top-color: var(--primary-color);
    animation: spin 1s ease-in-out infinite;
    margin-right: 0.5rem;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* ===== FOOTER ===== */
.site-footer {
    background: var(--bg-dark);
    color: white;
    margin-top: 4rem;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 3rem 1rem 1rem;
}

.footer-content {
    display: grid;
        grid-template-columns: 2.5fr 1fr 1fr 1fr;
        gap: 2rem;
        margin-bottom: 2rem;
    }

    .footer-section h3 {
        color: white;
        margin-bottom: 1rem;
        font-size: 1.15rem;
        letter-spacing: 0.02em;
    }

    .footer-section ul {
        list-style: none;
    }

    .footer-section ul li {
        margin-bottom: 0.75rem;
    }

    .footer-section ul a {
        color: var(--text-light);
        text-decoration: none;
        transition: color 0.3s ease, transform 0.3s ease;
    }

    .footer-section ul a:hover {
        color: var(--primary-color);
        transform: translateX(3px);
    }

    .footer-logo {
        display: flex;
        align-items: center;
        gap: 0.75rem;
        font-size: 1.5rem;
        font-weight: 800;
        color: var(--accent-color);
        margin-bottom: 1rem;
    }

    .footer-logo i {
        font-size: 2rem;
        color: var(--primary-color);
    }

    .footer-social {
        display: flex;
        gap: 0.8rem;
    }
.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border-radius: 50%;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-link:hover {
    background: var(--primary-color);
    transform: translateY(-2px);
}

.footer-bottom {
        border-top: 1px solid rgba(255, 255, 255, 0.08);
        padding-top: 2rem;
        margin-top: 2rem;
    }

    .footer-bottom-content {
        display: flex;
        justify-content: space-between;
        align-items: center;
        flex-wrap: wrap;
        gap: 1rem;
    }

    .footer-bottom-content p {
        color: var(--text-light);
        font-size: 0.95rem;
        margin: 0;
    }

    .footer-disclaimer {
        max-width: 680px;
        font-size: 0.95rem;
        opacity: 0.75;
        margin: 0;
        line-height: 1.7;
    }
/* ===== BACK TO TOP ===== */
.back-to-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 50px;
    height: 50px;
    background: var(--primary-color);
    color: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
}

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 1200px) {
    .nav-container {
        padding: 0 0.75rem;
    }

    .nav-links {
        gap: 0.85rem;
    }

    .nav-links a {
        padding: 0.45rem 0.85rem;
    }

    .nav-search {
        min-width: 160px;
        flex: 0 1 220px;
    }

    .search-input-group input {
        max-width: 180px;
    }

    .nav-share .btn,
    .nav-auth .btn {
        padding: 0.45rem 0.85rem;
        font-size: 0.9rem;
    }
}

@media (max-width: 992px) {
    .nav-container {
        flex-wrap: wrap;
        gap: 0.75rem;
    }

    .nav-menu {
        flex: 1 1 100%;
    }

    .nav-links {
        gap: 0.7rem;
    }

    .nav-search {
        flex: 0 1 100%;
        width: 100%;
        order: 3;
    }

    .nav-share {
        order: 2;
        width: auto;
        margin-left: 0;
        justify-content: flex-start;
    }

    .nav-auth {
        order: 4;
        width: 100%;
        justify-content: flex-end;
    }

    .search-input-group input {
        max-width: 100%;
    }
}

@media (max-width: 768px) {
    .nav-container {
        flex-wrap: wrap;
        gap: 0.75rem;
    }

    .nav-brand {
        order: 1;
        width: 100%;
        display: flex;
        justify-content: center;
    }

    .mobile-menu-toggle {
        display: flex;
        order: 2;
        margin-left: auto;
    }

    .nav-actions {
        order: 3;
        width: 100%;
        flex-direction: column;
        align-items: stretch;
        gap: 0.7rem;
    }

    .nav-search {
        order: 3;
        width: 100%;
    }

    .search-form {
        width: 100%;
    }

    .search-input-group {
        width: 100%;
        padding: 0.35rem 0.55rem;
    }

    .search-input-group input {
        min-width: 0;
        max-width: 100%;
        padding: 0.45rem 0.8rem;
    }

    .nav-share {
        order: 4;
        width: 100%;
        justify-content: flex-start;
    }

    .nav-auth {
        order: 5;
        width: 100%;
        justify-content: space-between;
        gap: 0.75rem;
    }

    .nav-menu {
        order: 6;
        width: 100%;
        flex-direction: column;
        gap: 0.75rem;
        display: none;
    }

    .nav-menu.active {
        display: flex;
    }

    .nav-links {
        flex-direction: column;
        gap: 0.65rem;
        text-align: center;
    }

    .nav-links a {
        padding: 0.55rem 0.8rem;
    }

    .nav-share .btn {
        width: 100%;
        padding: 0.55rem 0.8rem;
    }

    .nav-auth .btn {
        width: calc(50% - 0.35rem);
    }

    .footer-content {
        grid-template-columns: 2fr 1fr 1fr 1fr !important;
        gap: 2rem;
    }

    .footer-bottom-content {
        flex-direction: column;
        text-align: center;
    }

    .video-feed,
    .feed-container {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .feed-card {
        margin: 0 -0.5rem;
    }

    .video-item {
        margin: 0;
        border-radius: 16px;
    }

    .video-container {
        border-radius: 12px;
    }

    .video-info {
        padding: 1rem;
    }

    .video-actions {
        gap: 0.6rem;
    }

    .video-actions .action-btn {
        width: 40px;
        height: 40px;
        font-size: 0.9rem;
    }

    .video-error {
        padding: 1.5rem;
        min-height: 100px;
    }

    .video-error i {
        font-size: 1.5rem;
    }

    .retry-embed-btn {
        padding: 0.4rem 0.8rem;
        font-size: 0.8rem;
    }

    .featured-card {
        grid-template-columns: 1fr;
        gap: 1rem;
        padding: 1rem;
    }

    .featured-video {
        min-height: 200px;
    }

    .featured-info {
        text-align: center;
    }

    .featured-actions {
        justify-content: center;
    }
}

@media (max-width: 992px) {
    .mobile-menu-toggle {
        display: flex;
        order: 1;
    }

    .nav-brand {
        order: 2;
        width: 100%;
    }

    .nav-search {
        order: 3;
        width: 100%;
    }

    .nav-share {
        order: 4;
        width: 100%;
        justify-content: flex-start;
    }

    .nav-auth {
        order: 6;
        width: 100%;
        justify-content: center;
    }

    .nav-menu {
        order: 5;
        width: 100%;
        flex-direction: column;
        gap: 0.75rem;
        display: none;
    }

    .nav-menu.active {
        display: flex;
    }

    .nav-links {
        flex-direction: column;
        gap: 0.75rem;
        text-align: center;
    }

    .search-input-group {
        width: 100%;
    }

    .search-input-group input {
        min-width: 0;
        max-width: 100%;
    }

    .nav-share .btn,
    .nav-auth .btn {
        width: 100%;
    }
}

@media (max-width: 768px) {
    .nav-container {
        flex-wrap: wrap;
        gap: 0.75rem;
    }

    .nav-brand {
        order: 2;
        width: 100%;
    }

    .nav-search {
        order: 3;
        width: 100%;
    }

    .nav-share {
        order: 4;
        width: 100%;
        justify-content: flex-start;
    }

    .nav-auth {
        order: 6;
        width: 100%;
        justify-content: center;
    }

    .nav-menu {
        order: 5;
        width: 100%;
        flex-direction: column;
        gap: 0.75rem;
        display: none;
    }

    .nav-menu.active {
        display: flex;
    }

    .nav-links {
        flex-direction: column;
        gap: 0.65rem;
        text-align: center;
    }

    .search-input-group {
        width: 100%;
    }

    .search-input-group input {
        min-width: 0;
        max-width: 100%;
    }

    .nav-share .btn,
    .nav-auth .btn {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .hero-section {
        padding: 2.5rem 1rem 2rem;
    }

    .hero-title {
        font-size: 1.8rem;
        margin-bottom: 0.75rem;
    }

    .hero-subtitle {
        font-size: 1rem;
        margin-bottom: 1rem;
    }

    .hero-description {
        font-size: 0.95rem;
        margin-bottom: 1.5rem;
    }

    .hero-highlights {
        gap: 0.85rem;
    }

    .highlight-card {
        padding: 0.9rem 0.95rem;
    }

    .creator-info {
        flex-direction: column;
        text-align: center;
        gap: 0.5rem;
    }

    .card-actions {
        flex-direction: column;
        gap: 0.5rem;
        align-items: stretch;
    }

    .action-buttons {
        justify-content: center;
    }
}

/* ===== ANIMATIONS ===== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.6s ease-out;
}

/* ===== UTILITY CLASSES ===== */
.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* ===== BLOG IMPROVEMENTS ===== */
.blog-intro-strip {
    padding: 2rem 0 1rem;
    background: linear-gradient(180deg, rgba(0, 180, 216, 0.08), transparent);
}

.blog-intro-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.25rem;
}

.blog-intro-card {
    background: #fff;
    border: 1px solid rgba(0, 180, 216, 0.15);
    border-radius: 22px;
    padding: 1.5rem;
    box-shadow: var(--shadow);
}

.blog-intro-label {
    display: inline-flex;
    margin-bottom: 0.8rem;
    padding: 0.35rem 0.75rem;
    border-radius: 999px;
    background: rgba(0, 180, 216, 0.12);
    color: var(--secondary-color);
    font-size: 0.8rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.blog-intro-card h2 {
    font-size: clamp(1.3rem, 2vw, 1.8rem);
    margin-bottom: 0.75rem;
}

.blog-card-tags {
    color: var(--secondary-color);
    font-size: 0.9rem;
    font-weight: 600;
}

.blog-post-hero {
    padding: 3.5rem 0 2rem;
    background: linear-gradient(135deg, rgba(0, 119, 182, 0.14) 0%, rgba(0, 180, 216, 0.08) 100%);
}

.blog-post-kicker {
    color: var(--secondary-color);
    font-size: 0.85rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-bottom: 0.85rem;
}

.blog-post-hero-copy {
    max-width: 820px;
}

.blog-post-summary {
    font-size: 1.1rem;
    color: var(--text-secondary);
    max-width: 760px;
}

.blog-post-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 1rem;
    color: var(--text-secondary);
    font-weight: 600;
}

.blog-post-meta span {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.blog-post-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
    margin-top: 1rem;
}

.blog-post-tags span {
    padding: 0.45rem 0.9rem;
    border-radius: 999px;
    background: rgba(0, 180, 216, 0.12);
    color: var(--secondary-color);
    font-weight: 700;
    font-size: 0.88rem;
}

.blog-post-layout {
    padding: 2rem 0 1rem;
}

.blog-post-grid {
    display: grid;
    grid-template-columns: minmax(0, 2fr) minmax(280px, 0.95fr);
    gap: 1.5rem;
    align-items: start;
}

.blog-post-article,
.blog-post-sidebar-card {
    background: #fff;
    border-radius: 24px;
    border: 1px solid rgba(0, 180, 216, 0.12);
    box-shadow: var(--shadow);
}

.blog-post-featured-image {
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    border-radius: 24px 24px 0 0;
}

.blog-post-body {
    padding: 2rem;
}

.blog-post-body p {
    color: var(--text-primary);
    line-height: 1.9;
    margin-bottom: 1.25rem;
    font-size: 1.03rem;
}

.blog-post-sidebar {
    display: grid;
    gap: 1rem;
}

.blog-post-sidebar-card {
    padding: 1.4rem;
}

.blog-post-sidebar-card h2 {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
}

.related-blog-posts {
    padding: 1rem 0 0;
}

/* ===== CATEGORY IMPROVEMENTS ===== */
.category-editorial-section,
.category-top-creators-section {
    padding: 2rem 0;
}

.category-editorial-grid,
.category-top-creators-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.25rem;
}

.category-editorial-card,
.category-top-creator-card {
    background: #fff;
    border-radius: 24px;
    border: 1px solid rgba(0, 180, 216, 0.12);
    box-shadow: var(--shadow);
}

.category-editorial-card {
    padding: 1.5rem;
}

.category-editorial-label {
    display: inline-flex;
    margin-bottom: 0.8rem;
    padding: 0.35rem 0.8rem;
    border-radius: 999px;
    background: rgba(0, 180, 216, 0.12);
    color: var(--secondary-color);
    font-size: 0.8rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.category-top-creator-card {
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.category-top-creator-card img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
}

.category-top-creator-body {
    padding: 1.25rem;
    display: grid;
    gap: 0.75rem;
    height: 100%;
}

.category-top-creator-body h3 {
    font-size: 1.35rem;
    margin-bottom: 0;
}

.category-top-creator-meta {
    color: var(--secondary-color);
    font-weight: 700;
    margin-bottom: 0;
}

.category-top-creator-body .btn {
    margin-top: auto;
    justify-self: start;
}

@media (max-width: 860px) {
    .blog-post-grid {
        grid-template-columns: 1fr;
    }
}

/* ===== HOME PAGE ===== */
.home-hero {
    padding: 3.5rem 0 2.5rem;
    background:
        radial-gradient(circle at top right, rgba(0, 180, 216, 0.14), transparent 32%),
        linear-gradient(135deg, rgba(0, 119, 182, 0.12) 0%, rgba(255, 255, 255, 0.95) 70%);
}

.home-hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.5fr) minmax(280px, 0.9fr);
    gap: 1.5rem;
    align-items: start;
}

.home-kicker,
.home-insight-label,
.leaderboard-overview-label {
    display: inline-flex;
    margin-bottom: 0.85rem;
    padding: 0.35rem 0.8rem;
    border-radius: 999px;
    background: rgba(0, 180, 216, 0.12);
    color: var(--secondary-color);
    font-size: 0.8rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.home-hero-copy h1 {
    font-size: clamp(2.2rem, 4.5vw, 4rem);
    margin-bottom: 1rem;
}

.home-hero-copy > p {
    max-width: 760px;
    color: var(--text-secondary);
    font-size: 1.08rem;
}

.home-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.85rem;
    margin-top: 1.5rem;
}

.home-quick-start {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 1rem;
}

.home-quick-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.65rem 1rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid rgba(0, 180, 216, 0.18);
    color: var(--text-primary);
    text-decoration: none;
    font-weight: 700;
    box-shadow: var(--shadow);
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.home-quick-link:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(0, 180, 216, 0.34);
}

.home-hero-stats,
.leaderboard-stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 1rem;
    margin-top: 1.5rem;
}

.home-stat-card,
.leaderboard-stat-card {
    background: #fff;
    border: 1px solid rgba(0, 180, 216, 0.14);
    border-radius: 20px;
    padding: 1rem 1.1rem;
    box-shadow: var(--shadow);
}

.home-stat-card strong,
.leaderboard-stat-card strong {
    display: block;
    font-size: 1.8rem;
    color: var(--text-primary);
}

.home-stat-card span,
.leaderboard-stat-card span {
    color: var(--text-secondary);
    font-weight: 600;
}

.home-hero-panel,
.leaderboard-overview-card {
    align-self: stretch;
}

.home-panel-card,
.home-insight-card,
.home-category-card,
.home-pick-card,
.home-reading-card,
.leaderboard-overview-card,
.leaderboard-top-card,
.leaderboard-method-note {
    background: #fff;
    border: 1px solid rgba(0, 180, 216, 0.12);
    border-radius: 24px;
    box-shadow: var(--shadow);
}

.home-panel-card {
    padding: 1.5rem;
}

.home-panel-card h2 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.home-value-list {
    list-style: none;
    display: grid;
    gap: 0.8rem;
}

.home-value-list li {
    position: relative;
    padding-left: 1.3rem;
    color: var(--text-secondary);
}

.home-value-list li::before {
    content: '';
    position: absolute;
    top: 0.55rem;
    left: 0;
    width: 0.45rem;
    height: 0.45rem;
    border-radius: 50%;
    background: var(--primary-color);
}

.home-category-strip,
.home-start-strip,
.home-insights-section,
.home-editor-picks,
.home-reading-section {
    padding: 2rem 0;
}

.home-start-strip {
    padding-top: 0.75rem;
}

.home-start-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1rem;
}

.home-start-card {
    position: relative;
    background: linear-gradient(180deg, #ffffff, #f5fbff);
    border: 1px solid rgba(0, 180, 216, 0.14);
    border-radius: 22px;
    box-shadow: var(--shadow);
    padding: 1.35rem;
}

.home-start-step {
    display: inline-grid;
    place-items: center;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: var(--primary-color);
    color: #fff;
    font-size: 0.95rem;
    font-weight: 800;
    margin-bottom: 0.9rem;
}

.home-start-card h2 {
    font-size: 1.2rem;
    margin-bottom: 0.55rem;
}

.home-start-card p {
    color: var(--text-secondary);
    margin-bottom: 0;
}

.home-category-grid,
.home-insights-grid,
.home-picks-grid,
.home-reading-grid,
.leaderboard-overview-grid,
.leaderboard-top-strip {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.25rem;
}

.home-category-card,
.home-insight-card,
.home-reading-card,
.leaderboard-overview-card,
.leaderboard-top-card,
.leaderboard-method-note {
    padding: 1.5rem;
}

.home-category-card {
    text-decoration: none;
    color: inherit;
    text-align: center;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.home-category-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 18px 34px rgba(0, 0, 0, 0.08);
}

.home-category-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 0.9rem;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: rgba(0, 180, 216, 0.12);
    color: var(--primary-color);
    font-size: 1.4rem;
}

.home-insight-card h3,
.home-reading-card h3,
.leaderboard-overview-card h2,
.leaderboard-top-card h3,
.leaderboard-method-note h2 {
    font-size: 1.35rem;
    margin-bottom: 0.75rem;
}

.home-insight-card p,
.home-reading-card p,
.leaderboard-overview-card p,
.leaderboard-method-note p {
    color: var(--text-secondary);
}

.home-pick-card {
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.home-pick-card img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
}

.home-pick-body {
    padding: 1.25rem;
    display: grid;
    gap: 0.75rem;
    height: 100%;
}

.home-pick-meta,
.home-reading-date,
.leaderboard-top-rank {
    color: var(--secondary-color);
    font-weight: 800;
    font-size: 0.88rem;
}

.home-pick-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-top: auto;
    flex-wrap: wrap;
}

.home-pick-footer span {
    color: var(--text-secondary);
    font-weight: 700;
}

.engagement-section {
    padding: 2rem 0;
    background: linear-gradient(180deg, rgba(0, 180, 216, 0.06), transparent);
}

.engagement-card {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    align-items: center;
    padding: 1.5rem;
    border-radius: 24px;
    background: #fff;
    border: 1px solid rgba(0, 180, 216, 0.12);
    box-shadow: var(--shadow);
}

.engagement-card p {
    color: var(--text-secondary);
    margin-bottom: 0;
}

/* ===== LEADERBOARD IMPROVEMENTS ===== */
.leaderboard-overview-grid {
    margin-bottom: 1.25rem;
}

.leaderboard-stats-grid {
    margin-bottom: 1.5rem;
}

.leaderboard-top-strip {
    margin-bottom: 2rem;
}

.leaderboard-top-card {
    text-align: center;
}

.leaderboard-top-card p {
    color: var(--text-secondary);
    margin-bottom: 0;
}

.leaderboard-card {
    background: #fff;
    border-radius: 24px;
    overflow: hidden;
    border: 1px solid rgba(0, 180, 216, 0.12);
    box-shadow: var(--shadow);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    position: relative;
}

.leaderboard-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 18px 34px rgba(0, 0, 0, 0.08);
}

.leaderboard-card.rank-top-1,
.leaderboard-card.rank-top-2,
.leaderboard-card.rank-top-3 {
    border-color: rgba(255, 183, 3, 0.45);
}

.rank-badge-circle {
    position: absolute;
    top: 12px;
    left: 12px;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: linear-gradient(135deg, #ffb703, #ff9500);
    color: #111827;
    font-weight: 800;
    box-shadow: 0 10px 20px rgba(255, 183, 3, 0.25);
    z-index: 4;
}

.card-video-section {
    border-bottom: 1px solid rgba(0, 180, 216, 0.12);
}

.video-preview-container {
    position: relative;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: #0f172a;
}

.video-preview-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.video-play-btn {
    position: absolute;
    inset: 50% auto auto 50%;
    transform: translate(-50%, -50%);
    width: 56px;
    height: 56px;
    border-radius: 50%;
    border: none;
    display: grid;
    place-items: center;
    background: rgba(255, 255, 255, 0.92);
    color: var(--secondary-color);
    font-size: 1.2rem;
    cursor: pointer;
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.18);
}

.video-play-btn:hover {
    transform: translate(-50%, -50%) scale(1.06);
}

.video-platform-badge {
    position: absolute;
    right: 12px;
    top: 12px;
    padding: 0.35rem 0.7rem;
    border-radius: 999px;
    background: rgba(15, 23, 42, 0.82);
    color: #fff;
    font-size: 0.78rem;
    font-weight: 800;
}

.card-header-section {
    padding: 2.2rem 1rem 1rem;
    background: linear-gradient(180deg, rgba(0, 180, 216, 0.06), rgba(255, 255, 255, 0.96));
    display: flex;
    justify-content: center;
}

.creator-image-wrapper {
    width: 142px;
    height: 142px;
    border-radius: 50%;
    overflow: hidden;
    border: 4px solid rgba(255, 255, 255, 0.96);
    box-shadow: 0 16px 28px rgba(0, 0, 0, 0.1);
}

.creator-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.card-info-section {
    padding: 0 1.25rem 1.35rem;
    display: grid;
    gap: 0.8rem;
}

.leaderboard-card .creator-name {
    position: static;
    color: var(--text-primary);
    font-size: 1.4rem;
    margin: 0;
    text-shadow: none;
}

.creator-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.tag,
.tag-secondary {
    display: inline-flex;
    align-items: center;
    padding: 0.35rem 0.75rem;
    border-radius: 999px;
    font-size: 0.8rem;
    font-weight: 800;
}

.tag {
    background: rgba(0, 180, 216, 0.12);
    color: var(--secondary-color);
}

.tag-secondary {
    background: rgba(255, 183, 3, 0.18);
    color: #8a5b00;
}

.creator-bio-text {
    color: var(--text-secondary);
    margin: 0;
    line-height: 1.6;
}

.leaderboard-ranking-note {
    margin: 0;
    padding: 0.9rem 1rem;
    border-radius: 16px;
    background: rgba(0, 180, 216, 0.08);
    color: var(--text-primary);
    line-height: 1.6;
}

.card-stats-row {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    padding: 0.9rem 0;
    border-top: 1px solid rgba(0, 180, 216, 0.12);
    border-bottom: 1px solid rgba(0, 180, 216, 0.12);
}

.card-stats-row .stat-item {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
}

.card-stats-row .stat-icon {
    color: var(--primary-color);
}

.card-stats-row .stat-value {
    color: var(--text-primary);
    font-weight: 800;
}

.card-stats-row .stat-label {
    color: var(--text-secondary);
    font-size: 0.8rem;
}

.card-actions {
    display: flex;
    gap: 0.75rem;
}

.card-actions .btn {
    width: 100%;
}

.leaderboard-method-note {
    margin-top: 2rem;
}

@media (max-width: 900px) {
    .home-hero-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .home-hero {
        padding: 2rem 0 1.5rem;
    }

    .home-hero-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .home-quick-start {
        flex-wrap: nowrap;
        overflow-x: auto;
        padding-bottom: 0.35rem;
        margin-right: -1rem;
        padding-right: 1rem;
        scrollbar-width: none;
    }

    .home-quick-start::-webkit-scrollbar {
        display: none;
    }

    .home-quick-link {
        flex: 0 0 auto;
        white-space: nowrap;
    }

    .engagement-card {
        flex-direction: column;
        text-align: center;
    }

    .leaderboard-grid,
    .home-picks-grid,
    .home-reading-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .nav-top {
        align-items: center;
    }

    .nav-actions {
        gap: 0.5rem;
        justify-content: flex-end;
    }

    .nav-search {
        order: 3;
        width: 100%;
        flex: 1 1 100%;
    }

    .nav-share {
        display: none;
    }

    .nav-auth .btn {
        padding: 0.6rem 0.95rem;
        font-size: 0.92rem;
    }

    .search-input-group {
        padding: 0.3rem 0.4rem;
    }

    .search-input-group input {
        max-width: none;
        min-width: 0;
        font-size: 0.95rem;
        padding: 0.55rem 0.75rem;
    }

    .nav-menu {
        position: fixed;
        inset: 72px 0 0 0;
        background: rgba(248, 251, 255, 0.98);
        backdrop-filter: blur(14px);
        padding: 1rem 1rem 1.5rem;
        overflow-y: auto;
        transform: translateY(-8px);
        opacity: 0;
        pointer-events: none;
        transition: opacity 0.22s ease, transform 0.22s ease;
    }

    .nav-menu.active {
        opacity: 1;
        transform: translateY(0);
        pointer-events: auto;
    }

    .nav-links {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 0.75rem;
        width: 100%;
    }

    .nav-links li {
        list-style: none;
    }

    .nav-links a {
        display: flex;
        align-items: center;
        justify-content: center;
        min-height: 48px;
        text-align: center;
        padding: 0.8rem 0.85rem;
        background: #fff;
        border: 1px solid rgba(0, 180, 216, 0.12);
        border-radius: 16px;
        font-weight: 700;
    }

    .mobile-menu-toggle {
        display: flex;
    }

    .featured-card {
        grid-template-columns: 1fr;
        padding: 1rem;
    }

    .featured-video {
        min-height: 220px;
    }

    .video-feed {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .video-container,
    .video-embed-wrapper {
        min-height: 220px;
    }

    .video-info {
        padding: 1rem 1rem 1.1rem;
        min-height: auto;
    }

    .feed-header p,
    .section-header p,
    .home-hero-copy > p {
        font-size: 0.98rem;
    }
}

/* ===== LEADERBOARD STYLES ===== */
.leaderboard-section {
    padding: 4rem 0;
}

.leaderboard-filters {
    margin-bottom: 3rem;
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.filter-form {
    display: flex;
    gap: 1rem;
    align-items: center;
    background: white;
    padding: 1.5rem;
    border-radius: 12px;
    box-shadow: var(--shadow);
    border: 1px solid var(--border-color);
}

.search-input {
    padding: 0.75rem 1rem;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    font-size: 1rem;
    min-width: 250px;
}

.search-input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.category-select {
    padding: 0.75rem 1rem;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    font-size: 1rem;
    background: white;
}

.leaderboard-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 2rem;
}

.leaderboard-card {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow);
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
    position: relative;
}

.leaderboard-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.rank-badge {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background: var(--primary-color);
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.1rem;
    z-index: 2;
}

.top-1 .rank-badge {
    background: linear-gradient(135deg, #ffd700, #ffb347);
    box-shadow: 0 4px 12px rgba(255, 215, 0, 0.3);
}

.top-2 .rank-badge {
    background: linear-gradient(135deg, #c0c0c0, #a8a8a8);
    box-shadow: 0 4px 12px rgba(192, 192, 192, 0.3);
}

.top-3 .rank-badge {
    background: linear-gradient(135deg, #cd7f32, #a0522d);
    box-shadow: 0 4px 12px rgba(205, 127, 50, 0.3);
}

.creator-avatar {
    width: 100%;
    height: 200px;
    overflow: hidden;
}

.creator-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.creator-info {
    padding: 1.5rem;
}

.creator-category {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.creator-bio {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.5;
    margin-bottom: 1rem;
}

.creator-stats {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.creator-stats span {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.creator-video {
    position: relative;
    width: 100%;
    height: 180px;
    overflow: hidden;
}

.creator-video img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.creator-video:hover .video-overlay {
    opacity: 1;
}

.play-btn {
    background: rgba(255, 255, 255, 0.9);
    border: none;
    border-radius: 50%;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    font-size: 1.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.play-btn:hover {
    background: white;
    transform: scale(1.1);
}

/* ===== CATEGORY STYLES ===== */
.category-hero {
    background: #ffffff;
    color: var(--text-primary);
    padding: 4rem 0 2.5rem;
    text-align: center;
    border-bottom: 1px solid rgba(17, 24, 39, 0.08);
}

.category-hero .hero-content h1 {
    font-size: clamp(2.5rem, 6vw, 4rem);
    margin-bottom: 1rem;
}

.category-hero .hero-content p {
    font-size: 1.2rem;
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto;
}

.category-hero-content {
    max-width: 720px;
    margin: 0 auto;
    padding: 0 1rem;
}

.category-stats {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
    margin-top: 2rem;
}

.category-stats .stat-item {
    min-width: 100px;
    max-width: 140px;
    padding: 0.8rem 0.6rem;
    border-radius: 16px;
    background: rgba(0, 180, 216, 0.08);
    border: 1px solid rgba(0, 180, 216, 0.16);
}

.related-categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 240px));
    justify-content: center;
    gap: 1.5rem;
}

.related-category-card {
    display: block;
    background: #f8f9ff;
    border: 1px solid #dbe9ff;
    border-radius: 18px;
    padding: 1.5rem;
    max-width: 260px;
    margin: 0 auto;
    text-align: center;
    text-decoration: none;
    color: inherit;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.related-category-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 16px 30px rgba(0, 0, 0, 0.08);
    background: #ffb703;
    color: white;
    border-color: #ffb703;
}

.related-category-icon {
    font-size: 2rem;
    margin-bottom: 0.75rem;
    color: var(--primary-color);
}

.related-category-card:hover .related-category-icon {
    color: white;
}

/* ===== BLOG STYLES ===== */
.blog-hero {
    background: linear-gradient(135deg, #6366f1 0%, #4f46e5 100%);
    color: white;
    padding: 6rem 0 4rem;
    text-align: center;
}

.blog-hero .hero-content h1 {
    font-size: clamp(2.5rem, 6vw, 4rem);
    margin-bottom: 1rem;
}

.blog-hero .hero-content p {
    font-size: 1.2rem;
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto;
}

.blog-section {
    padding: 4rem 0;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 2rem;
}

.blog-card {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow);
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

.blog-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.blog-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.blog-card-body {
    padding: 1.5rem;
}

.blog-meta {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
    display: block;
}

.blog-card-body h2 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.blog-card-body p {
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

/* ===== ABOUT STYLES ===== */
.about-hero {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: white;
    padding: 6rem 0 4rem;
    text-align: center;
}

.about-hero .hero-content h1 {
    font-size: clamp(2.5rem, 6vw, 4rem);
    margin-bottom: 1rem;
}

.about-hero .hero-content p {
    font-size: 1.2rem;
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto;
}

.hero-content h1 i,
.section-header h1 i,
.section-header h2 i,
.feed-header h2 i,
.blog-hero .hero-content h1 i,
.about-hero .hero-content h1 i,
.category-hero .hero-content h1 i,
.leaderboard-section .section-header h1 i,
.challenges-section .section-header h1 i {
    color: var(--primary-color);
    margin-right: 0.6rem;
    font-size: 1.1em;
}

.about-section {
    padding: 4rem 0;
}

/* ===== MESSAGE CREATOR BUTTON ===== */
.message-creator {
    margin: 1rem 0;
}

.message-creator .btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    background: var(--accent);
    color: white;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.2s ease;
}

.message-creator .btn:hover {
    background: var(--accent-hover);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(255, 183, 3, 0.3);
}

.about-intro {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 4rem;
    font-size: 1.2rem;
    line-height: 1.7;
    color: var(--text-secondary);
}

.about-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
}

.about-card {
    background: white;
    padding: 2rem;
    border-radius: 16px;
    box-shadow: var(--shadow);
    border: 1px solid var(--border-color);
    text-align: center;
    transition: all 0.3s ease;
}

.about-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.card-icon {
    width: 80px;
    height: 80px;
    background: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: white;
    font-size: 2rem;
}

.about-card h3 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.about-card p {
    color: var(--text-secondary);
    line-height: 1.6;
}

.contact-section {
    background: var(--background-light);
    padding: 4rem 0;
}

.contact-card {
    background: white;
    max-width: 600px;
    margin: 0 auto;
    padding: 3rem;
    border-radius: 16px;
    box-shadow: var(--shadow);
    border: 1px solid var(--border-color);
    text-align: center;
}

.contact-card h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.contact-card p {
    color: var(--text-secondary);
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 2rem;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: center;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--text-secondary);
    font-size: 1.1rem;
}

.contact-item i {
    color: var(--primary-color);
    width: 20px;
}

/* ===== VIDEO MODAL ===== */
.video-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.video-modal.open {
    opacity: 1;
    visibility: visible;
}

.video-modal-backdrop {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
}

.video-modal-content {
    position: relative;
    max-width: 90vw;
    max-height: 90vh;
    width: 800px;
    height: 450px;
    background: black;
    border-radius: 12px;
    overflow: hidden;
}

.modal-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 1.2rem;
    z-index: 2;
    transition: background 0.3s ease;
}

.modal-close:hover {
    background: rgba(0, 0, 0, 0.9);
}

#modal-video-container {
    width: 100%;
    height: 100%;
}

#modal-video-container iframe {
    width: 100%;
    height: 100%;
    border: none;
}

/* ===== RESPONSIVE ADJUSTMENTS ===== */
@media (max-width: 768px) {
    .leaderboard-filters {
        flex-direction: column;
        align-items: stretch;
    }

    .filter-form {
        flex-direction: column;
        gap: 0.75rem;
    }

    .search-input {
        min-width: auto;
        width: 100%;
    }

    .leaderboard-grid,
    .blog-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .about-grid {
        grid-template-columns: 1fr;
    }

    .contact-card {
        margin: 0 1rem;
        padding: 2rem;
    }

    .contact-info {
        align-items: flex-start;
    }

    .video-modal-content {
        width: 95vw;
        height: 50vh;
    }

    .card-share-buttons {
        justify-content: center;
    }
}

/* ===== SOCIAL SHARING BUTTONS ===== */
.social-share {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-top: 1.5rem;
    padding: 1rem;
    background: var(--background-light);
    border-radius: 12px;
    border: 1px solid var(--border-color);
}

.share-label {
    font-weight: 600;
    color: var(--text-primary);
    font-size: 0.9rem;
}

.share-buttons {
    display: flex;
    gap: 0.5rem;
    align-items: center;
}

.share-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    color: white;
    text-decoration: none;
    font-size: 1rem;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.share-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.share-btn.facebook {
    background: linear-gradient(135deg, #1877f2, #42a5f5);
}

.share-btn.facebook:hover {
    background: linear-gradient(135deg, #166fe5, #1976d2);
}

.share-btn.twitter {
    background: linear-gradient(135deg, #1da1f2, #42a5f5);
}

.share-btn.twitter:hover {
    background: linear-gradient(135deg, #1a91da, #1976d2);
}

.share-btn.whatsapp {
    background: linear-gradient(135deg, #25d366, #4caf50);
}

.share-btn.whatsapp:hover {
    background: linear-gradient(135deg, #128c7e, #388e3c);
}

.share-btn.instagram {
    background: linear-gradient(135deg, #e1306c, #f56040, #f77737, #fcaf45);
}

.share-btn.instagram:hover {
    background: linear-gradient(135deg, #c13584, #e1306c, #f56040);
}

.share-btn.copy-link {
    background: linear-gradient(135deg, #6b7280, #9ca3af);
}

.share-btn.copy-link:hover {
    background: linear-gradient(135deg, #4b5563, #6b7280);
}

/* ===== LEADERBOARD CARD SHARING ===== */
.card-share-buttons {
    display: flex;
    gap: 0.5rem;
    margin-top: 1rem;
    justify-content: flex-start;
}

/* ===== ANIMATIONS ===== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.6s ease-out;
}

/* ===== UTILITY CLASSES ===== */
.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}
