/* ============================================
   livecounts.nl — X/Twitter Realtime Counter
   Modern, Clean Design (Roblox-inspired)
   ============================================ */

:root {
    --x-black: #000000;
    --x-blue: #1DA1F2;
    --x-dark: #0F1419;
    --x-gray: #536471;
    --bg-primary: #f4f5f7;
    --bg-card: #ffffff;
    --text-primary: #1a1a1a;
    --text-secondary: #606770;
    --text-muted: #8e8e8e;
    --border-color: #e4e6eb;
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.12);
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --transition: 0.2s ease;
}

* {
    box-sizing: border-box;
}

body {
    background-color: var(--bg-primary);
    font-family: 'Roboto', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    color: var(--text-primary);
    margin: 0;
    padding: 0;
    line-height: 1.5;
}

/* ============================================ 
   Header / Navigation Bar
   ============================================ */
.site-header {
    background: linear-gradient(135deg, var(--x-black) 0%, #1a1a2e 60%, var(--x-blue) 100%);
    padding: 16px 0;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: var(--shadow-md);
}

.header-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.header-left {
    display: flex;
    align-items: center;
    gap: 8px;
}

.menu-toggle {
    background: rgba(255, 255, 255, 0.1);
    border: none;
    color: #fff;
    width: 40px;
    height: 40px;
    border-radius: var(--radius-sm);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    transition: var(--transition);
}

.menu-toggle:hover {
    background: rgba(255, 255, 255, 0.2);
}

.header-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    color: #fff;
    text-decoration: none;
}

.header-brand img {
    width: 36px;
    height: 36px;
    border-radius: 8px;
}

.header-title {
    font-size: 20px;
    font-weight: 600;
    color: #fff !important;
    margin: 0;
}

.header-nav {
    display: flex;
    align-items: center;
    gap: 8px;
}

.nav-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    background: rgba(255,255,255,0.15);
    color: #ffffff !important;
    border: none;
    border-radius: var(--radius-sm);
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    cursor: pointer;
    transition: var(--transition);
}

.nav-btn:hover {
    background: rgba(255, 255, 255, 0.25);
    color: #fff;
    text-decoration: none;
}

.nav-btn i {
    font-size: 14px;
}

.search-shortcut {
    font-size: 11px;
    background: rgba(255, 255, 255, 0.15);
    padding: 2px 6px;
    border-radius: 4px;
    font-family: monospace;
}

.nav-btn-text {
    display: inline;
}

@media (max-width: 600px) {
    .nav-btn-text {
        display: none;
    }

    .search-shortcut {
        display: none;
    }

    .nav-btn {
        padding: 8px 12px;
    }

    .header-title {
        font-size: 16px;
    }
}

/* ============================================
   Sidebar
   ============================================ */
.sidebar {
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    width: 280px;
    background: var(--bg-card);
    z-index: 200;
    box-shadow: var(--shadow-lg);
    transform: translateX(-100%);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    overflow-y: auto;
}

.sidebar.open {
    transform: translateX(0);
}

.sidebar-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 199;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.sidebar-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

.sidebar-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px;
    border-bottom: 1px solid var(--border-color);
}

.sidebar-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: var(--text-primary);
    font-weight: 600;
    font-size: 16px;
}

.sidebar-brand img {
    width: 32px;
    height: 32px;
    border-radius: 6px;
}

.sidebar-close {
    background: none;
    border: none;
    color: var(--text-muted);
    font-size: 18px;
    cursor: pointer;
    padding: 8px;
    border-radius: 6px;
    transition: var(--transition);
}

.sidebar-close:hover {
    background: var(--bg-primary);
    color: var(--text-primary);
}

.sidebar-nav {
    flex: 1;
    padding: 12px 0;
}

.sidebar-section {
    padding: 0 12px;
    margin-bottom: 16px;
}

.sidebar-title {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-muted);
    padding: 8px 12px;
    margin: 0;
}

