    :root {
        --app-bg: #f4f7f6;
        --card-border-radius: 16px;
        --primary-gradient: linear-gradient(135deg, #0d6efd 0%, #0a58ca 100%);
        --accent-color: #0d6efd;
    }

    body {
        background-color: var(--app-bg);
        font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    }

    .custom-card {
        border: none;
        border-radius: var(--card-border-radius);
        background: #ffffff;
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
        transition: transform 0.2s ease, box-shadow 0.2s ease;
    }

    .custom-card-header {
        background: transparent;
        border-bottom: 1px solid rgba(0,0,0,0.05);
        padding: 1.25rem 1.5rem;
        font-weight: 700;
        color: #2c3e50;
        display: flex;
        align-items: center;
        justify-content: space-between;
    }

    .create-post-card {
        border: 1px solid rgba(13, 110, 253, 0.15);
    }

    .create-post-card textarea {
        border: 1px solid #e2e8f0;
        border-radius: 12px;
        resize: none;
        padding: 0.8rem 1rem;
        transition: all 0.2s ease;
    }

    .create-post-card textarea:focus {
        box-shadow: 0 0 0 4px rgba(13, 110, 253, 0.15);
        border-color: #0d6efd;
    }

    .upload-btn-wrapper {
        position: relative;
        overflow: hidden;
        display: inline-block;
    }

    .post-card {
        border-radius: var(--card-border-radius);
        border: none;
        box-shadow: 0 4px 18px rgba(0, 0, 0, 0.04);
        margin-bottom: 1.5rem;
        background: #ffffff;
    }

    .post-avatar {
        width: 44px;
        height: 44px;
        object-fit: cover;
        border-radius: 50%;
        border: 2px solid #eef2f6;
    }

    .post-action-btn {
        border: none;
        background: transparent;
        color: #6c757d;
        font-weight: 600;
        padding: 0.4rem 0.8rem;
        border-radius: 8px;
        transition: all 0.2s ease;
    }

    .post-action-btn:hover {
        background: #f1f5f9;
        color: #0d6efd;
    }

    .post-action-btn.active {
        color: #0d6efd;
        background: rgba(13, 110, 253, 0.08);
    }

    .gift-btn-custom {
        color: #b02a37;
        background: rgba(176, 42, 55, 0.05);
    }

    .gift-btn-custom:hover {
        background: rgba(176, 42, 55, 0.15);
        color: #b02a37;
    }

    .ranking-table th {
        font-size: 0.75rem;
        text-transform: uppercase;
        letter-spacing: 0.5px;
        color: #6c757d;
        border-bottom-width: 1px;
    }

    .ranking-table td {
        vertical-align: middle;
        font-size: 0.875rem;
    }

    .badge-soft-primary {
        background-color: rgba(13, 110, 253, 0.1);
        color: #0d6efd;
        font-weight: 600;
    }

    .badge-soft-success {
        background-color: rgba(25, 135, 84, 0.1);
        color: #198754;
        font-weight: 600;
    }

    .badge-soft-secondary {
        background-color: rgba(108, 117, 125, 0.1);
        color: #6c757d;
        font-weight: 600;
    }

    .url-preview-card {
        border-radius: 12px;
        border: 1px solid #e9ecef;
        background: #f8fafc;
        transition: background 0.2s ease;
    }

    .url-preview-card:hover {
        background: #f1f5f9;
    }

    /* Modal Styling */
    .gift-option-btn {
        border: 1px solid #e9ecef;
        border-radius: 12px;
        padding: 0.5rem;
        transition: all 0.2s ease;
    }

    .gift-option-btn:hover {
        border-color: #0d6efd;
        transform: translateY(-2px);
        box-shadow: 0 4px 12px rgba(0,0,0,0.05);
    }

    .comments-section[style*="display: none"] {
    display: none !important;
    margin: 0 !important;
    padding: 0 !important;
}

.overlay-ad-container {
    margin: 0;
    padding: 8px;
}

.overlay-ad-container:empty {
    display: none;
}