.sidebar-link {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    color: var(--text-secondary);
    text-decoration: none;
    border-radius: var(--radius-sm);
    font-size: 14px;
    font-weight: 500;
    transition: var(--transition);
}

.sidebar-link:hover,
.sidebar-link.active {
    background: var(--bg-primary);
    color: var(--x-blue);
    text-decoration: none;
}

.sidebar-link i {
    width: 20px;
    text-align: center;
    font-size: 14px;
}

.sidebar-footer {
    padding: 16px 20px;
    border-top: 1px solid var(--border-color);
    font-size: 12px;
    color: var(--text-muted);
}

/* ============================================
   Main Container
   ============================================ */
.main-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 24px 20px;
}

/* ============================================
   Profile Card - Main Counter
   ============================================ */
.profile-card {
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    overflow: hidden;
    margin-bottom: 20px;
    position: relative;
}

.profile-banner {
    height: 180px;
    background: linear-gradient(135deg, var(--x-black) 0%, #1a1a2e 60%, var(--x-blue) 100%);
    position: relative;
    overflow: hidden;
}

.profile-banner img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.7;
}

.profile-body {
    padding: 0 24px 40px;
    text-align: center;
    position: relative;
}

.profile-pic-wrapper {
    position: relative;
    display: inline-block;
    margin-top: -60px;
    z-index: 2;
}

.profile-pic-border {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    border: 4px solid var(--bg-card);
    box-shadow: var(--shadow-md);
    overflow: hidden;
    background: var(--bg-primary);
}

.pfp {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
}

.live-indicator {
    position: absolute;
    bottom: 8px;
    right: 8px;
    width: 16px;
    height: 16px;
    background: #22c55e;
    border-radius: 50%;
    border: 3px solid var(--bg-card);
    box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.3);
    animation: live-pulse 1.5s ease-in-out infinite;
}

@keyframes live-pulse {

    0%,
    100% {
        box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.3);
    }

    50% {
        box-shadow: 0 0 0 8px rgba(34, 197, 94, 0);
    }
}

.profile-pic-badge {
    position: absolute;
    top: 4px;
    right: 4px;
    width: 28px;
    height: 28px;
    background: var(--x-black);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid var(--bg-card);
}

.profile-pic-badge svg {
    width: 14px;
    height: 14px;
}

.profile-name {
    font-size: 24px;
    font-weight: 600;
    color: var(--text-primary);
    margin: 12px 0 4px;
}

.profile-handle {
    font-size: 15px;
    color: var(--text-secondary);
    margin: 0 0 4px;
}

.verified-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 13px;
    color: var(--x-blue);
    font-weight: 500;
    margin-bottom: 8px;
}

.real-time-status {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    color: #22c55e;
    font-weight: 500;
    margin-bottom: 16px;
}

.pulse-dot {
    width: 8px;
    height: 8px;
    background: #22c55e;
    border-radius: 50%;
    animation: live-pulse 1.5s ease-in-out infinite;
}

.main-odo {
    font-size: clamp(48px, 12vw, 96px);
    font-weight: 700;
    color: var(--text-primary);
    line-height: 1.1;
    margin: 16px 0 8px 0;
}

.follower-label {
    font-size: 16px;
    color: var(--text-secondary);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Odometer Style Selector */
.odometer-selector {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 16px;
}

.odo-style-btn {
    padding: 6px 16px;
    border: 2px solid var(--border-color);
    background: transparent;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 500;
    color: var(--text-secondary);
    cursor: pointer;
    transition: var(--transition);
}

.odo-style-btn:hover {
    border-color: var(--x-blue);
    color: var(--x-blue);
}

.odo-style-btn.active {
    background: var(--x-blue);
    border-color: var(--x-blue);
    color: #fff;
}

/* ============================================
   User Info Card
   ============================================ */
.user-info-card {
    background: var(--bg-card);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    margin-bottom: 20px;
    overflow: hidden;
}

.user-info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1px;
    background: var(--border-color);
}

.user-info-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 20px;
    background: var(--bg-card);
}

.user-info-item i {
    color: var(--x-blue);
    font-size: 16px;
    width: 20px;
    text-align: center;
}

.user-info-content {
    display: flex;
    flex-direction: column;
}

.user-info-label {
    font-size: 12px;
    color: var(--text-muted);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.user-info-value {
    font-size: 14px;
    color: var(--text-primary);
    font-weight: 500;
}

.user-description {
    padding: 16px 20px;
    border-top: 1px solid var(--border-color);
}

.user-description h4 {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-primary);
    margin: 0 0 8px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.user-description p {
    font-size: 14px;
    color: var(--text-secondary);
    margin: 0;
    line-height: 1.6;
}

.user-actions {
    display: flex;
    gap: 8px;
    padding: 16px 20px;
    border-top: 1px solid var(--border-color);
}

.user-action-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    background: var(--bg-primary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    color: var(--text-primary);
    font-size: 13px;
    font-weight: 500;
    text-decoration: none;
    cursor: pointer;
    transition: var(--transition);
}

.user-action-btn:hover {
    background: var(--bg-card);
    border-color: var(--x-blue);
    color: var(--x-blue);
    text-decoration: none;
}

/* ============================================
   Stats Grid
   ============================================ */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 16px;
    margin-bottom: 20px;
}

.stat-card {
    background: var(--bg-card);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    padding: 24px 20px;
    text-align: center;
    transition: var(--transition);
}

.stat-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}

.stat-label {
    font-size: 13px;
    color: var(--text-secondary);
    font-weight: 500;
}

.bottom-odo {
    font-size: 32px;
    font-weight: 700;
    color: var(--text-primary);
}

.goal-card .bottom-odo {
    color: var(--x-blue);
}

/* ============================================
   Search Section
   ============================================ */
.search-section {
    margin-bottom: 24px;
}

.search-wrapper {
    max-width: 600px;
    margin: 0 auto;
}

.search-box {
    display: flex;
    gap: 8px;
    background: var(--bg-card);
    padding: 8px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
}

.search-input {
    flex: 1;
    padding: 12px 16px;
    border: 2px solid var(--border-color);
    border-radius: var(--radius-sm);
    font-size: 15px;
    transition: var(--transition);
    outline: none;
}

.search-input:focus {
    border-color: var(--x-blue);
    box-shadow: 0 0 0 3px rgba(29, 161, 242, 0.1);
}

.search-button {
    padding: 12px 24px;
    background: var(--x-black);
    color: #fff;
    border: none;
    border-radius: var(--radius-sm);
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.search-button:hover {
    background: #333;
}

.search-help {
    text-align: center;
    color: var(--text-muted);
    font-size: 13px;
    margin-top: 12px;
}

.search-help kbd {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 4px;
    padding: 2px 6px;
    font-family: monospace;
    font-size: 12px;
    color: var(--text-secondary);
}

#search[readonly] {
    cursor: pointer;
}

#search[readonly]:hover {
    border-color: var(--x-blue);
    background: var(--bg-primary);
}

/* ============================================
   Search Modal
   ============================================ */
.search-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
    z-index: 300;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding-top: 12vh;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease;
}

.search-modal-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

.search-modal {
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    width: 90%;
    max-width: 580px;
    max-height: 70vh;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    transform: translateY(-20px) scale(0.95);
    transition: transform 0.2s ease;
}

.search-modal-overlay.active .search-modal {
    transform: translateY(0) scale(1);
}

.search-modal-header {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 20px;
    border-bottom: 1px solid var(--border-color);
}

.search-modal-header i {
    color: var(--text-muted);
    font-size: 16px;
}

.search-modal-input {
    flex: 1;
    border: none;
    outline: none;
    font-size: 16px;
    background: transparent;
    color: var(--text-primary);
}

.search-modal-close {
    background: none;
    border: none;
    color: var(--text-muted);
    font-size: 16px;
    cursor: pointer;
    padding: 4px;
    border-radius: 4px;
}

.search-modal-close:hover {
    background: var(--bg-primary);
    color: var(--text-primary);
}

.search-modal-results {
    overflow-y: auto;
    flex: 1;
    min-height: 100px;
}

.search-modal-results .item {
    padding: 12px 20px;
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    border-bottom: 1px solid var(--border-color);
    transition: var(--transition);
}

.search-modal-results .item:hover {
    background: var(--bg-primary);
}

.search-modal-results .item img {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    object-fit: cover;
}

.search-modal-results .meta {
    flex: 1;
}

.search-modal-results .meta .name {
    font-weight: 600;
    color: var(--text-primary);
    font-size: 14px;
}

.search-modal-results .meta .id {
    font-size: 13px;
    color: var(--text-muted);
}

.search-modal-results .actions {
    display: flex;
    gap: 6px;
}

.search-modal-results .btn-open {
    padding: 6px 14px;
    background: var(--x-blue);
    color: #fff;
    border: none;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
}

.search-modal-results .btn-copy {
    padding: 6px 14px;
    background: var(--bg-primary);
    color: var(--text-secondary);
    border: 1px solid var(--border-color);
    border-radius: 6px;
    font-size: 12px;
    cursor: pointer;
}

.search-modal-empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
    color: var(--text-muted);
}

.search-modal-empty i {
    font-size: 32px;
    margin-bottom: 12px;
}

.search-modal-empty p {
    margin: 0;
    font-size: 14px;
}

/* ============================================
   Cards - General
   ============================================ */
.card {
    background: var(--bg-card);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    border: none;
    margin-bottom: 20px;
    overflow: hidden;
}

.card-body {
    padding: 24px;
}

.card-header {
    background: transparent;
    padding: 16px 24px;
    border-bottom: 1px solid var(--border-color);
}

.card h2 {
    font-size: 20px;
    font-weight: 600;
    color: var(--text-primary);
    margin: 0 0 16px 0;
}

.card h3 {
    font-size: 18px;
    font-weight: 600;
    color: var(--text-primary);
    margin: 0 0 12px 0;
}

.card p {
    color: var(--text-secondary);
    margin: 0 0 16px 0;
    line-height: 1.6;
}

.card p:last-child {
    margin-bottom: 0;
}

/* ============================================
   Chart
   ============================================ */
#chart {
    background: var(--bg-card);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    padding: 16px;
    margin-bottom: 20px;
    min-height: 250px;
}

/* ============================================
   Analytics Section
   ============================================ */
.analytics-tabs {
    display: flex;
    overflow-x: auto;
    border-bottom: 1px solid var(--border-color);
    padding: 0 16px;
    gap: 4px;
}

.analytics-tab {
    padding: 12px 16px;
    color: var(--text-secondary);
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    border-bottom: 2px solid transparent;
    white-space: nowrap;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 6px;
}

.analytics-tab:hover {
    color: var(--x-blue);
    text-decoration: none;
}

.analytics-tab.active {
    color: var(--x-blue);
    border-bottom-color: var(--x-blue);
}

.tab-content {
    padding: 20px;
}

.analytics-chart {
    min-height: 340px;
}

.analytics-preview-chart {
    min-height: 250px;
}

.refresh-graph-btn {
    padding: 8px 16px;
    background: var(--bg-primary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    color: var(--text-secondary);
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.refresh-graph-btn:hover {
    border-color: var(--x-blue);
    color: var(--x-blue);
}

/* ============================================
   Milestone / Goal Card
   ============================================ */
.milestone-card {
    background: var(--bg-card);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    padding: 20px 24px;
    margin-bottom: 20px;
}

.milestone-card h3 {
    margin: 0 0 8px;
    font-size: 16px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
}

.milestone-card .progress {
    height: 8px;
    border-radius: 4px;
    overflow: hidden;
    background: var(--bg-primary);
    margin-top: 12px;
}

.milestone-card .progress-bar {
    transition: width 1s ease-in-out;
    background: var(--x-blue) !important;
    border-radius: 4px;
}

/* ============================================
   Popular Users Section
   ============================================ */
.popular-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 12px;
}

.popular-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    background: var(--bg-primary);
    border-radius: var(--radius-sm);
    text-decoration: none;
    transition: var(--transition);
    border: 1px solid transparent;
}

.popular-item:hover {
    background: var(--bg-card);
    border-color: var(--x-blue);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
    text-decoration: none;
}

.popular-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
    border: 2px solid var(--x-blue);
}

.popular-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.popular-info {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.popular-name {
    font-weight: 600;
    color: var(--text-primary);
    font-size: 14px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.popular-sub {
    font-size: 12px;
    color: var(--text-muted);
}

/* ============================================
   FAQ Accordion
   ============================================ */
.faq-card {
    background: var(--bg-card);
    border-radius: var(--radius-sm) !important;
    margin-bottom: 8px;
    box-shadow: none;
    border: 1px solid var(--border-color) !important;
    overflow: hidden;
}

.faq-card .card-header {
    background: transparent;
    padding: 0;
    border: none;
}

.faq-btn {
    display: block;
    width: 100%;
    text-align: left;
    color: var(--text-primary);
    font-weight: 500;
    padding: 16px 48px 16px 20px;
    position: relative;
    text-decoration: none;
    background: transparent;
    border: none;
    font-size: 15px;
    cursor: pointer;
    transition: var(--transition);
}

.faq-btn:hover {
    background: var(--bg-primary);
}

.faq-btn:after {
    content: '\f107';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    transition: var(--transition);
    color: var(--text-muted);
}

.faq-btn[aria-expanded="true"]:after {
    transform: translateY(-50%) rotate(180deg);
}

.accordion .card-body {
    padding: 0 20px 20px;
    color: var(--text-secondary);
    font-size: 14px;
    line-height: 1.6;
}

/* ============================================
   Testimonial Section
   ============================================ */
.testimonial {
    background: var(--bg-primary);
    border-radius: var(--radius-sm);
    border: 1px solid var(--border-color);
    padding: 16px;
    height: 100%;
}

.testimonial .stars {
    margin-bottom: 8px;
}

.testimonial p {
    font-size: 14px;
    line-height: 1.5;
}

/* ============================================
   Sharing Section
   ============================================ */
.sharing-section input {
    flex: 1;
    padding: 10px 14px;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    font-size: 13px;
    background: var(--bg-primary);
    color: var(--text-primary);
    width: 100%;
}

.sharing-section input:focus {
    outline: none;
    border-color: var(--x-blue);
}

.input-group {
    display: flex;
    gap: 4px;
    margin-bottom: 12px;
}

.input-group .btn {
    border-radius: var(--radius-sm);
}

/* ============================================
   Social Share Buttons
   ============================================ */
.btn-twitter {
    background: var(--x-blue);
    color: #fff;
    border: none;
}

.btn-facebook {
    background: #4267B2;
    color: #fff;
    border: none;
}

.btn-linkedin {
    background: #0077B5;
    color: #fff;
    border: none;
}

.btn-whatsapp {
    background: #25D366;
    color: #fff;
    border: none;
}

.btn-sm {
    padding: 6px 14px;
    font-size: 13px;
    border-radius: 6px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    text-decoration: none;
    cursor: pointer;
    transition: var(--transition);
}

.btn-sm:hover {
    opacity: 0.9;
    transform: translateY(-1px);
}

/* ============================================
   Ad Container
   ============================================ */
.lcnl-ad {
    min-height: 90px;
    margin: 20px 0;
    text-align: center;
    overflow: hidden;
}

.lcnl-ad-fluid {
    min-height: 120px;
    margin: 20px 0;
    overflow: hidden;
}

.ad-container {
    min-height: 90px;
    margin: 20px 0;
    text-align: center;
    overflow: hidden;
    background: var(--bg-primary);
    border-radius: var(--radius-sm);
}

.ad-container:empty {
    display: none;
}

/* ============================================
   Promotion Banner
   ============================================ */
.promotion-card {
    background: linear-gradient(135deg, #ffc107 0%, #ffb300 100%) !important;
    border-radius: var(--radius-md);
}

.promotion-card .card-body {
    padding: 16px 24px;
    text-align: center;
}

/* ============================================
   Theme Toggle
   ============================================ */
.theme-toggle-btn {
    position: fixed;
    bottom: 24px;
    right: 24px;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--x-black);
    color: #fff;
    border: none;
    box-shadow: var(--shadow-lg);
    cursor: pointer;
    font-size: 18px;
    z-index: 50;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
}

.theme-toggle-btn:hover {
    transform: scale(1.1);
}

.theme-panel {
    position: fixed;
    bottom: 80px;
    right: 24px;
    background: var(--bg-card);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    padding: 16px;
    z-index: 51;
    opacity: 0;
    pointer-events: none;
    transform: translateY(10px);
    transition: all 0.2s ease;
}

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

.theme-panel-title {
    font-size: 13px;
    font-weight: 600;
    color: var(--text-primary);
    margin: 0 0 12px;
}

.theme-options {
    display: flex;
    gap: 8px;
}

.theme-option {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    cursor: pointer;
    border: 3px solid transparent;
    transition: var(--transition);
}

.theme-option:hover {
    transform: scale(1.1);
}

.theme-option.active {
    border-color: var(--x-blue);
}

.theme-option[data-theme="light"] {
    background: linear-gradient(135deg, #f4f5f7, #fff);
}

.theme-option[data-theme="dark"] {
    background: linear-gradient(135deg, #1a1a2e, #16213e);
}

.theme-option[data-theme="rgb-light"] {
    background: linear-gradient(135deg, #ff6b6b, #4ecdc4, #45b7d1);
}

.theme-option[data-theme="rgb-dark"] {
    background: linear-gradient(135deg, #2d1b69, #11998e, #38ef7d);
}

/* ============================================
   Dark Mode
   ============================================ */
body[data-theme="dark"] {
    --bg-primary: #0e1117;
    --bg-card: #161b22;
    --text-primary: #e6edf3;
    --text-secondary: #8b949e;
    --text-muted: #6e7681;
    --border-color: #30363d;
}

body[data-theme="dark"] .site-header {
    background: linear-gradient(135deg, #0d1117 0%, #161b22 60%, #1f6feb 100%);
}

body[data-theme="dark"] .search-modal-input {
    color: var(--text-primary);
}

/* ============================================
   Responsive
   ============================================ */
@media (max-width: 768px) {
    .main-container {
        padding: 16px 12px;
    }

    .profile-banner {
        height: 120px;
    }

    .profile-body {
        padding: 0 16px 24px;
    }

    .profile-pic-border {
        width: 90px;
        height: 90px;
    }

    .profile-pic-wrapper {
        margin-top: -45px;
    }

    .main-odo {
        font-size: clamp(36px, 10vw, 72px);
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }

    .stat-card {
        padding: 16px 12px;
    }

    .bottom-odo {
        font-size: 24px;
    }

    .user-info-grid {
        grid-template-columns: 1fr;
    }

    .popular-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .odometer-selector {
        flex-wrap: wrap;
    }
}

/* ============================================
   Odometer overrides
   ============================================ */
.odometer {
    font-family: 'Roboto', sans-serif;
}

.main-odo .odometer-inside {
    display: flex;
    justify-content: center;
}

/* Hide old sidebar elements */
.sidebar-sticky,
.navbar-text-gone {
    display: none;
}